/* ==========================================================================
   毅进生物官网 设计系统 V4 —— 「深海国际蓝 × 极简商务科技风」
   深海国际蓝 #0F4C81 · 浅青绿 #4ECDC4 · 大量留白 · 细线DNA底纹
   ========================================================================== */
:root {
  /* 主色系：深海国际蓝 → 深海军蓝 → 浅青绿点缀 */
  --ink-900: #0a2540;
  --ink-800: #0d2d4f;
  --ink-700: #12355B;
  --primary: #0F4C81;
  --primary-600: #0c3d6a;
  --primary-300: #4a7ba8;
  --accent: #4ECDC4;
  --cyan: #4ECDC4;
  --teal: #3dbab2;
  /* 文字 */
  --text: #1a1a2e;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  /* 线条与底 */
  --line: #e2e8f0;
  --line-2: #edf2f8;
  --bg-soft: #f7f9fc;
  --bg-ice: #E8F1F8;
  /* 渐变 */
  --grad-primary: linear-gradient(135deg, #0F4C81 0%, #165a9a 60%, #1e6db0 100%);
  --grad-accent: linear-gradient(90deg, var(--accent), var(--teal));
  --grad-deep: linear-gradient(150deg, #0a2540 0%, #0F4C81 50%, #12355B 100%);
  /* 形态 */
  --radius: 10px;
  --radius-lg: 12px;
  --shadow-sm: 0 2px 12px rgba(15, 76, 129, .06);
  --shadow-md: 0 4px 16px rgba(15, 76, 129, .08), 0 12px 32px rgba(15, 76, 129, .06);
  --shadow-lg: 0 8px 24px rgba(15, 76, 129, .10), 0 24px 56px rgba(15, 76, 129, .12);
  --glow-accent: 0 0 0 1px rgba(78, 205, 196, .35), 0 8px 30px rgba(78, 205, 196, .15);
  --ease: cubic-bezier(.22, .61, .21, 1);
  --container: 1280px;
  --header-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text); line-height: 1.7; background: #fff;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
::selection { background: rgba(78, 205, 196, .25); }

/* 细滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c3d2e2; border-radius: 5px; border: 2px solid #fff; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-300); }

/* ---------- 页面切换淡入淡出 ---------- */
html.js body { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
html.js body.page-ready { opacity: 1; transform: none; }
html.js body.page-leave { opacity: 0; transition: opacity .16s ease; }

/* ---------- 滚动显现 ---------- */
html.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rv-d, 0s); will-change: opacity, transform; }
html.js .rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js body, html.js .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- 科技网格底纹（兼容旧 .dna-bg，极淡3%透明度） ---------- */
.dna-bg { position: relative; }
.dna-bg::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: .3;
  background-image:
    radial-gradient(circle, rgba(15, 76, 129, .06) 1px, transparent 1px),
    radial-gradient(circle, rgba(78, 205, 196, .04) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px;
  background-position: 0 0, 14px 14px;
}
.dna-bg > * { position: relative; z-index: 1; }

/* ==========================================================================
   按钮
   ========================================================================== */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 32px; border-radius: 8px;
  border: 1px solid transparent; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .3s var(--ease); font-family: inherit; letter-spacing: .8px;
}
/* 扫光 */
.btn-primary::after, .btn-ghost::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .38) 50%, transparent 58%);
  transform: translateX(-130%); transition: transform .65s var(--ease);
}
.btn-primary:hover::after, .btn-ghost:hover::after { transform: translateX(130%); }

.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 20px rgba(15, 76, 129, .32); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(15, 76, 129, .42); }
.btn-primary:active { transform: translateY(0); }

.btn-outline { border-color: rgba(15, 76, 129, .45); color: var(--primary); background: transparent; }
.btn-outline:hover { border-color: var(--primary); background: rgba(15, 76, 129, .06); box-shadow: 0 6px 18px rgba(15, 76, 129, .14); transform: translateY(-2px); }

.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); box-shadow: var(--glow-accent); transform: translateY(-2px); }

.btn-lg { padding: 16px 44px; font-size: 15px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* ==========================================================================
   头部
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent; transition: all .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-2); box-shadow: 0 4px 24px rgba(10, 37, 64, .07); }
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 40px; }

.logo { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 12px; background: var(--grad-primary);
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 23px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(15, 76, 129, .3), inset 0 1px 0 rgba(255, 255, 255, .25); flex-shrink: 0;
  position: relative; overflow: hidden; transition: transform .3s var(--ease);
}
.logo-mark::after {
  content: ''; position: absolute; top: -60%; right: -30%; width: 70%; height: 160%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: rotate(20deg);
}
.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-img { border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.logo-text strong { font-size: 20px; color: var(--ink-800); font-weight: 700; letter-spacing: .5px; }
.logo-text small {
  font-size: 11px; letter-spacing: 3.5px; font-weight: 600; text-transform: uppercase;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.main-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.main-nav > a, .nav-dropdown > a {
  font-size: 15px; color: var(--text-2); padding: 8px 2px; position: relative; font-weight: 500; transition: color .25s;
}
.main-nav > a::after, .nav-dropdown > a::after {
  content: ''; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px; border-radius: 1px;
  background: var(--grad-accent); transition: left .3s var(--ease), right .3s var(--ease);
}
.main-nav > a:hover, .nav-dropdown:hover > a { color: var(--primary); }
.main-nav > a:hover::after, .nav-dropdown:hover > a::after { left: 0; right: 0; }
.main-nav > a.active, .nav-dropdown.active > a { color: var(--primary); font-weight: 600; }
.main-nav > a.active::after, .nav-dropdown.active > a::after { left: 0; right: 0; }

.nav-dropdown { position: relative; cursor: pointer; }
.nav-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(10px);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow-lg);
  min-width: 290px; padding: 8px; opacity: 0; visibility: hidden; transition: all .28s var(--ease); z-index: 10;
}
.dropdown-menu::before {
  content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-left: 1px solid var(--line-2); border-top: 1px solid var(--line-2);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-menu a {
  display: block; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; font-weight: 500;
  transition: all .2s; position: relative; overflow: hidden;
}
.dropdown-menu a::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 3px; height: 60%; border-radius: 2px; background: var(--grad-accent); transition: transform .25s var(--ease);
}
.dropdown-menu a small { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; font-weight: 400; }
.dropdown-menu a:hover { background: var(--bg-ice); color: var(--primary); padding-left: 22px; }
.dropdown-menu a:hover::before { transform: translateY(-50%) scaleY(1); }

.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switch {
  font-size: 12px; border: 1px solid var(--line); border-radius: 20px; padding: 6px 16px; color: var(--text-2);
  font-weight: 600; letter-spacing: 1px; transition: all .25s; background: #fff;
}
.lang-switch:hover { border-color: var(--cyan); color: var(--primary); box-shadow: var(--glow-accent); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink-800); border-radius: 1px; transition: all .3s; }

/* ==========================================================================
   Hero —— 深海科技
   ========================================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff; padding: 108px 0 120px;
  background: var(--grad-deep);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  object-fit: cover; object-position: center; pointer-events: none;
}
/* 视频暗色遮罩 */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, rgba(5, 28, 51, .78) 0%, rgba(5, 28, 51, .42) 45%, rgba(5, 28, 51, .16) 100%);
}
/* 底部辉光分界线 */
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--teal) 70%, transparent);
  opacity: .55;
}
.hero-inner { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } }
.hero-text { max-width: 720px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 24px; font-weight: 600;
  padding: 8px 18px; border: 1px solid rgba(78, 205, 196, .3); border-radius: 30px;
  background: rgba(78, 205, 196, .07); backdrop-filter: blur(4px);
}
.hero-eyebrow::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan); animation: pulse 1.8s infinite;
}
.hero-text h1 {
  font-size: 52px; line-height: 1.22; font-weight: 700; letter-spacing: -1px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.hero-sub { font-size: 17px; color: rgba(255, 255, 255, .72); margin: 26px 0 42px; line-height: 1.9; max-width: 580px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; }

/* Hero 统计数据 */
.hero-stats {
  display: flex; gap: 0; margin-top: 72px; padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.hero-stat { padding: 0 48px; border-left: 1px solid rgba(255, 255, 255, .1); }
.hero-stat:first-child { padding-left: 0; border-left: none; }
.hero-stat-num {
  font-size: 40px; font-weight: 700; color: #fff; line-height: 1.1;
  font-variant-numeric: tabular-nums; letter-spacing: -1px;
}
.hero-stat-num span {
  font-size: 20px; margin-left: 3px; font-weight: 600;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat-label { font-size: 13px; color: rgba(255, 255, 255, .55); margin-top: 8px; letter-spacing: 2px; }


/* ==========================================================================
   通用区块
   ========================================================================== */
.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.section-gray {
  background:
    radial-gradient(circle, rgba(15, 76, 129, .05) 1px, transparent 1px) 0 0 / 26px 26px,
    var(--bg-soft);
}
.section-ice { background: var(--bg-ice); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; gap: 24px; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--primary);
  font-weight: 700; margin-bottom: 14px;
}
.section-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--grad-accent); border-radius: 1px; flex-shrink: 0; }
.section-head h2 { font-size: 38px; color: var(--ink-800); font-weight: 700; letter-spacing: -.8px; line-height: 1.25; }
.section-head p { color: var(--text-2); margin-top: 12px; font-size: 16px; max-width: 640px; }

.more-link {
  color: var(--primary); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid var(--line); border-radius: 30px; transition: all .3s var(--ease); flex-shrink: 0;
}
.more-link:hover { border-color: var(--cyan); box-shadow: var(--glow-accent); gap: 13px; background: #fff; }
.sub-title { font-size: 22px; color: var(--ink-800); margin: 36px 0 20px; font-weight: 600; }

/* 内页横幅 */
.page-banner {
  position: relative; overflow: hidden; color: #fff; padding: 120px 0;
  background:
    radial-gradient(700px 360px at 88% -20%, rgba(78, 205, 196, .15), transparent 60%),
    var(--grad-deep);
}
.page-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 60% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 60% 30%, #000 20%, transparent 70%);
}
.page-banner::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 35%, var(--teal) 65%, transparent); opacity: .5;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: 38px; font-weight: 700; letter-spacing: -.5px; }
.page-banner p { color: rgba(255, 255, 255, .7); margin-top: 12px; font-size: 16px; max-width: 620px; font-weight: 300; }
.page-banner.service-page-banner {
  background: var(--ink-900);
}
.page-banner.service-page-banner .banner-bg-img {
  position: absolute; right: 0; top: 0; width: 75%; height: 100%; object-fit: cover;
  object-position: left center; z-index: 0; pointer-events: none;
}
.page-banner.service-page-banner .banner-shade {
  position: absolute; left: 0; top: 0; width: 36%; height: 100%; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 37, 64, .96) 0%, rgba(10, 37, 64, .72) 42%, rgba(10, 37, 64, .08) 100%);
}
.page-banner.service-page-banner .banner-content {
  position: absolute; left: 0; top: 50%; width: 25%; max-width: 25%;
  transform: translateY(-50%); z-index: 2; padding: 0 32px 0 4.2vw; box-sizing: border-box;
}
.page-banner.news-page-banner, .page-banner.contact-page-banner, .page-banner.about-page-banner, .page-banner.products-page-banner { background: var(--ink-900); }
.page-banner.news-page-banner .banner-bg-img, .page-banner.contact-page-banner .banner-bg-img, .page-banner.about-page-banner .banner-bg-img, .page-banner.products-page-banner .banner-bg-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; pointer-events: none;
}
.page-banner.news-page-banner .banner-shade, .page-banner.contact-page-banner .banner-shade, .page-banner.about-page-banner .banner-shade, .page-banner.products-page-banner .banner-shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 37, 64, .92) 0%, rgba(10, 37, 64, .55) 58%, rgba(10, 37, 64, .08) 100%);
}
.page-banner.news-page-banner .banner-content, .page-banner.contact-page-banner .banner-content, .page-banner.about-page-banner .banner-content, .page-banner.products-page-banner .banner-content { position: relative; z-index: 2; }
.breadcrumb { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: .5px; }
.breadcrumb a { color: rgba(255, 255, 255, .75); }
.breadcrumb a:hover { color: var(--cyan); }

/* ==========================================================================
   业务卡片 —— 科技切角
   ========================================================================== */
.line-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.line-card {
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 42px 34px; background: #fff;
  transition: all .4s var(--ease); position: relative; display: block; overflow: hidden;
}
/* hover 渐变描边 */
.line-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0;
  background: linear-gradient(135deg, var(--cyan), var(--primary) 55%, var(--teal));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .4s; pointer-events: none;
}
/* hover 四角科技切角 */
.line-card::after {
  content: ''; position: absolute; inset: 12px; opacity: 0; transition: opacity .4s; pointer-events: none;
  background:
    linear-gradient(var(--cyan), var(--cyan)) left top / 16px 2px,
    linear-gradient(var(--cyan), var(--cyan)) left top / 2px 16px,
    linear-gradient(var(--cyan), var(--cyan)) right top / 16px 2px,
    linear-gradient(var(--cyan), var(--cyan)) right top / 2px 16px,
    linear-gradient(var(--teal), var(--teal)) left bottom / 16px 2px,
    linear-gradient(var(--teal), var(--teal)) left bottom / 2px 16px,
    linear-gradient(var(--teal), var(--teal)) right bottom / 16px 2px,
    linear-gradient(var(--teal), var(--teal)) right bottom / 2px 16px;
  background-repeat: no-repeat;
}
.line-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-8px); border-color: transparent; }
.line-card:hover::before, .line-card:hover::after { opacity: 1; }

.line-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.line-no {
  font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -1px;
  color: transparent; -webkit-text-stroke: 1.2px rgba(15, 76, 129, .28); transition: all .4s;
}
.line-card:hover .line-no { -webkit-text-stroke-color: rgba(78, 205, 196, .7); }
.line-icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--bg-ice); display: flex;
  align-items: center; justify-content: center; transition: all .35s var(--ease); flex-shrink: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 76, 129, .08);
}
.line-card:hover .line-icon { background: var(--grad-primary); transform: rotate(-6deg) scale(1.06); box-shadow: 0 8px 20px rgba(15, 76, 129, .3); }
.line-icon svg { width: 28px; height: 28px; stroke: var(--primary); transition: stroke .3s; }
.line-card:hover .line-icon svg { stroke: #fff; }
.line-card h3 { font-size: 21px; color: var(--ink-800); margin: 0 0 6px; font-weight: 700; }
.line-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; margin-bottom: 14px; text-transform: uppercase;
  background: var(--grad-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.line-card p { font-size: 14px; color: var(--text-2); line-height: 1.85; }
.line-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 14px;
  color: var(--primary); font-weight: 600; transition: gap .3s var(--ease);
}
.line-card:hover .line-more { gap: 14px; }

/* ==========================================================================
   产品卡片
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; background: #fff;
  transition: all .35s var(--ease); position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); border-color: rgba(78, 205, 196, .5); }
.product-img { aspect-ratio: 4/3; background: var(--bg-soft); overflow: hidden; position: relative; }
.product-img::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: linear-gradient(to top, rgba(6, 18, 31, .35), transparent 55%);
}
.product-card:hover .product-img::after { opacity: 1; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-img img { transform: scale(1.08); }
.img-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-ice), var(--bg-soft)); display: flex; align-items: center; justify-content: center; }
.img-placeholder::after { content: ''; width: 46px; height: 46px; border: 2px solid rgba(15, 76, 129, .2); border-radius: 12px; }
.product-info { padding: 18px 20px 20px; border-top: 2px solid transparent; }
.product-card:hover .product-info { border-top-color: var(--grad-accent); }
.product-info h4 {
  font-size: 15px; font-weight: 600; color: var(--text); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-no {
  font-size: 11px; color: var(--primary); display: inline-block; margin-top: 8px;
  font-family: "JetBrains Mono", Consolas, monospace; letter-spacing: .5px;
  background: var(--bg-ice); padding: 3px 10px; border-radius: 4px;
}
.empty-tip { text-align: center; color: var(--text-3); padding: 80px 0; font-size: 15px; }

/* 采购三级浏览 */
.cat-roots { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.cat-root {
  padding: 13px 34px; border: 1px solid var(--line); border-radius: 30px; font-size: 15px;
  font-weight: 600; color: var(--text-2); transition: all .3s var(--ease); background: #fff;
}
.cat-root:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cat-root.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(15, 76, 129, .3); }
.brand-list { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.brand-chip {
  padding: 8px 20px; border-radius: 20px; border: 1px solid var(--line); font-size: 13px;
  transition: all .25s var(--ease); background: #fff; color: var(--text-2); font-weight: 500;
}
.brand-chip:hover { border-color: var(--cyan); color: var(--primary); box-shadow: var(--glow-accent); }
.brand-chip.active { background: var(--ink-800); border-color: var(--ink-800); color: #fff; }

/* 商城布局 */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.shop-sidebar {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px; position: sticky;
  top: calc(var(--header-h) + 20px); background: #fff; box-shadow: var(--shadow-sm);
}
.shop-sidebar h3 {
  font-size: 14px; color: var(--ink-800); margin-bottom: 16px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2); letter-spacing: 1px; display: flex; align-items: center; gap: 8px;
}
.shop-sidebar h3::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: var(--grad-accent); }
.shop-cat { display: block; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; color: var(--text-2); transition: all .2s; }
.shop-cat.sub { padding-left: 28px; font-size: 13px; color: var(--text-3); }
.shop-cat:hover { background: var(--bg-ice); color: var(--primary); transform: translateX(3px); }
.shop-cat.active { background: var(--grad-primary); color: #fff; box-shadow: 0 4px 12px rgba(15, 76, 129, .25); }
.shop-grid { grid-template-columns: repeat(3, 1fr); }

/* 产品详情 */
.detail-layout { display: grid; grid-template-columns: 500px 1fr; gap: 60px; }
.detail-main-img {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1;
  background: var(--bg-soft); box-shadow: var(--shadow-sm);
}
.detail-main-img img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb {
  width: 76px; height: 76px; object-fit: cover; border: 2px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: all .25s var(--ease);
}
.thumb.active, .thumb:hover { border-color: var(--cyan); box-shadow: var(--glow-accent); }
.detail-info h1 { font-size: 28px; color: var(--ink-800); line-height: 1.4; font-weight: 700; letter-spacing: -.5px; }
.detail-article {
  margin: 14px 0; color: var(--text-2); font-family: Consolas, monospace; font-size: 13px;
  display: inline-block; background: var(--bg-ice); padding: 5px 14px; border-radius: 6px;
}
.detail-summary { color: var(--text-2); margin: 18px 0; line-height: 1.9; }
.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line-2); }
.spec-table th, .spec-table td { border: 1px solid var(--line-2); padding: 13px 18px; text-align: left; }
.spec-table th { background: linear-gradient(90deg, var(--bg-ice), #f3f8fd); width: 170px; font-weight: 600; color: var(--ink-800); }
.detail-actions { margin-top: 32px; }
.detail-desc { margin-top: 64px; }
.rich-text { line-height: 1.9; color: var(--text); }
.rich-text img { margin: 16px auto; border-radius: var(--radius); }

/* 服务页 */
.service-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0; }
.service-cat-card {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 28px; transition: all .35s var(--ease);
  background: #fff; position: relative; overflow: hidden;
}
.service-cat-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-accent); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease);
}
.service-cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-cat-card:hover::before { transform: scaleY(1); }
.service-cat-card h3 { font-size: 16px; color: var(--ink-800); }
.service-cta { text-align: center; margin-top: 56px; }

/* 服务流程 */
.service-flow { display: flex; align-items: center; justify-content: space-between; gap: 0; margin: 40px 0; flex-wrap: nowrap; overflow-x: auto; }
.flow-step { text-align: center; flex: 1 1 0; min-width: 0; position: relative; padding: 0 4px; }
.flow-step-num {
  width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; margin: 0 auto 14px;
  border: 2px solid rgba(15, 76, 129, .35); transition: all .35s var(--ease); font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px rgba(15, 76, 129, .05);
}
.flow-step:hover .flow-step-num {
  background: var(--grad-primary); color: #fff; border-color: transparent;
  box-shadow: 0 8px 22px rgba(15, 76, 129, .35); transform: scale(1.1);
}
.flow-step-label { font-size: 14px; color: var(--text); font-weight: 500; }
.flow-arrow { color: var(--line); font-size: 24px; margin: 0 -8px; align-self: flex-start; margin-top: 14px; }

/* 公司简介富文本 */
.rich-body { font-size: 16px; line-height: 2; color: var(--text); }
.rich-body h3 { font-size: 18px; color: var(--primary); margin: 26px 0 10px; font-weight: 700; }
.rich-body p { margin: 0 0 14px; text-indent: 2em; }
.rich-body h3 + p { text-indent: 0; }
.rich-body strong { color: var(--primary); font-weight: 700; }

/* 服务范围 */
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.scope-card { border: 1px solid var(--line-2); border-radius: 8px; padding: 22px 20px; background: #fff; transition: all .3s var(--ease); }
.scope-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(15, 76, 129, .25); }
.scope-card h3 { font-size: 16px; color: var(--ink-800); margin-bottom: 10px; position: relative; padding-left: 14px; }
.scope-card h3::before { content: ''; position: absolute; left: 0; top: 7px; bottom: 7px; width: 4px; border-radius: 2px; background: var(--grad-accent); }
.scope-card p { font-size: 14px; color: var(--text-2); line-height: 1.9; }

/* 痛点分析 */
.pain-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.pain-card { border: 1px solid var(--line-2); border-radius: 8px; padding: 22px 18px; background: var(--bg-soft); position: relative; overflow: hidden; transition: all .3s var(--ease); }
.pain-card::after { content: ''; position: absolute; right: -22px; top: -22px; width: 64px; height: 64px; border-radius: 50%; background: rgba(78, 205, 196, .12); }
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pain-card h3 { font-size: 17px; color: var(--primary); margin-bottom: 10px; font-weight: 700; }
.pain-card p { font-size: 13px; color: var(--text-2); line-height: 1.85; }

/* 案例分享 */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.case-card { border: 1px solid var(--line-2); border-radius: 8px; padding: 24px 22px; background: #fff; transition: all .3s var(--ease); }
.case-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.case-title { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.case-title h3 { font-size: 18px; color: var(--ink-800); font-weight: 700; }
.case-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; background: var(--bg-ice); color: var(--primary); font-size: 12px; font-weight: 700; flex-shrink: 0; }
.case-lead { font-size: 14px; color: var(--text-2); line-height: 1.9; margin-bottom: 10px; }
.case-result { font-size: 14px; color: var(--ink-700); line-height: 1.9; padding: 10px 12px; background: var(--bg-ice); border-radius: 6px; }

/* 产品分类 */
.category-grid { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 26px; align-items: start; }
.category-card { border: 1px solid var(--line-2); border-radius: 8px; padding: 24px 20px; background: #fff; transition: all .3s var(--ease); }
.category-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.category-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 14px; font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.category-card ul { list-style: none; }
.category-card li { font-size: 15px; color: var(--text-2); line-height: 2; padding: 6px 0; }
.category-card li strong { color: var(--ink-800); }
.category-banners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.category-banners img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--line-2); box-shadow: var(--shadow-sm); background: #fff; }

/* 服务页：分类图片轮播 */
.cat-carousel { position: relative; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.cat-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(78, 205, 196, .4); background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(4px); color: var(--primary); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .25s var(--ease);
}
.cat-carousel-prev { left: 8px; }
.cat-carousel-next { right: 8px; }
.cat-carousel-arrow:hover:not(:disabled) { border-color: var(--cyan); color: #fff; background: var(--grad-primary); box-shadow: var(--glow-accent); transform: translateY(-50%) scale(1.06); }
.cat-carousel-arrow:disabled { opacity: .25; cursor: default; }
.cat-carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.cat-carousel-viewport::-webkit-scrollbar { display: none; }
.cat-carousel-track { display: flex; gap: 12px; }
.cat-carousel-track img {
  flex: 0 0 calc(33.333% - 8px); max-width: calc(33.333% - 8px); height: 200px; object-fit: contain;
  border-radius: 8px; border: 1px solid var(--line-2); scroll-snap-align: start; background: #fff;
}

/* 服务页：右侧垂直轨道导航 */
.service-rail {
  position: fixed; right: 112px; top: 50%; transform: translateY(-50%); z-index: 130;
  display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 10px;
  border-radius: 20px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border: 1px solid rgba(78, 205, 196, .45); box-shadow: var(--shadow-lg), 0 0 26px rgba(78, 205, 196, .18);
}
.rail-arrow {
  width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
  color: var(--primary); display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: all .3s var(--ease); flex-shrink: 0;
}
.rail-arrow svg { width: 22px; height: 22px; }
.rail-arrow:hover:not(:disabled) { border-color: var(--cyan); color: #fff; background: var(--grad-primary); box-shadow: var(--glow-accent); }
.rail-arrow:disabled { opacity: .3; cursor: default; }
.rail-track { position: relative; width: 40px; height: 172px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.rail-track::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
}
.rail-progress {
  position: absolute; left: 50%; top: 0; width: 3px; transform: translateX(-50%);
  border-radius: 2px; background: var(--grad-accent);
  box-shadow: 0 0 10px rgba(78, 205, 196, .65);
  transition: height .3s var(--ease), width .3s var(--ease);
  height: var(--rail-fill, 0%);
}
.rail-node {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  width: 40px; height: 32px; padding: 0; border: none; background: transparent; cursor: pointer;
}
.rail-node-dot {
  width: 12px; height: 12px; border-radius: 50%; background: #fff;
  border: 2px solid var(--primary-300); transition: all .3s var(--ease); flex-shrink: 0;
}
.rail-node:hover .rail-node-dot { border-color: var(--primary); transform: scale(1.2); }
.rail-node.active .rail-node-dot {
  background: var(--cyan); border-color: transparent; transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, .2), 0 0 12px rgba(78, 205, 196, .75);
}
.rail-node-label {
  display: none;
  position: absolute; right: 52px; white-space: nowrap;
  font-family: "JetBrains Mono", Consolas, monospace; font-size: 14px; letter-spacing: 1.2px;
  color: var(--text-2); opacity: 0; transform: translateX(6px);
  transition: all .25s var(--ease); pointer-events: none;
  background: rgba(255, 255, 255, .95); padding: 6px 12px; border-radius: 7px; border: 1px solid var(--line-2);
}
.rail-node:hover .rail-node-label, .rail-node.active .rail-node-label { opacity: 1; transform: none; }
.rail-node.active .rail-node-label { color: var(--primary); }

/* 服务页：左侧淡进度刻度 */
.service-side-progress {
  position: fixed; left: 26px; top: 50%; transform: translateY(-50%); z-index: 120;
  display: flex; flex-direction: row; align-items: center; gap: 18px; pointer-events: none;
}
.side-progress-line { position: relative; width: 1px; height: 260px; background: var(--line); overflow: hidden; }
.side-progress-line::after {
  content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 0;
  background: linear-gradient(180deg, var(--cyan), var(--primary));
  box-shadow: 0 0 8px rgba(78, 205, 196, .5); transition: height .3s var(--ease);
}
.side-progress-marker {
  font-family: "JetBrains Mono", Consolas, monospace; font-size: 120px; font-weight: 700; line-height: 1;
  letter-spacing: -6px; color: transparent; -webkit-text-stroke: 2px rgba(78, 205, 196, .45);
  text-shadow: 0 0 28px rgba(78, 205, 196, .18);
}

/* 服务页：上下滚动三段内容 */
.service-section { padding: 40px 0 96px; }
.service-pages { max-width: 960px; margin: 0 auto; }
.service-page { scroll-margin-top: calc(var(--header-h) + 28px); position: relative; padding: 12px 0 10px; }
.service-page:first-child { padding-top: 0; }
.service-page::before {
  content: '0' attr(data-page); position: absolute; right: -12px; top: 8px; z-index: 0; pointer-events: none;
  font-family: "JetBrains Mono", Consolas, monospace; font-size: 120px; font-weight: 700; line-height: 1;
  color: rgba(15, 76, 129, .05);
}
.service-page > * { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .category-banners { grid-template-columns: repeat(2, 1fr); }
  .scope-grid { grid-template-columns: 1fr 1fr; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .service-rail { right: 20px; }
  .service-side-progress { display: none; }
  .cat-carousel-track img { flex-basis: calc(33.333% - 8px); max-width: calc(33.333% - 8px); }
}
@media (max-width: 560px) {
  .category-banners { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-carousel-track img { flex-basis: calc(50% - 6px); max-width: calc(50% - 6px); height: 150px; }
  .scope-grid, .pain-grid { grid-template-columns: 1fr; }
  .flow-step { padding: 0 2px; }
  .flow-step-num { width: 44px; height: 44px; font-size: 15px; }
  .flow-step-label { font-size: 12px; white-space: nowrap; }
  .flow-arrow { font-size: 18px; margin: 0 -4px; }
}

@media (max-width: 640px) {
  .service-rail {
    right: 50%; transform: translateX(50%); top: auto; bottom: 14px;
    flex-direction: row; gap: 10px; padding: 8px 12px; border-radius: 24px;
  }
  .rail-track { flex-direction: row; width: auto; height: auto; gap: 16px; }
  .rail-track::before {
    left: 0; right: 0; top: 50%; width: auto; height: 1px; transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, var(--line) 12%, var(--line) 88%, transparent);
  }
  .rail-progress { left: 0; top: 50%; width: var(--rail-fill, 0%); height: 3px; transform: translateY(-50%); }
  .rail-node { width: 26px; height: 26px; }
  .rail-node-label { display: none; }
  .rail-arrow { width: 30px; height: 30px; }
  .service-side-progress { display: none; }
  .service-page::before { font-size: 72px; right: 0; }
}

/* 内容页 */
.content-body { max-width: 1060px; }
.content-block { margin-bottom: 52px; }
.content-block h2 {
  font-size: 24px; color: var(--ink-800); margin-bottom: 18px; font-weight: 700;
  padding-left: 16px; border-left: 4px solid; border-image: linear-gradient(180deg, var(--cyan), var(--teal)) 1;
}
.lead { font-size: 18px; color: var(--text); line-height: 1.9; }
.article-body h1 { font-size: 30px; color: var(--ink-800); font-weight: 700; letter-spacing: -.5px; }
.article-time { display: block; color: var(--text-3); font-size: 13px; margin: 14px 0 32px; letter-spacing: 1px; }

/* 新闻 */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-row {
  display: flex; gap: 24px; align-items: center; border: 1px solid var(--line-2);
  border-radius: var(--radius-lg); padding: 20px 24px; transition: all .3s var(--ease);
  background: #fff; position: relative; overflow: hidden;
}
.news-row::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--grad-accent); transform: scaleY(0); transition: transform .3s var(--ease);
}
.news-row:hover { box-shadow: var(--shadow-md); border-color: transparent; transform: translateX(6px); }
.news-row:hover::before { transform: scaleY(1); }
.news-cover { width: 168px; height: 104px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.news-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-row:hover .news-cover img { transform: scale(1.07); }
.news-row-body h3 { font-size: 17px; color: var(--text); font-weight: 600; transition: color .25s; }
.news-row:hover .news-row-body h3 { color: var(--primary); }
.news-row-body time { font-size: 12px; color: var(--text-3); letter-spacing: 1px; font-variant-numeric: tabular-nums; }

/* 首页简介条 */
.about-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.about-strip-text h2 { font-size: 34px; color: var(--ink-800); margin-bottom: 26px; font-weight: 700; letter-spacing: -.5px; }
.about-slogan {
  font-size: 18px; font-weight: 700; margin-bottom: 16px !important;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.about-strip-text p { color: var(--text-2); margin-bottom: 30px; line-height: 1.95; font-size: 15px; }
.about-strip-news {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--shadow-sm);
}
.about-strip-news h3 {
  font-size: 16px; color: var(--ink-800); margin-bottom: 12px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.about-strip-news h3::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--grad-accent); }
.news-item {
  display: flex; gap: 16px; padding: 14px 8px; border-bottom: 1px solid var(--line-2);
  font-size: 14px; transition: all .25s var(--ease); border-radius: 6px;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: var(--bg-ice); padding-left: 14px; }
.news-item time { color: var(--text-3); flex-shrink: 0; font-size: 12px; font-variant-numeric: tabular-nums; letter-spacing: .5px; }
.news-item span { color: var(--text-2); transition: color .2s; }
.news-item:hover span { color: var(--primary); }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 42px; background: #fff;
  transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.contact-card::after {
  content: ''; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(78, 205, 196, .1), transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.contact-card:hover::after { opacity: 1; }
.contact-card h3 {
  color: var(--ink-800); margin-bottom: 22px; font-size: 19px; font-weight: 700;
  display: flex; align-items: center; gap: 10px;
}
.contact-card h3::before { content: ''; width: 4px; height: 18px; border-radius: 2px; background: var(--grad-accent); }
.contact-card p { margin-bottom: 14px; font-size: 15px; color: var(--text-2); }
.contact-card p strong { color: var(--ink-800); min-width: 70px; display: inline-block; }

/* ==========================================================================
   询价弹窗
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(6, 18, 31, .6); z-index: 300;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 20px; width: 680px; max-width: 100%; overflow: hidden;
  box-shadow: 0 32px 80px rgba(6, 18, 31, .4); animation: modalIn .35s var(--ease);
  position: relative;
}
.modal::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-accent); z-index: 1; }
@keyframes modalIn { from { opacity: 0; transform: translateY(28px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 34px 20px; border-bottom: 1px solid var(--line-2); }
.modal-head h3 { color: var(--ink-800); font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.modal-close {
  background: var(--bg-soft); border: none; font-size: 18px; cursor: pointer; color: var(--text-3);
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: all .25s var(--ease); line-height: 1;
}
.modal-close:hover { color: #fff; background: var(--primary); transform: rotate(90deg); }
.modal-product {
  padding: 13px 34px; background: linear-gradient(90deg, var(--bg-ice), #f4faf9);
  font-size: 13px; color: var(--ink-800); font-weight: 600;
  border-left: 3px solid var(--cyan);
}
.modal-body { padding: 28px 34px; max-height: 58vh; overflow-y: auto; }
.modal-foot { padding: 18px 34px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-tip { font-size: 13px; }
.form-tip.ok { color: #0d9463; }
.form-tip.err { color: #dc2626; }
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; color: var(--text); margin-bottom: 7px; font-weight: 600; }
.form-row label i { color: #dc2626; font-style: normal; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 11px 14px;
  font-size: 14px; font-family: inherit; transition: all .25s var(--ease); background: var(--bg-soft);
}
.form-row input:hover, .form-row textarea:hover, .form-row select:hover { border-color: #c8d6e6; background: #fff; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(78, 205, 196, .18);
}
.form-group { border: 1px solid var(--line-2); border-radius: 14px; margin-bottom: 16px; padding: 0 20px 4px; transition: border-color .25s; }
.form-group:hover { border-color: rgba(78, 205, 196, .5); }
.form-group summary {
  cursor: pointer; font-weight: 700; color: var(--ink-800); padding: 16px 0; font-size: 15px; list-style: none;
  display: flex; align-items: center; gap: 10px;
}
.form-group summary::before {
  content: '+'; color: var(--primary); font-size: 16px; width: 22px; height: 22px;
  border: 1px solid rgba(15, 76, 129, .3); border-radius: 6px; display: flex; align-items: center; justify-content: center;
  transition: all .25s;
}
.form-group[open] summary::before { content: '−'; background: var(--grad-primary); color: #fff; border-color: transparent; }

/* ==========================================================================
   点我询价 —— 跟随按钮
   ========================================================================== */
.inspect-btn {
  position: fixed; z-index: 150; left: 0; top: 0; pointer-events: auto;
  background: var(--grad-primary); color: #fff;
  border: none; border-radius: 40px; padding: 13px 26px; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  cursor: pointer; box-shadow: 0 10px 30px rgba(15, 76, 129, .4); display: flex; align-items: center; gap: 9px;
  transition: box-shadow .25s; will-change: transform; white-space: nowrap;
}
.inspect-btn::before {
  content: ''; position: absolute; inset: -3px; border-radius: 44px; z-index: -1;
  border: 2px solid rgba(78, 205, 196, .55); animation: ringPulse 2s var(--ease) infinite;
}
@keyframes ringPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.25); opacity: 0; } }
.inspect-btn:hover { box-shadow: 0 14px 44px rgba(15, 76, 129, .55), 0 0 24px rgba(78, 205, 196, .35); }
.inspect-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

/* ==========================================================================
   右侧浮动侧边栏 —— 深色玻璃
   ========================================================================== */
.right-sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 200; }
.rs-item {
  position: relative; right: -72px; margin-bottom: 6px;
  background: rgba(10, 30, 51, .92); backdrop-filter: blur(8px); color: #fff;
  padding: 12px 10px; border-top-left-radius: 10px; border-bottom-left-radius: 10px;
  cursor: pointer; transition: right .3s var(--ease), background .25s, box-shadow .25s;
  display: flex; align-items: center; gap: 10px; width: 116px;
  border: 1px solid rgba(78, 205, 196, .18); border-right: none;
}
.rs-item:hover { background: var(--primary); box-shadow: -6px 0 20px rgba(15, 76, 129, .35); }
.rs-item svg { width: 20px; height: 20px; stroke: var(--cyan); flex-shrink: 0; }
.rs-item:hover svg { stroke: #fff; }
.rs-item span { font-size: 13px; white-space: nowrap; }
.right-sidebar:hover .rs-item { right: 0; }
.rs-popup {
  display: none; position: absolute; right: 120px; top: -8px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 18px 26px; white-space: nowrap; z-index: 10;
}
.rs-popup::after {
  content: ''; position: absolute; right: -7px; top: 18px; transform: rotate(45deg);
  width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-top: 1px solid var(--line);
}
.rs-popup h5 { font-size: 12px; color: var(--primary); font-weight: 700; margin-bottom: 8px; letter-spacing: 2px; text-transform: uppercase; }
.rs-popup p { font-size: 20px; color: var(--ink-800); font-weight: 700; font-variant-numeric: tabular-nums; }
.rs-popup.qr-popup { padding: 20px 44px; width: max-content; transform: scale(.5); transform-origin: right center; }
.rs-popup.qr-popup h5 { font-size: 28px; line-height: 1.2; }
.rs-popup a { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--primary); }
.rs-popup a:hover { text-decoration: underline; }
.rs-popup img.qr { width: 170px; height: 170px; max-width: none; object-fit: contain; background: #fff; border-radius: var(--radius); }
.rs-item:hover .rs-popup { display: block; }
@media (max-width: 768px) { .right-sidebar { display: none; } }

/* ==========================================================================
   页脚 —— 深海
   ========================================================================== */
.site-footer {
  position: relative; background: var(--ink-900); color: rgba(255, 255, 255, .6); margin-top: 0;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 30%, var(--teal) 70%, transparent); opacity: .7;
}
.site-footer::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
.footer-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px;
  padding: 72px 32px 52px; max-width: var(--container); margin: 0 auto;
}
.footer-col h4 {
  color: #fff; font-size: 18px; margin-bottom: 22px; font-weight: 700; letter-spacing: 2px;
  display: flex; align-items: center; gap: 9px; text-transform: uppercase;
}
.footer-col h4::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: var(--grad-accent); }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; transition: all .25s var(--ease); }
.footer-col a:hover { color: var(--cyan); padding-left: 6px; }
.footer-col p { font-size: 14px; padding: 5px 0; }
.footer-logo .logo-text strong { color: #fff; }
.footer-logo { margin-top: -14px; }
.footer-logo .logo-text strong { color: #fff; font-size: 30px; letter-spacing: 2px; }
.footer-logo img.logo-img, .footer-logo .logo-mark { width: 72px; height: 72px; font-size: 36px; }
.footer-brand p { margin-top: 18px; font-size: 13px; opacity: .55; line-height: 1.9; }
.footer-bottom {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, .07); padding: 22px 0; font-size: 12px; opacity: .45; letter-spacing: 1px;
}

/* ==========================================================================
   合作伙伴
   ========================================================================== */
.partner-wall { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; justify-content: center; }
.partner-item {
  width: 180px; height: 92px; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 20px; transition: all .35s var(--ease);
}
.partner-item:hover { box-shadow: var(--shadow-md); border-color: rgba(78, 205, 196, .55); transform: translateY(-4px); }
.partner-item img { max-height: 52px; width: auto; object-fit: contain; filter: grayscale(35%); transition: filter .35s; }
.partner-item:hover img { filter: grayscale(0); }
.partner-item .partner-name { font-size: 14px; color: var(--text-2); text-align: center; }

/* ==========================================================================
   特性卡片
   ========================================================================== */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-card {
  text-align: center; padding: 40px 22px; border-radius: var(--radius-lg);
  transition: all .35s var(--ease); background: transparent; border: 1px solid transparent;
}
.feature-card:hover { background: #fff; border-color: var(--line-2); box-shadow: var(--shadow-md); transform: translateY(-5px); }
.feature-icon {
  width: 62px; height: 62px; border-radius: 50%; background: #fff; display: inline-flex;
  align-items: center; justify-content: center; margin-bottom: 18px; transition: all .35s var(--ease);
  box-shadow: 0 0 0 1px rgba(15, 76, 129, .1), 0 0 0 7px rgba(15, 76, 129, .04);
}
.feature-card:hover .feature-icon { background: var(--grad-primary); box-shadow: 0 0 0 1px transparent, 0 0 0 7px rgba(78, 205, 196, .12), 0 10px 24px rgba(15, 76, 129, .3); }
.feature-icon svg { width: 27px; height: 27px; stroke: var(--primary); transition: stroke .3s; }
.feature-card:hover .feature-icon svg { stroke: #fff; }
.feature-card h4 { font-size: 16px; color: var(--ink-800); margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 13px; color: var(--text-2); line-height: 1.75; }

/* ==========================================================================
   CTA 行动召唤条
   ========================================================================== */
.cta-section {
  position: relative; overflow: hidden; color: #fff; text-align: center; padding: 80px 0;
  background: var(--grad-deep);
}
.cta-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 50% 50%, #000 20%, transparent 70%);
}
.cta-section::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent) 35%, var(--teal) 65%, transparent); opacity: .5;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.cta-section p { color: rgba(255,255,255,.7); margin: 16px auto 32px; max-width: 580px; font-size: 16px; font-weight: 300; }

/* ==========================================================================
   时间线（关于页面发展历程）
   ========================================================================== */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--primary), var(--primary-600));
  border-radius: 1px;
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(15,76,129,.08); transition: all .3s var(--ease);
}
.timeline-item:hover::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(78,205,196,.15); }
.timeline-year { font-size: 18px; font-weight: 700; color: var(--primary); font-variant-numeric: tabular-nums; }
.timeline-text { font-size: 15px; color: var(--text-2); margin-top: 6px; line-height: 1.8; }

/* ==========================================================================
   企业文化
   ========================================================================== */
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.culture-card {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 36px 28px;
  background: #fff; transition: all .35s var(--ease); text-align: center;
}
.culture-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.culture-card h4 { font-size: 16px; color: var(--ink-800); margin-bottom: 8px; font-weight: 700; }
.culture-card .culture-label { font-size: 16px; color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.culture-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; }

/* ==========================================================================
   回到列表按钮
   ========================================================================== */
.back-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 40px;
  font-size: 14px; color: var(--primary); font-weight: 600; transition: gap .25s var(--ease);
}
.back-link:hover { gap: 12px; }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-text h1 { font-size: 40px; }
  .hero-stat { padding: 0 32px; }
  .hero-stat-num { font-size: 32px; }
  .section { padding: 72px 0; }
}
@media (max-width: 960px) {
  .partner-wall { gap: 16px; }
  .partner-item { width: 140px; height: 78px; }
  .line-cards, .service-cats { grid-template-columns: 1fr; }
  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-layout, .about-strip, .contact-grid, .shop-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding: 72px 0 84px; }
  .hero-text h1 { font-size: 32px; }
  .hero-stats { flex-wrap: wrap; gap: 24px 0; }
  .hero-stat { padding: 0 24px; flex-basis: 40%; }
  .main-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; padding: 20px 24px; border-bottom: 1px solid var(--line); gap: 8px; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0; }
  .dropdown-menu::before { display: none; }
  .dropdown-menu a:hover { padding-left: 16px; }
  .nav-toggle { display: flex; }
  .header-inner { gap: 16px; height: 64px; }
  .logo-mark { width: 42px; height: 42px; font-size: 20px; }
  .logo-text strong { font-size: 17px; }
  .logo-text small { display: none; }
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 36px; }
  .section-head h2 { font-size: 28px; }
  .page-banner { padding: 52px 0; }
  .page-banner h1 { font-size: 28px; }
  .page-banner.service-page-banner .banner-bg-img { width: 100%; object-position: right center; opacity: .5; }
  .page-banner.service-page-banner .banner-shade {
    width: 100%; background: linear-gradient(180deg, rgba(10, 37, 64, .9) 0%, rgba(10, 37, 64, .62) 100%);
  }
  .page-banner.service-page-banner .banner-content {
    position: static; width: auto; max-width: 100%; transform: none; padding: 0;
  }
  .contact-card { padding: 30px; }
  .about-strip-news { padding: 24px; }
  .footer-grid { padding: 48px 24px 36px; gap: 32px; }
  .footer-logo { margin-top: 0; }
  .footer-logo img.logo-img, .footer-logo .logo-mark { width: 62px; height: 62px; }
  .footer-logo .logo-text strong { font-size: 25px; }
}
@media (max-width: 560px) {
  .product-grid, .shop-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 27px; }
  .hero-stat { flex-basis: 45%; padding: 0 16px; }
  .hero-stat:nth-child(3) { border-left: none; padding-left: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .culture-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .news-row { flex-direction: column; align-items: flex-start; }
  .news-cover { width: 100%; height: 160px; }
}

/* ==========================================================================
   登录 / 购物车
   ========================================================================== */
.header-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink-800); transition: all .25s var(--ease); flex-shrink: 0;
}
.header-cart:hover { border-color: var(--cyan); color: var(--primary); box-shadow: var(--glow-accent); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700;
  align-items: center; justify-content: center; line-height: 1; box-shadow: 0 2px 8px rgba(229, 72, 77, .35);
}
.login-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--primary); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .25s var(--ease); font-family: inherit;
}
.login-btn:hover { border-color: var(--primary); color: #fff; background: var(--grad-primary); box-shadow: 0 6px 16px rgba(15, 76, 129, .25); }
.user-menu { position: relative; display: none; }
.user-btn {
  max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-800); font-size: 13px; font-weight: 600; cursor: pointer; font-family: inherit;
}
.user-btn:hover { border-color: var(--cyan); color: var(--primary); }
.user-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 150px;
  background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md);
  padding: 8px; z-index: 120;
}
.user-dropdown.open { display: block; }
.user-logout {
  width: 100%; background: none; border: none; text-align: left; padding: 8px 10px;
  border-radius: 8px; cursor: pointer; color: var(--text-2); font-size: 14px; font-family: inherit;
}
.user-logout:hover { background: var(--bg-ice); color: var(--primary); }
body.logged-in .login-btn { display: none; }
body.logged-in .user-menu { display: inline-flex; }
.inquiry-only { display: inline-flex; }
.cart-only { display: none; }
body.logged-in .inquiry-only { display: none; }
body.logged-in .cart-only { display: inline-flex; }

/* ---------- 数量步进 ---------- */
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty-btn {
  width: 34px; height: 34px; border: none; background: var(--bg-soft); color: var(--text);
  font-size: 16px; cursor: pointer; line-height: 1; transition: all .2s var(--ease);
}
.qty-btn:hover { background: var(--bg-ice); color: var(--primary); }
.qty-input {
  width: 52px; height: 34px; border: none; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-800);
  -moz-appearance: textfield; appearance: textfield; outline: none;
}
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper-lg .qty-btn { width: 44px; height: 44px; font-size: 18px; }
.qty-stepper-lg .qty-input { width: 64px; height: 44px; font-size: 16px; }

/* ---------- 商城卡片 ---------- */
.shop-card { display: flex; flex-direction: column; }
.product-img-link { display: block; }
.shop-card .product-info { display: flex; flex-direction: column; align-items: flex-start; }
.shop-card-name { margin-bottom: 4px; }
.shop-spec { display: block; margin-top: 8px; font-size: 12px; color: var(--text-3); }
.shop-price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; }
.shop-price small { font-size: 12px; color: var(--text-3); }
.shop-price strong { font-size: 18px; font-weight: 700; color: var(--primary); }
.shop-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.detail-price { margin: 18px 0; display: flex; align-items: baseline; gap: 10px; }
.detail-price small { font-size: 13px; color: var(--text-3); }
.detail-price strong { font-size: 26px; font-weight: 700; color: var(--primary); }
.brand-page-banner.no-img { background: var(--grad-deep); }
.brand-page-banner.no-img .banner-content { position: static; transform: none; width: auto; max-width: none; padding: 0; }

/* ---------- 登录弹窗 ---------- */
.auth-modal { width: 460px; }
.auth-hint { font-size: 13px; color: var(--text-2); margin-bottom: 18px; line-height: 1.7; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.code-btn { flex-shrink: 0; padding: 10px 18px; }
.auth-actions { margin-top: 22px; }
.auth-actions .btn { width: 100%; justify-content: center; }

/* ---------- 购物车页 ---------- */
.cart-page { min-height: 320px; }
.cart-head {
  display: grid; grid-template-columns: 64px 2fr 1.2fr 1fr 110px 110px 40px; gap: 14px;
  padding: 12px 16px; background: var(--bg-ice); border-radius: 10px; font-size: 12px;
  color: var(--text-2); font-weight: 600; align-items: center;
}
.cart-line {
  display: grid; grid-template-columns: 64px 2fr 1.2fr 1fr 110px 110px 40px; gap: 14px;
  padding: 16px; align-items: center; border-bottom: 1px solid var(--line-2);
}
.cart-img img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cart-img .cart-ph { width: 64px; height: 64px; border-radius: 8px; }
.cart-name a { font-weight: 600; color: var(--ink-800); }
.cart-name span { display: block; font-size: 12px; color: var(--text-3); margin-top: 4px; }
.cart-spec { font-size: 13px; color: var(--text-2); }
.cart-price, .cart-subtotal { font-size: 14px; font-weight: 600; color: var(--text); }
.cart-remove {
  width: 30px; height: 30px; border: none; background: var(--bg-soft); border-radius: 50%;
  cursor: pointer; color: var(--text-3); font-size: 16px; line-height: 1;
}
.cart-remove:hover { background: #fdecec; color: #e5484d; }
.cart-total { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 20px 16px; font-size: 15px; }
.cart-total strong { font-size: 22px; color: var(--primary); }
.cart-submit-form {
  max-width: 560px; margin-left: auto; margin-top: 20px; border: 1px solid var(--line-2);
  border-radius: 12px; padding: 24px; background: #fff; box-shadow: var(--shadow-sm);
}
.cart-empty, .cart-loading, .cart-success { text-align: center; padding: 80px 20px; color: var(--text-2); }
.cart-empty h2, .cart-success h2 { color: var(--ink-800); margin-bottom: 10px; }
.cart-empty .btn, .cart-success .btn { margin-top: 18px; }

/* ---------- 轻提示 ---------- */
.toast-cart {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%);
  background: var(--ink-900); color: #fff; padding: 12px 22px; border-radius: 8px;
  font-size: 14px; z-index: 500; box-shadow: var(--shadow-lg);
  animation: toastIn .25s var(--ease);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 900px) {
  .header-right { gap: 10px; }
  .login-btn { padding: 8px 12px; font-size: 12px; }
  .user-btn { max-width: 90px; }
}
@media (max-width: 760px) {
  .cart-head { display: none; }
  .cart-line {
    grid-template-columns: 56px 1fr auto; grid-template-areas: "img name rm" "img qty total"; gap: 10px;
  }
  .cart-img { grid-area: img; }
  .cart-name { grid-area: name; }
  .cart-remove { grid-area: rm; justify-self: end; }
  .cart-line .qty-stepper { grid-area: qty; }
  .cart-subtotal { grid-area: total; justify-self: end; }
  .cart-spec, .cart-price { display: none; }
}

/* ---------- 英文布局与商城筛选 ---------- */
.main-nav { gap: 24px; }
.main-nav > a, .nav-dropdown > a { white-space: nowrap; }
.header-right { gap: 12px; }
.login-btn { min-width: 104px; justify-content: center; white-space: nowrap; padding: 10px 20px; }
.lang-switch { min-width: 52px; text-align: center; padding: 7px 16px; }
.shop-toolbar { margin-bottom: 18px; }
.shop-search { display: flex; gap: 10px; max-width: 460px; }
.shop-search input[type="search"] {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px;
  font-size: 14px; font-family: inherit; background: var(--bg-soft);
}
.shop-search input[type="search"]:focus {
  outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(78, 205, 196, .18);
}
.shop-search-clear { align-self: center; font-size: 13px; color: var(--text-3); }
.shop-search-clear:hover { color: var(--primary); }
@media (max-width: 900px) {
  .main-nav { gap: 18px; }
  .header-right { gap: 8px; }
  .login-btn { min-width: 0; padding: 8px 12px; }
}

/* ---------- 品牌分类树 ---------- */
.shop-cat-group { margin-bottom: 2px; }
.shop-cat.root { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 600; }
.cat-toggle {
  width: 22px; height: 22px; border-radius: 6px; background: var(--bg-soft); color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px; line-height: 1; flex-shrink: 0;
}
.cat-toggle:hover { background: var(--bg-ice); color: var(--primary); }
.shop-cat-children {
  padding-left: 12px; border-left: 1px solid var(--line); margin-left: 12px;
  max-height: 600px; overflow: hidden; transition: max-height .25s var(--ease);
}
.shop-cat-children.collapsed { max-height: 0; border-left-color: transparent; }
.shop-cat-children .shop-cat.sub { padding-left: 8px; }

/* ---------- 品牌页侧栏加宽，避免换行 ---------- */
.shop-layout { grid-template-columns: 300px 1fr; gap: 36px; }
.shop-cat { white-space: nowrap; }
.brand-page-head { padding: 16px 32px 4px; }
.brand-page-head h1 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; font-size: 30px; color: var(--ink-800); font-weight: 700; letter-spacing: .5px; }
.brand-title-divider { color: var(--accent); font-weight: 700; }
.brand-title-sub { color: var(--text-2); font-size: 13px; font-weight: normal; letter-spacing: 0; }
.brand-shop-section { padding-top: 8px; }

/* ---------- 海外采购商城 ---------- */
.procurement-section { padding-top: 8px; }
.procurement-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.proc-cat-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 10px; }
.proc-cat-tab { border: 0; background: transparent; padding: 10px 22px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); font-family: inherit; cursor: pointer; transition: all .25s var(--ease); }
.proc-cat-tab:hover { color: var(--primary); }
.proc-cat-tab.active { background: var(--grad-primary); color: #fff; box-shadow: 0 6px 16px rgba(15, 76, 129, .25); }
.proc-search { position: relative; width: 320px; max-width: 100%; }
.proc-search input { width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--text); background: #fff; transition: border-color .25s, box-shadow .25s; }
.proc-search input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15, 76, 129, .12); }
.proc-search-list { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-md); max-height: 340px; overflow: auto; }
.proc-search-list li button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 7px; background: transparent; font-family: inherit; font-size: 14px; color: var(--text); cursor: pointer; text-align: left; }
.proc-search-list li button:hover { background: var(--bg-ice); color: var(--primary); }
.proc-search-list li button small { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.proc-search-list .proc-search-none { padding: 10px 12px; font-size: 13px; color: var(--text-3); }
.proc-content { margin-top: 28px; }
.proc-brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.proc-brand-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 14px 18px; min-height: 190px; background: #fff; border: 1px solid var(--line); border-radius: 8px; font-family: inherit; cursor: pointer; transition: all .25s var(--ease); }
.proc-brand-card:hover { border-color: var(--cyan); box-shadow: var(--glow-accent); transform: translateY(-3px); }
.proc-brand-logo { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 8px; background: var(--bg-soft); border: 1px solid var(--line-2); overflow: hidden; }
.proc-brand-logo img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.proc-brand-logo-text { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 24px; font-weight: 700; color: #fff; background: var(--grad-primary); }
.proc-brand-logo-lg { width: 144px; height: 144px; margin: 4px auto 0; }
.proc-brand-name { font-size: 14px; font-weight: 600; color: var(--ink-800); line-height: 1.45; text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proc-brand-count { font-size: 12px; color: var(--text-3); }
.proc-empty { padding: 64px 20px; text-align: center; color: var(--text-2); font-size: 14px; border: 1px dashed var(--line); border-radius: 8px; background: var(--bg-soft); }
.proc-split { display: grid; grid-template-columns: 320px 1fr; gap: 28px; align-items: start; }
.proc-brand-panel { position: sticky; top: 96px; padding: 26px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 8px; text-align: center; }
.proc-brand-panel h2 { margin: 16px 0 10px; font-size: 20px; color: var(--ink-800); }
.proc-brand-intro { margin: 0; max-height: 440px; overflow: auto; text-align: left; font-size: 13px; line-height: 1.85; color: var(--text-2); white-space: pre-line; }
.proc-site-btn { display: inline-flex; margin-top: 16px; padding: 10px 22px; border: 1px solid rgba(15, 76, 129, .4); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--primary); transition: all .25s var(--ease); }
.proc-site-btn:hover { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(15, 76, 129, .28); }
.proc-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; color: var(--text-2); font-family: inherit; cursor: pointer; transition: all .2s; }
.proc-back:hover { border-color: var(--primary); color: var(--primary); }
.proc-split-main { min-width: 0; }
.proc-product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.proc-product-card { display: flex; flex-direction: column; padding: 0 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-family: inherit; text-align: left; cursor: pointer; transition: all .25s var(--ease); }
.proc-product-card:hover { border-color: var(--cyan); box-shadow: var(--glow-accent); transform: translateY(-3px); }
.proc-product-img { display: flex; align-items: center; justify-content: center; height: 168px; padding: 14px; background: var(--bg-soft); border-bottom: 1px solid var(--line-2); }
.proc-product-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.proc-product-img-empty { display: block; width: 76px; height: 76px; border: 1px dashed var(--line); border-radius: 8px; background: linear-gradient(135deg, rgba(78, 205, 196, .08), rgba(15, 76, 129, .06)); }
.proc-product-name { min-height: 44px; padding: 12px 14px 2px; font-size: 13.5px; font-weight: 600; line-height: 1.55; color: var(--ink-800); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.proc-product-meta { padding: 4px 14px 0; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proc-product-price { margin-top: auto; padding: 10px 14px 0; font-size: 15px; font-weight: 700; color: var(--primary); }
.proc-detail { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.proc-detail-head { display: flex; gap: 26px; align-items: flex-start; }
.proc-detail-img { flex: 0 0 230px; display: flex; align-items: center; justify-content: center; height: 230px; padding: 16px; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 8px; }
.proc-detail-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.proc-detail-info { min-width: 0; }
.proc-detail-info h3 { font-size: 21px; line-height: 1.45; color: var(--ink-800); }
.proc-detail-article { margin-top: 8px; font-size: 13px; color: var(--text-2); }
.proc-detail-price { margin: 14px 0 18px; font-size: 22px; font-weight: 700; color: var(--primary); }
.proc-detail-table { width: 100%; margin-top: 24px; border-collapse: collapse; }
.proc-detail-table th, .proc-detail-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; text-align: left; }
.proc-detail-table th { width: 150px; color: var(--text-2); font-weight: 500; background: var(--bg-soft); }
@media (max-width: 900px) {
  .procurement-toolbar { flex-direction: column; align-items: stretch; }
  .proc-search { width: 100%; }
  .proc-cat-tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .proc-cat-tab { flex: 1 0 auto; padding: 10px 16px; }
  .proc-split { grid-template-columns: 1fr; }
  .proc-brand-panel { position: static; }
  .proc-product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .proc-detail-head { flex-direction: column; }
  .proc-detail-img { flex: 1 1 auto; width: 100%; height: 220px; }
}

@media (max-width: 560px) {
  .logo-text { display: none; }
  .logo { gap: 0; }
  .header-inner { gap: 12px; }
  .header-right { gap: 6px; }
  .header-right { margin-left: auto; }
  .login-btn { padding: 8px 10px; }
  .lang-switch { min-width: 44px; padding: 6px 10px; }
}

/* ==========================================================================
   首页：核心优势 + CTA 同屏；页脚联系方式与二维码
   ========================================================================== */
.home-advantage { padding: 88px 0 80px; }
.home-advantage .section-head { margin-bottom: 36px; }
.home-advantage .feature-grid { gap: 22px; }
.home-advantage .feature-card { padding: 34px 22px; }
.home-advantage .feature-icon { width: 58px; height: 58px; margin-bottom: 16px; }
.home-advantage .feature-card h4 { font-size: 16px; margin-bottom: 10px; }
.home-advantage .feature-card p { font-size: 13px; line-height: 1.75; }
.cta-band {
  position: relative; overflow: hidden; margin-top: 38px; padding: 32px 40px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  border-radius: var(--radius-lg); background: var(--grad-deep); color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, #000 15%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, #000 15%, transparent 75%);
}
.cta-band .cta-band-copy, .cta-band .btn { position: relative; z-index: 1; }
.cta-band h3 { font-size: 24px; font-weight: 700; letter-spacing: 0; }
.cta-band p { margin-top: 10px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.7; max-width: 560px; }
.cta-band .btn { flex: none; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.62); }
.footer-contact-item svg { width: 15px; height: 15px; flex: none; margin-top: 3px; stroke: var(--cyan); }
.footer-qr .footer-qr-wrap { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-qr img.qr { width: 132px; height: 132px; padding: 8px; background: #fff; border-radius: 8px; object-fit: contain; }
.footer-qr-wrap span { font-size: 12px; color: rgba(255,255,255,.55); letter-spacing: 1px; }
@media (max-width: 960px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .cta-band .btn { width: 100%; justify-content: center; }
}
@media (max-width: 560px) {
  .cta-band { padding: 24px 18px; }
  .home-advantage { padding: 68px 0 58px; }
}
