/* WCW English Site - Brand-aligned to LOGO #4d3f7c (royal indigo) */
:root {
  --brand:      #4d3f7c;   /* LOGO 紫 - 主品牌色 */
  --brand-d:    #3a2e60;   /* 深紫 - hover / 次级 */
  --brand-dd:   #221b40;   /* 深紫黑 - 顶级深色 (替代原 navy) */
  --brand-l:    #6b5fa6;   /* 浅紫 - 高亮 */
  --brand-bg:   #efeaf8;   /* 淡紫底 - tag / chip */
  --brand-bg2:  #e6dfef;   /* 淡紫底2 - 偶数行 */
  --accent:     #e02b20;   /* 红 - CTA 主按钮 / 时间线圆点 */
  --gold:       #ffc861;   /* 金 - hero 高亮字 */
  --ink:        #1c2733;
  --gray:       #5b6b7b;
  --line:       #dfe6ee;
  --bg:         #f5f7fa;
  --white:      #ffffff;
  --topbar-bg:  #221b40;
  --footer-bg:  #160f30;
  --footer-line:#2a1f55;
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== Top bar ===== */
.topbar { background: var(--topbar-bg); color: #c9d6e8; font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar .cn-link { color: #c9d6e8; font-weight: 400; }

/* ===== Header ===== */
header.site {
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 3px rgba(34, 27, 64, .06);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 68px; width: auto; display: block; }
nav.main ul { display: flex; gap: 26px; list-style: none; align-items: center; }
nav.main a { color: var(--ink); font-weight: 600; font-size: 15px; position: relative; padding: 6px 0; }
nav.main a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--brand); transition: right .22s ease;
}
nav.main a:hover { color: var(--brand); text-decoration: none; }
nav.main a:hover::after, nav.main a[aria-current="page"]::after, nav.main a.active::after { right: 0; }
nav.main a.active { color: var(--brand); }
/* 7 menu items + quote button + language switcher — tighten before the 960px breakpoint */
@media (max-width: 1280px) {
  nav.main ul { gap: 17px; }
  nav.main a { font-size: 14px; }
  .logo-img { height: 58px; }
  .nav { height: 80px; }
}
.btn {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 700;
  padding: 12px 26px; border-radius: 8px; font-size: 15px; border: none; cursor: pointer;
  letter-spacing: .2px; box-shadow: 0 2px 10px rgba(224,43,32,.28);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #c01f15; text-decoration: none; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(224,43,32,.34); }
.btn.blue { background: var(--brand); box-shadow: 0 2px 10px rgba(77,63,124,.3); }
.btn.blue:hover { background: var(--brand-d); color: #fff; box-shadow: 0 4px 14px rgba(77,63,124,.36); }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); box-shadow: none; }
.btn.ghost:hover { background: var(--brand); color: #fff; transform: translateY(-1px); }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-dd) 0%, var(--brand-d) 55%, var(--brand) 100%);
  color: #fff; padding: 72px 0 64px;
}
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 40px; line-height: 1.2; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { color: var(--gold); }
.hero p.lead { margin: 20px 0 28px; font-size: 17px; color: #e0d6f5; max-width: 560px; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.badge {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.28);
  padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
/* cert card stack on right */
.cert-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cert-card {
  background: rgba(255,255,255,.97); border-radius: 10px; padding: 18px 16px;
  color: var(--ink); text-align: center; box-shadow: 0 8px 24px rgba(0,0,0,.28);
}
.cert-card .ab { font-size: 24px; font-weight: 800; color: var(--brand); }
.cert-card .nm { font-size: 12px; color: var(--gray); margin-top: 4px; line-height: 1.35; }

/* ===== Stats band ===== */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(5, 1fr); padding: 30px 24px; gap: 0; text-align: center; }
.stat { padding: 4px 12px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .n { font-size: 32px; font-weight: 800; color: var(--brand-dd); letter-spacing: -.5px; }
.stat .n small { font-size: 16px; font-weight: 700; }
.stat .l { font-size: 12.5px; color: var(--gray); text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }

/* ===== Sections ===== */
section.blk { padding: 72px 0; }
section.blk.alt { background: var(--bg); }
.kicker { color: var(--accent); font-weight: 700; font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase; }
h2.sect { font-size: 34px; color: var(--brand-dd); font-weight: 800; margin: 8px 0 14px; line-height: 1.22; letter-spacing: -.4px; }
p.sect-sub { color: var(--gray); max-width: 760px; margin-bottom: 36px; font-size: 16.5px; }

/* cards */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 30px 26px; transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover { box-shadow: 0 14px 34px rgba(77, 63, 124, .16); transform: translateY(-4px); border-color: var(--brand-l); }
.card h3 { color: var(--brand-dd); font-size: 18px; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 15px; }
.card .ico { font-size: 26px; margin-bottom: 12px; }
.card .tags { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--brand-bg); color: var(--brand-d); font-size: 12px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }

/* product cards */
.prod-card { overflow: hidden; padding: 0; }
.prod-card .ph { height: 190px; background: var(--brand-bg); overflow: hidden; }
.prod-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.prod-card:hover .ph img { transform: scale(1.045); }
.prod-card .body { padding: 22px; }
.prod-card h3 { font-size: 17px; }
.spec-row { display: flex; justify-content: space-between; font-size: 14px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.spec-row:last-child { border-bottom: none; }
.spec-row .k { color: var(--gray); }
.spec-row .v { font-weight: 700; color: var(--ink); }

/* cert showcase */
.cert-hero { text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 34px 24px; }
.cert-hero .big { font-size: 40px; font-weight: 800; color: var(--brand); }
.cert-hero .desc { color: var(--gray); font-size: 14px; margin-top: 6px; }

/* timeline */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 26px 18px; }
.tl-item::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.tl-item .yr { font-weight: 800; color: var(--brand); font-size: 17px; }
.tl-item p { color: var(--gray); font-size: 15px; margin-top: 2px; }

/* FAQ */
details.faq { background: var(--white); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
details.faq summary {
  padding: 18px 22px; font-weight: 700; color: var(--brand-dd); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 16px;
}
details.faq summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; }
details.faq[open] summary::after { content: "−"; }
details.faq .a { padding: 0 22px 18px; color: var(--gray); font-size: 15px; }

/* answer box - GEO */
.answer-box {
  background: var(--brand-bg); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0;
  padding: 20px 24px; margin: 24px 0; font-size: 15px;
}
.answer-box strong { color: var(--brand-dd); }

/* table */
table.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; font-size: 14px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
table.cmp th { background: var(--brand-dd); color: #fff; text-align: left; padding: 13px 16px; font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; }
table.cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; transition: background .12s ease; }
table.cmp tr:last-child td { border-bottom: none; }
table.cmp tr:nth-child(even) td { background: #f8f5fd; }
table.cmp tbody tr:hover td { background: var(--brand-bg); }
table.cmp td.k { font-weight: 700; color: var(--brand-dd); white-space: nowrap; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-dd), var(--brand)); color: #fff; padding: 60px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 75% 20%, rgba(255,255,255,.08), transparent 55%); pointer-events: none; }
.cta-band h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; letter-spacing: -.3px; }
.cta-band p { color: #ddd1f3; margin-bottom: 26px; }

/* footer */
footer.site { background: var(--footer-bg); color: #b3a8d4; padding: 64px 0 0; font-size: 14px; border-top: 3px solid var(--brand); }
footer.site .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
footer.site h4 { color: #fff; font-size: 14px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1.2px; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 10px; }
footer.site a { color: #b3a8d4; }
footer.site a:hover { color: #fff; }
footer.site .bottom { border-top: 1px solid var(--footer-line); padding: 18px 0; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* language switcher */
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px; background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
  font: 600 14px/1 "Inter", "Segoe UI", sans-serif; color: var(--ink);
  transition: border-color .15s ease, color .15s ease;
}
.lang-btn:hover { border-color: var(--brand); color: var(--brand); }
.lang-btn .gl { font-size: 15px; line-height: 1; }
.lang-btn .ca { font-size: 10px; transition: transform .18s ease; }
.lang.open .lang-btn { border-color: var(--brand); color: var(--brand); }
.lang.open .lang-btn .ca { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 176px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px;
  box-shadow: 0 14px 38px rgba(34,27,64,.16); display: none; z-index: 60;
}
.lang.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 7px;
  color: var(--ink); font-weight: 500; font-size: 14px;
}
.lang-menu a:hover { background: var(--brand-bg); text-decoration: none; color: var(--brand-d); }
.lang-menu a.on { background: var(--brand-bg); color: var(--brand-d); font-weight: 700; }
.lang-menu a .gl { font-size: 15px; line-height: 1; width: 18px; text-align: center; }

/* page hero (subpages) — 华创威产业园实拍 + 轻品牌紫遮罩（保建筑细节，兼顾文字可读） */
.pagehero {
  background:
    linear-gradient(100deg, rgba(26,20,54,.82) 0%, rgba(36,28,66,.52) 42%, rgba(36,28,66,.22) 75%, rgba(36,28,66,.12) 100%),
    url('factory/park-gate.jpg?v=20261007') center 42% / cover no-repeat;
  color: #fff; padding: 56px 0 52px;
}
.pagehero h1 { font-size: 34px; font-weight: 800; text-shadow: 0 2px 14px rgba(15,10,35,.6); }
.pagehero p { color: #e4dcf5; margin-top: 10px; max-width: 760px; text-shadow: 0 1px 8px rgba(15,10,35,.65); }
.crumb { font-size: 13px; color: #c8bce4; margin-bottom: 14px; }
.crumb a { color: #e4dcf5; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.info-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-line .ic { width: 42px; height: 42px; background: var(--brand-bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-line .lb { font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.info-line .vl { font-weight: 700; color: var(--ink); }

/* responsive */
@media (max-width: 960px) {
  .hero .wrap, .grid3, .grid4, .grid2, .contact-grid { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  nav.main { display: none; }
  footer.site .cols { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 30px; }
  .rfq-grid { grid-template-columns: 1fr; }
  .rfq-form { padding: 24px 20px; }
}

/* ===== RFQ / inquiry form ===== */
.rfq-wrap { max-width: 880px; margin: 0 auto; }
.rfq-form { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 32px 34px; box-shadow: 0 2px 16px rgba(34, 27, 64, .05); }
.rfq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld.full { grid-column: 1 / -1; }
.fld label { font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: .1px; }
.fld .req { color: var(--accent); }
.fld input, .fld select, .fld textarea {
  font: inherit; font-size: 15px; color: var(--ink); width: 100%;
  padding: 11px 13px; border: 1px solid var(--line); border-radius: 8px;
  background: #fcfbfe; transition: border-color .15s, box-shadow .15s, background .15s;
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 3px rgba(77, 63, 124, .12);
}
.fld textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rfq-actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.rfq-actions .btn.blue { padding: 13px 36px; font-size: 16px; }
.rfq-note { font-size: 13.5px; color: var(--gray); }
.rfq-note a { color: var(--brand); font-weight: 600; }
