/* ============================================================
   CrossHub Global — main stylesheet
   Brand: deep navy #0E2A4D · amber #F59E0B · warm sand #F6F1EA
   ============================================================ */

:root {
  --navy: #0E2A4D;
  --navy-700: #143A66;
  --navy-500: #1E4E86;
  --amber: #F59E0B;
  --amber-600: #D97F06;
  --amber-soft: #FDF3E0;
  --sand: #F6F1EA;
  --paper: #FFFFFF;
  --ink: #13233A;
  --ink-soft: #46586F;
  --line: #E6DFD5;
  --line-soft: #EFEAE2;
  --green: #1E9E6A;
  --red: #D95555;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 77, .06), 0 4px 14px rgba(14, 42, 77, .06);
  --shadow-md: 0 2px 6px rgba(14, 42, 77, .07), 0 14px 34px rgba(14, 42, 77, .10);
  --shadow-lg: 0 6px 20px rgba(14, 42, 77, .10), 0 28px 60px rgba(14, 42, 77, .16);
  --font: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

input, select, textarea { font-family: inherit; font-size: 1rem; }

::selection { background: var(--amber); color: var(--navy); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ============ reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(14, 42, 77, .07);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(14, 42, 77, .25)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; color: var(--navy); }
.brand-text small { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.main-nav a {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: var(--navy); background: var(--sand); }
.main-nav a.active { color: var(--navy); }
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--amber);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  font-size: .82rem;
  font-weight: 700;
  color: var(--navy);
  border: 1.5px solid var(--line);
  border-radius: 99px;
  padding: 6px 14px;
  transition: border-color .2s, background .2s;
}
.lang-toggle:hover { border-color: var(--amber); background: var(--amber-soft); }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span {
  width: 22px; height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 12px;
  padding: 12px 22px;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-600) 100%);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(245, 158, 11, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245, 158, 11, .45); }
.btn-ghost {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .86rem; border-radius: 10px; }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 14px; }
.nav-cta { white-space: nowrap; }

/* ============ hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 96px 0 110px;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(245, 158, 11, .28), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(30, 78, 134, .55), transparent 60%),
    linear-gradient(160deg, #0E2A4D 0%, #0B2140 55%, #102F52 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #FFE1AC;
  background: rgba(245, 158, 11, .16);
  border: 1px solid rgba(245, 158, 11, .45);
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, .82);
  max-width: 34em;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 52px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.hstat { display: flex; flex-direction: column; }
.hstat strong { font-size: 1.9rem; font-weight: 800; color: var(--amber); line-height: 1.1; }
.hstat span { font-size: .84rem; color: rgba(255, 255, 255, .7); margin-top: 2px; }

/* hero collage */
.hero-collage {
  position: relative;
  height: 480px;
}
.collage-main, .collage-a, .collage-b {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.collage-main img, .collage-a img, .collage-b img { width: 100%; height: 100%; object-fit: cover; }
.collage-main {
  width: 62%; height: 78%;
  top: 0; right: 0;
  border: 5px solid rgba(255, 255, 255, .14);
  animation: floaty 7s ease-in-out infinite;
}
.collage-a {
  width: 46%; height: 44%;
  left: 0; bottom: 4%;
  border: 5px solid rgba(255, 255, 255, .14);
  animation: floaty 8s ease-in-out 1s infinite reverse;
}
.collage-b {
  width: 34%; height: 28%;
  right: 8%; bottom: 0;
  border: 5px solid rgba(255, 255, 255, .14);
  animation: floaty 6s ease-in-out .5s infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.collage-chip {
  position: absolute;
  left: 6%; top: 12%;
  background: #fff;
  color: var(--navy);
  border-radius: 16px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  animation: floaty 6.5s ease-in-out .8s infinite reverse;
}
.collage-chip strong { font-size: 1.25rem; color: var(--amber-600); }
.collage-chip span { font-size: .78rem; color: var(--ink-soft); }

/* ============ marquee ============ */
.marquee {
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  overflow: hidden;
  padding: 15px 0;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee-track span {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i { color: var(--amber); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ sections ============ */
.section { padding: 96px 0; }
.section-alt { background: var(--sand); }
.section-dark {
  background:
    radial-gradient(900px 420px at 80% 0%, rgba(245, 158, 11, .16), transparent 60%),
    linear-gradient(150deg, #0E2A4D, #0B2140);
  color: #fff;
}
.section-dark h2 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.between {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.eyebrow {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 12px;
}
.eyebrow-light { color: #F5C168; }
.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: var(--navy);
}
.section-sub { color: var(--ink-soft); margin-top: 6px; }
.section-dark .section-sub { color: rgba(255, 255, 255, .72); }
.center { text-align: center; }
.center-block { margin-inline: auto; text-align: center; }

/* ============ business lines ============ */
.lines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.line-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.line-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--navy-500));
}
.line-card--amber::before { background: linear-gradient(90deg, var(--amber), var(--amber-600)); }
.line-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line); }
.line-icon {
  width: 58px; height: 58px;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  background: var(--sand);
  border-radius: 16px;
  margin-bottom: 22px;
}
.line-card h3 { font-size: 1.35rem; font-weight: 800; color: var(--navy); letter-spacing: -.01em; }
.line-card > p { color: var(--ink-soft); margin: 10px 0 20px; }
.line-points { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.line-points li {
  font-size: .82rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--sand);
  border: 1px solid var(--line-soft);
  padding: 5px 13px;
  border-radius: 99px;
}
.line-card--amber .line-points li { background: var(--amber-soft); border-color: #F3DFC0; color: #8A5A10; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--amber-600);
  transition: gap .2s;
}
.link-arrow::after { content: "→"; }
.link-arrow:hover { gap: 12px; }

/* ============ categories ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-media { aspect-ratio: 4 / 3; overflow: hidden; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-body { padding: 20px 22px 24px; }
.cat-icon { font-size: 1.5rem; }
.cat-body h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin: 8px 0 4px; }
.cat-body p { font-size: .88rem; color: var(--ink-soft); }

/* ============ product grid & cards ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* 循环包裹层不参与网格布局，让卡片直接作为网格项 */
.product-grid > div { display: contents; }
.product-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #E3D9CB; }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.product-card:hover .product-media img { transform: scale(1.07); }
.chip {
  position: absolute;
  top: 14px; left: 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  padding: 5px 12px;
  border-radius: 99px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.chip-amber { background: var(--amber); color: var(--navy); }
.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product-body h3 { font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1.4; }
.product-meta { display: flex; gap: 18px; margin-top: auto; }
.product-meta span { display: flex; flex-direction: column; }
.product-meta i {
  font-style: normal;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-meta b { font-size: .95rem; color: var(--navy); }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags em {
  font-style: normal;
  font-size: .74rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--sand);
  padding: 3px 10px;
  border-radius: 99px;
}

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 60px 0;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
}

/* ============ media strip ============ */
.media-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 44px;
}
.media-strip-item { border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.media-strip-item img { aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; transition: transform .5s; }
.media-strip-item:hover img { transform: scale(1.07); }
.media-strip-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 14px 12px;
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 28, 51, .88));
}

/* ============ process ============ */
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.process li {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.process li:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process li::before {
  content: "";
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-600));
}
.step-num {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--line);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.process h3 { font-size: 1.02rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.process p { font-size: .86rem; color: var(--ink-soft); }

/* ============ rank list ============ */
.rank-list {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 14px 10px;
}
.rank-row {
  display: grid;
  grid-template-columns: 44px 170px 1fr 74px;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.rank-row:hover { background: var(--sand); }
.rank-index {
  width: 34px; height: 34px;
  display: grid;
  place-items: center;
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--amber-soft);
  border-radius: 10px;
}
.rank-name { font-weight: 700; color: var(--ink); }
.rank-bar {
  height: 10px;
  background: var(--line-soft);
  border-radius: 99px;
  overflow: hidden;
}
.rank-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--navy-500), var(--amber));
  width: 0;
  transition: width 1.1s cubic-bezier(.22, .61, .36, 1);
}
.rank-value { text-align: right; font-size: .9rem; color: var(--ink-soft); }
.rank-value b { color: var(--navy); font-size: 1.05rem; }

/* ============ CTA band ============ */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 20%, rgba(245, 158, 11, .25), transparent 60%),
    linear-gradient(120deg, #0E2A4D, #123563);
  color: #fff;
  padding: 74px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.02em; }
.cta-inner p { color: rgba(255, 255, 255, .78); margin-top: 8px; max-width: 46em; }

/* ============ page hero (subpages) ============ */
.page-hero {
  position: relative;
  color: #fff;
  padding: 84px 0 72px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}
.page-hero .lead { margin-bottom: 0; }
.page-hero .pill { margin-bottom: 18px; }
.page-hero .hero-cta { margin-top: 26px; }

/* ============ tabs (trade gallery) ============ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  padding: 8px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  width: max-content;
  max-width: 100%;
}
.tab {
  font-size: .92rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 10px 20px;
  border-radius: 11px;
  transition: color .2s, background .2s, box-shadow .2s;
}
.tab:hover { color: var(--navy); background: var(--sand); }
.tab.active {
  color: var(--navy);
  background: var(--amber);
  box-shadow: 0 6px 16px rgba(245, 158, 11, .35);
}
.tab-panel { display: none; animation: fadeUp .45s cubic-bezier(.22, .61, .36, 1); }
.tab-panel.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gallery-item img { aspect-ratio: 4 / 3.1; width: 100%; object-fit: cover; transition: transform .5s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 34px 20px 16px;
  background: linear-gradient(transparent, rgba(10, 28, 51, .92));
  color: #fff;
}
.gallery-item figcaption strong { font-size: .98rem; }
.gallery-item figcaption span { font-size: .82rem; color: rgba(255, 255, 255, .78); }

/* ============ services ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.service-num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  font-size: .85rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--amber-soft);
  border-radius: 12px;
  margin-bottom: 18px;
}
.service-card h3 { font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.service-card p { font-size: .9rem; color: var(--ink-soft); }

/* ============ filter chips ============ */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1.5px solid var(--line);
  padding: 9px 18px;
  border-radius: 99px;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.filter-chip:hover { border-color: var(--amber); color: var(--navy); transform: translateY(-1px); }
.filter-chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============ contact ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  align-items: start;
}
.contact-form-wrap h1 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 14px 0 6px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; }
.contact-form label > span { font-size: .86rem; font-weight: 700; color: var(--navy); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 15px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, .18);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.field-error { border-color: var(--red) !important; }
.form-alert {
  background: #FDECEC;
  border: 1px solid #F3C6C6;
  color: #A83A3A;
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 12px;
  margin-top: 18px;
}

.contact-info {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px 30px;
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-info h2 { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.info-item { display: flex; flex-direction: column; gap: 2px; padding-bottom: 14px; border-bottom: 1px dashed var(--line-soft); }
.info-item:last-of-type { border-bottom: none; }
.info-label {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.info-item span:last-child { font-weight: 600; color: var(--ink); }

/* ============ product detail ============ */
.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 30px;
}
.breadcrumb a { font-weight: 600; color: var(--navy); }
.breadcrumb a:hover { color: var(--amber-600); }

.pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.pd-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.pd-media img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; }
.pd-media .chip { top: 18px; left: 18px; font-size: .78rem; padding: 6px 14px; }
.pd-info h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 16px;
}
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pd-tags em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 600;
  color: var(--navy-700);
  background: var(--sand);
  padding: 5px 13px;
  border-radius: 99px;
}
.pd-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}
.pd-specs > div {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.pd-specs dt {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.pd-specs dd { font-size: 1.05rem; font-weight: 800; color: var(--navy); }
.pd-desc { color: var(--ink-soft); margin-bottom: 18px; }
.pd-note {
  font-size: .86rem;
  color: #8A5A10;
  background: var(--amber-soft);
  border: 1px solid #F0DCB8;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 24px;
}
.pd-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.pd-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  border-top: 1px solid var(--line-soft);
  padding-top: 22px;
}
.pd-trust li {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink-soft);
  padding-left: 24px;
  position: relative;
}
.pd-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}
.pd-related { margin-top: 90px; }
.pd-related h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 30px;
}

/* ============ insights ============ */
.method-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  margin-bottom: 34px;
}
.method-card h2 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.method-card p { color: var(--ink-soft); font-size: .94rem; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--paper);
}
.data-table { width: 100%; border-collapse: collapse; min-width: 900px; }
.data-table thead th {
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: left;
  padding: 14px 16px;
  white-space: nowrap;
}
.data-table tbody td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .9rem;
  vertical-align: middle;
}
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr { transition: background .2s; }
.data-table tbody tr:hover { background: var(--sand); }
.cell-cat strong { color: var(--navy); display: block; margin-bottom: 7px; }
.cell-bar {
  height: 7px;
  width: 130px;
  background: var(--line-soft);
  border-radius: 99px;
  overflow: hidden;
}
.cell-bar i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--navy-500), var(--amber));
}
.data-table .num { font-weight: 700; color: var(--navy); white-space: nowrap; }
.data-table .num b { font-size: 1.05rem; }
.data-table .num.up { color: var(--green); }
.cell-action { color: var(--ink-soft); min-width: 180px; }

.tag {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  white-space: nowrap;
}
.tag-low { background: #E4F5EC; color: #177A4E; }
.tag-medium { background: #FDF3DC; color: #9A6A0B; }
.tag-high { background: #FBE7E7; color: #B03A3A; }

.matrix-wrap {
  margin-top: 60px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 36px;
}
.matrix-wrap h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.matrix-wrap .section-sub { margin-bottom: 26px; }
.matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.quadrant {
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  border: 1.5px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}
.quadrant strong { font-size: .95rem; font-weight: 800; }
.quadrant span {
  font-size: .88rem;
  font-weight: 600;
  background: rgba(255, 255, 255, .7);
  border-radius: 8px;
  padding: 6px 12px;
  width: max-content;
}
.q-go { background: #EDF9F2; border-color: #BFE8D2; }
.q-go strong { color: #177A4E; }
.q-comply { background: var(--amber-soft); border-color: #F0DCB8; }
.q-comply strong { color: #9A6A0B; }
.q-steady { background: var(--sand); }
.q-steady strong { color: var(--navy-700); }
.q-avoid { background: #FBEDED; border-color: #F0CFCF; }
.q-avoid strong { color: #B03A3A; }
.disclaimer { font-size: .8rem; color: var(--ink-soft); margin-top: 18px; }

/* ============ success / error pages ============ */
.narrow { width: min(640px, 100%); }
.center-cta { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.success-icon {
  width: 78px; height: 78px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  color: var(--green);
  background: #E4F5EC;
  border-radius: 50%;
  animation: pop .5s cubic-bezier(.34, 1.56, .64, 1);
}
@keyframes pop {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.success-steps { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.success-steps li {
  background: var(--sand);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: .92rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--amber);
}
.error-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  letter-spacing: -.04em;
}
.error-detail { color: var(--ink-soft); margin: 12px 0 26px; }

/* ============ footer ============ */
.site-footer {
  background: #0A1F3A;
  color: rgba(255, 255, 255, .75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer .brand-text strong { color: #fff; }
.site-footer .brand-text small { color: rgba(255, 255, 255, .5); }
.footer-brand > p { font-size: .88rem; margin: 16px 0 20px; max-width: 30em; }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s, transform .2s;
}
.social-row a:hover { background: var(--amber); color: var(--navy); transform: translateY(-2px); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.footer-col a, .footer-col span { font-size: .9rem; color: rgba(255, 255, 255, .68); transition: color .2s; }
.footer-col a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
}
.footer-lang a { color: var(--amber); font-weight: 700; }

/* ============ responsive ============ */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .media-strip { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
  .hero { padding: 70px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-collage { height: 380px; max-width: 560px; }
  .lines-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .pd-layout { grid-template-columns: 1fr; gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .main-nav {
    position: fixed;
    inset: 72px 0 auto;
    flex-direction: column;
    gap: 4px;
    background: var(--paper);
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow-lg);
    padding: 16px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 13px 16px; font-size: 1rem; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--sand); }
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 36px); }
  .section { padding: 64px 0; }
  .hero-stats { gap: 24px 32px; }
  .hstat strong { font-size: 1.5rem; }
  .cat-grid, .product-grid, .process, .service-grid, .gallery-grid, .media-strip, .matrix, .footer-grid {
    grid-template-columns: 1fr;
  }
  .pd-specs { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { flex: 1; text-align: center; padding: 10px 8px; }
  .rank-row { grid-template-columns: 34px 1fr 66px; }
  .rank-bar { display: none; }
  .hero-collage { height: 320px; }
  .collage-chip { left: 0; }
}

/* ============ 工序总览条 (flow-strip) ============ */
.flow-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  counter-reset: flow;
}
.flow-strip li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: .86rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.flow-strip li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.flow-strip li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--amber-600);
  font-weight: 800;
  z-index: 1;
}
.flow-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.flow-core { border-color: var(--amber); background: var(--amber-soft); }
.flow-core .flow-num { background: var(--amber-600); }

/* ============ 工序详情块 (step-block) ============ */
.step-block {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px dashed var(--line);
}
.step-block:last-child { border-bottom: none; }
.step-block.reverse .step-media { order: 2; }
.step-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.step-media img { width: 100%; height: 340px; object-fit: cover; transition: transform .6s ease; }
.step-media:hover img { transform: scale(1.04); }
.step-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--amber);
  color: var(--navy);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.step-body .step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  margin-bottom: 14px;
}
.step-body h3 { font-size: 1.45rem; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: -.01em; }
.step-body > p { color: var(--ink-soft); margin-bottom: 18px; max-width: 46ch; }
.step-params { display: flex; flex-wrap: wrap; gap: 8px; }
.param-chip {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--sand);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
}
.step-core .step-media { outline: 3px solid var(--amber); outline-offset: 4px; }
.step-core .step-body .step-num { background: var(--amber-600); }

/* ============ 商品卡片规格行 ============ */
.product-spec {
  font-size: .78rem;
  color: var(--ink-soft);
  margin: 2px 0 8px;
  line-height: 1.5;
}

/* ============ 小节辅助 ============ */
.section-desc { color: var(--ink-soft); max-width: 60ch; margin: 10px auto 0; }
.section-more { font-weight: 700; font-size: .9rem; color: var(--amber-600); }
.section-more:hover { color: var(--navy); }

@media (max-width: 960px) {
  .flow-strip { grid-template-columns: repeat(3, 1fr); }
  .flow-strip li:not(:last-child)::after { display: none; }
  .step-block { grid-template-columns: 1fr; gap: 22px; }
  .step-block.reverse .step-media { order: 0; }
  .step-media img { height: 260px; }
}

/* ============ 语言切换下拉 ============ */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .86rem;
  font-weight: 700;
  transition: border-color .2s, background .2s;
}
.lang-btn:hover { border-color: var(--amber); background: var(--amber-soft); }
.lang-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-soft);
}
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 172px;
  max-height: 360px;
  overflow-y: auto;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  z-index: 120;
}
.lang-switch.open .lang-menu,
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu { opacity: 1; transform: none; pointer-events: auto; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.lang-menu a:hover { background: var(--sand); }
.lang-menu a.active { background: var(--amber-soft); color: var(--amber-600); font-weight: 800; }

/* ============ 成品与样品 ============ */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sample-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.sample-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sample-media { position: relative; overflow: hidden; }
.sample-media img { aspect-ratio: 4 / 4.3; object-fit: cover; width: 100%; transition: transform .5s; }
.sample-card:hover .sample-media img { transform: scale(1.06); }
.sample-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(14, 42, 77, .88);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
.sample-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sample-body h3 { font-size: 1.02rem; font-weight: 800; color: var(--navy); }
.sample-body p { font-size: .88rem; color: var(--ink-soft); flex: 1; }
.sample-body .link-arrow { font-size: .86rem; align-self: flex-start; }

/* ============ 悬浮联系按钮 ============ */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); box-shadow: var(--shadow-lg); }
.float-wa { background: #25D366; }
.float-mail { background: var(--navy); }
.float-label {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  box-shadow: var(--shadow-sm);
}
.float-btn:hover .float-label { opacity: 1; }

/* ============ 表单备注 / 成功页动作 ============ */
.form-note { margin-top: 14px; font-size: .86rem; color: var(--ink-soft); }
.info-item a { font-weight: 700; color: var(--navy); word-break: break-all; }
.info-item a:hover { color: var(--amber-600); }
.success-direct { margin-top: 26px; font-weight: 700; color: var(--ink-soft); }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 14px; }

@media (max-width: 1080px) {
  .sample-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .sample-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sample-grid { grid-template-columns: 1fr; }
  .float-contact { right: 12px; bottom: 12px; }
  .float-btn { width: 46px; height: 46px; }
  .success-actions .btn { width: 100%; }
}
