:root {
  --bg: #f6f8fb;
  --ink: #111827;
  --muted: #5f6b7a;
  --line: #d8e0ea;
  --blue: #1e4e8c;
  --blue-dark: #12345f;
  --orange: #f97316;
  --graphite: #27313f;
  --soft: #eaf2fb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(216, 224, 234, 0.82);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #2b79c2);
  color: #fff;
  font-weight: 800;
}
.brand strong, .brand small { display: block; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.nav-links { display: flex; gap: clamp(14px, 2vw, 30px); color: var(--graphite); font-size: 14px; font-weight: 700; }
.nav-links a { padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { border-color: var(--orange); color: var(--blue-dark); }

.header-cta, .primary-button, .secondary-button, .product-footer a, .inquiry-form button, .text-link, .secondary-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 6px;
  font-weight: 800;
}
.header-cta, .primary-button, .inquiry-form button {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
}
.header-cta { min-width: 104px; padding: 0 16px; font-size: 14px; }
.primary-button, .secondary-button, .secondary-light { padding: 0 22px; }
.secondary-button { border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12); color: #fff; }
.secondary-light { border: 1px solid var(--line); color: var(--blue); background: #fff; }
.text-link { color: var(--blue); }

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 36px));
  padding: clamp(72px, 11vh, 116px) clamp(20px, 6vw, 86px) 92px;
  overflow: hidden;
  isolation: isolate;
}
.hero img, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero img { object-fit: cover; object-position: center; z-index: -2; }
.hero::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(9,31,57,.92), rgba(16,50,86,.76) 38%, rgba(13,40,70,.23) 72%, rgba(255,255,255,.05));
  content: "";
}
.hero-content { width: min(760px, 100%); align-self: center; color: #fff; }
.eyebrow { margin: 0 0 14px; color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.hero h1 { margin: 0; color: #fff; font-size: clamp(38px, 7vw, 76px); font-weight: 900; line-height: 1.12; }
.hero-copy { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,.88); font-size: clamp(16px, 2vw, 20px); line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin: 42px 0 0; }
.stats div { min-height: 110px; padding: 18px; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; background: rgba(255,255,255,.1); backdrop-filter: blur(18px); }
.stats dt { font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1; }
.stats dd { margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: 14px; }

.section, .page-hero, .detail-page { padding: clamp(64px, 9vw, 112px) clamp(20px, 6vw, 86px); }
.page-hero { background: linear-gradient(130deg, #fff, var(--soft)); }
.page-hero h1, h2 { margin: 0; color: var(--ink); font-size: clamp(30px, 4vw, 50px); font-weight: 900; line-height: 1.12; }
.page-hero p, p { color: var(--muted); line-height: 1.78; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.section-heading.row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.intro-band, .about-section, .faq-section { background: #fff; }
.capability-grid, .product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.capability, .product-card, .article-list article, .quote-panel, .faq-list details, .inquiry-form, .spec-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.07);
}
.capability { min-height: 220px; padding: 24px; }
.capability span { display: block; width: 38px; height: 4px; margin-bottom: 26px; border-radius: 999px; background: var(--orange); }
h3 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.25; }

.segment-control { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.segment-control a, .segment-control button { min-height: 42px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--graphite); cursor: pointer; }
.segment-control .active, .segment-control button.active { border-color: var(--blue); background: var(--blue); color: #fff; }
.product-card { display: flex; min-height: 480px; flex-direction: column; padding: 24px; }
.card-image { display: block; margin: -24px -24px 20px; overflow: hidden; border-radius: 7px 7px 0 0; background: var(--soft); }
.card-image img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; transition: transform .3s ease; }
.card-image:hover img { transform: scale(1.03); }
.product-topline, .product-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-topline span { color: var(--blue); font-size: 13px; font-weight: 900; }
.product-topline strong { color: var(--orange); font-size: 13px; }
.product-card h3 { margin-top: 22px; }
.product-card ul { display: grid; gap: 10px; margin: 18px 0 24px; padding: 0; list-style: none; }
.product-card li { position: relative; padding-left: 18px; color: var(--graphite); font-size: 14px; line-height: 1.55; }
.product-card li::before { position: absolute; top: 10px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); content: ""; }
.product-footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.product-footer small { max-width: 62%; color: var(--muted); line-height: 1.45; }
.product-footer a { min-height: 40px; color: var(--blue); font-size: 14px; }

.split-section { display: grid; grid-template-columns: minmax(0,.9fr) minmax(320px,1.1fr); gap: clamp(28px,6vw,86px); background: var(--graphite); }
.split-section h2, .split-section p { color: #fff; }
.split-section p { max-width: 610px; color: rgba(255,255,255,.74); }
.process-list { display: grid; gap: 12px; }
.process-item { display: grid; grid-template-columns: 70px minmax(0,1fr); align-items: center; min-height: 78px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; }
.process-item span { color: var(--orange); text-align: center; font-weight: 900; }
.process-item strong { font-size: 20px; }

.about-section, .contact-section, .detail-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr); gap: 28px; align-items: start; }
.credential-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.credential-list span { padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); color: var(--blue-dark); font-size: 13px; font-weight: 800; }
.quote-panel { padding: clamp(26px,4vw,42px); background: linear-gradient(135deg, rgba(30,78,140,.95), rgba(18,52,95,.98)); color: #fff; }
.quote-panel strong { color: #fff; font-size: 22px; }
.quote-panel p { color: rgba(255,255,255,.82); font-size: 18px; }

.knowledge-section { background: #f7f9fc; }
.article-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.article-list article { min-height: 220px; padding: 24px; }
.article-list span { color: var(--orange); font-size: 13px; font-weight: 900; }
.article-list h3 { margin-top: 16px; }
.pagination { margin-top: 28px; color: var(--blue); font-weight: 800; }

.detail-head { max-width: 900px; margin-bottom: 36px; }
.detail-head h1 { margin: 0; font-size: clamp(34px, 5vw, 58px); line-height: 1.1; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.detail-content { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px,4vw,46px); line-height: 1.9; }
.detail-content h2, .detail-content h3 { margin-top: 28px; }
.detail-cover { width: 100%; max-height: 440px; margin: 0 0 28px; border-radius: 6px; object-fit: cover; }
.credential-visual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.credential-visual-grid figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.credential-visual-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.credential-visual-grid.credentials img { aspect-ratio: 4 / 5; object-fit: contain; background: #f7f9fc; }
.credential-visual-grid.purpose { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.credential-visual-grid.purpose img { aspect-ratio: 16 / 9; object-fit: cover; background: #0f172a; }
.credential-visual-grid figcaption { padding: 12px 14px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.detail-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.detail-content th, .detail-content td { border: 1px solid var(--line); padding: 12px; text-align: left; }
.spec-panel { padding: 24px; position: sticky; top: 96px; }
.spec-panel h2 { font-size: 24px; }
.spec-panel dl { display: grid; gap: 16px; }
.spec-panel dt { color: var(--blue); font-weight: 900; }
.spec-panel dd { margin: 6px 0 0; color: var(--muted); line-height: 1.6; }
.article-meta { color: var(--muted); margin-top: 16px; }

.contact-section { padding: clamp(64px,9vw,112px) clamp(20px,6vw,86px); background: linear-gradient(130deg, rgba(255,255,255,.92), rgba(234,242,251,.94)); }
.contact-section.compact { padding-top: 64px; }
.contact-methods { display: grid; gap: 14px; margin-top: 28px; }
.contact-methods a, .contact-methods span { display: block; padding: 16px; border-left: 4px solid var(--orange); background: #fff; color: var(--graphite); line-height: 1.55; box-shadow: 0 14px 38px rgba(15,23,42,.07); }
.contact-methods a { color: var(--blue); font-weight: 900; }
.inquiry-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: clamp(20px,3vw,34px); }
.inquiry-form label { display: grid; gap: 8px; color: var(--graphite); font-size: 13px; font-weight: 900; }
.inquiry-form .wide, .inquiry-form button { grid-column: 1 / -1; }
.inquiry-form input { min-height: 46px; padding: 0 12px; }
.inquiry-form textarea { padding: 12px; resize: vertical; }
.inquiry-form input, .inquiry-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); outline: none; }
.inquiry-form button { min-height: 48px; border: 0; cursor: pointer; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(20px,6vw,86px); background: #111827; color: rgba(255,255,255,.72); }
footer strong { color: #fff; }

@media (max-width: 1100px) {
  .capability-grid, .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .article-list { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .stats, .capability-grid, .product-grid, .split-section, .about-section, .contact-section, .inquiry-form, .detail-grid { grid-template-columns: 1fr; }
  .credential-visual-grid, .credential-visual-grid.purpose { grid-template-columns: 1fr; }
  .section-heading.row { align-items: start; flex-direction: column; }
  .product-card { min-height: auto; }
  .hero::after { background: linear-gradient(180deg, rgba(9,31,57,.92), rgba(9,31,57,.72)); }
  .spec-panel { position: static; }
}
@media (max-width: 560px) {
  .brand { min-width: 0; }
  .header-cta { min-width: 94px; }
  .hero h1 { font-size: 36px; }
  .stats div, .capability, .product-card, .article-list article, .quote-panel, .inquiry-form, .detail-content { padding: 20px; }
  .product-footer { align-items: start; flex-direction: column; }
  .product-footer small { max-width: none; }
}
