/* =========================================================
   欧宜电气 (OuYi Electric) — B2B 互感器官网 UI 设计系统
   Accent: 藏青色 (Navy) · Clean · Fast · Responsive
   ========================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Navy accent scale (藏青色) */
  --navy-950: #0d1a2b;
  --navy-900: #12233c;
  --navy-800: #1b3458;
  --navy-700: #244670;
  --navy-600: #2f5b8f;
  --navy-500: #3d6ea8;
  --navy-300: #7d9bc0;
  --navy-100: #d8e2ee;

  /* Neutrals */
  --ink: #0d1a2b;        /* primary text */
  --slate: #45566b;      /* secondary text */
  --mute: #7c8898;       /* muted text */
  --line: #e4e9f0;       /* borders */
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-tint: #eaf0f7;

  /* Warm signal accent (used sparingly) */
  --brass: #c79a35;
  --brass-soft: #f3e8c9;

  /* Semantic */
  --success: #1f8a5b;
  --danger: #c0392b;

  /* Typography (Latin display + CJK system fallback for fast load) */
  --font-display: 'Archivo', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-body: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;

  /* Fluid type scale */
  --fs-xs: 0.75rem;    /* 12 */
  --fs-sm: 0.875rem;   /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-lg: 1.125rem;   /* 18 */
  --fs-xl: 1.375rem;   /* 22 */
  --fs-2xl: clamp(1.6rem, 3vw, 2rem);
  --fs-3xl: clamp(2rem, 4.5vw, 2.75rem);
  --fs-4xl: clamp(2.5rem, 6vw, 4rem);

  /* Spacing (4px base) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(13,26,43,.06), 0 1px 3px rgba(13,26,43,.05);
  --sh-2: 0 4px 14px rgba(13,26,43,.08);
  --sh-3: 0 12px 32px rgba(13,26,43,.12);

  /* Layout */
  --maxw: 1200px;
  --nav-h: 68px;

  --ease: cubic-bezier(.2,.7,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: var(--fs-base);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 700; color: var(--navy-900); letter-spacing: -.01em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s-5); }
.section { padding-block: var(--s-8); }
.section--tight { padding-block: var(--s-7); }
.section--soft { background: var(--bg-soft); }
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy h1,
.section--navy h2,
.section--navy h3 { color: #fff; }

.grid { display: grid; gap: var(--s-5); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding-block: var(--s-7); }
  .container { padding-inline: var(--s-4); }
}

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-family: var(--font-display);
  font-size: var(--fs-sm); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--navy-600);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brass); border-radius: 2px; }
.section--navy .eyebrow { color: var(--navy-300); }
.section-title { font-size: var(--fs-3xl); margin-top: var(--s-3); max-width: 18ch; }
.section-lead { color: var(--slate); margin-top: var(--s-3); max-width: 56ch; font-size: var(--fs-lg); }
.section--navy .section-lead { color: var(--navy-100); }
.head-center { text-align: center; }
.head-center .section-title, .head-center .section-lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base);
  padding: 13px 22px; border-radius: var(--r-md); border: 1px solid transparent;
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--navy-500); outline-offset: 2px; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--navy-800); color: #fff; }
.btn--primary:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--accent { background: var(--brass); color: var(--navy-950); }
.btn--accent:hover { background: #b98b27; transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--ghost { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-400, #5b7aa3); background: var(--bg-soft); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--bg-soft); transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--lg { padding: 16px 28px; font-size: var(--fs-lg); }
.btn--sm { padding: 9px 16px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--fs-xs); font-weight: 600; font-family: var(--font-display);
  padding: 4px 10px; border-radius: var(--r-pill);
  background: var(--navy-100); color: var(--navy-800);
}
.badge--brass { background: var(--brass-soft); color: #7a5c10; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--s-5);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--navy-100); }
.card--link { display: flex; flex-direction: column; height: 100%; }

/* product / category card */
.cat-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--navy-100); }
.cat-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-700);
}
.cat-card__icon svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: var(--fs-xl); }
.cat-card p { color: var(--slate); font-size: var(--fs-sm); }
.cat-card__more { margin-top: auto; color: var(--navy-700); font-weight: 600; font-family: var(--font-display); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: 6px; }
.cat-card__more svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.cat-card:hover .cat-card__more svg { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: var(--s-5); }
.brand { display: inline-flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy-900); letter-spacing: .02em; }
.brand__mark { width: 34px; height: 34px; border-radius: 8px; background: var(--navy-800); display: grid; place-items: center; color: #fff; }
.brand__mark svg { width: 20px; height: 20px; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .62rem; letter-spacing: .18em; color: var(--mute); text-transform: uppercase; }
/* 图片 LOGO（透明 PNG：页眉浅底用 logo.png，页脚深底用 logo-white.png） */
.brand--logo { gap: 0; align-items: flex-end; }
.brand__logo { display: block; height: 40px; width: auto; }
.brand__cn {
  display: inline-flex; align-items: flex-end;
  margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(18,35,60,.22);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  line-height: 1; letter-spacing: .06em; white-space: nowrap; color: inherit;
}
.footer__brand .brand__logo { height: 44px; }
.footer__brand .brand__cn { border-left: none; margin-left: 0; padding-left: 0; font-size: 1.3rem; }
@media (max-width: 900px) { .brand__cn { font-size: 1.2rem; margin-left: 9px; padding-left: 9px; } }
@media (max-width: 600px) {
  .brand__logo { height: 27px; }
  .brand__cn { font-size: .9rem; margin-left: 7px; padding-left: 7px; }
  .nav { gap: 8px; }
  .nav__cta { gap: 8px; }
  .nav__cta .btn { padding: 8px 11px; font-size: var(--fs-sm); }
}
@media (max-width: 380px) {
  .brand__logo { height: 24px; }
  .brand__cn { font-size: .8rem; margin-left: 6px; padding-left: 6px; }
}

.nav__links { display: flex; align-items: center; gap: var(--s-2); }
.nav__links a {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  color: var(--slate); padding: 8px 12px; border-radius: var(--r-sm); transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--navy-800); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--navy-800); }
.nav__cta { display: flex; align-items: center; gap: var(--s-3); }
.nav__toggle { display: none; background: transparent; border: 1px solid var(--line); border-radius: var(--r-sm); width: 42px; height: 42px; color: var(--navy-800); }

@media (max-width: 880px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__toggle svg { width: 22px; height: 22px; }
  .nav__links, .nav__cta .btn:not(.btn--primary) { display: none; }
  .nav__links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: var(--s-3);
    box-shadow: var(--sh-2);
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 12px; border-radius: 0; border-bottom: 1px solid var(--line-soft); }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: var(--s-9) var(--s-8); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-7); align-items: center; }
.hero__title { font-size: var(--fs-4xl); }
.hero__sub { color: var(--slate); font-size: var(--fs-lg); margin-top: var(--s-4); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--s-5); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.hero__meta div { display: flex; flex-direction: column; }
.hero__meta b { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--navy-800); }
.hero__meta span { font-size: var(--fs-sm); color: var(--mute); }
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; margin-inline: auto; }
  .hero { padding-block: var(--s-7) var(--s-7); }
}

/* trust strip */
.trust { background: var(--navy-900); color: #fff; }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-7); padding-block: var(--s-5); }
.trust__item { display: flex; align-items: center; gap: var(--s-3); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--navy-100); }
.trust__item svg { width: 22px; height: 22px; color: var(--brass); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-5); }
@media (max-width: 700px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat { text-align: center; padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem,4vw,2.6rem); color: var(--navy-800); line-height: 1; }
.stat span { color: var(--mute); font-size: var(--fs-sm); }

/* ---------- Feature / capability ---------- */
.feature { display: flex; gap: var(--s-4); }
.feature__icon { flex: none; width: 46px; height: 46px; border-radius: var(--r-md); background: var(--bg-tint); color: var(--navy-700); display: grid; place-items: center; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: var(--fs-lg); }
.feature p { color: var(--slate); font-size: var(--fs-sm); margin-top: 4px; }

/* ---------- Resource / article cards ---------- */
.res-card { display: flex; flex-direction: column; gap: var(--s-3); }
.res-card__tag { align-self: flex-start; }
.res-card h3 { font-size: var(--fs-lg); }
.res-card p { color: var(--slate); font-size: var(--fs-sm); }
.res-card__meta { font-size: var(--fs-xs); color: var(--mute); display: flex; gap: var(--s-3); margin-top: auto; }
.res-card--feature { grid-column: span 2; background: var(--navy-900); color: #fff; border: none; padding: var(--s-6); }
.res-card--feature h3 { color: #fff; font-size: var(--fs-2xl); }
.res-card--feature p { color: var(--navy-100); }
.res-card--feature .res-card__meta { color: var(--navy-300); }
@media (max-width: 900px){ .res-card--feature { grid-column: span 2; } }
@media (max-width: 600px){ .res-card--feature { grid-column: span 1; } }

/* ---------- Filter chips ---------- */
.filters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-6); }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm);
  padding: 8px 16px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg); color: var(--slate); transition: all .15s var(--ease);
}
.chip:hover { border-color: var(--navy-300); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Product list ---------- */
.product { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.product__media { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--bg-tint), #fff); display: grid; place-items: center; border-bottom: 1px solid var(--line); color: var(--navy-300); }
.product__media svg { width: 64px; height: 64px; }
.product__body { padding: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); flex: 1; }
.product__body h3 { font-size: var(--fs-lg); }
.product__body p { color: var(--slate); font-size: var(--fs-sm); }
.product__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line-soft); }
.product__sku { font-size: var(--fs-xs); color: var(--mute); font-family: var(--font-display); letter-spacing: .04em; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--navy-900); }
.field .hint { font-size: var(--fs-xs); color: var(--mute); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-500); box-shadow: 0 0 0 3px rgba(61,110,168,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--danger); }
.field__err { font-size: var(--fs-xs); color: var(--danger); display: none; }
.field--error .field__err { display: block; }
@media (max-width: 600px){ .form-grid { grid-template-columns: 1fr; } }

.form-success {
  display: none; align-items: center; gap: var(--s-3);
  background: #eaf6ef; border: 1px solid #bfe3cd; color: #1c6b46;
  padding: var(--s-4); border-radius: var(--r-md); margin-bottom: var(--s-5);
}
.form-success.is-visible { display: flex; }
.form-success svg { width: 22px; height: 22px; flex: none; }

/* ---------- Contact info list ---------- */
.contact-list { display: flex; flex-direction: column; gap: var(--s-4); }
.contact-list li { display: flex; gap: var(--s-3); align-items: flex-start; }
.contact-list .ico { flex: none; width: 40px; height: 40px; border-radius: var(--r-md); background: var(--bg-tint); color: var(--navy-700); display: grid; place-items: center; }
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list b { font-family: var(--font-display); color: var(--navy-900); display: block; font-size: var(--fs-sm); }
.contact-list span { color: var(--slate); font-size: var(--fs-sm); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: var(--s-4) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-lg); color: var(--navy-900); }
.faq__q .plus { flex: none; width: 24px; height: 24px; color: var(--navy-600); transition: transform .2s var(--ease); }
.faq__item.is-open .faq__q .plus { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .25s var(--ease); }
.faq__a p { color: var(--slate); padding-bottom: var(--s-4); max-width: 70ch; }

/* ---------- Breadcrumb ---------- */
.crumbs { display: flex; gap: var(--s-2); align-items: center; font-size: var(--fs-sm); color: var(--mute); padding-block: var(--s-4); }
.crumbs a:hover { color: var(--navy-700); }
.crumbs span { color: var(--line); }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: var(--navy-900); color: #fff; padding-block: var(--s-8) var(--s-7); }
.page-hero h1 { color: #fff; font-size: var(--fs-3xl); }
.page-hero p { color: var(--navy-100); margin-top: var(--s-3); max-width: 60ch; font-size: var(--fs-lg); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--navy-100); padding-block: var(--s-8) var(--s-5); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); }
@media (max-width: 800px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px){ .footer__grid { grid-template-columns: 1fr; } }
/* 页脚品牌区：改为 LOGO 在上、品牌名在下的纵向堆叠，避免横向过宽 */
.footer__brand .brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-2); color: #fff; margin-bottom: var(--s-3); }
.footer__brand p { color: var(--navy-300); font-size: var(--fs-sm); max-width: 34ch; }
.footer__col h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s-3); }
.footer__col a { display: block; color: var(--navy-300); font-size: var(--fs-sm); padding: 6px 0; transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { margin-top: var(--s-7); padding-top: var(--s-4); border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-xs); color: var(--navy-300); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-2 { margin-top: var(--s-4); }
.mt-4 { margin-top: var(--s-6); }
.mt-6 { margin-top: var(--s-7); }
.flex { display: flex; }
.gap-2 { gap: var(--s-2); }
.gap-3 { gap: var(--s-3); }
.gap-4 { gap: var(--s-4); }
.wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.lead { font-size: var(--fs-lg); color: var(--slate); }
.maxw-prose { max-width: 70ch; }
.mx-auto { margin-inline: auto; }
.visually-hidden { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* =========================================================
   Hero — 工业级背景大图（深色沉浸式）
   ========================================================= */
.hero {
  color: #fff;
  background: var(--navy-950);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/hero-bg.jpg") center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(13,26,43,.95) 0%, rgba(13,26,43,.82) 36%, rgba(13,26,43,.38) 72%, rgba(13,26,43,.60) 100%),
    linear-gradient(180deg, rgba(13,26,43,.35) 0%, rgba(13,26,43,.05) 45%, rgba(13,26,43,.88) 100%);
}
.hero__title { color: #fff; }
.hero__sub { color: var(--navy-100); }
.hero__meta { border-top-color: rgba(255,255,255,.16); }
.hero__meta b { color: #fff; }
.hero__meta span { color: var(--navy-300); }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* 主推产品卡片 */
.hero__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  align-items: end;
}
.hero__product {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(0,0,0,.65);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.hero__product:hover { transform: translateY(-4px); box-shadow: 0 40px 72px -32px rgba(0,0,0,.7); }
.hero__product img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}
.hero__product-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--s-3) var(--s-4);
  background: var(--navy-900);
  color: #fff;
}
.hero__product-name b {
  font-family: var(--font-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .02em;
}
.hero__product-name small { color: var(--navy-300); font-size: var(--fs-xs); }

@media (max-width: 880px) {
  .hero__art { max-width: 560px; width: 100%; }
}
@media (max-width: 600px) {
  .hero__products { gap: var(--s-3); }
}

/* =========================================================
   品类落地页（SEO / GEO 富内容页）
   ========================================================= */
.ld-hero {
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(61,110,168,.35), transparent 60%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: #fff;
  padding: var(--s-5) 0 var(--s-8);
}
.ld-crumbs { color: var(--navy-300); }
.ld-crumbs a { color: var(--navy-300); }
.ld-crumbs a:hover { color: #fff; }
.ld-crumbs b { color: #fff; font-weight: 600; }
.ld-title { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.15; margin-top: var(--s-4); max-width: 24ch; }
.ld-lead { color: var(--navy-100); font-size: var(--fs-lg); margin-top: var(--s-4); max-width: 70ch; }
.ld-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.ld-hero .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.ld-chips { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.ld-chips span {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: var(--fs-sm);
  color: var(--navy-100);
  white-space: nowrap;
}
.ld-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.ld-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: var(--s-7);
  align-items: start;
  padding-block: var(--s-7) var(--s-8);
}
.ld-prose { max-width: 78ch; }
.ld-prose h2 {
  font-size: 1.55rem;
  font-family: var(--font-display);
  color: var(--navy-900);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 96px;
}
.ld-prose h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.ld-prose h3 { font-size: 1.12rem; font-family: var(--font-display); color: var(--navy-800); margin-top: var(--s-5); }
.ld-prose p { color: var(--slate); margin-top: var(--s-4); line-height: 1.85; }
.ld-prose p strong, .ld-prose li strong { color: var(--ink); }
.ld-prose ul, .ld-prose ol { color: var(--slate); margin-top: var(--s-4); padding-left: 1.3em; display: grid; gap: var(--s-2); line-height: 1.8; }
.ld-prose .keypoint {
  background: var(--bg-tint);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s-4) var(--s-5);
  margin-top: var(--s-5);
  color: var(--ink);
}
.ld-prose .keypoint p { margin: 0; color: var(--ink); }

.table-wrap { overflow-x: auto; margin-top: var(--s-4); }
.spec-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.spec-table th, .spec-table td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.spec-table thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.spec-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.spec-table td b { color: var(--navy-800); }

.ld-aside { position: sticky; top: 96px; display: grid; gap: var(--s-4); }
.ld-aside .card h3 { font-family: var(--font-display); font-size: var(--fs-base); color: var(--navy-900); }
.ld-toc ul { list-style: none; padding: 0; margin-top: var(--s-3); display: grid; gap: var(--s-2); font-size: var(--fs-sm); }
.ld-toc a { color: var(--slate); }
.ld-toc a:hover { color: var(--navy-700); }
.ld-cta-card { background: var(--navy-900); color: #fff; border: none; }
.ld-cta-card p { color: var(--navy-100); font-size: var(--fs-sm); margin-top: var(--s-3); }
.ld-cta-card .btn { width: 100%; justify-content: center; margin-top: var(--s-3); }
.ld-cta-card a[href^="tel"] { display: block; color: var(--navy-100); font-size: var(--fs-sm); margin-top: var(--s-3); }
.ld-cta-card a[href^="tel"]:hover { color: #fff; }

.ld-links { background: var(--bg-soft); }
.ld-links .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.ld-links .cat-card { height: 100%; }

@media (max-width: 980px) {
  .ld-layout { grid-template-columns: 1fr; }
  .ld-aside { position: static; order: -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ld-aside { grid-template-columns: 1fr; }
  .ld-links .grid { grid-template-columns: 1fr; }
}

/* ---------- Nav dropdown (产品中心 → 品类落地页) ---------- */
.nav__drop { position: relative; }
.nav__drop > a { display: inline-flex; align-items: center; gap: 5px; }
.nav__drop > a svg { width: 14px; height: 14px; transition: transform .2s ease; }
.nav__menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 218px;
  display: none; flex-direction: column; gap: 2px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-3); padding: 8px; z-index: 60;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { display: flex; }
/* 桥接触发区与下拉面板之间的 8px 空白：透明层铺满空隙，使鼠标下移全程处于 .nav__drop 悬停区，避免下拉收回 */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__drop:hover > a svg { transform: rotate(180deg); }
.nav__menu a { padding: 9px 12px; border-radius: var(--r-sm); }
.nav__menu a:hover { background: var(--bg-soft); }
.nav__links .nav__menu-all { color: var(--navy-800); font-weight: 700; }
.nav__menu-sep { height: 1px; background: var(--line-soft); margin: 6px 4px; }

@media (max-width: 880px) {
  .nav__menu { display: flex; position: static; min-width: 0; padding: 0; border: 0; box-shadow: none; background: transparent; }
  .nav__menu a { padding: 13px 12px 13px 30px; border-bottom: 1px solid var(--line-soft); }
  .nav__menu-sep { display: none; }
}
