/* ============================================================
   TIANZE Precision Rubber — Shared Site Stylesheet
   ============================================================ */

:root {
  --bg: oklch(0.972 0.006 185);
  --surface: oklch(1 0 0);
  --fg: #3b3b3b;
  --muted: oklch(0.5 0.028 185);
  --menu-fg: #444444;
  --border: oklch(0.9 0.012 185);
  --accent: oklch(0.74 0.17 131);
  --accent-deep: oklch(0.62 0.16 132);
  --brand: oklch(0.465 0.083 183);
  --brand-deep: oklch(0.35 0.07 183);
  --brand-dark: oklch(0.28 0.06 183);
  --cyan: oklch(0.62 0.09 183);
  --tint: oklch(0.95 0.02 185);
  --shadow: 0 12px 34px oklch(0.27 0.05 185 / 0.1);
  /* 中文字体栈：微软雅黑优先（Windows），Mac 回退苹方/冬青黑体，参考主流中文网站做法 */
  --cn: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Source Han Sans SC", "Noto Sans CJK SC", "WenQuanYi Micro Hei", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, var(--cn);
  --display: "Manrope", "Inter", var(--cn);
  --body: "Inter", var(--cn);
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 16px; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; overflow-x: clip; }
button, input, textarea, select { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Bilingual display ── */
html[lang="en"] .zh { display: none !important; }
html[lang="zh"] .en { display: none !important; }

/* ── Container ── */
.container { max-width: 1680px; width: 100%; margin: 0 auto; padding: 0 48px; }

/* ── Typography ── */
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12px; color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--display); font-style: italic; font-weight: 800; letter-spacing: 0; line-height: 1.15; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ── Reveal animation ── */
/* ── Reveal: entrance + exit, triggered on BOTH scroll directions ── */
.reveal {
  opacity: 0;
  transform: translateY(var(--enter-y, 30px));
  transition: opacity .8s ease, transform .85s cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* gentle variant — small shift (正文 / 次要信息) */
.reveal--soft { transform: translateY(var(--enter-y, 16px)); transition-duration: .7s, .7s; }

/* exaggerated pop — lift + scale (重点模块 / 主推卡片) */
.reveal--pop { transform: translateY(var(--enter-y, 46px)) scale(.82); }
.reveal--pop.in { transform: translateY(0) scale(1); }

/* slide in from left (大位移侧滑) */
.reveal--left { transform: translateX(calc(-1 * var(--enter-x, 70px))) translateY(var(--enter-y, 18px)); }
.reveal--left.in { transform: translateX(0) translateY(0); }

/* slide in from right (大位移侧滑) */
.reveal--right { transform: translateX(var(--enter-x, 70px)) translateY(var(--enter-y, 18px)); }
.reveal--right.in { transform: translateX(0) translateY(0); }

/* 3D flip up */
.reveal--flip { transform: translateY(var(--enter-y, 30px)) rotateX(20deg); transform-origin: top center; backface-visibility: hidden; }
.reveal--flip.in { transform: translateY(0) rotateX(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--soft, .reveal--pop, .reveal--left, .reveal--right, .reveal--flip {
    opacity: 1 !important; transform: none !important; transition: none !important; will-change: auto;
  }
}
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }

/* ── Section ── */
.section { padding: 120px 0; position: relative; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 84px; }
.section-index { font-family: var(--mono); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.section-index::before, .section-index::after { content: ""; width: 42px; height: 1px; background: var(--border); }
.section-title { font-size: 48px; }
.section-sub { margin: 22px auto 0; color: var(--muted); font-size: 16px; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--display); font-style: italic; font-weight: 700; letter-spacing: 0.02em; font-size: 15px; padding: 15px 32px; border-radius: 6px; border: 1px solid var(--brand); color: var(--brand); background: transparent; cursor: pointer; transition: all .25s ease; min-height: 48px; }
.btn:hover { background: var(--tint); color: var(--brand-deep); border-color: var(--brand-deep); }
.btn-solid { background: var(--accent); border-color: var(--accent); color: var(--brand-dark); }
.btn-solid:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--brand-dark); }
.btn-lg { padding: 19px 42px; font-size: 17px; }

/* ════════════ HEADER ════════════ */
/* Header height + logo size are driven by --header-h / --logo-h so that
   the shrink-on-scroll state (.scrolled) and each breakpoint can override them. */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: 0 2px 14px oklch(0.27 0.05 185 / 0.06); --header-h: 92px; --logo-h: 65px; }
.site-header.scrolled { --header-h: 68px; --logo-h: 46px; }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 32px; padding: 0 32px; transition: height .3s cubic-bezier(.4,0,.2,1); }
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo img { height: var(--logo-h); width: auto; transition: height .3s cubic-bezier(.4,0,.2,1); }
.logo-text { display: none; }
.logo-text .zh { font-family: var(--display); font-style: normal; font-weight: 800; font-size: 24px; letter-spacing: 0; color: #111; }
.logo-text .en { display: flex; flex-direction: column; }
.logo-text .en b { font-family: var(--display); font-style: italic; font-weight: 800; font-size: 30px; letter-spacing: 0.04em; color: #111; line-height: 1.1; }
.logo-text .en em { display: none; }
.main-nav { display: flex; gap: 58px; flex: 1; align-self: stretch; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; }
.main-nav > .nav-item { position: relative; display: flex; align-items: center; height: 100%; }
.main-nav a { font-family: var(--body); font-size: 16px; font-weight: 400; font-style: normal; color: var(--menu-fg); letter-spacing: 0; padding: 10px 2px; position: relative; }
.main-nav a .zh { font-family: var(--cn); font-size: 18px; font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--menu-fg); }
.main-nav a .en { font-family: var(--body); font-size: 16px; font-weight: 400; font-style: normal; letter-spacing: 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; border-radius: 2px; background: var(--brand); transition: right .25s ease; }
.main-nav a:hover { color: var(--brand-deep); }
.main-nav a:hover::after { right: 0; }
.main-nav a.active { color: var(--brand-deep); }
.main-nav a.active::after { right: 0; }
.nav-caret { display: none; }
.submenu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 120px; width: max-content; background: var(--surface); border: 0; border-radius: 0; box-shadow: var(--shadow); padding: 6px 10px; list-style: none; margin: 0; opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); transform-origin: top; transition: clip-path .34s cubic-bezier(.16,1,.3,1), opacity .18s ease, visibility 0s linear .34s; z-index: 60; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; clip-path: inset(0); transition-delay: 0s; }
.submenu li { list-style: none; }
.submenu a { display: block; padding: 10px 12px; border-radius: 0; font-size: 15px; font-weight: 400; color: var(--menu-fg); letter-spacing: 0; text-align: center; white-space: nowrap; }
.submenu a::after { content: none; }
.submenu a .zh { font-family: var(--cn); font-size: 15px; font-weight: 400; color: var(--menu-fg); }
.submenu a .en { font-family: var(--body); font-size: 15px; font-weight: 400; }
.submenu a:hover { background: transparent; color: var(--brand-deep); }
.submenu a:hover .zh { color: var(--brand-deep); }
.submenu a.active { color: var(--brand-deep); background: var(--tint); }

/* Product applications mega menu — desktop */
@media (min-width: 1181px) {
  .main-nav .nav-apps + .submenu {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    width: 100vw;
    min-width: 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: clamp(10px, 1vw, 18px);
    padding: 48px clamp(24px, 3vw, 56px);
    background: var(--surface);
    border: 0;
    border-radius: 0;
    box-shadow: 0 18px 30px oklch(0.2 0.044 185 / .14);
  }
  .main-nav .nav-apps + .submenu li { min-width: 0; }
  .main-nav .nav-apps + .submenu a {
    --mega-image: none;
    height: clamp(126px, 9vw, 164px);
    padding: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 6px;
    color: #fff;
    background-image: var(--mega-image);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: filter .25s ease, background-position .45s cubic-bezier(.16,1,.3,1);
  }
  .main-nav .nav-apps + .submenu a:hover {
    color: #fff;
    filter: brightness(1.08);
    background-position: center 46%;
  }
  .main-nav .nav-apps + .submenu a .zh,
  .main-nav .nav-apps + .submenu a .en {
    white-space: normal;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 8px;
    background: var(--brand);
    color: #fff;
    font-size: clamp(14px, .9vw, 16px);
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0;
    line-height: 1.25;
    text-align: center;
  }
  .main-nav .nav-apps + .submenu a .zh { font-family: var(--cn); }
  .main-nav .nav-apps + .submenu a .en { font-family: var(--body); }
  .main-nav .nav-apps + .submenu li:nth-child(1) a { --mega-image: url("img/ind-kitchen.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(2) a { --mega-image: url("img/ind-electronics.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(3) a { --mega-image: url("img/ind-outdoor-cycling.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(4) a { --mega-image: url("img/ind-baby.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(5) a { --mega-image: url("img/ind-medical.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(6) a { --mega-image: url("img/prod-seals.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(7) a { --mega-image: url("img/ind-automotive.webp"); }
  .main-nav .nav-apps + .submenu li:nth-child(8) a { --mega-image: url("img/ind-toys.webp"); }
}
@media (prefers-reduced-motion: reduce) {
  .submenu { transition: none; }
}
section[id], .prod-cat-card[id] { scroll-margin-top: 110px; }
.header-side { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.lang-toggle { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 4px; flex-shrink: 0; border: none; background: transparent; border-radius: 0; font-family: var(--body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--fg); cursor: pointer; transition: color .25s; }
.lang-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.lang-toggle:hover { color: var(--brand); background: transparent; }

/* ── Search icon button ── */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border: none; border-radius: 50%; background: transparent; color: var(--fg); cursor: pointer; transition: color .25s, background .25s; padding: 0; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { color: var(--brand); background: var(--tint); }
.icon-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ── Search overlay ── */
.search-overlay { position: fixed; inset: 0; z-index: 999; background: oklch(0.27 0.05 185 / 0.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; justify-content: center; align-items: flex-start; padding-top: 14vh; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel { width: min(720px, 92vw); background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); padding: 14px; transform: translateY(-12px); transition: transform .25s; }
.search-overlay.open .search-panel { transform: translateY(0); }
.search-field { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 8px; padding: 12px 14px; transition: border-color .2s; }
.search-field:focus-within { border-color: var(--brand); }
.search-ico { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.search-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--body); font-size: 17px; color: var(--fg); }
.search-field input::placeholder { color: var(--muted); }
.search-close { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; flex-shrink: 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; border-radius: 6px; transition: all .2s; }
.search-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.search-close:hover { background: var(--tint); color: var(--brand); }
.search-results { margin-top: 10px; max-height: 46vh; overflow-y: auto; }
.search-results a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--fg); text-decoration: none; transition: background .15s; }
.search-results a:hover, .search-results a.active { background: var(--tint); }
.search-results .r-title { font-family: var(--display); font-weight: 700; font-size: 15px; }
.search-results .r-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; letter-spacing: .01em; }
.search-results .r-empty { padding: 16px 14px; color: var(--muted); font-size: 14px; }
.menu-toggle { display: none; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--fg); font-family: var(--display); font-size: 13px; font-weight: 600; cursor: pointer; }
.menu-icon { width: 18px; height: 14px; position: relative; display: inline-block; }
.menu-icon i { position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, top .25s ease; }
.menu-icon i:first-child { top: 3px; }
.menu-icon i:last-child { top: 10px; }
.nav-open .menu-icon i:first-child { top: 6px; transform: rotate(45deg); }
.nav-open .menu-icon i:last-child { top: 6px; transform: rotate(-45deg); }

/* ════════════ HERO (homepage) ════════════ */
.hero { position: relative; height: calc(100vh - 92px); min-height: 600px; overflow: hidden; background: var(--brand); }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.98) saturate(1.1) contrast(1.02); }
.hero h1 { font-size: 48px;  font-weight: 900; line-height: 1.14; letter-spacing: 0.3em; color: oklch(1 0 0); max-width: 1400px; margin: 0 auto; text-shadow: 0 3px 28px oklch(0.14 0.066 185 / 0.5), 0 1px 8px oklch(0.14 0.066 185 / 0.35); }
.hero h1 .en { letter-spacing: 0.03em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero-dots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 56px; display: flex; gap: 12px; z-index: 5; }
.hero-dots button { width: 44px; height: 5px; border-radius: 3px; background: oklch(1 0 0 / 0.4); border: none; cursor: pointer; transition: background .25s; }
.hero-dots button.active { background: var(--accent); }

/* ════════════ STATS ════════════ */
.stats { background: var(--brand-deep); position: relative; overflow: hidden; }
.stats::before { content: none; }
.stats::after { content: ""; position: absolute; right: -200px; bottom: -420px; width: 700px; height: 700px; border-radius: 50%; background: oklch(0.62 0.09 183 / 0.14); }
.stats-inner { max-width: none; padding-top: 24px; padding-bottom: 24px; position: relative; z-index: 1; }
.stats-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: 100%; }
.stat { min-width: 0; padding: 4px clamp(16px, 2vw, 36px); text-align: center; }
.stat-num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: clamp(30px, 2.5vw, 44px); line-height: 1; color: oklch(1 0 0); letter-spacing: -0.02em; display: flex; align-items: baseline; justify-content: center; white-space: nowrap; }
.stat-num .plus { color: var(--cyan); font-size: .72em; margin-left: 4px; }
.stat-num-word { font-size: clamp(24px, 2vw, 34px); min-height: 1.2em; align-items: flex-end; }
.stat-num-word .en { font-size: .72em; }
.stat-num-certified { align-items: center; gap: 10px; }
.cert-logo { display: flex; align-items: center; justify-content: center; width: 48px; height: 54px; flex: 0 0 48px; }
.cert-logo img { width: auto; height: 54px; max-width: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.stat-label { margin-top: 12px; font-size: 17px; font-weight: 500; color: oklch(1 0 0 / 0.92); }
.stat-label .en { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; color: var(--cyan); display: block; margin-top: 4px; }
.stat-note { margin-top: 6px; font-size: 15px; color: oklch(1 0 0 / 0.58); white-space: nowrap; }

/* ════════════ PAGE HERO (inner pages) ════════════ */
.page-hero { position: relative; overflow: hidden; background: var(--brand-deep); color: oklch(1 0 0); padding: 150px 0 118px; min-height: 480px; display: flex; align-items: center; }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08); }
.page-hero::before { content: ""; position: absolute; inset: 0; background:
    linear-gradient(90deg, oklch(0.2 0.055 185 / .04) 0%, oklch(0.23 0.066 185 / .28) 26%, oklch(0.2 0.055 185 / .08) 100%),
    linear-gradient(0deg, oklch(0.18 0.055 185 / .22), transparent 55%),
    oklch(0.465 0.083 183 / 0.42); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; text-align: center; }

.page-hero--clean::before { display: block; background: oklch(0.465 0.083 183 / 0.30); }
.page-hero--clean .page-hero-bg img { filter: saturate(1.05); }
.page-hero--clean h1, .page-hero--clean p { text-shadow: 0 2px 14px oklch(0.2 0.055 185 / .55); }

.page-hero h1 { font-size: 52px; color: oklch(1 0 0); max-width: 1000px; margin: 0 auto; white-space: nowrap; }
.page-hero p { margin: 28px auto 0; max-width: 680px; color: oklch(1 0 0 / 0.8); font-size: 18px; text-align: center; }

/* ════════════ INDUSTRY GRID ════════════ */
.industry-heading { margin-bottom: 64px; }
.ind-card .body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.ind-card .body p { color: var(--muted); font-size: 14.5px; flex: 1; }
.ind-card .more { margin-top: 22px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); display: inline-flex; gap: 10px; align-items: center; }
.ind-card .more .arr { transition: transform .25s; }
.ind-card:hover .more .arr { transform: translateX(6px); }
.ind-card:hover .more { color: var(--brand-deep); }
.prod-feature .body { padding: 40px 44px 44px; }
.prod-card .body { padding: 28px 32px 30px; flex: 1; display: flex; flex-direction: column; }
.prod-card .more { margin-top: 20px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); display: flex; justify-content: space-between; }
.prod-card:hover .more { color: var(--brand-deep); }

/* ════════════ WHY GRID ════════════ */

/* ════════════ ABOUT ════════════ */
/* ── About section (homepage) — brand-green split, text / image ── */
.about-section { background: var(--brand); color: oklch(1 0 0); overflow: hidden; padding: 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; min-height: 580px; }
.about-copy { padding: 112px 56px 112px max(48px, calc((100vw - 1680px) / 2 + 48px)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; text-align: left; }
.about-title { max-width: 620px; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.2; color: oklch(1 0 0); }
.about-para { margin-top: 20px; max-width: 580px; color: oklch(1 0 0 / .92); font-size: 16px; line-height: 1.85; }
.about-para b { color: oklch(1 0 0); font-weight: 600; }
.about-foot { margin-top: 36px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.about-foot .about-location { text-align: left; }
.about-visual { position: relative; min-height: 100%; overflow: hidden; }
.about-visual figure { margin: 0; height: 100%; }
.about-visual img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.16, 1, .3, 1); }
.about-visual:hover img { transform: scale(1.03); }
.about-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 13px 22px;
  border-radius: 6px;
  background: #fff;
  color: var(--brand-dark);
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  transition: transform .25s ease, background .25s ease;
}
.about-link:hover { transform: translateY(-2px); background: #ecf4f2; }
.about-link:active { transform: translateY(1px); }
.about-location { color: oklch(1 0 0 / .54); font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; text-align: right; }
.about-lead .section-index { color: oklch(1 0 0 / 0.85); }
.about-lead .section-index::before, .about-lead .section-index::after { background: oklch(1 0 0 / 0.4); }

/* ════════════ BRAND WALL ════════════ */
.brands-section { background: var(--bg) url("img/brand-bg.webp") center center / cover no-repeat; position: relative; }
.brand-wall { display: flex; justify-content: space-between; align-items: stretch; gap: 24px; padding: 10px 0; flex-wrap: wrap; }
.brand-wall figure { flex: 0 0 calc((100% - 5 * 24px) / 6); background: var(--surface);  border-radius: 10px; height: 150px; display: flex; align-items: center; justify-content: center; padding: 24px; box-shadow: none; transition: transform .3s ease; margin: 0; }
.brand-wall figure:hover { transform: translateY(-6px); border-color: var(--brand); }
.brand-wall figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: none; opacity: 1; transition: transform .35s ease, opacity .35s ease; }
.brand-wall figure:hover img { transform: scale(1.04); opacity: 1; }
.brands-note { text-align: center; margin-top: 56px; }

/* ════════════ NEWS ════════════ */
.news-section .section-head { display: block; text-align: center; max-width: 860px; margin: 0 auto 70px; }
.news-section .section-head .l .section-index::after { display: none; }
.news-section .section-title { font-size: 42px; }
.news-section .head-link { margin-top: 26px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.news-card { background: var(--surface); border-radius: 8px; overflow: hidden; box-shadow: none; display: flex; flex-direction: column; transition: transform .3s ease; text-decoration: none; color: inherit; }
.news-card:hover { transform: translateY(-6px); }
.news-card figure { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover figure img { transform: scale(1.05); }
.news-card .body { padding: 30px 36px 38px; flex: 1; display: flex; flex-direction: column; }
.news-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 18px; margin-bottom: 16px; }
.news-meta b { color: var(--brand); font-weight: 500; }
.news-card h3 { font-size: 24px; font-weight: 400; line-height: 1.3; margin-bottom: 12px; }
.news-card p { color: var(--muted); font-size: 14px; flex: 1; }
.news-card .more { margin-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); display: flex; gap: 10px; }
.news-card:hover .more { color: var(--brand-deep); }

/* News tabs */
.news-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 60px; }
.news-tab { font-family: var(--mono); font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; padding: 12px 28px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; transition: all .25s; }
.news-tab:hover { border-color: var(--brand); color: var(--brand); }
.news-tab.active { background: var(--brand); border-color: var(--brand); color: oklch(1 0 0); }

/* ════════════ CTA ════════════ */
.cta { background: var(--brand-deep); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -320px; top: -480px; width: 1100px; height: 1100px; border-radius: 50%; background: var(--accent); opacity: 0.9; }
.cta::before { content: ""; position: absolute; left: -180px; bottom: -380px; width: 700px; height: 700px; border-radius: 50%; background: oklch(0.62 0.09 183 / 0.16); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; padding: 80px 0; position: relative; z-index: 1; }
.cta h2 { font-size: 46px; line-height: 1.15; max-width: 1050px; color: oklch(1 0 0); }
.cta-sub { color: oklch(1 0 0 / 0.78); margin-top: 26px; font-size: 17px; max-width: 640px; }
.cta-card { display: flex; align-items: center; justify-content: flex-end; gap: 28px; padding: 0; background: transparent; border: none; border-radius: 0; min-width: 0; flex-shrink: 0; }
.cta-card .btn { white-space: nowrap; }
.cta-card .btn svg { margin-left: 4px; }
.cta-card-foot { font-size: 13px; color: oklch(1 0 0 / 0.92); line-height: 1.5; text-align: right; }

/* ════════════ FOOTER ════════════ */
.site-footer { background: var(--brand); color: oklch(1 0 0); position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -120px; bottom: -170px; width: 440px; height: 440px; border-radius: 50%; background: var(--cyan); opacity: 0.12; pointer-events: none; }
.site-footer::after { content: ""; position: absolute; left: -90px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: var(--cyan); opacity: 0.12; pointer-events: none; }
.footer-main { display: grid; grid-template-columns: 1.3fr 0.65fr 1.4fr 1.25fr; gap: 28px; padding: 72px 0 56px; position: relative; z-index: 1; }
.logo-chip { display: inline-flex; align-items: center; }
.logo-chip img { height: 62px; width: auto; filter: brightness(0) invert(1); }
.footer-brand p { color: oklch(1 0 0); font-size: 14px; margin-top: 26px; max-width: 420px; line-height: 1.7; }
.footer-qr { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.qr-box { width: 96px; height: 96px; border-radius: 4px; overflow: hidden; border: 1px solid oklch(1 0 0 / 0.22); background: #fff; flex-shrink: 0; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-box img { width: 100%; height: 100%; display: block; object-fit: cover; }
.footer-qr .mono { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: oklch(1 0 0); line-height: 1.5; }
.footer-col h4 { font-size: 17px; letter-spacing: 0.02em; margin-bottom: 18px; color: oklch(1 0 0); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: oklch(1 0 0); font-size: 14.5px; transition: color .25s; }
.footer-col ul a:hover { color: var(--cyan); }
.footer-col ul.apps-two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
.footer-col ul.apps-two-col li { margin-bottom: 12px; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; color: oklch(1 0 0 / 0.78); font-size: 14.5px; align-items: flex-start; line-height: 1.5; }
.contact-list .ci-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; color: oklch(1 0 0 / 0.9); }
.contact-list .ci-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-list li a { color: oklch(1 0 0 / 0.78); text-decoration: none; }
.contact-list li a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid oklch(1 0 0 / 0.14); padding: 28px 0; display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; font-size: 12px; color: oklch(1 0 0); }
.footer-bottom span { font-size: 12px; color: oklch(1 0 0); }

/* ════════════ TIMELINE (about page) ════════════ */
.timeline { position: relative; max-width: 1100px; margin: 0 auto; padding: 40px 0; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 56px 56px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 56px 56px; }
.tl-item::after { content: ""; position: absolute; right: -8px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--accent); }
.tl-item:nth-child(even)::after { right: auto; left: -8px; }
.tl-year { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 40px; color: var(--brand); line-height: 1; }
.tl-content { margin-top: 14px; }
.tl-content h3 { font-size: 22px; margin-bottom: 8px; }
.tl-content p { color: var(--muted); font-size: 14.5px; }
.patent-card .num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 44px; color: var(--brand); line-height: 1; }
.ip-tab .en { font-size: 12px; opacity: .85; margin-left: 6px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .04em; }

/* ════════════ 工序 / 质控实景图廊 ════════════ */
/* 白底卡片，4:3 取景，适配暗带(band-dark)与浅底(section) */
.process-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin-top: 18px; }
.process-gallery figure { position: relative; margin: 0; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: #fff; }
.process-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.process-gallery .step-no { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.55); color: #fff; font-family: var(--mono); font-size: 12px; padding: 2px 9px; border-radius: 20px; letter-spacing: .5px; }
.process-gallery figcaption { padding: 10px 12px; font-size: 13px; color: var(--ink); }
.process-gallery figcaption .zh { font-weight: 600; }
.process-gallery figcaption .en { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ════════════ PARTNERS (customers page) ════════════ */
.partner-section { padding-top: 80px; padding-bottom: 120px; }
.partner-logos, .partner-names { display: grid; grid-template-columns: repeat(5, 1fr); gap: 60px; }
.partner-note { margin: 44px auto 0; text-align: center; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.partner-note .en { color: var(--muted); opacity: .82; }
.partner-card {
  background: #fff;
  border: none;
  border-radius: 12px;
  min-height: 132px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  box-shadow: none;
  transition: transform .3s ease;
}
.partner-card:hover { transform: translateY(-6px); }
.partner-card img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; transition: transform .35s ease; }
.partner-card:hover img { transform: scale(1.04); }
.partner-name .zh { font-family: var(--cn); font-weight: 600; }
.partner-name .en { color: var(--muted); font-size: 13px; font-weight: 500; display: block; margin-top: 3px; }

/* ════════════ RESPONSIBILITY ════════════ */
.resp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.resp-card { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 56px 48px; display: flex; gap: 28px; align-items: flex-start; transition: transform .3s ease; }
.resp-card:hover { transform: translateY(-4px); }
.resp-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; flex-shrink: 0; }
.resp-icon svg { width: 32px; height: 32px; stroke: var(--accent-deep); fill: none; stroke-width: 1.6; }
.resp-card h3 { font-size: 24px; margin-bottom: 12px; }
.resp-card p { color: var(--muted); font-size: 14.5px; }

/* ── Environmental Commitment (split visual) ── */
.env-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.env-visual { position: relative; min-height: 480px; overflow: hidden; }
.env-visual img { width: 100%; height: 100%; object-fit: cover; }
.env-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, oklch(0.42 0.14 152 / 0.72) 0%, oklch(0.32 0.1 156 / 0.4) 100%); }
.env-visual-tags { position: absolute; left: 28px; bottom: 28px; display: flex; gap: 12px; z-index: 2; flex-wrap: wrap; }
.env-visual-tags span { background: oklch(1 0 0 / 0.92); color: oklch(0.36 0.14 152); font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 9px 14px; border-radius: 4px; font-weight: 500; }
.env-body { background: var(--surface); padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.env-body .section-index { justify-content: flex-start; }
.env-body .section-index::before { display: none; }
.env-body h3 { font-size: 36px; margin-bottom: 22px; }
.env-body .env-lead { color: var(--fg); font-size: 15.5px; line-height: 1.8; margin-bottom: 32px; }
.env-list { display: flex; flex-direction: column; gap: 18px; }
.env-item { display: flex; gap: 18px; align-items: flex-start; }
.env-item-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; flex-shrink: 0; }
.env-item-dot svg { width: 20px; height: 20px; stroke: var(--accent-deep); fill: none; stroke-width: 1.8; }
.env-item div b { font-size: 15px; display: block; margin-bottom: 2px; }
.env-item div p { color: var(--muted); font-size: 13.5px; margin: 0; }

/* ── Employee Care Detail ── */
.care-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.care-card { background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); padding: 44px 36px; transition: transform .3s ease, box-shadow .3s ease; display: flex; flex-direction: column; }
.care-card:hover { transform: translateY(-6px); box-shadow: 0 22px 48px oklch(0.27 0.05 185 / 0.16); }
.care-icon { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(135deg, oklch(0.95 0.02 185), oklch(0.98 0.008 185)); display: grid; place-items: center; margin-bottom: 26px; }
.care-icon svg { width: 28px; height: 28px; stroke: var(--accent-deep); fill: none; stroke-width: 1.6; }
.care-card h3 { font-size: 20px; margin-bottom: 12px; }
.care-card p { color: var(--muted); font-size: 14px; flex: 1; }
.care-tag { display: inline-block; margin-top: 20px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); background: var(--tint); padding: 6px 12px; border-radius: 4px; align-self: flex-start; }
.care-banner { margin-top: 56px; background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%); border-radius: 10px; padding: 56px 60px; position: relative; overflow: hidden; color: oklch(1 0 0); display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.care-banner::before { content: ""; position: absolute; right: -120px; top: -150px; width: 400px; height: 400px; border-radius: 50%; background: var(--accent); opacity: 0.18; }
.care-banner .care-banner-text { position: relative; z-index: 1; max-width: 720px; }
.care-banner h4 { font-size: 26px; margin-bottom: 12px; color: oklch(1 0 0); }
.care-banner p { color: oklch(1 0 0 / 0.82); font-size: 15px; }
.care-banner .care-banner-kpi { position: relative; z-index: 1; display: flex; gap: 36px; flex-shrink: 0; }
.care-kpi { text-align: center; }
.care-kpi .num { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 48px; line-height: 1; color: oklch(1 0 0); display: flex; align-items: baseline; justify-content: center; }
.care-kpi .num .plus { color: var(--cyan); font-size: 28px; margin-left: 4px; }
.care-kpi .lbl { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }

/* ── Green Management System ── */
.green-section { background: var(--tint); }
.green-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.green-flow { display: flex; flex-direction: column; gap: 0; }
.green-step { display: flex; gap: 22px; align-items: flex-start; padding: 28px 0; position: relative; }
.green-step + .green-step { border-top: 1px solid var(--border); }
.green-step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--brand-dark); font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; display: grid; place-items: center; flex-shrink: 0; position: relative; z-index: 1; }
.green-step:nth-child(2) .green-step-num { background: var(--brand); color: oklch(1 0 0); }
.green-step:nth-child(3) .green-step-num { background: var(--accent-deep); color: oklch(1 0 0); }
.green-step:nth-child(4) .green-step-num { background: var(--cyan); color: var(--brand-dark); }
.green-step-body h3 { font-size: 20px; margin-bottom: 6px; }
.green-step-body p { color: var(--muted); font-size: 14.5px; }
.green-metrics { background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); padding: 48px 44px; }
.green-metrics h3 { font-size: 28px; margin-bottom: 8px; }
.green-metrics .sub { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.meter { margin-bottom: 26px; }
.meter:last-child { margin-bottom: 0; }
.meter-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.meter-head b { font-family: var(--display); font-style: italic; font-size: 17px; }
.meter-head span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); font-weight: 500; }
.meter-bar { height: 10px; border-radius: 6px; background: var(--tint); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--cyan) 0%, var(--accent) 50%, var(--accent-deep) 100%); }
.meter-note { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* ── Community Contribution ── */
.comm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.comm-card { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 40px 28px 36px; text-align: center; transition: transform .3s ease; }
.comm-card:hover { transform: translateY(-5px); }
.comm-card:nth-child(2) { border-top-color: var(--brand); }
.comm-card:nth-child(3) { border-top-color: var(--cyan); }
.comm-card:nth-child(4) { border-top-color: var(--accent-deep); }
.comm-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--tint); display: grid; place-items: center; margin: 0 auto 20px; }
.comm-icon svg { width: 26px; height: 26px; stroke: var(--brand); fill: none; stroke-width: 1.6; }
.comm-card h3 { font-size: 18px; margin-bottom: 8px; }
.comm-card p { color: var(--muted); font-size: 13.5px; line-height: 1.6; }

/* ════════════ CONTACT ════════════ */
.contact-info-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.contact-info-card { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 56px 48px; display: flex; flex-direction: column; }
.contact-info-card h3 { font-size: 28px; margin-bottom: 32px; }
.contact-info-list li { display: flex; gap: 20px; margin-bottom: 28px; align-items: flex-start; }
.contact-info-list .ci-icon { width: 52px; height: 52px; border-radius: 8px; background: var(--tint); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-list .ci-icon svg { width: 24px; height: 24px; stroke: var(--brand); fill: none; stroke-width: 1.6; }
.contact-info-list .ci-text b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.contact-info-list .ci-text span, .contact-info-list .ci-text a { font-size: 16px; color: var(--fg); }
.contact-info-list .ci-text a:hover { color: var(--brand); }
.contact-form { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 56px 48px; display: flex; flex-direction: column; }
.contact-form h3 { font-size: 28px; margin-bottom: 32px; }
.contact-form form { flex: 1; display: flex; flex-direction: column; }
.contact-form form textarea { flex: 1; }
.contact-form form button[type="submit"] { margin-top: auto; background: var(--brand); border-color: var(--brand); color: #fff; }
.contact-form form button[type="submit"]:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; border: 1px solid var(--border); border-radius: 6px; padding: 14px 16px; font-family: var(--body); font-size: 15px; color: var(--fg); background: var(--bg); transition: border .25s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--brand); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-lower-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 48px; align-items: stretch; }
.map-module { background: var(--surface); border-radius: 8px; box-shadow: var(--shadow); padding: 44px 40px; display: flex; flex-direction: column; }
.map-module-title { font-size: 24px; margin-bottom: 26px; }
.map-module-list { display: flex; flex-direction: column; gap: 28px; flex: 1; }
.map-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.map-item { display: flex; flex-direction: column; flex: 1; }
.map-item iframe { width: 100%; height: auto; flex: 1; min-height: 220px; border: 0; border-radius: 8px; display: block; box-shadow: var(--shadow); }

/* ════════════ TEXT CONTENT BLOCKS ════════════ */
.prose { max-width: 860px; margin: 0 auto; }
.prose p { font-size: 16px; line-height: 1.8; color: var(--fg); margin-bottom: 20px; }
.prose p:last-child { margin-bottom: 0; }
.prose p b { color: var(--brand-deep); font-weight: 600; }
.prose h3 { font-size: 28px; margin: 40px 0 16px; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1280px) {
  .header-inner { gap: 24px; }
  .main-nav { gap: 44px; justify-content: center; }
  .container { padding-left: 36px; padding-right: 36px; }
}
@media (max-width: 1180px) {
  .site-header { position: sticky; --header-h: 78px; --logo-h: 60px; }
  .site-header.scrolled { --header-h: 62px; --logo-h: 48px; }
  .header-inner { height: var(--header-h); gap: 18px; padding: 0; position: relative; }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px 0 22px;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 34px oklch(0.27 0.05 185 / .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .main-nav a { padding: 13px 16px; text-align: left; }
  .main-nav a::after { content: none; display: none; }
  .main-nav > .nav-item { display: block; width: 100%; height: auto; text-align: left; border-bottom: 1px solid var(--border); }
  .main-nav > .nav-item:last-child { border-bottom: none; }
  .site-header.nav-open .main-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .site-header.nav-open { overflow: visible; }
  .site-header.nav-open .main-nav { max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .logo { position: relative; left: 0; top: auto; transform: none; margin-left: 18px; z-index: 2; }
  .header-side { margin-left: auto; margin-right: 16px; }
  .menu-toggle { display: inline-flex; }

  /* Mobile submenu: default collapsed, click parent to expand */
  .submenu { position: static; opacity: 0; visibility: hidden; transform: none; clip-path: none; box-shadow: none; border: none; background: var(--tint); border-radius: 0; width: 100%; min-width: 0; padding: 0; margin-top: 0; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease, opacity .2s ease, visibility 0s linear .3s; }
  .has-sub.is-open > .submenu { opacity: 1; visibility: visible; max-height: 1200px; padding: 6px 0; transition: max-height .35s ease, padding .3s ease, opacity .2s ease, visibility 0s linear 0s; }
  .submenu a { text-align: center; font-size: 13px; padding: 9px 12px; white-space: normal; }
  .submenu a .zh { font-size: 14px; }
  .submenu a .en { font-size: 14px; }

  /* Mobile: has-sub parent is a flex row — text left, expand indicator pushed right */
  .main-nav > .nav-item.has-sub > a,
  .main-nav > .nav-item.has-sub > .nav-apps {
    display: flex; align-items: center; justify-content: flex-start; gap: 8px; text-align: left;
  }
  /* +/- expand indicator drawn with CSS (replaces the ▾ glyph) */
  .nav-caret { display: inline-block; margin-left: auto; width: 14px; height: 14px; position: relative; font-size: 0; line-height: 0; color: transparent; }
  .nav-caret::before, .nav-caret::after { content: ""; position: absolute; background: var(--muted); border-radius: 1px; transition: transform .25s ease, opacity .25s ease, background-color .25s ease; }
  .nav-caret::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
  .nav-caret::after { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); }
  .has-sub.is-open > a .nav-caret::after,
  .has-sub.is-open > .nav-apps .nav-caret::after { opacity: 0; }
  .has-sub.is-open > a .nav-caret::before,
  .has-sub.is-open > .nav-apps .nav-caret::before { background: var(--brand-deep); }
  .has-sub.is-open > a, .has-sub.is-open > .nav-apps { color: var(--brand-deep); }
  .hero { height: calc(100dvh - 78px); min-height: 560px; }
  .hero-controls { right: 34px; }
}
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .prod-layout, .about-grid, .contact-grid, .env-split, .green-grid, .stats-inner { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 300px; }
  .industry-card-featured { grid-column: span 2; grid-row: span 1; }
  .industry-card-wide { grid-column: span 1; }
  .about-showcase { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { min-height: 560px; }
  .about-grid-new { grid-template-columns: 1fr; gap: 48px; }
  .about-lead { padding-left: 0; }
  .env-visual { min-height: 320px; }
  .env-body { padding: 44px 36px; }
  .care-grid { grid-template-columns: repeat(2, 1fr); }
  .comm-grid { grid-template-columns: repeat(2, 1fr); }
  .green-metrics { padding: 40px 32px; }
  .ind-grid, .news-grid, .prod-rest, .feat-grid, .equip-grid, .resp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .patent-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logos, .partner-names { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
  .cta-inner { gap: 48px; }
  .section-title { font-size: 44px; }
  .page-hero h1 { font-size: 52px; }
  .hero h1 { font-size: 64px; }
  .about-lead h2 { font-size: 34px; }
  .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat { padding: 20px 32px; }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n + 4) { border-top: 1px solid oklch(1 0 0 / .16); }
  .cta h2 { font-size: 56px; }
  .timeline::before { left: 20px; }
  .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 48px 56px; }
  .tl-item::after, .tl-item:nth-child(even)::after { right: auto; left: 12px; }
  .contact-info-top, .contact-lower-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 820px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .main-nav { left: 0; right: 0; padding-left: 24px; padding-right: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { padding: 32px 0; gap: 24px; }
  .stat { padding: 14px 20px; }
  .stat-num { font-size: 42px; }
  .stat-num .plus { font-size: 30px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 56px; }
  .hero h1 { font-size: clamp(46px, 8vw, 58px); }
  .hero-sub { font-size: 17px; }
  .hero-controls { display: none; }
  .page-hero { padding: 130px 0 100px; min-height: 400px; }
  .cta-inner { padding: 76px 0; }
  .news-section .section-head { text-align: center; }
  .news-section .section-head .head-link { align-self: center; }
  .map-module { padding: 32px 24px; }
  .map-item iframe { min-height: 260px; flex: none; height: 260px; }
  .partner-card { min-height: 112px; padding: 20px; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .partner-logos, .partner-names { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .partner-card { min-height: 96px; padding: 16px; }
  .site-header { --header-h: 72px; --logo-h: 48px; }
  .site-header.scrolled { --header-h: 58px; --logo-h: 38px; }
  .header-inner { height: var(--header-h); padding: 0; gap: 10px; }
  .logo { gap: 10px; }
  .logo-text .en b { font-size: 25px; }
  .logo-text .zh { font-size: 19px; }
  .logo-text .en em { display: none; }
  .header-side { gap: 8px; }
  .header-side .btn { display: none; }
  .lang-toggle { height: 36px; font-size: 14px; gap: 6px; }
  .lang-toggle svg { width: 18px; height: 18px; }
  .main-nav {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    padding: 10px 20px 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .main-nav a { min-height: 46px; display: flex; align-items: center; justify-content: flex-start; padding: 10px 16px; }
  .industry-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; gap: 14px; }
  .industry-card-featured, .industry-card-wide { grid-column: span 1; grid-row: span 1; }
  .industry-copy { transform: none; }
  .industry-copy small { opacity: 1; transform: none; }
  .industry-heading { margin-bottom: 42px; }
  .about-showcase { gap: 38px; }
  .about-visual { min-height: 430px; }
  .about-content h2 { font-size: 36px; }
  .about-capabilities > div { grid-template-columns: 1fr; gap: 5px; }
  .about-footer { align-items: flex-start; flex-direction: column; }
  .about-location { text-align: left; }
  .about-grid-new { gap: 38px; }
  .about-facts { gap: 14px; }
  .fact-card { padding: 22px 20px; }
  .fact-num { font-size: 34px; }
  .about-title { font-size: 34px; }
  .about-foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ind-grid, .news-grid, .prod-rest, .feat-grid, .equip-grid, .resp-grid, .patent-grid, .stats-grid, .footer-main, .cta-inner, .care-grid, .comm-grid { grid-template-columns: 1fr; }
  .care-banner { flex-direction: column; padding: 40px 32px; align-items: stretch; text-align: center; }
  .care-banner .care-banner-kpi { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .section-title { font-size: 32px; }
  .page-hero h1 { font-size: 36px; }
  .hero h1 { font-size: 40px; }
  .cta h2 { font-size: 38px; }
  .hero { height: calc(40dvh - 28px); min-height: 200px; }
  .hero-eyebrow { margin-bottom: 24px; font-size: 11px; letter-spacing: .16em; }
  .hero-eyebrow::before, .hero-eyebrow::after { width: 26px; }
  .hero-sub { margin-top: 24px; font-size: 15px; line-height: 1.65; }
  .hero-cta { margin-top: 34px; flex-direction: column; align-items: center; width: 100%; gap: 12px; }
  .hero-cta .btn { width: min(100%, 280px); }
  .hero-dots { bottom: 28px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 30px; }
  .cta-card { width: 100%; min-width: 0; flex-direction: column; align-items: stretch; gap: 14px; padding: 0; }
  .cta-card .btn { width: 100%; }
  .cta-card-foot { text-align: left; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .about-card, .contact-info-card, .contact-form { padding: 36px 28px; }
  .about-visual { min-height: 420px; }
  .about-copy { padding: 60px 24px; }
  .about-lead h2 { font-size: 28px; }
  .brand-wall { gap: 12px; }
  .brand-wall figure { flex: 1 1 calc(50% - 6px); height: 112px; padding: 18px; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 44px; }
  .qr-row { flex-wrap: wrap; }
  .stats-inner { padding: 28px 0; }
  .stat { padding: 14px 0; }
  .stat-num { font-size: 36px; }
  .stat-num .plus { font-size: 26px; }
  .stat-label { font-size: 16px; }
  .stat-note { font-size: 14px; }
  .section-sub { font-size: 15px; }
}

@media (max-width: 480px) {
  .menu-toggle > .zh, .menu-toggle > .en { display: none !important; }
  .menu-toggle { padding: 0 12px; }
  .page-hero { padding: 108px 0 80px; min-height: 330px; }
  .page-hero p { font-size: 16px; }
  .section { padding: 72px 0; }
  .section-index { font-size: 11px; gap: 10px; }
  .section-index::before, .section-index::after { width: 24px; }
  .news-grid, .ind-grid, .prod-rest, .feat-grid, .equip-grid, .resp-grid, .patent-grid { grid-template-columns: 1fr; }
  .news-tabs { justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; }
  .news-tab { flex: 0 0 auto; padding: 11px 18px; }
  .partner-logos, .partner-names { grid-template-columns: repeat(2, 1fr); }
  .partner-name { font-size: 16px; }
  .partner-section { padding-top: 60px; padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
  .industry-card img,
  .industry-copy,
  .industry-copy small,
  .industry-arrow,
  .about-visual img,
  .about-link { transition: none !important; }
}

/* ════════ FLOATING SERVICE BAR (right side) ════════ */
.float-bar {
  position: fixed;
  right: 0;
  bottom: clamp(28px, 5vh, 56px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-family: var(--body, "Inter", "Noto Sans SC", sans-serif);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear .4s;
}
/* revealed once the first screen has been scrolled past (see initFloatBar) */
.float-bar.fb-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition: opacity .4s ease, transform .4s ease, visibility 0s linear 0s;
}
.float-bar a,
.float-bar button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50px;
  height: 50px;
  padding: 0 13px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border: none;
  border-bottom: 1px solid oklch(1 0 0 / .55);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: width .32s cubic-bezier(.4,0,.2,1);
}
.float-bar > :last-child {
  border-bottom: none;
}
.float-bar a:hover,
.float-bar button:hover {
  width: 195px;
}
.float-bar a svg,
.float-bar button svg {
  width: 24px;
  height: 24px;
  stroke: none;
  fill: currentColor;
  flex-shrink: 0;
}
.float-bar a .fb-label,
.float-bar button .fb-label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  margin-left: 12px;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .25s ease .1s, transform .25s ease .1s;
  display: inline-block;
}
.float-bar a:hover .fb-label,
.float-bar button:hover .fb-label {
  opacity: 1;
  transform: translateX(0);
}
/* hide on mobile */
@media (max-width: 820px) {
  .float-bar { display: none !important; }
}
/* hide on mobile */
@media (max-width: 820px) {
  .float-bar { display: none !important; }
}

/* ===== CATEGORY NAV BAR (shared: index & products) ===== */
.cat-nav {
  background: var(--brand);
  padding: 0; display: flex; justify-content: center; gap: 0;
  position: relative; z-index: 10;
}
.cat-nav::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
}
/* homepage only: cat-nav aligns with the image rotator gutters above it */
.hp-compact + .cat-nav {
  width: min(calc(100% - 96px), 1584px);
  margin: 0 auto;
}
.cat-tab {
  flex: 1; max-width: 160px; display: flex; flex-direction: column; align-items: center;
  gap: 6px; padding: 16px 8px 14px; cursor: pointer; border: none; background: transparent;
  color: #fff; font-family: var(--display), sans-serif;
  font-style: normal; font-weight: 700; font-size: 15px; letter-spacing: .03em;
  text-decoration: none; position: relative; transition: color .3s, background .35s;
  border-top: 3px solid transparent;
}
html[lang="en"] .cat-tab .en {
  white-space: nowrap; font-size: clamp(11px,.9vw,13px); line-height: 1.2; letter-spacing: 0;
}
.cat-tab svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s ease, filter .3s ease; }
.cat-tab:hover svg { transform: scale(1.12); filter: drop-shadow(0 0 8px rgba(255,255,255,.25)); }
.cat-tab:hover { color: #fff; background: rgba(255,255,255,.06); }
.cat-tab.active { color: #fff; background: rgba(255,255,255,.12); border-top-color: #fff; }
.cat-tab.active svg { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); transform: scale(1.1); }
.nav-progress {
  position: absolute; bottom: 0; left: 0; height: 2px;
  background: #fff;
  transition: left .5s cubic-bezier(.22,.61,.36,1), width .5s cubic-bezier(.22,.61,.36,1);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(255,255,255,.35);
}
@media (max-width:1024px){
  .cat-tab { padding: 14px 6px 12px; font-size: 14px; }
  .cat-tab svg { width: 28px; height: 28px; }
}
@media (max-width:768px){
  .cat-nav { flex-wrap: wrap; gap: 2px; }
  .hp-compact + .cat-nav { width: calc(100% - 32px); }
  .cat-tab { flex: 1 0 22%; max-width: none; padding: 12px 4px 10px; font-size: 13px; }
  .cat-tab svg { width: 26px; height: 26px; }
}
@media (max-width:480px){
  .cat-tab { flex: 1 0 24%; padding: 10px 2px 8px; font-size: 12px; }
  .cat-tab svg { width: 24px; height: 24px; }
}
@media (max-width:600px){
  html[lang="en"] .cat-tab { flex: 1 0 46%; }
  html[lang="en"] .cat-tab .en { font-size: 12px; }
}

/* ===== PRODUCT HERO IMAGE ROTATOR (shared: index & products) ===== */
.ph-hero {
  position: relative;
  height: clamp(520px, 68vh, 820px);
  overflow: hidden;
  background: #001d19;
}
.ph-hero.hp-compact {
  width: min(calc(100% - 96px), 1584px);   /* align with .container content width, side gutters */
  margin: 0 auto;
  height: clamp(560px, 72vh, 860px);
}
/* homepage only: hide rotator arrows & dots, shrink zh title */
.ph-hero.hp-compact .hs-arrow,
.ph-hero.hp-compact .ph-dots { display: none; }
.ph-hero.hp-compact .ph-caption h2 .zh { font-size: clamp(22px, 3.4vw, 40px); }
.cat-panel {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s, transform 1.1s cubic-bezier(.22,.61,.36,1);
  transform: scale(1.06);
}
.cat-panel.active {
  opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s, transform 6s ease-out;
  transform: scale(1.0);
}
.cat-panel img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(.94) contrast(1.05);
}
@keyframes kenburns { from { transform: scale(1.0); } to { transform: scale(1.12); } }
.cat-panel.active img { animation: kenburns 7s ease-out forwards; }
.cat-panel a.ph-link { display: block; width: 100%; height: 100%; cursor: pointer; }
.cat-panel a.ph-link img { cursor: pointer; }
.ph-caption {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  width: 100%;
  padding: clamp(32px, 5vw, 72px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(0,29,25,.58) 0%, rgba(0,29,25,.28) 45%, rgba(0,29,25,0) 75%);
  color: #fff; pointer-events: none;
}
.ph-caption h2 {
  font-family: var(--display, "Montserrat"), sans-serif; font-style: italic; font-weight: 800;
  line-height: 1.05; margin: 0;
}
.ph-caption h2 .zh { display: block; font-size: clamp(30px, 5vw, 58px); color: #fff; }
.ph-caption h2 .en { display: block; font-size: clamp(15px, 2vw, 22px); font-style: normal; font-weight: 600; color: rgba(255,255,255,.78); margin-top: 4px; letter-spacing: .02em; }
.ph-caption p { margin-top: 14px; max-width: 620px; font-size: clamp(13px, 1.4vw, 16px); color: rgba(255,255,255,.82); text-wrap: balance; }
.ph-caption p .en { display: block; opacity: .7; font-size: .86em; margin-top: 2px; }
.hs-arrow {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  display: grid; place-items: center; color: #fff;
  z-index: 5; cursor: pointer; transition: background .25s, transform .25s;
  border: 1px solid rgba(255,255,255,.3);
}
.hs-arrow:hover { background: rgba(255,255,255,.32); transform: translateY(-50%) translateX(4px); }
.ph-dots { position: absolute; left: 50%; bottom: clamp(24px, 4vw, 40px); transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.ph-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s, transform .3s; }
.ph-dot.active { background: var(--cyan, #39988c); transform: scale(1.3); }
@media (max-width:768px){
  .ph-hero { height: clamp(340px, 48vh, 520px); }
  .ph-hero.hp-compact { width: calc(100% - 32px); height: clamp(430px, 56vh, 600px); }
  .hs-arrow { display: none; }
}

/* nav item without link (product applications) — same visual as .main-nav a */
.main-nav .nav-apps { font-family: var(--body); font-size: 16px; font-weight: 400; font-style: normal; color: var(--menu-fg); letter-spacing: 0; padding: 10px 2px; position: relative; cursor: default; }
.main-nav .nav-apps .zh { font-family: var(--cn); font-size: 18px; font-weight: 400; font-style: normal; letter-spacing: 0; color: var(--menu-fg); }
.main-nav .nav-apps .en { font-family: var(--body); font-size: 16px; font-weight: 400; font-style: normal; letter-spacing: 0; }
.main-nav .nav-apps::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; border-radius: 2px; background: var(--brand); transition: right .25s ease; }
.main-nav .nav-apps:hover { color: var(--brand-deep); }
.main-nav .nav-apps:hover::after { right: 0; }
.main-nav .nav-apps.active { color: var(--brand-deep); }
.main-nav .nav-apps.active::after { right: 0; }

/* ════════ ARTICLE DETAIL (news single page) ════════ */
.article-detail { padding: 52px 0 96px; }
.article-detail .back { display: flex; justify-content: center; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 72px; }
.article-detail .back:hover { color: var(--brand); }
.article-head { max-width: 860px; margin: 0 auto 30px; text-align: center; }
.article-head h1 { font-size: clamp(23px, 2.9vw, 36px); line-height: 1.2; text-wrap: balance; }
.article-head .article-date { margin-top: 18px; font-family: var(--mono); font-size: 14px; letter-spacing: .08em; color: var(--muted); }
.article-foot { max-width: 860px; margin: 46px auto 0; text-align: center; }
.related { max-width: 1100px; margin: 84px auto 0; }
.related h2 { font-size: 26px; margin-bottom: 30px; }
.related .news-grid { margin-top: 0; }
@media (max-width: 768px) {
  .article-detail { padding: 32px 0 64px; }
}