:root {
  --green: #075840;
  --green-mid: #158752;
  --ink: #141815;
  --muted: #5b635f;
  --surface: #ffffff;
  font: 16px/1.5 Arial, "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--surface);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; padding: 0; background: none; }
button, h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--green-mid); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.bwrap { width: 84%; max-width: 1560px; margin: 0 auto; }
section { scroll-margin-top: 86px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 8%; gap: 2vw;
  background: linear-gradient(#ffffffd6, #ffffff6e 75%, transparent);
  transition: background-color .28s ease, box-shadow .28s ease, padding .28s ease;
}
.header.scrolled { background: #fffffff5; box-shadow: 0 4px 20px #07584014; padding: 12px 8%; }
.brand { flex: 0 0 13.5%; }
.header nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1.4vw;
  font-size: clamp(12px, .92vw, 16px); white-space: nowrap;
}
.header nav a, .header nav button { transition: color .22s ease, background-color .22s ease, transform .22s ease; }
.header nav a:hover, .header nav button:hover, .header nav a.active { color: var(--green); font-weight: 700; }
.nav-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  border-radius: 50px; background: #ffffffcc; padding: .35em 1.25em; border: 1px solid #0758401a;
}
.nav-pill:hover { background: #ffffff; transform: translateY(-1px); box-shadow: 0 4px 12px #07584018; }
.icon { display: grid; place-items: center; width: 36px; height: 36px; font-size: 1.1rem; }
.menu { display: none; }

/* Hero Banner */
.page-ban {
  position: relative; width: 100%; height: clamp(320px, 36vw, 500px); overflow: hidden;
  display: grid; place-items: center; background: #0a2a1e;
}
.page-ban::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, #061c1440 0%, #05201675 50%, #041b12ad 100%);
}
.page-ban img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.page-ban-inner {
  position: relative; z-index: 1; text-align: center; color: #ffffff; padding: 0 24px;
}
.page-ban-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .28em; color: #d0ebe0; margin-bottom: 10px;
}
.page-ban h1 {
  font-size: clamp(34px, 3.6vw, 56px); font-weight: 700; letter-spacing: .04em;
  text-shadow: 0 4px 18px #00000040;
}
.page-ban-sub {
  margin-top: 10px; font-size: clamp(13.5px, 1.05vw, 17px); color: #e8f1ec;
  letter-spacing: .05em; text-shadow: 0 2px 10px #00000040;
}
.ban-accent {
  display: block; width: 36px; height: 3px; background: #26a869; margin: 16px auto 0; border-radius: 2px;
}

/* Double Sub-Navigation */
.page-nav { background: var(--surface); border-bottom: 1px solid #e5e8e6; }
.page-nav-list { display: flex; align-items: center; gap: clamp(28px, 4.5vw, 72px); }
.page-nav-list a {
  position: relative; padding: 18px 2px; font-size: 15px; color: var(--muted);
  transition: color .2s ease;
}
.page-nav-list a:hover, .page-nav-list a.active { color: var(--green); font-weight: 700; }
.page-nav-list a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green);
}

.page-tab { background: var(--surface); }
.page-tab-list { display: flex; align-items: center; gap: 36px; padding-top: 14px; }
.page-tab-list button {
  position: relative; padding: 10px 2px; font-size: 14px; color: var(--muted);
  transition: color .2s ease;
}
.page-tab-list button:hover, .page-tab-list button.active { color: var(--green); font-weight: 700; }
.page-tab-list button.active::after {
  content: ''; position: absolute; left: 10%; right: 10%; bottom: 0; height: 2px; background: var(--green);
}

/* Section 1: Brand Intro Split */
.china-top { padding: 54px 0 76px; background: var(--surface); }
.china-top-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5%; align-items: center; }
.china-top-left img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 28px #07584012; }
.china-top-right { position: relative; text-align: center; padding: 24px 12px; }
.watermark {
  display: block; font: 700 clamp(21px, 4.7vw, 90px)/1 Georgia, "Times New Roman", serif;
  letter-spacing: .19em; color: #e8eee9; user-select: none;
}
.china-top-right h2 {
  position: relative; margin-top: -.52em;
  font: 700 clamp(24px, 2.2vw, 40px)/1.18 Georgia, "Times New Roman", serif;
  letter-spacing: -.02em; color: var(--ink);
}
.short-line { display: block; width: 30px; height: 2px; background: #c5cec9; margin: 18px auto 20px; }
.short-line.right { margin-left: auto; margin-right: 0; background: #ffffffcc; }
.china-top-right p { font-size: 15px; line-height: 1.85; color: var(--muted); max-width: 52ch; margin: 0 auto; }

/* Section 2: Five Manufacturing Bases */
.china-middle-head { text-align: center; padding-bottom: 30px; }
.china-middle-head h2 { font-size: clamp(22px, 1.85vw, 32px); color: var(--ink); }
.china-middle-content {
  position: relative; padding: 64px 0; color: white;
  background:
    linear-gradient(90deg, #041c13b8, #041c13b8),
    url('../images/home-about.png') left center / 50% 100% no-repeat,
    url('../images/home-service.jpg') right center / 50% 100% no-repeat #082419;
}
.bases-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 8%; }
.bases-col { display: flex; flex-direction: column; gap: 36px; }
.base-item h3 { font-size: clamp(18px, 1.4vw, 24px); font-weight: 700; color: #ffffff; margin-bottom: 10px; }
.base-item p { font-size: 14.5px; line-height: 1.75; color: #d9e5de; }

/* Section 3: Asia-Pacific Reach */
.china-reach { background: var(--surface); padding: 72px 0; text-align: center; }
.reach-inner h2 { font-size: clamp(22px, 1.85vw, 32px); color: var(--ink); }
.reach-inner p { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 660px; margin: 0 auto; }

/* Section 4: Tailored Products & R&D Banner */
.china-rd {
  position: relative; min-height: clamp(320px, 28vw, 440px);
  display: flex; align-items: center; color: white; padding: 56px 0;
  background:
    linear-gradient(90deg, #06221850 0%, #051e15bf 45%, #041911e6 100%),
    url('../images/home-service.jpg') center / cover no-repeat;
}
.rd-inner { display: flex; justify-content: flex-end; }
.rd-content { position: relative; width: 52%; text-align: right; }
.rd-watermark {
  display: block; font-size: clamp(54px, 5.5vw, 96px); font-weight: 800; letter-spacing: .08em;
  color: #ffffff14; line-height: 1; user-select: none;
}
.rd-content h2 { position: relative; margin-top: -.65em; font-size: clamp(24px, 2.2vw, 38px); color: #ffffff; }
.rd-content p { font-size: 15px; line-height: 1.8; color: #e2ede7; }

/* Culture Page (.idea-*) */
.idea-top {
  position: relative; padding: 92px 0 84px; color: white;
  background:
    linear-gradient(90deg, #041d14de 0%, #041d14a6 55%, #041d1450 100%),
    url('../images/home-service.jpg') center / cover no-repeat;
}
.idea-top-inner { max-width: 680px; }
.idea-top .watermark, .idea-bottom .watermark { color: #ffffff14; }
.idea-top h2, .idea-bottom h2 { position: relative; margin-top: -.65em; font-size: clamp(24px, 2.1vw, 34px); color: #ffffff; }
.idea-top .short-line { margin: 18px 0 24px; background: #ffffffcc; }
.idea-top p { font-size: 15px; line-height: 1.9; color: #e6f0ea; margin-bottom: 14px; }
.common-more-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px;
  padding: 10px 26px; border: 1.5px solid white; border-radius: 6px;
  color: white; font-size: 14px; font-weight: 700; transition: background-color .22s ease, color .22s ease;
}
.common-more-btn:hover { background: white; color: var(--green); }
.common-more-btn.solid { background: var(--green); border-color: var(--green); color: white; }
.common-more-btn.solid:hover { background: var(--green-mid); border-color: var(--green-mid); }

.idea-middle { padding: 80px 0; background: var(--surface); }
.idea-middle-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 5%; align-items: center; }
.idea-middle-left h2 { position: relative; margin-top: -.65em; font-size: clamp(24px, 2.1vw, 34px); color: var(--ink); }
.idea-middle-left .short-line { margin: 18px 0 22px; }
.idea-middle-left p { font-size: 15px; line-height: 1.9; color: var(--muted); }
.idea-middle-right img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 28px #07584014; }

.idea-bottom {
  position: relative; padding: 84px 0; text-align: center; color: white;
  background:
    linear-gradient(#041d14cc, #041d14db),
    url('../images/home-service.jpg') center / cover no-repeat;
}
.idea-bottom-inner { max-width: 780px; margin: 0 auto; }
.idea-bottom .short-line { background: #ffffff99; }
.idea-bottom p { font-size: 15px; line-height: 1.85; color: #e2ede7; margin-top: 16px; }

/* Standards Page (.biaozhun, .hp-list) */
.biaozhun { padding: 56px 0 44px; text-align: center; }
.biaozhun-title { position: relative; margin-bottom: 28px; }
.biaozhun-title h2 { position: relative; margin-top: -.6em; font-size: clamp(22px, 1.9vw, 30px); color: var(--ink); }
.biaozhun-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 56px; }
.biaozhun-imgs img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 20px #07584012; }
.biaozhun-txt { max-width: 660px; margin: 0 auto; font-size: 15px; line-height: 1.85; color: var(--muted); }

.hp-list { padding: 28px 0 72px; background: var(--surface); }
.hp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 30px; }
.hp-item { text-align: center; }
.hp-item.extra { display: none; }
.hp-grid.expanded .hp-item.extra { display: block; }
.hp-frame {
  padding: 14px; background: #f3f6f4; border: 8px solid #353b38; border-radius: 4px;
  box-shadow: 0 8px 20px #00000014; aspect-ratio: 3 / 4; display: grid; place-items: center;
}
.hp-frame-inner {
  width: 100%; height: 100%; background: white; padding: 14px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px; border: 1px solid #dfe5e1;
}
.hp-frame-inner i { font-size: 28px; color: var(--green); }
.hp-frame-inner strong { font-size: 13px; color: var(--ink); line-height: 1.35; }
.hp-frame-inner small { font-size: 11px; color: var(--muted); }
.hp-caption { margin-top: 14px; font-size: 13.5px; color: var(--ink); font-weight: 700; }
.hp-more-wrap { text-align: center; margin-top: 38px; }
.hp-more {
  padding: 9px 28px; border: 1px solid var(--green); border-radius: 4px;
  color: var(--green); font-size: 13.5px; font-weight: 700; transition: background-color .22s ease, color .22s ease;
}
.hp-more:hover { background: var(--green); color: white; }

/* Technology Page (.jishu-*) */
.jishu-top { padding: 56px 0 64px; background: linear-gradient(180deg, #f4f9f6 0%, #ffffff 100%); }
.jishu-head { text-align: center; margin-bottom: 40px; }
.jishu-head h2 { position: relative; margin-top: -.6em; font-size: clamp(24px, 2vw, 32px); color: var(--ink); }
.jishu-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.jishu-diagram {
  background: white; border-radius: 10px; padding: 28px; box-shadow: 0 8px 28px #07584012;
  display: grid; gap: 16px;
}
.jishu-diagram img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.jishu-callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.jishu-callouts div { background: #f3f7f5; padding: 10px; border-radius: 6px; font-size: 12px; color: var(--ink); }
.jishu-callouts strong { display: block; color: var(--green); margin-bottom: 3px; }
.jishu-intro h3 { font-size: 22px; color: var(--ink); margin-bottom: 14px; }
.jishu-intro p { font-size: 15px; line-height: 1.85; color: var(--muted); }

.jishu-center { padding: 32px 0 64px; }
.jishu-rows { display: flex; flex-direction: column; gap: 56px; max-width: 980px; margin: 0 auto; }
.jishu-row { display: grid; grid-template-columns: 1fr 1.08fr; gap: 36px; align-items: center; }
.jishu-row.reverse .jishu-row-img { order: 2; }
.jishu-row-img { position: relative; }
.jishu-row-img::after {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; background: #a8d5bc; border-radius: 6px; z-index: 0;
}
.jishu-row-img img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.jishu-row-info { background: #f4f6f5; padding: 34px 36px; border-radius: 6px; }
.jishu-row-info span { display: block; font-size: 32px; font-weight: 800; font-style: italic; color: #0758401f; line-height: 1; margin-bottom: 6px; }
.jishu-row-info h3 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.jishu-row-info p { font-size: 14.5px; line-height: 1.75; color: var(--muted); }

.jishu-bottom { padding: 56px 0 76px; background: #f6f8f7; }
.protection-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.protection-card {
  padding: 16px 12px 20px; border-radius: 6px; text-align: center;
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.protection-card:hover { background: white; box-shadow: 0 8px 24px #07584014; transform: translateY(-3px); }
.protection-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; margin-bottom: 14px; }
.protection-card h3 { font-size: 14px; color: var(--ink); }
.protection-card small { display: block; font-size: 12px; color: var(--green); font-weight: 700; margin: 4px 0 8px; }
.protection-card p { font-size: 12px; line-height: 1.55; color: var(--muted); }

/* Footer */
footer { background: #042f1c; color: white; padding: 2.6vw 5.7% 4.2vw; font-size: clamp(13px,.9vw,16px); }
.footer-top, .footer-contact, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5em; }
.footer-top { padding-bottom: 1.6vw; border-bottom: 1px solid #ffffff3b; }
.footer-brand { position: relative; padding-left: 4.4em; line-height: 1; }
.footer-brand::before { content: ''; background: url('../images/logo.png') center / contain no-repeat; position: absolute; left: 0; top: 0; width: 3.9em; height: 3em; }
.footer-brand strong { font-size: 2.3em; letter-spacing: .09em; display: block; }
.footer-brand sup { font-size: .35em; }
.footer-brand small { display: block; letter-spacing: .29em; margin-top: .5em; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  border: 1px solid currentColor; border-radius: 100px; padding: .45em 1.15em;
  font-size: clamp(13px,.9vw,18px); font-weight: 700; color: var(--green);
  background: white; width: fit-content; transition: transform .22s ease, box-shadow .22s ease;
}
.pill span { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; color: white; background: var(--green); line-height: 1; }
.pill:hover { transform: translateY(-2px); box-shadow: 0 6px 16px #00000028; }
.footer-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 1rem; margin-top: 2vw; }
.footer-grid h3 { font-size: 1em; margin-bottom: 1em; }
.footer-grid a, .footer-grid button { display: block; margin: .65em 0; color: #d8e4dc; text-align: left; }
footer a:hover, footer button:hover { text-decoration: underline; }
.footer-contact { justify-content: start; margin: 2.5vw 0 2.1vw; gap: 6vw; }
.footer-contact small { display: block; }
.phone { display: block; margin-top: .45em; font-size: 1.55em; font-weight: bold; }
.social { display: flex; gap: .85em; margin-top: .9em; }
.social button { border: 1px solid #ffffff45; width: 2.3em; aspect-ratio: 1; border-radius: 50%; transition: background-color .22s ease, color .22s ease; }
.social button:hover { background: white; color: #042f1c; text-decoration: none; }
.chat { margin-left: auto; }
.footer-bottom { padding-top: 1.8vw; border-top: 1px solid #ffffff3b; }
.footer-bottom div { display: flex; gap: 1em; flex-wrap: wrap; }

/* Floating Right-Edge Tools */
.tools {
  position: fixed; right: 6px; bottom: 88px; z-index: 25;
  display: flex; flex-direction: column; align-items: flex-end; gap: 4px;
}
.tools button, .tools a {
  width: 54px; height: 54px; background: var(--green); color: white;
  display: flex; align-items: center; justify-content: flex-start;
  overflow: hidden; border-radius: 4px; box-shadow: 0 4px 12px #07584030;
  transition: width .24s ease, background-color .22s ease;
}
.tools button i, .tools a i { width: 54px; flex: none; text-align: center; font-size: 17px; }
.tools button span, .tools a span { white-space: nowrap; font-size: 12px; padding-right: 14px; }
.tools button:not(.back-top):hover, .tools a:hover { width: 122px; background: var(--green-mid); }
.tools .back-top:hover { background: var(--green-mid); }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Dialogs */
dialog { width: min(520px, calc(100% - 32px)); max-height: 85dvh; border: 0; border-radius: 18px; padding: 2.2rem 1.6rem 1.6rem; color: var(--ink); background: #f7f8f7; }
dialog::backdrop { background: #062c20a0; }
dialog .close { position: absolute; top: .4rem; right: .6rem; font-size: 1.75rem; }
dialog p { margin: .9em 0; }
.nd-meta { font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .06em; }
dialog input { width: 100%; font: inherit; padding: .65em; border: 1px solid #a3bcb0; border-radius: 8px; margin: 1em 0; }
.search-results a { display: block; padding: .45em 0; color: var(--green); }

@media (max-width: 1100px) {
  .bwrap { width: 90%; }
  .protection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .menu { display: grid; }
  .header { padding: 14px 5%; background: #fffffff5; }
  .brand { flex-basis: clamp(145px,22vw,215px); }
  .header nav { display: none; position: absolute; top: 100%; right: 5%; width: min(325px,90vw); padding: 1em; border-radius: 14px; background: #f7fff9; box-shadow: 0 5px 18px #0002; font-size: 15px; }
  .header nav.open { display: grid; gap: .5em; }
  .header nav > * { justify-content: start; padding: .45em .75em; }
}

@media (max-width: 700px) {
  body { padding-bottom: 58px; }
  .page-ban { height: 220px; margin-top: 56px; }
  .page-nav-list { gap: 20px; overflow-x: auto; white-space: nowrap; }
  .china-top { padding: 34px 0 44px; }
  .china-top-grid, .bases-grid, .idea-middle-grid, .biaozhun-imgs, .jishu-overview, .jishu-row { grid-template-columns: 1fr; gap: 28px; }
  .jishu-row.reverse .jishu-row-img { order: 0; }
  .jishu-callouts { grid-template-columns: 1fr; }
  .protection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .china-middle-content {
    padding: 40px 0;
    background: linear-gradient(#041c13c8, #041c13d8), url('../images/home-about.png') center / cover no-repeat;
  }
  .china-reach { padding: 44px 0; }
  .china-rd { padding: 44px 0; }
  .rd-content { width: 100%; text-align: left; }
  .short-line.right { margin-left: 0; }
  footer { padding: 26px 5%; }
  .footer-top { padding-bottom: 18px; }
  .footer-brand strong { font-size: 1.7em; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; }
  .footer-contact { flex-wrap: wrap; align-items: start; gap: 20px; margin: 20px 0; }
  .chat { margin-left: 0; }
  .footer-bottom { flex-wrap: wrap; gap: 12px; padding-top: 18px; }
  .tools {
    right: 0; left: 0; bottom: 0; flex-direction: row; gap: 0;
    background: var(--green); border-top: 1px solid #ffffff30;
  }
  .tools button, .tools a { flex: 1; width: auto !important; height: 54px; border-radius: 0; border-right: 1px solid #ffffff26; justify-content: center; gap: 6px; }
  .tools button i, .tools a i { width: auto; font-size: 15px; }
  .tools button span, .tools a span { padding-right: 0; }
  .tools .back-top { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
[hidden] { display: none !important; }
