:root {
  --ink: #203058;
  --ink-2: #285078;
  --ink-3: #205078;
  --accent: #d88028;
  --accent-dark: #b96b1d;
  --accent-soft: #fbf1e3;
  --steel: #205078;
  --text: #0f1f31;
  --muted: #5c6b7c;
  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --bg-dark: #16233d;
  --line: #e4e8ee;
  --radius: 2px;
  --shadow: 0 2px 10px rgba(8, 21, 39, 0.06);
  --shadow-lg: 0 12px 34px rgba(8, 21, 39, 0.14);
  --maxw: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.loading { padding: 90px 0; text-align: center; color: var(--muted); letter-spacing: 2px; }

/* ============ Top bar ============ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 3px solid var(--accent);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 20px;
  border-radius: var(--radius);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--ink); font-weight: 800; font-size: 19px; letter-spacing: 1px; }
.brand-en { color: #7a8aa0; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; }
.brand-mark.has-img { background: transparent; width: 48px; height: 48px; }
.brand-mark img { width: 48px; height: 48px; object-fit: contain; display: block; }
.brand-logo-full { height: 40px; width: auto; display: block; max-width: 220px; object-fit: contain; object-position: left center; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #33475c; padding: 10px 14px; font-size: 15px; font-weight: 600;
  position: relative; transition: color .15s; letter-spacing: .5px;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .18s;
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--accent); }

.topbar-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  border: 1px solid #d5dce4; background: transparent; color: var(--ink);
  padding: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: 1px;
  border-radius: var(--radius); transition: .15s;
}
.lang:hover { border-color: var(--accent); color: var(--accent); }
.burger { display: none; border: none; background: none; font-size: 24px; color: var(--ink); }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 360px at 82% 12%, rgba(216,128,40,.22), transparent 60%),
    linear-gradient(120deg, #203058 0%, #285078 55%, #1b2b4d 100%);
}
.hero.has-img { background-size: cover; background-position: center; }
.hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(8,21,39,.95), rgba(11,30,51,.78) 55%, rgba(11,30,51,.4)); }
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 132px 28px 116px; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font-weight: 700; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 20px; }
.hero-kicker::before { content: ""; width: 34px; height: 3px; background: var(--accent); display: inline-block; }
.hero h1 { font-size: 52px; line-height: 1.16; max-width: 800px; margin-bottom: 22px; font-weight: 800; letter-spacing: .5px; }
.hero h1 .accent { color: var(--accent); }
.hero p { font-size: 18px; max-width: 660px; color: #c7d4e2; margin-bottom: 38px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; font-size: 15px; font-weight: 700; letter-spacing: .5px; transition: .18s; border-radius: var(--radius); border: 2px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-accent { background: var(--ink); color: #fff; }
.btn-accent:hover { background: var(--ink-3); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ============ Sections ============ */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #fff; }
.section-head { max-width: 720px; margin: 0 0 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .num { display: block; color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: 36px; font-weight: 800; letter-spacing: .5px; margin-bottom: 14px; position: relative; padding-left: 18px; }
.section-head h2::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; background: var(--accent); }
.section-head.center h2 { padding-left: 0; }
.section-head.center h2::before { display: none; }
.section-head p { color: var(--muted); font-size: 16px; }
.section.dark .section-head p { color: #a8bcd0; }

/* ============ Highlights ============ */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); background: #fff; }
.highlight { padding: 34px 28px; border-right: 1px solid var(--line); transition: .2s; }
.highlight:last-child { border-right: none; }
.highlight:hover { background: var(--accent-soft); }
.highlight .idx { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 2px; }
.highlight .icon { width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: 22px; margin-bottom: 18px; border-radius: var(--radius); }
.highlight h3 { font-size: 18px; margin-bottom: 8px; }
.highlight p { color: var(--muted); font-size: 14px; }

/* ============ About teaser ============ */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-teaser .media { position: relative; min-height: 340px; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; }
.about-teaser .media::after { content: ""; position: absolute; inset: 14px; border: 2px solid rgba(216,128,40,.6); pointer-events: none; }
.about-teaser .media img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser .eyebrow { color: var(--accent); font-weight: 800; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; }
.about-teaser h2 { font-size: 32px; margin: 10px 0 18px; font-weight: 800; }
.about-teaser p { color: var(--muted); margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 1px solid var(--line); padding-top: 26px; margin-bottom: 30px; }
.stat .value { font-size: 32px; font-weight: 800; color: var(--ink); line-height: 1; }
.stat .value em { color: var(--accent); font-style: normal; }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ============ Products ============ */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink);
  display: flex; flex-direction: column; transition: .2s; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-5px); border-top-color: var(--accent); box-shadow: var(--shadow-lg); }
.product-card .media { aspect-ratio: 4/3; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .media img { width: 100%; height: 100%; object-fit: cover; }
.product-card .media img.img-contain { object-fit: contain; }
.product-card .media .ph { font-size: 52px; color: #c2ceda; }
.product-card .media .ph svg { width: 64px; height: 64px; }
.product-card .media .product-ph { color: var(--accent); }
.product-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 12px; color: var(--accent); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.product-card h3 { font-size: 20px; margin: 8px 0 10px; }
.product-card p { color: var(--muted); font-size: 14px; flex: 1; }
.product-card .more { margin-top: 18px; color: var(--ink); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.product-card .more::after { content: "→"; color: var(--accent); transition: transform .18s; }
.product-card:hover .more::after { transform: translateX(4px); }

/* ============ Applications ============ */
.apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-card { background: #fff; border: 1px solid var(--line); padding: 30px 28px; transition: .2s; border-left: 4px solid var(--ink); }
.app-card:hover { border-left-color: var(--accent); box-shadow: var(--shadow-lg); }
.app-card .icon { font-size: 30px; margin-bottom: 14px; color: var(--accent); }
.app-card .icon svg { width: 46px; height: 46px; display: block; }
.app-card .app-media { height: 150px; margin: -30px -28px 18px; overflow: hidden; }
.app-card .app-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-card h3 { font-size: 18px; margin-bottom: 8px; }
.app-card p { color: var(--muted); font-size: 14px; }
.app-card .tags { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.app-card .tag { background: var(--ink); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: var(--radius); letter-spacing: .5px; }

/* ============ News ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border: 1px solid var(--line); transition: .2s; cursor: pointer; overflow: hidden; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-card .media { height: 180px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.news-card .media img { width: 100%; height: 100%; object-fit: cover; }
.news-card .body { padding: 22px 24px; }
.news-card .date { font-size: 12px; color: var(--accent); font-weight: 700; letter-spacing: 1px; }
.news-card h3 { font-size: 18px; margin: 8px 0; line-height: 1.4; }
.news-card p { color: var(--muted); font-size: 14px; }

/* ============ Detail pages ============ */
.detail-hero { background: var(--ink); color: #fff; padding: 64px 0; border-bottom: 3px solid var(--accent); }
.detail-hero .crumb { font-size: 13px; color: #8fa6bf; margin-bottom: 12px; letter-spacing: 1px; }
.detail-hero .crumb a { color: var(--accent); }
.detail-hero h1 { font-size: 36px; font-weight: 800; }
.detail-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.detail-media { background: var(--bg-alt); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; min-height: 260px; overflow: hidden; }
.detail-media img { width: 100%; height: 100%; object-fit: contain; max-height: 420px; }
.detail-content h2 { font-size: 20px; font-weight: 800; margin: 26px 0 12px; padding-left: 14px; border-left: 4px solid var(--accent); }
.detail-content h2:first-child { margin-top: 0; }
.detail-desc { font-size: 16px; color: #33475c; white-space: pre-wrap; }
.check-list { list-style: none; margin: 0; }
.check-list li { padding: 7px 0 7px 26px; position: relative; color: #33475c; }
.check-list li::before { content: "▸"; position: absolute; left: 4px; color: var(--accent); font-weight: 700; }
.detail-block { margin-top: 52px; }
.block-title { font-size: 26px; font-weight: 800; margin-bottom: 24px; padding-left: 16px; border-left: 5px solid var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table th { width: 180px; background: var(--bg-alt); color: var(--ink); font-weight: 700; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.models-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.model-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 18px 16px; }
.model-name { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.model-desc { font-size: 14px; color: var(--muted); }
.tests-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.test-figure { margin: 0; background: #fff; border: 1px solid var(--line); }
.test-img { background: var(--bg-alt); min-height: 200px; display: flex; align-items: center; justify-content: center; }
.test-img img { max-width: 100%; max-height: 380px; object-fit: contain; }
.test-figure figcaption { padding: 12px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.notes-list { padding-left: 20px; }
.notes-list li { padding: 6px 0; color: #33475c; }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
.vm-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 26px; }
.vm-card h3 { color: var(--ink); margin-bottom: 10px; font-size: 18px; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cert-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.cert-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); padding: 18px 24px; display: flex; align-items: center; gap: 12px; }
.cert-card img { width: 34px; height: 34px; object-fit: contain; }
.timeline { position: relative; margin: 40px 0; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 8px; top: 4px; bottom: 4px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding: 0 0 28px 22px; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.timeline-item .year { color: var(--accent); font-weight: 800; font-size: 17px; }
.timeline-item h4 { margin: 4px 0; }
.timeline-item p { color: var(--muted); font-size: 14px; }
.about-prose h2 { font-size: 22px; font-weight: 800; margin: 30px 0 14px; padding-left: 14px; border-left: 4px solid var(--accent); }
.about-prose > p { color: #33475c; }

/* 主要包装产品线 */
.pline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pline-item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--ink); transition: .2s; }
.pline-item:hover { transform: translateY(-4px); border-top-color: var(--accent); box-shadow: var(--shadow-lg); }
.pline-thumb { height: 110px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pline-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pline-thumb svg { width: 46px; height: 46px; color: var(--accent); }
.pline-body { padding: 14px 16px; }
.pline-name { font-weight: 700; margin-bottom: 4px; color: var(--text); }
.pline-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { width: 46px; height: 46px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; border-radius: var(--radius); }
.contact-item h4 { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.contact-item p { font-size: 16px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--ink); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; font-family: inherit;
  background: #fff;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,128,40,.16); }
.form-msg { margin-top: 14px; font-size: 14px; }
.form-msg.ok { color: #15803d; }
.form-msg.err { color: #dc2626; }

/* ============ Footer ============ */
.footer { background: var(--bg-dark); color: #9db0c4; margin-top: 40px; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 44px; padding: 60px 28px 44px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-mark { width: 42px; height: 42px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; border-radius: var(--radius); }
.footer-mark.has-img { background: #fff; padding: 6px; border-radius: 6px; }
.footer-mark img { width: 40px; height: 40px; object-fit: contain; display: block; }
.footer-logo .footer-name { color: #fff; font-weight: 800; font-size: 18px; display: block; }
.footer-logo .footer-en { color: #6d829a; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }
.footer-title { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a, .footer-col p { display: block; color: #9db0c4; margin-bottom: 9px; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-slogan { font-size: 14px; opacity: .9; max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; color: #6d829a; }

/* ============ Empty / misc ============ */
.empty { text-align: center; color: var(--muted); padding: 60px 0; }
.ph { display: inline-flex; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(2n) { border-right: none; }
  .products-grid, .apps-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
}
@media (max-width: 680px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 12px; border-top: 3px solid var(--accent);
  }
  .nav.open { display: flex; }
  .burger { display: block; }
  .products-grid, .apps-grid, .news-grid, .highlights, .values-grid { grid-template-columns: 1fr; }
  .highlight { border-right: none; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .hero-inner { padding: 90px 28px 80px; }
  .footer-grid { grid-template-columns: 1fr; }
  .models-grid, .tests-grid { grid-template-columns: 1fr; }
  .pline-grid { grid-template-columns: repeat(2, 1fr); }
  .vm-grid { grid-template-columns: 1fr; }
}
