/* ==========================================================================
   Jiangyin VanguardEdge Technology Co., Ltd. — Website v2 stylesheet
   Style: modern international B2B (Bodor + Nanfu + Apple references)
   Palette: deep navy + champagne gold + warm cream
   ========================================================================== */

:root {
  --navy: #14293D;
  --navy-2: #1E3A56;
  --navy-3: #2C4A68;
  --gold: #C9A227;
  --gold-2: #DDBA45;
  --gold-soft: rgba(201, 162, 39, .14);
  --cream: #F7F3EC;
  --cream-2: #EFE9DE;
  --white: #FFFFFF;
  --ink: #1A1D21;
  --muted: #6B7280;
  --muted-2: #8A8E94;
  --line: #E5E0D6;
  --line-2: rgba(20, 41, 61, .12);
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1320px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  /* 本站在设计上只有浅色版；声明 only light 可让 Edge / Chrome 的
     「自动深色模式（Force Dark）」跳过本站，避免整站被反色压暗。
     注意：必须带 only，只写 light 反而会被判定为"支持浅色"而照旧变暗。 */
  color-scheme: only light;
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--navy); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.18; letter-spacing: -.018em; color: var(--ink); }
.sec.navy h1, .sec.navy h2, .sec.navy h3, .sec.navy h4 { color: #fff; }

.display { font-size: clamp(42px, 5.6vw, 88px); line-height: 1.04; letter-spacing: -.022em; }
.h1 { font-size: clamp(34px, 5vw, 60px); }
.h2 { font-size: clamp(28px, 3.8vw, 46px); }
.h3 { font-size: clamp(20px, 2.2vw, 26px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.sec.navy .eyebrow { color: var(--gold-2); }
.sec.navy .eyebrow::before { background: var(--gold-2); }

.lead { font-size: 18px; color: var(--muted); line-height: 1.85; max-width: 720px; }
.lead.lg { font-size: 20px; }
.sec.navy .lead { color: rgba(255, 255, 255, .76); }

.rule { width: 56px; height: 2px; background: var(--gold); margin: 28px 0; }
.sec-head.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }
.sec { padding: 130px 0; }
.sec.tight { padding: 56px 0; }
.sec.cream { background: var(--cream); }
.sec.cream-2 { background: var(--cream-2); }
.sec.navy { background: var(--navy); color: #fff; }
.sec.dark { background: #0E1F2E; color: #fff; }
.sec-head { max-width: 820px; margin-bottom: 70px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.tight { margin-bottom: 42px; }
.sec-head .h1, .sec-head .h2, .sec-head .display { margin-bottom: 24px; }

/* ---------- header / nav ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  padding: 22px 0; transition: padding .35s var(--ease), background .35s var(--ease);
}
.header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(13, 27, 41, .55) 0%, rgba(13, 27, 41, 0) 100%);
  opacity: 1; transition: opacity .4s var(--ease);
}
.header.solid { background: rgba(20, 41, 61, .98); padding: 12px 0; box-shadow: 0 1px 22px rgba(0, 0, 0, .22); backdrop-filter: blur(10px); }
.header.solid::after { opacity: 0; }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; transition: height .35s var(--ease); }
.header.solid .brand img { height: 34px; }
.brand-txt { color: #fff; line-height: 1.15; }
.brand-txt b { font-family: var(--serif); font-size: 16px; font-weight: 400; letter-spacing: .02em; display: block; }
.brand-txt span { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .72; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { color: rgba(255, 255, 255, .88); font-size: 14px; letter-spacing: .04em; position: relative; padding: 6px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

/* ---------- nav dropdown (Yarn / Auxiliaries) ---------- */
.nav { position: relative; }
.nav .has-drop { position: relative; }
.nav .has-drop > a { display: inline-flex; align-items: center; gap: 6px; }
.nav .has-drop > a::after {
  content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
  transition: transform .25s;
}
.nav .has-drop:hover > a::after { transform: translateY(1px) rotate(-135deg); }
.nav .drop {
  position: absolute; top: 100%; left: -16px; padding-top: 12px;
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.nav .drop-inner {
  background: rgba(20, 41, 61, .98); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 8px;
  padding: 12px; min-width: 220px;
}
.nav .drop a {
  display: block; padding: 9px 14px; font-size: 13px; color: rgba(255, 255, 255, .82);
  border-radius: 4px; white-space: nowrap;
}
.nav .drop a:hover { background: rgba(201, 162, 39, .14); color: #fff; }
.nav .drop a::after { display: none !important; }
.nav .has-drop:hover .drop { opacity: 1; visibility: visible; transform: none; }

.nav a.active { color: #fff; }

.head-right { display: flex; align-items: center; gap: 16px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: rgba(255, 255, 255, .82); background: rgba(255, 255, 255, .08); transition: .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.socials svg { width: 15px; height: 15px; }
.lang { display: flex; border: 1px solid rgba(255, 255, 255, .34); border-radius: 3px; overflow: hidden; }
.lang button { padding: 6px 11px; font-size: 11.5px; letter-spacing: .08em; color: rgba(255, 255, 255, .74); transition: .25s; }
.lang button.on { background: var(--gold); color: var(--navy); font-weight: 600; }
.lang button:hover:not(.on) { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-quote { padding: 10px 22px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-radius: 3px; transition: .3s var(--ease); white-space: nowrap; }
.btn-quote:hover { background: var(--gold-2); transform: translateY(-2px); }
.burger { display: none; width: 42px; height: 42px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: #fff; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.on span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- hero (flex column, no overlap by design) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(13, 27, 41, .94) 0%, rgba(20, 41, 61, .75) 50%, rgba(20, 41, 61, .35) 100%), linear-gradient(180deg, transparent 50%, rgba(13, 27, 41, .5) 100%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 2; flex: 1 1 auto; display: flex; align-items: center; padding-top: clamp(110px, 13vh, 150px); padding-bottom: 48px; }
.hero-inner { max-width: 940px; text-align: center; margin: 0 auto; }
.hero .eyebrow { color: var(--gold-2); margin-bottom: 26px; justify-content: center; }
.hero .eyebrow::before { background: var(--gold-2); }
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero p { font-size: 17.5px; }
.hero h1 em { font-style: italic; color: var(--gold-2); }
.hero p { color: rgba(255, 255, 255, .82); font-size: 19px; max-width: 600px; line-height: 1.8; margin-bottom: 42px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 1; filter: blur(60px); opacity: .55; }
.hero-orb.a { width: 420px; height: 420px; background: rgba(201, 162, 39, .35); top: 10%; right: -100px; }
.hero-orb.b { width: 320px; height: 320px; background: rgba(56, 138, 221, .25); bottom: 15%; right: 18%; }

.hero-strip { position: relative; z-index: 3; margin-top: auto; background: rgba(11, 22, 34, .58); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .1); }
.hero-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-strip > .wrap > div { padding: 22px 6px; text-align: center; border-right: 1px solid rgba(255, 255, 255, .1); }
.hero-strip > .wrap > div:last-child { border-right: 0; }
.hero-strip b { display: block; font-family: var(--serif); font-size: 28px; color: var(--gold-2); line-height: 1.1; }
.hero-strip span { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }

@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- page banner (inner pages) ---------- */
.banner { position: relative; min-height: 30vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.banner-bg { position: absolute; inset: 0; z-index: 0; }
.banner-bg img { width: 100%; height: 100%; min-height: 30vh; object-fit: cover; object-position: center center; display: block; filter: brightness(1.08) saturate(1.04); }
.banner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 27, 41, .40) 0%, rgba(13, 27, 41, .54) 100%); }
.banner .wrap { position: relative; z-index: 2; padding-bottom: 40px; padding-top: 128px; }
.banner h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); }
.banner .display { color: #fff; }
.banner p { color: rgba(255, 255, 255, .78); margin-top: 12px; font-size: 15.5px; max-width: 720px; line-height: 1.7; }
.crumb { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .58); margin-bottom: 20px; }
.crumb a:hover { color: var(--gold-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 3px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: .3s var(--ease); cursor: pointer; }
.btn svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(201, 162, 39, .32); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .46); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .13); border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-3); transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.btn-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.btn-link:hover { color: var(--navy); }
.btn-link:hover svg { transform: translateX(6px); }

/* ---------- large stat ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-cell { padding: 36px 0; border-top: 1px solid var(--line); }
.sec.navy .stat-cell { border-top-color: rgba(255, 255, 255, .14); }
.stat-cell b { display: block; font-family: var(--serif); font-size: clamp(52px, 7vw, 86px); line-height: 1; color: var(--gold); margin-bottom: 14px; letter-spacing: -.02em; }
.sec.navy .stat-cell b { color: var(--gold-2); }
.stat-cell span { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sec.navy .stat-cell span { color: rgba(255, 255, 255, .66); }

/* ---------- trust marquee ---------- */
.marquee { overflow: hidden; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec.navy .marquee { border-top-color: rgba(255, 255, 255, .14); border-bottom-color: rgba(255, 255, 255, .14); }
.marquee-track { display: flex; gap: 64px; animation: marquee 38s linear infinite; width: max-content; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; flex-shrink: 0; }
.sec.navy .marquee-track span { color: rgba(255, 255, 255, .66); }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- product cards (Bodor-style large) ---------- */
.split-xl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-card { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/5; display: flex; align-items: flex-end; transition: transform .5s var(--ease); }
.product-card:hover { transform: translateY(-6px); }
.product-card .bg { position: absolute; inset: 0; }
.product-card .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product-card:hover .bg img { transform: scale(1.06); }
.product-card .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13, 27, 41, .85) 100%); }
.product-card .meta { position: relative; z-index: 2; padding: 50px 44px; color: #fff; width: 100%; }
.product-card .tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.product-card h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 14px; }
.product-card p { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.75; margin-bottom: 24px; max-width: 460px; }
.product-card .btn-link { color: var(--gold-2); }
.product-card .btn-link:hover { color: #fff; }

/* ---------- PPT-style sticky stack (cathcend) ---------- */
.ppt { position: relative; }
.ppt-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.ppt-bg { position: absolute; inset: 0; }
.ppt-bg img { width: 100%; height: 100%; object-fit: cover; }
.ppt-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(13, 27, 41, .85) 0%, rgba(20, 41, 61, .55) 60%, rgba(20, 41, 61, .2) 100%); }
.ppt-content { position: relative; z-index: 2; color: #fff; max-width: 640px; padding: 0 32px; }
.ppt-num { font-family: var(--serif); font-size: clamp(80px, 11vw, 140px); line-height: 1; color: var(--gold-2); opacity: .5; margin-bottom: 8px; letter-spacing: -.02em; }
.ppt-content h2 { color: #fff; font-size: clamp(28px, 4vw, 50px); margin-bottom: 24px; }
.ppt-content p { color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 1.85; max-width: 540px; }
.ppt-list { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 30px; }
.ppt-list li { color: rgba(255, 255, 255, .84); font-size: 14.5px; padding-left: 18px; position: relative; }
.ppt-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 1px; background: var(--gold-2); }

.ppt-progress { position: absolute; left: 50%; bottom: 36px; transform: translateX(-50%); z-index: 3; display: flex; gap: 12px; }
.ppt-progress span { width: 36px; height: 2px; background: rgba(255, 255, 255, .26); border-radius: 2px; transition: background .3s; }
.ppt-progress span.on { background: var(--gold-2); }

/* ---------- product showcase (horizontal scroll) ---------- */
.hscroll { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 0 26px; -webkit-overflow-scrolling: touch; }
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.hscroll::-webkit-scrollbar-thumb:hover { background: var(--muted-2); }
.pcard { flex: 0 0 320px; scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .35s var(--ease); }
.pcard:hover { transform: translateY(-5px); box-shadow: 0 24px 48px rgba(20, 41, 61, .14); }
.pcard-img { aspect-ratio: 1/1; overflow: hidden; background: var(--cream); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.pcard .code { font-size: 10.5px; letter-spacing: .14em; color: var(--gold); font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.pcard h3 { font-size: 17px; margin-bottom: 8px; }
.pcard p { font-size: 13.5px; color: var(--muted); line-height: 1.7; }

/* ---------- feats (Bodor-style) ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.feat { padding-top: 28px; border-top: 1px solid var(--line); }
.sec.navy .feat { border-top-color: rgba(255, 255, 255, .14); }
.feat .n { font-family: var(--serif); font-size: 14px; color: var(--gold); margin-bottom: 12px; display: block; letter-spacing: .05em; }
.feat h3 { font-size: 19px; margin-bottom: 10px; }
.feat p { font-size: 14.5px; color: var(--muted); line-height: 1.85; }
.sec.navy .feat p { color: rgba(255, 255, 255, .7); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; padding: 36px 26px 30px; background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: .35s var(--ease); }
.step:hover { transform: translateY(-4px); border-color: var(--gold-soft); box-shadow: 0 18px 40px rgba(20, 41, 61, .08); }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--serif); font-size: 32px; position: absolute; top: 18px; right: 22px; font-weight: 700; color: rgba(201, 162, 39, .3); }
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.8; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: -180px; right: -140px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 39, .22), transparent 70%); }
.cta-band::after { content: ""; position: absolute; bottom: -160px; left: -120px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(56, 138, 221, .14), transparent 70%); }
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; padding-top: 96px; padding-bottom: 96px; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255, 255, 255, .76); max-width: 620px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer { background: #0A1825; color: rgba(255, 255, 255, .72); padding: 92px 0 0; font-size: 14.5px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; gap: 46px; padding-bottom: 60px; }
.footer img.flogo { height: 48px; margin-bottom: 22px; }
.footer p { line-height: 1.85; }
.footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 22px; font-weight: 600; }
.footer li { margin-bottom: 11px; }
.footer a:hover { color: var(--gold-2); }
.footer-socials { display: flex; gap: 10px; margin-top: 22px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .06); display: grid; place-items: center; transition: .3s var(--ease); }
.footer-socials a:hover { background: var(--gold); }
.footer-socials a:hover svg { color: var(--navy); }
.footer-socials svg { width: 15px; height: 15px; color: rgba(255, 255, 255, .86); transition: .3s; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom span { color: rgba(255, 255, 255, .5); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }
.reveal[data-d="4"] { transition-delay: .4s; }
.reveal[data-d="5"] { transition-delay: .5s; }
.fade-up { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal, .fade-up { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .nav a { font-size: 13px; }
  .socials { display: none; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-top > div:nth-child(5) { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); }
}

@media (max-width: 920px) {
  .sec { padding: 92px 0; }
  .display { font-size: clamp(38px, 8vw, 60px); }
  .hero { min-height: auto; }
  .hero .wrap { padding-top: 130px; padding-bottom: 44px; }
    .hero-strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .hero-strip > .wrap > div { padding: 22px 6px; }
  .hero-strip > .wrap > div:nth-child(2) { border-right: 0; }
  .hero-strip b { font-size: 24px; }
  .hero-strip span { font-size: 10px; }
  .hero-strip > .wrap > div:nth-child(1), .hero-strip > .wrap > div:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .burger { display: block; }
  .nav { position: fixed; inset: 0 0 auto 0; top: 0; padding: 116px 32px 40px; background: rgba(14, 31, 46, .98); flex-direction: column; align-items: flex-start; gap: 4px; transform: translateY(-102%); transition: transform .45s var(--ease); }
  .nav.open { transform: none; }
  .nav a { font-size: 19px; padding: 14px 0; width: 100%; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .btn-quote { display: none; }
  .split-xl { grid-template-columns: 1fr; }
  .product-card { aspect-ratio: 5/4; }
  .stat-grid, .feats, .steps { grid-template-columns: repeat(2, 1fr); }
  .ppt-stage { height: auto; min-height: 90vh; }
  .ppt-content { padding-bottom: 60px; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 16/12; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-top > div:nth-child(5) { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .sec { padding: 72px 0; }
  .display { font-size: 40px; }
  .stat-grid, .feats, .steps { grid-template-columns: 1fr; }
  .stat-grid { gap: 0; }
  .stat-cell { border-top: 1px solid var(--line); }
  .stat-cell:last-child { border-bottom: 1px solid var(--line); }
  .marquee-track { gap: 36px; }
  .marquee-track span { font-size: 11.5px; }
  .brand img { height: 34px; }
  .brand-txt b { font-size: 15px; }
  .head-right { gap: 8px; }
  .lang button { padding: 5px 9px; font-size: 10.5px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-top > div:nth-child(5) { grid-column: 1; }
  .pcard { flex-basis: 280px; }
  .cat-card .meta { padding: 40px 30px; }

}

/* ---------- category split (Yarn vs Auxiliaries) ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.cat-card {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 16/11;
  display: flex; align-items: flex-end; transition: transform .5s var(--ease);
  cursor: pointer;
}
.cat-card:hover { transform: translateY(-8px); }
.cat-card .bg { position: absolute; inset: 0; }
.cat-card .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover .bg img { transform: scale(1.06); }
.cat-card .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 32%, rgba(13, 27, 41, .9) 100%); }
.cat-card .meta { position: relative; z-index: 2; padding: 60px 50px; color: #fff; width: 100%; }
.cat-card .num { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 12px; color: var(--gold-2); margin-bottom: 18px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.cat-card .num::after { content: ""; flex: 0 0 36px; height: 1px; background: var(--gold-2); }
.cat-card h3 { color: #fff; font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.cat-card p { color: rgba(255, 255, 255, .8); font-size: 15.5px; line-height: 1.8; margin-bottom: 26px; max-width: 460px; }
.cat-card .btn-link { color: var(--gold-2); }
.cat-card .btn-link:hover { color: #fff; }

/* ---------- auto-scroll marquee (products) ---------- */
.hscroll-auto { overflow: hidden; padding: 6px 0 26px; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hscroll-track { display: flex; gap: 24px; width: max-content; animation: autoScroll 50s linear infinite; }
.hscroll-track:hover { animation-play-state: paused; }
@keyframes autoScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ---------- online channels (fixed small icons) ---------- */
.channels { display: flex; gap: 16px; margin-top: 42px; flex-wrap: wrap; }
.channels a {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px;
  background: var(--cream); border: 1px solid var(--line); border-radius: 4px;
  font-size: 14px; font-weight: 600; color: var(--ink); transition: .3s var(--ease);
}
.channels a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.channels a svg { width: 22px !important; height: 22px !important; max-width: 22px; max-height: 22px; flex-shrink: 0; display: block; }
.channels .lbl { font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; font-weight: 500; }
.channels a:hover .lbl { color: rgba(255, 255, 255, .65); }
.channels .ch-mark { width: 22px; height: 22px; border-radius: 4px; display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; line-height: 1; flex-shrink: 0; font-family: Georgia, serif; }
.channels .ch-mark.ali { background: #ff6a00; }
.channels .ch-mark.amz { background: #232f3e; }
/* ---------- subtle tilt hover ---------- */
.tilt { will-change: transform; transition: transform .5s var(--ease); }
.tilt:hover { transform: perspective(900px) rotateY(-3deg) rotateX(2deg) translateY(-6px); }


/* ---------- partner brands (Cooperating customers) ---------- */
.partners { padding: 76px 0 66px; background: #f5f0e6; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners .sec-head { text-align: center; margin-left: auto; margin-right: auto; margin-bottom: 40px; max-width: 760px; }
.partners .sec-head .rule { margin: 18px auto 0; }
.partners-grid .logo-tile { min-height: 92px; }
.partners-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px;
  max-width: 1180px; margin: 0 auto; padding: 0 32px;
}
.partners-grid .logo-tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  aspect-ratio: 16/9; display: grid; place-items: center; padding: 24px;
  transition: .3s var(--ease);
}
.partners-grid .logo-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(20,41,61,.08); }
.partners-grid .logo-tile svg { width: 100%; height: 100%; max-height: 60px; }


/* ---------- news ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: .4s var(--ease); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(20,41,61,.12); border-color: transparent; }
.news-img { aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-body { padding: 26px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; }
.news-body h3 { font-size: 18.5px; line-height: 1.4; margin-bottom: 10px; }
.news-body p { font-size: 14.5px; color: var(--muted); line-height: 1.75; flex: 1; }
.news-more { margin-top: 18px; }
@media (max-width: 920px) { .news-grid { grid-template-columns: 1fr; } }


/* ---------- product list grid (overrides .pcard flex-basis) ---------- */
.plist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.plist .pcard { flex: initial; width: 100%; min-width: 0; }
.plist a.pcard { display: block; }
a.pcard { text-decoration: none; }
.pcard-img { aspect-ratio: 1 / 1; }
.pcard-body { padding: 20px 22px 24px; }
.pcard h3 { font-size: 16px; line-height: 1.4; }
@media (max-width: 1100px) { .plist { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .plist { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 520px) { .plist { grid-template-columns: 1fr; } }

/* ---------- dropdown click fix ---------- */
.nav .drop { z-index: 30; }
.nav .drop-inner { position: relative; z-index: 31; }
.nav .drop a { position: relative; z-index: 32; cursor: pointer; }

/* ---------- hero tighter ---------- */
.hero .wrap { padding-top: clamp(96px, 11vh, 130px); padding-bottom: 40px; }
.hero h1 { margin-bottom: 22px; }
.hero p { font-size: 16.5px; line-height: 1.75; margin-bottom: 32px; max-width: 540px; }
.hero-strip > .wrap > div { padding: 18px 6px; }
.hero-strip b { font-size: 25px; }
.hero-strip span { font-size: 10px; }


/* ============ FINAL OVERRIDES (hero centering + banner height) ============ */
.hero .wrap { justify-content: center; text-align: center; padding-top: clamp(88px, 10vh, 116px); padding-bottom: 32px; }
.hero-inner { max-width: 960px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 24px; }
.hero p { font-size: 18.5px; line-height: 1.78; max-width: 720px; margin: 0 auto 32px; color: rgba(255, 255, 255, .84); }
.hero-cta { justify-content: center; }
.hero .eyebrow { justify-content: center; }
.banner { min-height: 30vh; }
.banner .wrap { padding-top: 122px; padding-bottom: 38px; }
.banner-bg img { min-height: 30vh; }


/* ---------- R7 overrides ---------- */
.hero .eyebrow { font-size: 13.5px; letter-spacing: .2em; }
.hero-bg::after { background: linear-gradient(110deg, rgba(13,27,41,.92) 0%, rgba(20,41,61,.72) 50%, rgba(20,41,61,.42) 100%), linear-gradient(180deg, transparent 45%, rgba(13,27,41,.6) 100%); }


/* ============ R9: hero slider ============ */
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero-bg img.active { opacity: 1; }
.hero-bg::after { background: linear-gradient(105deg, rgba(13,27,41,.80) 0%, rgba(20,41,61,.58) 45%, rgba(20,41,61,.30) 100%), linear-gradient(180deg, transparent 50%, rgba(13,27,41,.52) 100%) !important; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 6; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(13,27,41,.28); color: #fff; display: grid; place-items: center; cursor: pointer; transition: .3s var(--ease); backdrop-filter: blur(6px); }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow.prev { left: 28px; }
.hero-arrow.next { right: 28px; }
.hero-dots { position: absolute; bottom: 118px; left: 50%; transform: translateX(-50%); z-index: 6; display: flex; gap: 9px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.42); border: 0; padding: 0; cursor: pointer; transition: .3s; }
.hero-dots button.on { background: var(--gold); width: 26px; border-radius: 5px; }
.hero h1 .zh-strong { font-size: clamp(44px, 6vw, 96px); font-weight: 700; letter-spacing: -.01em; }
@media (max-width: 780px) { .hero-arrow { display: none; } }


/* ============ R10 ============ */
.hero-bg::after { background: linear-gradient(105deg, rgba(13,27,41,.62) 0%, rgba(20,41,61,.38) 45%, rgba(20,41,61,.20) 100%), linear-gradient(180deg, transparent 58%, rgba(13,27,41,.42) 100%) !important; }
.hero-dots { bottom: 190px !important; top: auto !important; }
.hero-dots button { background: rgba(255,255,255,.5); }
@media (max-width: 780px) { .hero-dots { bottom: 150px !important; } }
.factory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.hero h1 > span { font-size: clamp(40px, 5.4vw, 88px); }
html[lang="zh-CN"] .hero h1 > span, html[lang="zh-CN"] .hero h1 .zh-strong { font-size: clamp(44px, 6vw, 98px); font-weight: 700; }


/* ============ R16: product image hover zoom (Taobao/JD style) ============ */
.pd-main { position: relative; overflow: hidden; cursor: zoom-in; }
.pd-main img { transition: transform .45s var(--ease); transform-origin: center center; }
.pd-main:hover img { transform: scale(1.9); }
.pd-main.zooming img { transition: none; }
.pd-zoom-hint { position: absolute; right: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 20px; background: rgba(20,41,61,.72); color: #fff; font-size: 11.5px; letter-spacing: .04em; backdrop-filter: blur(6px); pointer-events: none; transition: opacity .3s; }
.pd-main:hover .pd-zoom-hint { opacity: 0; }
.pd-zoom-hint svg { width: 13px; height: 13px; }
@media (max-width: 780px) { .pd-main:hover img { transform: none; } .pd-main { cursor: default; } }


/* ==================================================================
   R23 — 移动端适配 + 多语言切换器
   （以下规则全部包裹在媒体查询或新类里，桌面端布局不受影响）
   ================================================================== */

/* ---------- 移动端：about 两栏 split 变上下结构 ---------- */
@media (max-width: 900px) {
  .split[style*="grid-template-columns"] { display: block !important; }
  .split[style*="grid-template-columns"] > * + * { margin-top: 30px; }
  .split[style*="grid-template-columns"] .split-media { margin-bottom: 0; }
  .split[style*="grid-template-columns"] .split-media img { width: 100%; height: auto; border-radius: 14px; }
}

/* ---------- 移动端：汉堡菜单里的下拉子菜单改为常显 ---------- */
@media (max-width: 920px) {
  .nav .has-drop { width: 100%; }
  .nav .has-drop > a { width: 100%; }
  .nav .has-drop > a::after { display: none; }
  .nav .drop {
    position: static; opacity: 1; visibility: visible; transform: none;
    padding-top: 0; width: 100%; display: block;
  }
  .nav .drop-inner {
    background: transparent; border: 0; border-radius: 0;
    padding: 0 0 8px 16px; min-width: 0; backdrop-filter: none;
  }
  .nav .drop a {
    font-size: 15px; padding: 9px 0; width: 100%;
    border-bottom: 1px dashed rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .72);
  }
  .nav .drop a:last-child { border-bottom: 0; }
}

/* ---------- 移动端：产品列表 2 列 ---------- */
@media (max-width: 780px) {
  .plist { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 520px) {
  .plist { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
  .pcard-body { padding: 13px 13px 16px; }
  .pcard .code { font-size: 9.5px; letter-spacing: .1em; }
  .pcard h3 { font-size: 13.5px; line-height: 1.35; }
  .pcard p { font-size: 11.5px; margin-top: 4px; }
  .sec-head.tight { margin-bottom: 22px; }
}

/* ---------- 语言切换器 ---------- */
.lang-sw { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 3px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .34);
  background: transparent; color: rgba(255, 255, 255, .86);
  font-size: 11.5px; letter-spacing: .08em; transition: .25s var(--ease);
}
.lang-btn:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); }
.lang-btn svg { width: 14px; height: 14px; flex: 0 0 auto; }
.lang-cur { font-weight: 600; }
.lang-btn .caret {
  width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent;
  border-top: 4px solid currentColor; transition: transform .25s var(--ease);
}
.lang-sw.open .lang-btn .caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 90;
  width: 460px; max-width: 82vw; padding: 10px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  background: #16283a;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 10px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, .38);
  max-height: 64vh; overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: .25s var(--ease);
}
.lang-sw.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%; padding: 9px 12px; border-radius: 6px; cursor: pointer;
  background: transparent; color: rgba(255, 255, 255, .82);
  font-size: 13px; text-align: left; transition: .2s;
}
.lang-menu button:hover { background: rgba(201, 162, 39, .16); color: #fff; }
.lang-menu button.on { background: rgba(201, 162, 39, .22); color: #fff; }
.lang-menu button em { font-style: normal; font-size: 10.5px; letter-spacing: .1em; color: rgba(255, 255, 255, .42); }
.lang-menu button.on em { color: var(--gold-2); }
@media (max-width: 620px) {
  .lang-menu { width: 290px; grid-template-columns: 1fr; max-height: 58vh; }
  .lang-btn { padding: 6px 9px; }
}

/* ---------- 阿拉伯语等 RTL 语言 ---------- */
html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .crumb, html[dir="rtl"] .eyebrow, html[dir="rtl"] .sec-head,
html[dir="rtl"] .hero .wrap, html[dir="rtl"] .banner .wrap { text-align: right; }
html[dir="rtl"] .lang-menu button { text-align: right; }
html[dir="rtl"] .btn svg, html[dir="rtl"] .btn-link svg, html[dir="rtl"] .pcard p { }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
html[dir="rtl"] .nav a::after { left: auto; right: 0; }


/* ==================================================================
   R24 — 移动端：首页 hero 图片裁切 + 工厂页车间网格列数
   （全部在媒体查询内，桌面端不受影响）
   ================================================================== */

/* ---------- 首页 hero：手机端使用竖版专用图（文字仍在图上，不下移） ---------- */
@media (max-width: 820px) {
  /* 竖版图基本贴合容器比例，cover 只做轻微裁切，保证内容居中可见 */
  .hero-bg img { object-position: center 50%; }

  /* 把 hero 压矮 -> 容器不再那么狭长 -> 同一张图能露出更多内容 */
  .hero .wrap { padding-top: clamp(76px, 9.5vh, 100px); padding-bottom: 22px; }
  .hero .eyebrow { margin-bottom: 16px; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 42px); margin-bottom: 16px; }
  .hero p { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { padding: 13px 22px; font-size: 12px; }
  .hero-strip .wrap { padding-top: 0; padding-bottom: 0; }
  .hero-strip > .wrap > div { padding: 8px 4px; }
  .hero-strip b { font-size: 17px; margin-bottom: 2px; }
  .hero-strip span { font-size: 7.8px; letter-spacing: .04em; line-height: 1.25; }
  .hero-dots { bottom: 108px !important; }
  .hero-arrow { display: none; }
}

/* ---------- 标题断行 ----------
   中文/日文/韩文标题：用 balance 避免最后一行只剩一个字。
   拉丁字母语言（英/西/葡/法/德/意/俄…）**不加** balance ——
   英文标题用 balance 会出现 "Two product / categories, one partner" 这种从句中间断开的难看效果，
   英文保持浏览器原生按空格断行（在标点、连词处断），更自然。 */
:lang(zh) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3),
:lang(ja) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3),
:lang(ko) :is(h1, h2, h3, h4, .display, .h1, .h2, .h3) { text-wrap: balance; }

/* ---------- 工厂页：平板上两张厂区大卡也并排（同电脑端） ---------- */
@media (min-width: 760px) and (max-width: 920px) {
  .factory-grid { grid-template-columns: 1fr 1fr !important; }
  .factory-card .fc-body { padding: 26px 24px 28px; }
  .factory-card .fc-head { padding: 30px 24px 24px; }
  .factory-card .fc-stat { gap: 12px; }
  .factory-card .fc-stat div b { font-size: 21px; }
  .factory-card .fc-stat div span { font-size: 9.5px; letter-spacing: .08em; }
}
