:root {
  --navy: #0f2c4d;
  --navy-deep: #08192c;
  --accent: #ff7a00;
  --accent-dark: #d96400;
  --ink: #1a2330;
  --muted: #5b6b7f;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(15, 44, 77, .08), 0 8px 24px rgba(15, 44, 77, .06);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  background: var(--navy-deep);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .3px;
}
.brand:hover { color: #fff; }
.brand span { color: var(--accent); }
.brand small {
  font-weight: 400;
  font-size: 12px;
  color: #9fb2c9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #d7e2ee;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav a.active { color: #fff; background: rgba(255, 122, 0, .18); }
.nav a.cta {
  background: var(--accent);
  color: #fff;
  margin-left: 10px;
  font-weight: 600;
}
.nav a.cta:hover { background: var(--accent-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #33465f;
  color: #fff;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 15px;
  cursor: pointer;
}

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #14395f 60%, #18507e 100%);
  color: #fff;
  padding: 76px 0 68px;
}
.hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.18;
  margin: 0 0 18px;
  font-weight: 700;
  max-width: 20ch;
}
.hero p.lede {
  font-size: 18px;
  color: #c9d9ea;
  max-width: 62ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .12s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  padding-top: 26px;
  max-width: 780px;
}
.hero-stats div strong {
  display: block;
  font-size: 26px;
  color: var(--accent);
  line-height: 1.2;
}
.hero-stats div span { font-size: 13px; color: #b3c6da; }

/* ---------- sections ---------- */
.section { padding: 68px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head h2 {
  font-size: clamp(24px, 3vw, 33px);
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.25;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

/* ---------- cards ---------- */
.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: #c9d6e4;
  transform: translateY(-2px);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.card h3 code {
  font-size: 12px;
  background: var(--bg-soft);
  color: var(--accent-dark);
  padding: 2px 7px;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.bullets { list-style: none; padding: 0; margin: 16px 0 0; }
.bullets li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 7px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- value props ---------- */
.values { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.value { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; }
.value h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.value p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- band ---------- */
.band {
  background: var(--navy);
  color: #fff;
  padding: 58px 0;
}
.band h2 { color: #fff; margin: 0 0 12px; font-size: clamp(22px, 2.6vw, 30px); }
.band p { color: #c3d4e6; max-width: 68ch; margin: 0 0 22px; }
.band .btn-primary { background: var(--accent); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 44px;
  align-items: start;
}
.split h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); margin: 0 0 14px; }
.split p { color: var(--muted); }
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 12px;
}
table.spec th, table.spec td {
  text-align: left;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}
table.spec th { color: var(--navy); background: var(--bg-soft); font-weight: 600; }
table.spec td { color: var(--muted); }

/* ---------- form ---------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  max-width: 660px;
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #cfdae6;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid rgba(255, 122, 0, .35);
  border-color: var(--accent);
}
.field textarea { min-height: 118px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 14px; font-size: 15px; display: none; }
.form-status.ok { color: #1a7f45; display: block; }
.form-status.err { color: #c0392b; display: block; }

/* ---------- product catalogue ---------- */
a.pcard { color: inherit; text-decoration: none; }
a.pcard:hover h3 { color: var(--accent); }
.psize { font-size: 15px; font-weight: 600; color: var(--navy); margin: 2px 0 0; }
.psize:empty { display: none; }
.pcard .quote-link { margin-top: auto; }

/* ---------- catalogue: 左侧分类 + 右侧列表 ---------- */
.catalog { padding: 44px 0 76px; }
.catalog-wrap { display: grid; grid-template-columns: 268px 1fr; gap: 36px; align-items: start; }

.cat-side { position: sticky; top: 86px; }
.cat-side-title {
  font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 12px; font-weight: 700;
}
.cat-nav {
  list-style: none; margin: 0; padding: 0; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.cat-nav li + li { border-top: 1px solid var(--border); }
.cat-link {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px;
  font-size: 14px; line-height: 1.35; color: #24405c; text-decoration: none;
}
.cat-link code {
  font-size: 12px; font-weight: 700; color: var(--navy);
  background: var(--bg-soft); border-radius: 5px; padding: 2px 5px;
}
.cat-link span { margin-left: auto; font-size: 12px; color: var(--muted); }
.cat-link span.zero { color: #9aa9b8; font-style: italic; font-size: 11px; }
.cat-link:hover { background: var(--bg-soft); }
.cat-link.is-on { background: var(--navy); color: #fff; }
.cat-link.is-on code { background: rgba(255,255,255,.15); color: #fff; }
.cat-link.is-on span { color: var(--accent); }
.cat-side-note { font-size: 13px; color: var(--muted); line-height: 1.6; margin: 16px 0 0; }
.cat-side-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.cat-side-note a:hover { text-decoration: underline; }

.cat-main { min-width: 0; }
.cat-toolbar { display: flex; align-items: baseline; margin-bottom: 18px; }
.cat-count { font-size: 14px; color: var(--muted); margin: 0; }
.cat-count b { color: var(--navy); }
.cat-count:empty, .pager:empty { display: none; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 34px; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 11px; cursor: pointer;
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 14px; color: #24405c;
}
.pager button:hover { border-color: var(--accent); }
.pager button.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button[disabled] { opacity: .4; cursor: default; }

.fam-sec.is-hidden, .pcard.is-hidden { display: none; }

/* ---------- product detail ---------- */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }
.crumb span { color: var(--navy); }
.p-detail { display: grid; grid-template-columns: 400px 1fr; gap: 34px; align-items: start; }
.p-detail__img {
  background: #f4f7fa;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.p-detail__img img { width: 100%; display: block; }
.p-detail__body h1 { margin: 4px 0 10px; font-size: 30px; }
.p-detail__body p { max-width: 66ch; }

.fam-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.fam-nav a {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #d6e3f0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  text-decoration: none;
}
.fam-nav a:hover { background: rgba(255, 122, 0, .18); color: #fff; }
.fam-nav a span { color: var(--accent); margin-left: 6px; font-size: 12px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 20px;
}
.pcard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.pcard:hover { box-shadow: 0 8px 26px rgba(15, 38, 62, .13); transform: translateY(-2px); }
.pimg {
  background: #f4f7fa;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 11px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pimg img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pimg-empty { color: #9aa9b8; font-size: 13px; }
.pcard h3 { margin: 0 0 6px; font-size: 15px; color: var(--navy); word-break: break-word; }
.psum { margin: 0 0 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
  color: #24405c;
}
.pmeta { margin: 0 0 10px; font-size: 12px; color: var(--muted); }
.quote-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.quote-link:hover { text-decoration: underline; }
.empty-note { color: var(--muted); font-size: 15px; max-width: 62ch; }
.fam-foot { margin-top: 22px; font-size: 14px; color: var(--muted); }
.fam-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.fam-foot a:hover { text-decoration: underline; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #9fb2c9;
  padding: 46px 0 30px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-grid h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 7px; }
.footer-grid a { color: #9fb2c9; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #1d3149;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
    border-bottom: 3px solid var(--accent);
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; }
  .nav a.cta { margin: 8px 0 0; text-align: center; }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .hero { padding: 54px 0 48px; }
  .section { padding: 48px 0; }
  .row-2 { grid-template-columns: 1fr; }
  .form-wrap { padding: 22px; }
  .p-detail { grid-template-columns: 1fr; gap: 22px; }
  .p-detail__body h1 { font-size: 25px; }
  .catalog-wrap { grid-template-columns: 1fr; gap: 20px; }
  .cat-side { position: static; }
  .cat-nav { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-nav li + li { border-top: 0; border-left: 1px solid var(--border); }
  .cat-link { white-space: nowrap; }
  .cat-side-note { display: none; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .footer-bottom { flex-direction: column; }
}
