/* ==========================================================================
   恒信科技（香港）有限公司  |  Hangxin Technology (HK) Limited
   Global stylesheet
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  --ink: #0a1a2f;
  --ink-2: #26384f;
  --muted: #667a91;
  --muted-2: #8a9aad;
  --line: #e4eaf1;
  --line-2: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-soft-2: #eef4fa;

  --brand: #0b4c8c;
  --brand-600: #0a5fb4;
  --brand-700: #083a6b;
  --accent: #00a8bf;
  --accent-2: #00c2a8;
  --amber: #e08a00;

  --grad: linear-gradient(135deg, #0b4c8c 0%, #0d6fb8 52%, #00a8bf 100%);
  --grad-soft: linear-gradient(135deg, #eef5fc 0%, #eaf7fb 100%);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;

  --shadow-xs: 0 1px 2px rgba(10, 26, 47, .05);
  --shadow-s: 0 2px 8px rgba(10, 26, 47, .06);
  --shadow: 0 4px 12px -2px rgba(10, 26, 47, .08), 0 12px 32px -12px rgba(10, 26, 47, .14);
  --shadow-l: 0 8px 24px -4px rgba(10, 26, 47, .12), 0 24px 60px -20px rgba(10, 26, 47, .22);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -.025em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }

p { margin: 0 0 1em; }
a { color: var(--brand-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button { font-family: inherit; }

::selection { background: rgba(0, 168, 191, .18); }

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 防止网格/弹性子项被内容撑破，避免窄屏横向溢出 */
.grid > *,
.process > *,
.stats > *,
.product-grid > *,
.hero__inner > *,
.hero__deck > *,
.split > *,
.contact-layout > *,
.footer__grid > *,
.pd > * { min-width: 0; }

.grid img, .hero__deck img, .product__media img, .pd__media img, .figure-card img { min-width: 0; }

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }
.section--grad { background: var(--grad-soft); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head--left { margin: 0 0 40px; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(11, 76, 140, .07);
  color: var(--brand);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section-head p { color: var(--muted); font-size: 1.03rem; margin-bottom: 0; }

.lead { font-size: 1.08rem; color: var(--muted); }
.text-center { text-align: center; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(11, 76, 140, .55);
}

.btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -8px rgba(11, 76, 140, .6);
}

.btn--ghost {
  background: #fff;
  color: var(--brand);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.btn--ghost:hover {
  color: var(--brand-700);
  border-color: rgba(11, 76, 140, .3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-s);
}

.btn--light {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
}

.btn--light:hover { background: rgba(255, 255, 255, .24); color: #fff; }

.btn--sm { padding: 9px 18px; font-size: .87rem; }
.btn--block { width: 100%; }

.btn--text {
  padding: 0;
  background: none;
  color: var(--brand-600);
  font-weight: 600;
}

.btn--text:hover { color: var(--accent); }

.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- 5. Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .78);
  font-size: .82rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.topbar__item { display: inline-flex; align-items: center; gap: 7px; color: inherit; }
.topbar__item svg { width: 14px; height: 14px; opacity: .7; }
.topbar__item:hover { color: #fff; }
.topbar__item strong { color: #fff; font-weight: 600; }

.topbar__right { display: flex; align-items: center; gap: 18px; }

/* ---------- 6. Language switch ---------- */
.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}

.topbar .lang { border: 1px solid rgba(255, 255, 255, .18); }

.lang button {
  padding: 4px 13px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.lang button.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

/* ---------- 7. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(10, 26, 47, .5);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -.03em;
  box-shadow: 0 6px 16px -8px rgba(11, 76, 140, .8);
}

.brand__name { display: block; font-size: 1.06rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.2; }
.brand__sub { display: block; font-size: .68rem; font-weight: 700; color: var(--brand); letter-spacing: .06em; text-transform: none; }

.nav { display: flex; align-items: center; gap: 4px; }

.nav__link {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 500;
  transition: color .18s ease, background .18s ease;
}

.nav__link:hover { color: var(--brand); background: var(--bg-soft); }

.nav__link.is-active { color: var(--brand); font-weight: 600; }

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions .lang { background: var(--bg-soft); border: 1px solid var(--line); }
.header__actions .lang button { color: var(--muted); }
.header__actions .lang button.is-active { background: var(--brand); color: #fff; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  place-items: center;
}

.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #061728 0%, #0a2f55 46%, #0b4c8c 100%);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/banner.jpg");
  background-size: cover;
  background-position: right center;
  opacity: .34;
  mix-blend-mode: luminosity;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(6, 23, 40, .96) 0%, rgba(8, 32, 58, .88) 42%, rgba(8, 32, 58, .35) 74%, rgba(10, 45, 80, .2) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 56px;
  padding: 92px 0 104px;
}

.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, #7fe3f0, #4ad2b4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text { max-width: 560px; color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin-bottom: 32px; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
}

.hero__badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #3ddc97;
  box-shadow: 0 0 0 4px rgba(61, 220, 151, .22);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.hero__stat b { display: block; font-size: 1.85rem; font-weight: 800; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.hero__stat b span { color: #6fdcf0; }
.hero__stat small { font-size: .8rem; color: rgba(255, 255, 255, .66); }

/* hero right: floating product cards */
.hero__visual { position: relative; }

.hero__card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius-l);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8);
}

.hero__deck { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

.hero__deck figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .7);
}

.hero__deck img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.hero__deck figure:hover img { transform: scale(1.06); }

.hero__float {
  position: absolute;
  left: -26px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-l);
}

.hero__float svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.hero__float b { display: block; font-size: .94rem; line-height: 1.25; }
.hero__float small { font-size: .74rem; color: var(--muted); }

.hero__ribbon {
  position: absolute;
  z-index: 4;
  top: -16px;
  right: -12px;
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(120deg, #00c2a8, #00a8bf);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0, 194, 168, .9);
}

/* ---------- 9. Trust strip ---------- */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line-2); padding: 26px 0; }

.trust__inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: center; }

.trust__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.trust__items { display: flex; flex-wrap: wrap; gap: 10px; }

.trust__item {
  padding: 7px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .03em;
  box-shadow: var(--shadow-xs);
}

/* ---------- 10. Cards ---------- */
.card {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(11, 76, 140, .18); }

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--brand);
  border: 1px solid rgba(11, 76, 140, .1);
}

.card__icon svg { width: 25px; height: 25px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .94rem; margin-bottom: 0; }

/* category cards */
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cat-card:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--shadow); }

.cat-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }

.cat-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 23, 40, .55), rgba(6, 23, 40, 0) 62%);
}

.cat-card__num {
  position: absolute;
  top: 16px; left: 18px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--brand);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.cat-card__body { padding: 24px 26px 26px; }
.cat-card__body h3 { margin-bottom: 8px; }
.cat-card__body p { color: var(--muted); font-size: .93rem; margin-bottom: 16px; }

.cat-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }

.cat-card__tags span {
  padding: 4px 11px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--ink-2);
  font-size: .77rem;
  font-weight: 500;
}

.cat-card__more { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-600); font-size: .88rem; font-weight: 600; }
.cat-card__more svg { width: 15px; height: 15px; transition: transform .2s ease; }
.cat-card:hover .cat-card__more svg { transform: translateX(4px); }

/* ---------- 11. Product grid ---------- */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter {
  padding: 9px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}

.filter:hover { border-color: rgba(11, 76, 140, .3); color: var(--brand); }

.filter.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(11, 76, 140, .9);
}

.search {
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  max-width: 340px;
}

.search svg {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted-2);
}

.search input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .92rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(0, 168, 191, .12); }
.search input::placeholder { color: var(--muted-2); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 26px;
}

.product {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-l); border-color: rgba(11, 76, 140, .2); }

.product__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: linear-gradient(150deg, #f7fafd, #eef3f9); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product:hover .product__media img { transform: scale(1.07); }

.product__cat {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--brand);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: var(--shadow-xs);
}

.product__model {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 3;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 26, 47, .72);
  color: #fff;
  font-family: var(--mono);
  font-size: .71rem;
  letter-spacing: .04em;
}

.product__quick {
  position: absolute;
  inset: auto 14px 14px;
  z-index: 3;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.product:hover .product__quick { opacity: 1; transform: translateY(0); }

.product__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.product__body h3 { font-size: 1.06rem; margin-bottom: 8px; }
.product__body p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }

.product__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }

.product__chips span {
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  font-size: .75rem;
  font-weight: 500;
}

.product__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.product__moq { font-size: .78rem; color: var(--muted-2); }
.product__moq b { display: block; color: var(--ink); font-size: .88rem; }

.product__actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s ease;
}

.icon-btn svg { width: 17px; height: 17px; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--bg-soft); }
.icon-btn.is-added { background: var(--brand); border-color: var(--brand); color: #fff; }

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 20px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  color: var(--muted);
}

/* ---------- 12. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }

.stat { padding: 34px 24px; background: #fff; text-align: center; }
.stat b { display: block; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--brand); letter-spacing: -.03em; line-height: 1.15; }
.stat b span { color: var(--accent); }
.stat small { display: block; margin-top: 6px; color: var(--muted); font-size: .87rem; }

/* ---------- 13. Split (about preview) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 60px; }
.split--reverse .split__media { order: 2; }

.split__media { position: relative; }

.split__media-main {
  overflow: hidden;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-l);
}

.split__media-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.split__badge {
  position: absolute;
  right: -22px;
  bottom: -22px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-l);
  text-align: center;
}

.split__badge b { display: block; font-size: 1.7rem; font-weight: 800; color: var(--brand); line-height: 1; }
.split__badge small { color: var(--muted); font-size: .8rem; }

.check-list { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 14px; }

.check-list li { position: relative; padding-left: 34px; color: var(--ink-2); font-size: .96rem; }

.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgba(0, 168, 191, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8bf' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.check-list li b { color: var(--ink); }

/* ---------- 14. Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; position: relative; }

.step {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  box-shadow: 0 8px 18px -10px rgba(11, 76, 140, .9);
}

.step h4 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; margin-bottom: 0; }

/* ---------- 15. Certifications ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }

.cert {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 26px 16px;
  border-radius: var(--radius-s);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease;
}

.cert:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }
.cert b { font-size: .96rem; color: var(--ink); letter-spacing: .01em; }
.cert small { color: var(--muted-2); font-size: .74rem; }

.cert__mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--brand);
  border: 1px solid rgba(11, 76, 140, .12);
}

.cert__mark svg { width: 23px; height: 23px; }

/* ---------- 16. CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding: 76px 0;
  background: linear-gradient(120deg, #061728, #0b4c8c 60%, #0d7fae);
  color: #fff;
}

.cta::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 194, 168, .35), transparent 68%);
}

.cta__inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .8); margin-bottom: 0; max-width: 560px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 17. Inner page hero ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 66px;
  background: linear-gradient(140deg, #061728, #0a3459 55%, #0b4c8c);
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -140px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 168, 191, .38), transparent 70%);
}

.page-hero__inner { position: relative; z-index: 2; max-width: 760px; }
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .8); margin-bottom: 0; font-size: 1.03rem; }

.crumbs { display: flex; align-items: center; gap: 9px; margin-bottom: 20px; font-size: .84rem; color: rgba(255, 255, 255, .62); }
.crumbs a { color: rgba(255, 255, 255, .82); }
.crumbs a:hover { color: #fff; }
.crumbs svg { width: 13px; height: 13px; opacity: .5; }

/* ---------- 18. Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 46px; align-items: start; }

.info-list { display: grid; gap: 16px; }

.info-item {
  display: flex;
  gap: 16px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-xs);
}

.info-item__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: 12px;
  background: var(--grad-soft);
  color: var(--brand);
}

.info-item__icon svg { width: 21px; height: 21px; }
.info-item h4 { margin-bottom: 4px; font-size: .98rem; }
.info-item p { margin: 0; color: var(--muted); font-size: .91rem; word-break: break-word; }
.info-item a { font-weight: 600; }

.form-card {
  padding: 38px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field label span { color: #d94a4a; }

.field input, .field select, .field textarea {
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  font-family: inherit;
  font-size: .93rem;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.field textarea { resize: vertical; min-height: 120px; }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 168, 191, .12);
}

.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }

.form-note { margin: 16px 0 0; font-size: .82rem; color: var(--muted); }

.form-alert {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-s);
  background: rgba(0, 194, 168, .1);
  border: 1px solid rgba(0, 194, 168, .35);
  color: #036b5c;
  font-size: .9rem;
}

.form-alert.is-visible { display: block; }

/* ---------- 19. FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }

.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq__item.is-open { border-color: rgba(11, 76, 140, .28); box-shadow: var(--shadow-s); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq__q svg { width: 19px; height: 19px; flex: none; color: var(--brand); transition: transform .25s ease; }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }

.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: .94rem; }
.faq__item.is-open .faq__a { max-height: 400px; }

/* ---------- 20. Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.modal.is-open { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 23, 40, .62);
  backdrop-filter: blur(4px);
  animation: fade .25s ease;
}

.modal__panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 960px;
  max-height: 88vh;
  overflow: auto;
  border-radius: var(--radius-l);
  background: #fff;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
  animation: pop .3s cubic-bezier(.2, .85, .3, 1);
}

@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.98); } }

.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .2s ease;
}

.modal__close:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.modal__close svg { width: 17px; height: 17px; }

.pd { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); }

.pd__media {
  display: grid;
  place-items: center;
  padding: 30px 26px;
  background: linear-gradient(150deg, #f7fafd, #eaf1f8);
  border-radius: var(--radius-l) 0 0 var(--radius-l);
}

.pd__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 18px 40px -22px rgba(10, 26, 47, .55);
}

.pd__body { padding: 38px 40px 40px; }
.pd__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }

.pd__meta .tag {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(11, 76, 140, .07);
  color: var(--brand);
  font-size: .76rem;
  font-weight: 700;
}

.pd__meta .tag--mono { background: var(--bg-soft); color: var(--muted); font-family: var(--mono); font-weight: 600; }
.pd h2 { font-size: 1.5rem; margin-bottom: 10px; }
.pd__desc { color: var(--muted); font-size: .95rem; }

.pd__block { margin-top: 24px; }

.pd__block h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand);
}

.pd__block h4::before { content: ""; width: 3px; height: 14px; border-radius: 2px; background: var(--accent); }

.spec-table { width: 100%; border-collapse: collapse; font-size: .89rem; }

.spec-table tr { border-bottom: 1px solid var(--line-2); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table th { width: 38%; padding: 10px 0; text-align: left; font-weight: 600; color: var(--muted); vertical-align: top; }
.spec-table td { padding: 10px 0; color: var(--ink); }

.pd__features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.pd__features li { position: relative; padding-left: 26px; font-size: .92rem; color: var(--ink-2); }

.pd__features li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a8bf' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/15px no-repeat;
}

.pd__trade { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }

.pd__trade div { padding: 14px 16px; border-radius: var(--radius-s); background: var(--bg-soft); border: 1px solid var(--line-2); }
.pd__trade small { display: block; font-size: .74rem; color: var(--muted-2); letter-spacing: .04em; }
.pd__trade b { font-size: .92rem; color: var(--ink); }

.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }

/* ---------- 21. Inquiry bar ---------- */
.inquiry-bar {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 22px;
  border-radius: 999px;
  background: rgba(10, 26, 47, .95);
  backdrop-filter: blur(12px);
  color: #fff;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .75);
  transform: translate(-50%, 130%);
  transition: transform .35s cubic-bezier(.2, .85, .3, 1);
}

.inquiry-bar.is-visible { transform: translate(-50%, 0); }

.inquiry-bar__text { font-size: .9rem; }
.inquiry-bar__text b { color: #6fdcf0; }

.inquiry-bar__thumbs { display: flex; }
.inquiry-bar__thumbs img {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, .85);
  margin-left: -12px;
  background: #fff;
}
.inquiry-bar__thumbs img:first-child { margin-left: 0; }

.inquiry-bar .btn--primary { box-shadow: none; }

/* ---------- 22. Footer ---------- */
.footer { background: #061728; color: rgba(255, 255, 255, .66); font-size: .9rem; padding: 66px 0 0; }
.footer h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: #fff; }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 42px; padding-bottom: 50px; }

.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; color: #fff; }
.footer__brand .brand__mark { box-shadow: none; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: rgba(255, 255, 255, .5); }

.footer__about p { font-size: .89rem; line-height: 1.75; margin-bottom: 18px; }

.footer__social { display: flex; gap: 10px; }

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .8);
  transition: all .2s ease;
}

.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer__links li a { display: inline-flex; align-items: center; gap: 8px; }

.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; }
.footer__contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .82rem;
  color: rgba(255, 255, 255, .48);
}

/* ---------- 22b. Timeline ---------- */
.timeline { position: relative; padding-left: 34px; }

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand), var(--accent));
  opacity: .22;
}

.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px rgba(11, 76, 140, .08);
}

.tl-item__year {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(0, 168, 191, .1);
  color: #027d8c;
  font-family: var(--mono);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.tl-item h4 { margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

/* ---------- 22c. Quote / mission block ---------- */
.quote-block {
  position: relative;
  padding: 30px 32px 30px 34px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid rgba(11, 76, 140, .12);
  border-left: 4px solid var(--accent);
}

.quote-block b { display: block; margin-bottom: 8px; color: var(--brand); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; }
.quote-block p { margin: 0; font-size: 1.06rem; color: var(--ink); font-weight: 500; line-height: 1.6; }

/* ---------- 22d. Media figure ---------- */
.figure-card { overflow: hidden; border-radius: var(--radius-l); box-shadow: var(--shadow-l); background: #fff; }
.figure-card img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }

/* ---------- 23. Reveal animation ---------- */
/* 默认可见；仅在 JS 可用时才启用入场动画，避免脚本异常导致内容不可见 */
.reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(22px); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 24. Responsive ---------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 46px; padding: 70px 0 80px; }
  .hero__visual { max-width: 520px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: grid; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 30px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform .32s cubic-bezier(.2, .85, .3, 1);
    visibility: hidden;
  }

  .nav.is-open { transform: translateY(0); visibility: visible; }

  .nav__link { padding: 14px 16px; border-radius: 12px; font-size: 1rem; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--bg-soft); }

  .header__actions .btn { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pd { grid-template-columns: minmax(0, 1fr); }
  .pd__media { border-radius: var(--radius-l) var(--radius-l) 0 0; padding: 26px; }
  .pd__body { padding: 30px 28px 32px; }
}

@media (max-width: 720px) {
  .section { padding: 62px 0; }
  .container { padding: 0 18px; }
  .topbar { font-size: .78rem; }
  .topbar__inner { min-height: 36px; }
  .topbar__list { gap: 14px; }
  .topbar__list .topbar__item--hide { display: none; }
  .topbar__item--email span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .header__actions .lang { display: none; }
  .brand__sub { display: none; }
  .hero__stats { gap: 26px; }
  .hero__stat b { font-size: 1.5rem; }
  .hero__float { left: 0; bottom: -18px; }
  .grid-2, .grid-3, .grid-4, .process { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 26px 22px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .modal { padding: 0; }
  .modal__panel { max-height: 100vh; height: 100%; border-radius: 0; }
  .pd__trade { grid-template-columns: minmax(0, 1fr); }
  .inquiry-bar { left: 12px; right: 12px; transform: translate(0, 130%); width: auto; padding: 12px 16px; gap: 12px; }
  .inquiry-bar.is-visible { transform: translate(0, 0); }
  .inquiry-bar__thumbs { display: none; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__badge { right: 0; bottom: -16px; padding: 16px 20px; }
}

@media print {
  .header, .topbar, .inquiry-bar, .cta { display: none; }
}
