/* =====================================================================
   Jiangsu Dongyue New Material Technology — site stylesheet
   Theme: white base + gold accents (premium building materials)
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --paper: #ffffff;
  --ivory: #faf7f1;
  --ivory-2: #f4efe6;
  --ink: #17130e;
  --body: #3f3931;
  --muted: #7a7268;
  --muted-2: #948a7e;
  --line: #ece5d9;
  --line-strong: #d9cfbe;
  --gold: #c2a05a;
  --gold-deep: #96762f;
  --gold-soft: #f3e9d4;
  --gold-glow: rgba(194, 160, 90, .18);
  --success: #2f7a52;
  --danger: #b3261e;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(23, 19, 14, .04), 0 2px 8px rgba(23, 19, 14, .04);
  --shadow-md: 0 18px 36px -24px rgba(23, 19, 14, .28), 0 4px 12px -8px rgba(23, 19, 14, .1);
  --shadow-lg: 0 40px 70px -44px rgba(23, 19, 14, .42), 0 12px 28px -20px rgba(23, 19, 14, .18);
  --header-h: 78px;
  --container: min(80vw, 1760px);
  --font-sans: "Plus Jakarta Sans", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", "Noto Serif SC", Georgia, "Times New Roman", serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 19px;
  line-height: 1.72;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -.01em;
  color: var(--ink);
}
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 16px; top: -64px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 3.4vw, 40px); }

.section { padding: clamp(44px, 5vw, 78px) 0; position: relative; }
.section-alt { background: var(--ivory); }
.section-line { border-top: 1px solid var(--line); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(18px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(24px, 3.2vw, 42px);
}
.section-head-center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head-center .section-desc { max-width: 60ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.eyebrow-center::after { content: ""; width: 26px; height: 1px; background: var(--gold); }

.section-title { font-size: clamp(33px, 3.5vw, 50px); letter-spacing: -.02em; text-wrap: balance; }
.section-desc { font-size: 17.5px; color: var(--muted); max-width: 54ch; line-height: 1.8; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 4px; border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 16px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease,
              box-shadow .28s ease, transform .22s ease;
}
.btn .ico { width: 17px; height: 17px; transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(135deg, #cfae67 0%, #bd9849 48%, #a8843a 100%);
  color: #1b1610; box-shadow: 0 12px 24px -16px rgba(150, 118, 47, .9);
}
.btn-primary:hover { background: linear-gradient(135deg, #d8b975 0%, #c5a052 48%, #b18c3f 100%); box-shadow: 0 16px 30px -16px rgba(150, 118, 47, .75); }
.btn-primary:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: #f7f2e8; }
.btn-dark:hover { background: #2b241c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-soft); }
.btn-ghost-light { background: transparent; color: #f2ece0; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.btn-lg { padding: 16px 32px; font-size: 14px; }
.btn-block { width: 100%; }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 0; padding: 0; margin-top: 4px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep);
}
.link-btn .ico { width: 15px; height: 15px; transition: transform .25s ease; }
.link-btn:hover .ico { transform: translateX(4px); }
.link-btn:hover { color: var(--ink); }

.check-list { display: grid; gap: 12px; font-size: 14.5px; color: var(--body); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .ico { width: 17px; height: 17px; margin-top: 4px; color: var(--gold-deep); stroke-width: 2.2; }

/* ---------- top bar ---------- */
.topbar { background: var(--ivory-2); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item .ico { width: 14px; height: 14px; color: var(--gold-deep); }
.topbar a:hover { color: var(--ink); }
.topbar-note { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: var(--gold-deep); font-weight: 700; }

.social-row { display: inline-flex; align-items: center; gap: 8px; }
.social-btn {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 50%; border: 1px solid var(--line-strong); color: var(--muted);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.social-btn .ico { width: 14px; height: 14px; }
.social-btn svg { fill: currentColor; stroke: none; }
.social-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
.social-btn-light { border-color: rgba(255, 255, 255, .24); color: #cfc6b8; }
.social-btn-light:hover { background: var(--gold); border-color: var(--gold); color: #1b1610; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled { background: rgba(255, 255, 255, .98); border-bottom-color: var(--line); box-shadow: 0 10px 30px -28px rgba(23, 19, 14, .6); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 38px; height: 38px; color: var(--ink); display: block; }
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong {
  font-family: var(--font-serif); font-size: 17px; letter-spacing: .16em;
  font-weight: 600; color: var(--ink);
}
.brand-text em {
  font-style: normal; font-size: 10px; letter-spacing: .16em;
  color: var(--muted-2); text-transform: uppercase; margin-top: 3px;
}
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text em { color: #9c9186; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > a {
  position: relative; padding: 9px 13px; border-radius: 4px;
  font-size: 17px; font-weight: 500; color: var(--body);
  transition: color .2s ease;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .26s ease;
}
.main-nav > a:hover { color: var(--ink); }
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }

/* language switch */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 12px; border-radius: 4px;
  background: transparent; border: 1px solid var(--line-strong);
  font-size: 12.5px; font-weight: 600; color: var(--body);
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.lang-btn:hover { border-color: var(--gold); background: var(--gold-soft); color: var(--ink); }
.lang-btn .ico { width: 15px; height: 15px; color: var(--gold-deep); }
.ico-chevron { width: 13px !important; height: 13px !important; transition: transform .25s ease; }
.lang-switch.is-open .ico-chevron { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 180px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 95;
}
.lang-switch.is-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: 0; border-radius: 5px;
  background: none; font-size: 13.5px; text-align: left; color: var(--body);
}
.lang-menu button:hover { background: var(--ivory); color: var(--ink); }
.lang-menu button[aria-selected="true"] { color: var(--gold-deep); font-weight: 700; background: var(--gold-soft); }
.lang-menu button[aria-selected="true"]::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.nav-toggle {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 6px; background: #fff;
}
.nav-toggle .ico { width: 21px; height: 21px; }
.nav-toggle .ico-close { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: block; }
.nav-toggle[aria-expanded="true"] .ico-menu { display: none; }

/* ---------- hero (photo) ---------- */
.hero-photo {
  position: relative; overflow: hidden;
  background: #14110d; padding: 0;
}
.hero-frame { position: relative; height: clamp(540px, 74vh, 820px); }
.hero-bg {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%;
  object-fit: fill; object-position: center;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(9,7,5,.84) 0%, rgba(9,7,5,.62) 24%, rgba(9,7,5,.3) 52%, rgba(9,7,5,.06) 80%, rgba(9,7,5,0) 100%),
    linear-gradient(100deg, rgba(9,7,5,.52) 0%, rgba(9,7,5,.18) 45%, rgba(9,7,5,0) 72%);
  backdrop-filter: saturate(1.04);
}
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  max-width: var(--container); margin-inline: auto;
  padding-bottom: clamp(26px, 4.5vw, 58px);
}
.hero-content > * { max-width: 740px; }
.hero-eyebrow { color: #d6bd8e; }
.hero-eyebrow::before { background: var(--gold); }
.hero-title { color: #fff; font-size: clamp(35px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-brand {
  display: block; font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(11px, 1vw, 13px); letter-spacing: .4em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero-line { display: block; }
.hero-tagline {
  margin-top: 15px; font-family: var(--font-serif);
  font-size: clamp(16px, 1.45vw, 21px); letter-spacing: .01em; color: #e9dcc3;
}
.hero-tagline::after {
  content: ""; display: block; width: 52px; height: 1px;
  background: rgba(194, 160, 90, .8); margin-top: 14px;
}
.hero-desc {
  margin-top: 16px; max-width: 56ch; color: rgba(255, 255, 255, .78);
  font-size: clamp(14.5px, 1.1vw, 16.5px); line-height: 1.8;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .4);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
.hero-proof li { display: inline-flex; align-items: center; gap: 7px; }
.hero-proof .ico { width: 14px; height: 14px; color: var(--gold); stroke-width: 2.4; }

/* ---------- stats strip ---------- */
.stats-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 8px 24px; display: flex; flex-direction: column; gap: 2px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: clamp(14px, 2vw, 30px); }
.stat-num { font-family: var(--font-serif); font-size: clamp(23px, 2.3vw, 31px); font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.stat-num em { font-style: normal; font-size: .5em; color: var(--gold-deep); margin-left: 3px; letter-spacing: .04em; }
.stat-label { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }


/* ---------- marquee ---------- */
.marquee {
  background: var(--ink); color: #d8cbb4; overflow: hidden; padding: 13px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex; align-items: center; gap: 32px; width: max-content;
  font-family: var(--font-serif); font-size: 13px; letter-spacing: .16em; text-transform: uppercase;
  animation: marquee 42s linear infinite;
}
.marquee-track span:nth-child(even) { color: var(--gold); }

/* ---------- products ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.tab {
  padding: 9px 18px; border-radius: 3px;
  background: #fff; border: 1px solid var(--line-strong);
  font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tab:hover { border-color: var(--gold); color: var(--ink); }
.tab.is-active { background: var(--ink); border-color: var(--ink); color: #f7f2e8; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.product-card.is-hidden { display: none; }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ivory-2); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .3, 1); }
.product-card:hover .product-media img { transform: scale(1.06); }
.product-badge {
  position: absolute; left: 0; top: 14px;
  padding: 5px 12px; background: rgba(255, 255, 255, .94); color: var(--gold-deep);
  font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(4px);
}
.product-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.product-body h3 { font-size: 19px; letter-spacing: 0; }
.product-desc { font-size: 13.5px; color: var(--muted); line-height: 1.75; }
.spec-list { display: grid; gap: 6px; margin-top: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.spec-list > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 12.5px; }
.spec-list dt { color: var(--muted-2); flex: none; letter-spacing: .02em; }
.spec-list dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.product-body .link-btn { margin-top: auto; padding-top: 10px; }

.film-teaser {
  display: flex; justify-content: flex-end; margin-top: 26px;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.film-teaser .link-btn {
  margin: 0; padding: 13px 22px;
  border: 1px solid var(--gold); border-radius: 6px;
  background: #fffdf6; color: var(--gold-deep);
  font-size: 16px; font-weight: 700; letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.film-teaser .link-btn:hover { background: var(--gold); color: #1b1610; border-color: var(--gold); }
.film-teaser .link-btn .ico { width: 17px; height: 17px; }

/* ---------- factory ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 236px; gap: 18px; }
.bento-card {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--ivory-2); border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease;
}
.bento-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .3, 1); }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.bento-card:hover img { transform: scale(1.05); }
.bento-wide { grid-column: span 2; grid-row: span 2; }
.bento-overlay {
  position: absolute; inset: auto 0 0 0; padding: 20px 22px;
  background: linear-gradient(to top, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 42%, rgba(255, 255, 255, 0) 100%);
}
.bento-overlay h3 { font-size: 17px; }
.bento-overlay p { margin-top: 4px; font-size: 13px; color: var(--muted); max-width: 42ch; }
.bento-stat {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 24px; background: var(--ink); color: #f3ecdf; border-color: transparent;
}
.bento-num { font-family: var(--font-serif); font-size: clamp(28px, 3vw, 40px); font-weight: 600; color: var(--gold); }
.bento-num em { font-style: normal; font-size: .42em; font-weight: 600; margin-left: 4px; color: #d8cbb4; }
.bento-stat p { font-size: 12.5px; color: #b8ab97; letter-spacing: .02em; }
.bento-list { display: flex; align-items: center; padding: 24px; background: #fff; }

/* ---------- quality ---------- */
.quality-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.quality-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.quality-intro .section-desc { margin-bottom: 22px; }
.quality-intro .check-list { margin-bottom: 26px; }
.quality-list { display: grid; gap: 12px; }
.quality-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.quality-row:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateX(3px); }
.quality-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep);
}
.quality-icon .ico { width: 20px; height: 20px; }
.quality-main h3 { font-size: 15px; font-family: var(--font-sans); font-weight: 600; letter-spacing: 0; }
.quality-main p { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.chip {
  padding: 4px 11px; border-radius: 3px; font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--ivory-2); color: var(--muted); white-space: nowrap;
}
.chip-ok { background: var(--gold-soft); color: var(--gold-deep); }

/* ---------- applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.app-card {
  padding: 26px 22px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.app-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.app-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--ivory-2); color: var(--gold-deep); margin-bottom: 16px;
}
.app-icon .ico { width: 21px; height: 21px; }
.app-card h3 { font-size: 16px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 6px; }
.app-card p { font-size: 13px; color: var(--muted); line-height: 1.75; }

/* ---------- features / global ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  padding: 26px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 16px;
}
.feature-icon .ico { width: 21px; height: 21px; }
.feature-card h3 { font-size: 16px; font-family: var(--font-sans); font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.75; }

.global-panel {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  margin-top: 24px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.global-panel { align-items: stretch; }
.global-visual { position: relative; overflow: hidden; background: #0d0b09; min-height: clamp(340px, 27vw, 460px); }
.ship-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity .8s ease;
}
.ship-slide.is-active { opacity: 1; }
.ship-dots { position: absolute; left: 16px; bottom: 16px; z-index: 2; display: flex; gap: 6px; }
.ship-dot {
  width: 22px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .45); transition: background .2s ease, width .2s ease;
}
.ship-dot.is-active { background: var(--gold); width: 34px; }
.global-body { display: flex; flex-direction: column; }
.global-body { padding: clamp(24px, 3vw, 42px); }
.global-body h3 { font-size: clamp(22px, 2vw, 29px); margin-bottom: 10px; }
.global-body > p { font-size: 15.5px; color: var(--muted); max-width: 52ch; line-height: 1.8; }
.cap-list { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 0; flex: 1; margin-top: 18px; min-height: 0; }
.cap-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--body);
}
.cap-list li:last-child { border-bottom: 0; }
.cap-list .ico { width: 16px; height: 16px; color: var(--gold-deep); }

/* ---------- contact ---------- */
.section-contact { background: var(--ivory); border-top: 1px solid var(--line); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.contact-info .section-title { max-width: 18ch; }
.contact-info .section-desc { margin-top: 16px; }
.contact-list { display: grid; gap: 18px; margin-top: 30px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: #fff; color: var(--gold-deep); border: 1px solid var(--line);
}
.contact-icon .ico { width: 18px; height: 18px; }
.contact-label { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 2px; }
.contact-list p, .contact-list a { font-size: 14px; color: var(--body); }
.contact-list a:hover { color: var(--gold-deep); }
.contact-social {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-strong);
}
.contact-social span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.contact-social .social-btn { width: 34px; height: 34px; background: #fff; }
.contact-social .social-btn .ico { width: 16px; height: 16px; }
.contact-note {
  margin-top: 22px; padding: 14px 16px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted); line-height: 1.7;
}

/* form */
.form-card {
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold);
  border-radius: 10px; padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md);
}
.form-title { font-size: 22px; }
.form-sub { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-top: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field legend {
  font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 6px;
}
.field label i { color: var(--danger); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-strong); border-radius: 5px;
  background: #fff; font-size: 14px; color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder { color: #a89e91; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--gold); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px var(--gold-glow);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23967a3f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px; padding-right: 34px;
}
.field-error { font-size: 11.5px; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.field input.is-invalid, .field select.is-invalid, .field textarea.is-invalid {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(179, 38, 30, .08);
}
.counter { margin-left: auto; font-size: 10.5px; font-weight: 600; color: var(--muted-2); letter-spacing: .04em; }

.field-chips { margin-top: 16px; border: 0; padding: 0; }
.field-chips legend { padding: 0; margin-bottom: 8px; }
.chip-select { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-select label { position: relative; display: inline-flex; }
.chip-select input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-select span {
  padding: 8px 14px; border-radius: 4px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer;
  transition: all .2s ease;
}
.chip-select span:hover { border-color: var(--gold); color: var(--ink); }
.chip-select input:checked + span { background: var(--gold-soft); border-color: var(--gold-deep); color: var(--gold-deep); font-weight: 600; }
.chip-select input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

#inquiryForm > .field { margin-top: 16px; }
#inquiryForm .btn-block { margin-top: 20px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 12px; font-size: 11px; color: var(--muted-2); text-align: center; line-height: 1.6; }
.form-alert {
  margin-top: 14px; padding: 11px 14px; border-radius: 5px; font-size: 12.5px;
  background: rgba(179, 38, 30, .06); color: var(--danger); border: 1px solid rgba(179, 38, 30, .18);
}
.spinner {
  display: none; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(27, 22, 16, .25); border-top-color: #1b1610;
  animation: spin .7s linear infinite;
}
.is-loading .spinner { display: block; }
.is-loading .btn-label { opacity: .7; }
.is-loading { pointer-events: none; }

.form-success { text-align: center; padding: 18px 6px; animation: fadeUp .5s ease both; }
.success-icon {
  display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px;
  border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep);
  border: 1px solid var(--gold);
}
.success-icon .ico { width: 26px; height: 26px; stroke-width: 2.4; }
.form-success h3 { font-size: 21px; }
.form-success p { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.success-ref {
  display: inline-block; margin-top: 18px; padding: 10px 16px; border-radius: 5px;
  background: var(--ivory); border: 1px solid var(--line); font-size: 12.5px; color: var(--muted);
}
.success-ref b { font-size: 13.5px; color: var(--ink); letter-spacing: .02em; }
.form-success .btn { margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer { background: #14110d; color: #a99e8f; padding: clamp(48px, 6vw, 74px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 44px; }
.footer-brand > p { margin-top: 16px; font-size: 13px; line-height: 1.8; color: #93887a; max-width: 40ch; }
.footer-col h4 {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; font-weight: 700;
}
.footer-col ul { display: grid; gap: 9px; font-size: 13px; }
.footer-col a { color: #a99e8f; transition: color .2s ease; }
.footer-col a:hover { color: #f0e7d8; }
.footer-contact li { line-height: 1.7; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-lang { display: flex; gap: 6px; margin-top: 14px; }
.footer-lang button {
  padding: 4px 10px; border-radius: 3px; background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12); font-size: 11px; color: #a99e8f; letter-spacing: .06em;
}
.footer-lang button:hover { border-color: var(--gold); color: #f0e7d8; }
.footer-lang button.is-active { background: var(--gold); border-color: var(--gold); color: #1b1610; font-weight: 700; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; color: #7d7365;
}
.footer-legal { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-legal a:hover { color: #d8cbb4; }

/* ---------- floating CTA ---------- */
.float-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: none; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 4px;
  background: linear-gradient(135deg, #cfae67, #b08c3f); color: #1b1610;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 16px 30px -14px rgba(150, 118, 47, .85);
  transform: translateY(120%); transition: transform .35s ease;
}
.float-cta .ico { width: 17px; height: 17px; }
.float-cta.is-visible { transform: none; }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .app-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .quality-layout { grid-template-columns: 1fr; }
  .quality-intro { position: static; }
  .contact-layout { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: clamp(240px, 46vw, 380px); }
  .hero-media::after { inset: 14px -14px -14px 14px; }
  .hero-copy { max-width: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px clamp(18px, 4vw, 34px) 20px;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(23, 19, 14, .5);
    display: none;
  }
  .main-nav.is-open { display: flex; animation: fadeUp .25s ease both; }
  .main-nav > a { padding: 12px 6px; font-size: 15px; }
  .main-nav > a::after { display: none; }
  .nav-mobile-extra { display: block; margin-top: 10px; }
  .header-cta { display: none; }
  .header-actions { margin-left: auto; }
  .nav-toggle { display: inline-flex; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .bento-wide { grid-column: span 2; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .global-panel { grid-template-columns: 1fr; }
  .global-visual { min-height: 220px; }
  .float-cta { display: inline-flex; }
  .topbar-left { gap: 14px; }
}

@media (max-width: 720px) {
  .topbar-hide-sm { display: none; }
  .hero { padding-top: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 4px 0; }
  .stat + .stat { border-left: 0; padding-left: 4px; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
  .product-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-wide { grid-column: span 1; grid-row: span 1; aspect-ratio: 4 / 3; }
  .bento-card:not(.bento-wide):not(.bento-stat):not(.bento-list) { aspect-ratio: 16 / 10; }
  .bento-stat { padding: 22px; }
  .bento-list { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .quality-row { grid-template-columns: 40px minmax(0, 1fr); row-gap: 8px; }
  .quality-row .chip { grid-column: 2; justify-self: start; }
  .cap-list { grid-template-columns: 1fr; }
  .section-title { font-size: clamp(23px, 6vw, 30px); }
  .hero-media-tag { left: 8px; bottom: 12px; padding: 9px 12px; }
  .hero-media-tag strong { font-size: 16px; }
}

@media (max-width: 420px) {
  .lang-btn span#langLabel { display: none; }
  .lang-btn { padding: 9px 10px; }
  .hero-actions .btn { width: 100%; }
  .float-cta span { display: none; }
  .float-cta { padding: 14px; border-radius: 50%; }
  .brand-text em { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .float-cta, .marquee { display: none !important; }
  body { color: #000; }
}

/* =====================================================================
   v2：按花色的产品栅格 / 工厂图片墙 / 报告墙 / 灯箱
   ===================================================================== */

/* ---- 4 列产品 ---- */
.product-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid-4 .product-body { padding: 18px 18px 20px; }
.product-grid-4 .product-body h3 { font-size: 21px; }
.product-grid-4 .product-desc { font-size: 15.5px; }

/* ---- 工厂图片墙 ---- */
.factory-wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: auto; gap: 14px;
}
.fw-item {
  position: relative; margin: 0; overflow: hidden;
  border-radius: 8px; background: var(--ivory-2);
  aspect-ratio: 3 / 2;
}
.fw-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .6, .3, 1); }
.fw-item:hover img { transform: scale(1.05); }
.fw-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  display: flex; flex-direction: column; gap: 2px;
  background: linear-gradient(to top, rgba(9, 7, 5, .86) 0%, rgba(9, 7, 5, .55) 46%, rgba(9, 7, 5, 0) 100%);
  color: #fff;
}
.fw-item figcaption b { font-family: var(--font-sans); font-size: 16px; font-weight: 600; }
.fw-item figcaption span { font-size: 12.5px; color: rgba(255, 255, 255, .72); letter-spacing: .04em; }

.factory-facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 22px; padding-top: 26px; border-top: 1px solid var(--line-strong);
}
.fact-item { display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.fact-icon {
  grid-row: span 2; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: #fff; color: var(--gold-deep); border: 1px solid var(--line);
}
.fact-icon .ico { width: 18px; height: 18px; }
.fact-item b { font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.fact-item > span:last-child { font-size: 11.5px; color: var(--muted); }

/* ---- 检测报告墙 ---- */
.quality-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.quality-side .section-desc { max-width: 44ch; }

.report-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.report-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; cursor: zoom-in;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.report-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.report-card img {
  width: 100%; height: 210px; object-fit: cover; object-position: top center;
  background: var(--ivory); border-bottom: 1px solid var(--line);
  transition: transform .8s cubic-bezier(.2, .6, .3, 1);
}
.report-card:hover img { transform: scale(1.03); }
.report-card figcaption { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; }
.report-card figcaption b { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--ink); }
.report-card figcaption span { font-size: 12.5px; color: var(--muted); letter-spacing: .02em; }

.report-note { margin-top: 20px; font-size: 11.5px; color: var(--muted-2); line-height: 1.7; }

/* ---- 通用灯箱 ---- */
.zoom-box {
  position: fixed; inset: 0; z-index: 230; display: none;
  align-items: center; justify-content: center;
  background: rgba(10, 8, 6, .9); padding: 26px;
  backdrop-filter: blur(4px);
}
.zoom-box.is-open { display: flex; animation: fadeUp .22s ease both; }
.zoom-box img {
  max-width: min(94vw, 980px); max-height: 84vh; width: auto; height: auto;
  background: #fff; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .7);
}
.zoom-caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  text-align: center; color: #e6dbc6; font-size: 12px; letter-spacing: .04em;
}
.zoom-close {
  position: absolute; top: 18px; right: 18px; width: 40px; height: 40px;
  display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: transparent; color: #fff;
}
.zoom-close:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 1080px) {
  .product-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .factory-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .factory-facts { grid-template-columns: repeat(2, 1fr); }
  .report-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .hero-photo { min-height: 76vh; padding-top: 110px; }
  .hero-bg { object-position: 52% 40%; }
  .product-grid-4 { grid-template-columns: 1fr; }
  .factory-wall { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .fw-item { aspect-ratio: 3 / 2; }
  .report-card img { height: 230px; }
  .factory-facts { grid-template-columns: 1fr; gap: 14px; }
  .report-wall { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 16px 4px 14px; }
  .stat + .stat { border-left: 0; padding-left: 4px; }
  .stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* =====================================================================
   v3：产品分类卡（hover 换图 + 浮层文案）/ 工厂视频
   ===================================================================== */

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

.cat-card { position: relative; }

.cat-media {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--line);
  transition: box-shadow .35s ease, transform .35s ease;
}
.cat-card:hover .cat-media { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.cat-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: opacity .45s ease, transform .9s cubic-bezier(.2, .6, .3, 1);
}
.cat-swatch { opacity: 0; background: #fff; }
.cat-card:hover .cat-installed { opacity: 0; }
.cat-card:hover .cat-swatch { opacity: 1; transform: scale(1.02); }

.cat-tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 5px 11px; border-radius: 3px;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.cat-info {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 26px 22px 20px;
  background: linear-gradient(to top, rgba(9, 7, 5, .95) 0%, rgba(9, 7, 5, .8) 46%, rgba(9, 7, 5, 0) 100%);
  color: #fff;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
}
.cat-card:hover .cat-info { opacity: 1; transform: none; }
.cat-info h3 { color: #fff; font-size: 25px; }
.cat-info p { margin-top: 6px; font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.cat-spec { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 10px; }
.cat-spec > div { display: inline-flex; gap: 6px; font-size: 13px; }
.cat-spec dt { color: rgba(255, 255, 255, .55); }
.cat-spec dd { margin: 0; color: #fff; font-weight: 600; }
.cat-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #e2c78f;
}
.cat-link .ico { width: 14px; height: 14px; }
.cat-link:hover { color: #fff; }

/* 触屏设备没有 hover：直接显示实物图与文案 */
@media (hover: none) {
  .cat-media { aspect-ratio: auto; }
  .cat-media img { position: static; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .cat-swatch { display: none; }
  .cat-info { position: static; opacity: 1; transform: none; background: #fff; color: var(--body); padding: 14px 4px 4px; }
  .cat-info h3 { color: var(--ink); font-size: 18px; }
  .cat-info p { color: var(--muted); }
  .cat-spec dt { color: var(--muted-2); }
  .cat-spec dd { color: var(--ink); }
  .cat-link { color: var(--gold-deep); }
}

/* ---------- 工厂视频（点击后才加载，避免首屏拉 11MB） ---------- */
.video-card { margin: 0 auto; max-width: 1080px; }

.video-frame {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 16 / 9; background: #0d0b09; box-shadow: var(--shadow-lg);
}
.video-frame img, .video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px 14px 18px; border: 0; border-radius: 4px;
  background: linear-gradient(135deg, #cfae67 0%, #bd9849 50%, #a8843a 100%);
  color: #1b1610; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-play svg { width: 22px; height: 22px; }
.video-play:hover { transform: translate(-50%, -50%) scale(1.03); box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .8); }
.video-frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(9, 7, 5, .5), rgba(9, 7, 5, 0) 45%);
}
.video-frame.is-playing::after, .video-frame.is-playing .video-play { display: none; }
.video-card figcaption {
  margin-top: 12px; text-align: center;
  font-size: 12px; color: var(--muted); letter-spacing: .02em;
}

@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr; gap: 14px; }
  .cat-info { padding: 20px 16px 16px; }
  .cat-info h3 { font-size: 19px; }
}

/* =====================================================================
   v4：应用领域轮播 + 首屏不裁图的移动端适配
   ===================================================================== */

.app-showcase { display: block; }

.app-stage {
  position: relative; overflow: hidden; border-radius: 10px;
  aspect-ratio: 16 / 9; background: #0d0b09;
}
.app-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity .7s ease, transform 8s linear;
  transform: scale(1.02);
}
.app-slide.is-active { opacity: 1; transform: scale(1.06); }

.app-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(18px, 3vw, 36px);
  background: linear-gradient(to top, rgba(9, 7, 5, .94) 0%, rgba(9, 7, 5, .6) 45%, rgba(9, 7, 5, 0) 100%);
  color: #fff;
}
.app-index {
  font-size: 11px; letter-spacing: .22em; color: #d9c39a; font-variant-numeric: tabular-nums;
}
.app-caption h3 { color: #fff; font-size: clamp(19px, 2.1vw, 27px); margin-top: 6px; }
.app-caption p {
  margin-top: 8px; max-width: 62ch;
  font-size: clamp(12.5px, 1.05vw, 14px); line-height: 1.75; color: rgba(255, 255, 255, .82);
}

.app-dots {
  position: absolute; right: clamp(16px, 3vw, 34px); bottom: clamp(18px, 3vw, 36px); z-index: 3;
  display: flex; gap: 6px;
}
.app-dot {
  width: 26px; height: 3px; padding: 0; border: 0; border-radius: 2px;
  background: rgba(255, 255, 255, .34); transition: background .25s ease, width .25s ease;
}
.app-dot.is-active { background: var(--gold); width: 40px; }

.app-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px; margin-top: 16px;
}
.app-card {
  display: grid; gap: 4px; align-content: start;
  padding: 16px 18px 18px; text-align: left;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, background .25s ease;
}
.app-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.app-card.is-active {
  border-color: var(--gold); background: #fffdf7;
  box-shadow: 0 16px 34px -22px rgba(151, 118, 47, .55);
  transform: translateY(-2px);
}
.app-num {
  font-family: var(--font-serif); font-size: 13px; letter-spacing: .12em; color: var(--muted-2);
}
.app-card.is-active .app-num { color: var(--gold-deep); }
.app-card-title {
  font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--ink);
}
.app-card-desc { font-size: 14.5px; line-height: 1.7; color: var(--muted); }
.app-card.is-active .app-card-desc { color: var(--body); }

@media (max-width: 1080px) {
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 首屏：窄屏时收起细节，避免文字盖满整张图 */
@media (max-width: 760px) {
  .hero-photo { min-height: 0; padding-top: 0; }
  .hero-content { padding-bottom: 16px; }
  .hero-desc, .hero-proof { display: none; }
  .hero-brand { margin-bottom: 7px; font-size: 10px; letter-spacing: .3em; }
  .hero-title { font-size: clamp(23px, 7vw, 30px); }
  .hero-tagline { margin-top: 7px; font-size: 13px; }
  .hero-tagline::after { display: none; }
  .hero-actions { margin-top: 12px; gap: 8px; }
  .hero-actions .btn { padding: 9px 14px; font-size: 12.5px; }
  .hero-actions .btn .ico { width: 14px; height: 14px; }
  .app-caption { padding: 14px 16px 16px; }
  .app-caption p { display: none; }
  .app-dots { right: 14px; bottom: 16px; }
  .app-dot { width: 18px; }
  .app-dot.is-active { width: 28px; }
  .app-grid { grid-template-columns: 1fr; gap: 10px; }
  .app-card { padding: 14px 16px; }
}

/* 首屏在窄屏时用更矮的容器，避免占满一屏 */
@media (max-width: 760px) {
  .hero-frame { height: clamp(360px, 58vh, 520px); }
}

