/* ==========================================================================
   搜浪科技前台样式
   米白底 + 墨绿文字 + 品牌蓝强调色（Logo 上的蓝）；悬浮圆角导航、双色大标题、白色浮起卡片。
   颜色、字体等设计变量集中在 :root，品牌主色 --accent 由后台「网站信息」控制
   ========================================================================== */

:root {
  /* 强调色及其深浅变化；下面 body 里会按后台设置的主题色重新推算，这里是旧浏览器的兜底值 */
  --accent: #2b4ff0;
  --accent-dark: #223ebb;
  --accent-soft: #e6ebfd;
  --accent-light: #a9b8ff;
  --accent-glow: rgb(43 79 240 / 30%);
  --accent-ring: rgb(43 79 240 / 25%);
  --tint: #d6dbf0;
  --tint-2: #bcc6ef;

  --bg: #f1f0eb;
  --surface: #fdfdfb;
  --white: #ffffff;
  --chip: #f1f1ee;
  --sand: #e6e2d9;
  --sage: #c6ccd8;
  --sage-soft: #e5e7ec;

  --ink: #16262d;
  --ink-2: #2c3b41;
  --body: #524f4b;
  --grey: #7d7979;
  --faint: #a19d96;
  --line: #d6d3cc;
  --line-soft: #e6e4de;
  /* 卡片配色：8 组低饱和浅色，冷暖交替 */
  --card-1: #e3e9fb; /* 雾蓝 */
  --card-2: #f2e7d5; /* 燕麦 */
  --card-3: #dee9e0; /* 鼠尾草 */
  --card-4: #e8e2f6; /* 薰衣草 */
  --card-5: #f6e3d6; /* 沙杏 */
  --card-6: #daedee; /* 水青 */
  --card-7: #dfe5ee; /* 石板蓝 */
  --card-8: #f2ebcf; /* 麦黄 */

  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 5px 7px rgb(3 33 107 / 5%), 0 1.4px 2.8px rgb(3 33 107 / 12%), 0 36px 48px rgb(0 0 0 / 3%);
  --shadow-btn: 0 0.6px 1.7px rgb(0 0 0 / 5%), 0 2.9px 2.9px rgb(0 0 0 / 4%), 0 7px 4px rgb(0 0 0 / 2%), 0 12.7px 5.2px rgb(0 0 0 / 1%);
  --shadow-float: 0 24px 60px -24px rgb(22 38 45 / 35%);

  --font: 'Hanken Grotesk Variable', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  /* 旧变量名，保留给仍在引用它们的地方 */
  --font-display: var(--font);
  --muted: var(--body);
  --muted-2: var(--grey);
  --paper: var(--bg);
}
/* 繁体页面优先用繁体字形的系统字体 */
html[lang='zh-Hant'] {
  --font: 'Hanken Grotesk Variable', 'PingFang TC', 'Hiragino Sans CNS', 'Microsoft JhengHei', 'Noto Sans TC', 'PingFang SC', 'Noto Sans SC', system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* 后台主题色写在 body 的内联样式里，所以深浅色要在 body 上推算才能跟着变 */
@supports (color: color-mix(in srgb, red, blue)) {
  body {
    --accent-dark: color-mix(in srgb, var(--accent) 78%, black);
    --accent-soft: color-mix(in srgb, var(--accent) 12%, white);
    --accent-light: color-mix(in srgb, var(--accent) 45%, white);
    --accent-glow: color-mix(in srgb, var(--accent) 30%, transparent);
    --accent-ring: color-mix(in srgb, var(--accent) 25%, transparent);
    --tint: color-mix(in srgb, var(--accent) 14%, var(--bg));
    --tint-2: color-mix(in srgb, var(--accent) 26%, var(--bg));
  }
}

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

a {
  color: var(--ink);
}

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

h1,
h2,
h3,
h4,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sr-only,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.muted {
  color: var(--grey);
}

/* ---------- 布局 ---------- */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 920px;
}
.container-prose {
  max-width: 780px;
}
.section {
  padding: 112px 0;
}
.section-sm {
  padding: 64px 0;
}
.section-flush {
  padding-top: 0;
}
/* 去掉下边距：和下一个版块的间距只剩下一个版块的上边距（减半） */
.section.section-tight-bottom {
  padding-bottom: 0;
}
.bg-white {
  background: transparent;
}
.center-action {
  margin-top: 48px;
  text-align: center;
}

/* ---------- 文字 ---------- */
.display-hero {
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  white-space: pre-line;
}
.display-xl {
  font-size: clamp(34px, 4.7vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
.display {
  font-size: clamp(28px, 3.3vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  white-space: pre-line;
}
.h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}
.h2 {
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
}
.h3 {
  font-size: 20px;
  line-height: 1.3;
}
.tone-ink {
  color: var(--ink);
}
/* 中文字体多数只有常规 / 粗体两档，标题用 600 才显得出层次 */
html:is([lang='zh-CN'], [lang='zh-Hant']) :is(h1, h2, h3, .display-hero, .display-xl, .display) {
  font-weight: 600;
}
html:is([lang='zh-CN'], [lang='zh-Hant']) .culture-grid p {
  font-weight: 500;
}
.tone-grey {
  color: var(--grey);
}
.lead {
  max-width: 640px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--body);
}
.link-strong {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.link-strong:hover {
  color: var(--accent-dark);
}

/* 等宽小标签：绿色字 + 浅灰底 */
.tag-mono,
.tag {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid rgb(0 0 0 / 5%);
  border-radius: 6px;
  background: var(--chip);
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  border: 0;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.btn-arrow {
  padding: 8px 8px 8px 14px;
  border: 1px solid rgb(0 0 0 / 6%);
  background: rgb(255 255 255 / 92%);
  color: var(--ink);
  box-shadow: var(--shadow-btn);
}
.btn-arrow:hover {
  box-shadow: var(--shadow-card);
}
.btn-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  transition: transform 0.15s ease;
}
.btn-arrow:hover .btn-icon,
a:hover > .btn-arrow .btn-icon {
  transform: translateX(2px);
}
.btn-sm {
  min-height: 36px;
  padding: 5px 5px 5px 12px;
  font-size: 14px;
}
.btn-sm .btn-icon {
  width: 24px;
  height: 24px;
}
.btn-accent,
.btn-lime {
  background: var(--accent);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-accent:hover,
.btn-lime:hover {
  background: var(--accent-dark);
}
.btn-outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--surface);
}
.btn-block {
  width: 100%;
  min-height: 50px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ---------- 顶部导航：上层灰色细栏 + 下层白色主栏（参考 soola.net） ---------- */
:root {
  --topbar-h: 36px;
  --bar-h: 84px;
}
/* 整个顶栏 sticky，top 为负的细栏高度：往下滚时细栏移出屏幕，主栏停在顶部 */
.site-header {
  position: sticky;
  top: calc(-1 * var(--topbar-h));
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
}
.header-topbar {
  height: var(--topbar-h);
  background: #e9e7e1;
  color: #6f6b65;
  font-size: 13px;
}
.topbar-welcome {
  margin: 0 auto 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.topbar-links a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}
.topbar-links a:hover {
  color: var(--accent);
}
.topbar-links > span[aria-hidden='true'],
.topbar-links .lang-sep {
  color: #bdb9b1;
}
/* 语言切换：简体 | 繁體 | EN，当前语言为品牌蓝 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.lang-item {
  color: inherit;
  text-decoration: none;
}
.topbar-links .lang-item.is-active {
  color: var(--accent);
  font-weight: 600;
}
.header-bar {
  position: relative;
  height: var(--bar-h);
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
  transition: box-shadow 0.2s ease;
}
.site-header.is-stuck .header-bar {
  border-bottom-color: transparent;
  box-shadow: 0 8px 24px rgb(22 38 45 / 9%);
}
.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  height: 44px;
  width: auto;
}
.nav {
  display: flex;
  flex: 1;
  align-self: stretch;
  justify-content: center;
  min-width: 0;
}
.nav-group {
  display: flex;
  align-items: stretch;
}
.nav-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 18px;
  color: #4d4d4d;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
/* 当前页 / 悬停：文字变品牌蓝，底部出现一条蓝线 */
.nav-top::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-top:hover,
.dd:hover > .nav-top,
.nav-top.is-active {
  color: var(--accent);
}
.nav-top:hover::after,
.dd:hover > .nav-top::after,
.nav-top.is-active::after {
  transform: scaleX(1);
}
.caret {
  font-size: 10px;
  opacity: 0.6;
}
/* 语言切换在电脑上放在顶部细栏，这里只在手机菜单里显示 */
.nav-lang {
  display: none;
}
.header-hotline {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.header-hotline-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.header-hotline:hover .header-hotline-icon {
  background: var(--accent);
  color: var(--white);
}
.header-hotline-text {
  display: grid;
  line-height: 1.3;
}
.header-hotline-text span {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.header-hotline-text strong {
  color: var(--ink);
  font-size: 19px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.header-cta {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}
/* 下拉菜单 */
.dd {
  position: relative;
  display: flex;
}
.dd-menu {
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 1px;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: 0.15s ease;
}
.dd:hover .dd-menu,
.dd:focus-within .dd-menu {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.dd-panel {
  display: grid;
  min-width: 220px;
  padding: 8px;
  border-top: 2px solid var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-card), var(--shadow-float);
}
.dd-panel a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}
.dd-panel a:hover {
  background: var(--chip);
}
.dd-panel .dd-all {
  color: var(--accent-dark);
}
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgb(0 0 0 / 4%);
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

/* ---------- 首页首屏 ---------- */
.home-hero {
  padding-top: clamp(56px, calc(20vw - 110px), 150px);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 48px;
  align-items: end;
  max-width: 1440px;
  padding-bottom: 48px;
}
.home-hero-side p {
  margin: 0 0 24px;
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
}
.home-hero-media {
  height: clamp(380px, 52vw, 760px);
  overflow: hidden;
}
.home-hero-media:has(.lineup) {
  height: clamp(300px, 36vw, 540px);
}
.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 没有首屏大图时：6 种常规吨袋排成一排 */
.lineup {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding: 0 5vw 5vw;
  background:
    radial-gradient(70% 60% at 50% 0%, rgb(255 255 255 / 55%), transparent 70%),
    linear-gradient(180deg, #e8e5dd 0%, #dcd7cc 72%, #d2ccc0 72.2%, #cfc9bd 100%);
}
.lineup-tag {
  position: absolute;
  top: 28px;
  left: 24px;
}
.lineup-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2.4vw;
  width: 100%;
  align-items: end;
}
.lineup figure {
  text-align: center;
}
.lineup figcaption {
  min-height: 3em;
  margin-top: 6px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 12px;
}

/* ---------- 服务行业：大图 + 叠加卡片 ---------- */
.showcase {
  /* 上方留白，和首屏大图分开 */
  padding: clamp(64px, 8vw, 112px) 16px 112px;
}
.showcase-media {
  max-width: 1408px;
  height: clamp(360px, 50vw, 780px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 没有照片时：编织布纹理 + 大号示意图 */
.showcase-fabric,
.split-fabric {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(0deg, rgb(255 255 255 / 9%) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 9%) 0 1px, transparent 1px 7px),
    radial-gradient(80% 90% at 70% 20%, #d9cdb8 0%, #b9a98f 55%, #8f7f67 100%);
}
.showcase-stack {
  position: absolute;
  right: 6%;
  top: 9%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3%;
  width: min(52%, 640px);
  align-items: end;
}
.showcase-card {
  position: relative;
  max-width: 1090px;
  margin: -220px auto 0;
  padding: 28px 24px 24px;
  border-radius: var(--radius);
  background: rgb(253 253 251 / 90%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card), var(--shadow-float);
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
}
/* 行业卡片：标题居中，说明紧跟在下方；上传了背景图时白字压在照片上 */
.showcase-grid li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 260px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid rgb(0 0 0 / 4%);
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: var(--shadow-btn);
  text-align: center;
}
.showcase-grid h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.3;
}
.showcase-grid p {
  position: relative;
  z-index: 1;
  max-width: 18em;
  margin: 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.6;
}
.showcase-grid li.has-image {
  border: 0;
  background: var(--ink);
}
.industry-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* 暗色渐变压住照片，保证白字清楚 */
.showcase-grid li.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 20 26 / 48%) 0%, rgb(10 20 26 / 72%) 100%);
}
.showcase-grid li.has-image:hover .industry-bg {
  transform: scale(1.05);
}
.showcase-grid li.has-image h3 {
  color: var(--white);
  text-shadow: 0 1px 10px rgb(0 0 0 / 35%);
}
.showcase-grid li.has-image p {
  color: rgb(255 255 255 / 92%);
  text-shadow: 0 1px 8px rgb(0 0 0 / 40%);
}

/* ---------- 版块标题 ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head .h2 + .lead,
.section-head .display + .lead {
  margin-top: 14px;
}
.section-head-center {
  justify-content: center;
  text-align: center;
}
.section-head-center .lead {
  margin-left: auto;
  margin-right: auto;
}
.section-display {
  max-width: 1100px;
  margin-bottom: 64px;
}
/* 首页「产品分类」：标题下方的分类按钮，点击切换产品 */
.section-display:has(+ .cat-tabs) {
  margin-bottom: 36px;
}
.cat-tabs-list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 40px;
  padding: 4px;
  border: 1px solid rgb(0 0 0 / 5%);
  border-radius: var(--radius-sm);
  background: rgb(0 0 0 / 4%);
}
.cat-tabs-list button {
  min-width: 132px;
  padding: 12px 26px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--body);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.cat-tabs-list button:hover {
  background: rgb(255 255 255 / 60%);
  color: var(--ink);
}
.cat-tabs-list button.is-active {
  background: var(--accent);
  box-shadow: var(--shadow-btn);
  color: var(--white);
}
.cat-tabs-panel {
  animation: cat-tabs-in 0.3s ease;
}
@keyframes cat-tabs-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 产品卡片 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.product-card,
.case-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.2s ease;
}
.product-card:hover,
.case-card:hover {
  transform: translateY(-3px);
}
.product-card-img,
.case-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.product-card-body,
.case-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 18px 18px;
}
.product-card h3,
.case-card h3 {
  font-size: 19px;
  line-height: 1.3;
}
.product-card p,
.case-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.product-card .btn {
  margin-top: auto;
}

/* ---------- 图片占位 / 吨袋示意图 ---------- */
.media-placeholder {
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.media-bag {
  padding: 7% 20% 4%;
  background: linear-gradient(180deg, #eeece6 0%, #e2ded5 100%);
}
.media-bag .bag-illustration {
  max-height: 100%;
}
.bag-illustration {
  width: 100%;
  height: auto;
  overflow: visible;
}
.bag-shadow {
  fill: rgb(22 38 45 / 12%);
}
.bag-body {
  fill: var(--white);
  stroke: var(--ink-2);
  stroke-width: 2;
}
.bag-weave {
  stroke: var(--line-soft);
  stroke-width: 0.7;
  fill: none;
}
.bag-loop {
  fill: none;
  stroke: var(--accent);
  stroke-width: 9;
  stroke-linecap: round;
}
.bag-loop-back {
  opacity: 0.45;
}
.bag-neck {
  fill: var(--white);
  stroke: var(--ink-2);
  stroke-width: 2;
}
.bag-seam {
  stroke: var(--faint);
  stroke-width: 1.5;
  stroke-dasharray: 5 4;
  fill: none;
}
.bag-tie {
  stroke: var(--accent-dark);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}
.bag-opening {
  stroke: var(--ink-2);
  stroke-width: 2;
  fill: var(--line-soft);
}
.bag-liner {
  fill: #cfd8d2;
  stroke: var(--ink-2);
  stroke-width: 1.5;
}
.bag-tag {
  fill: var(--accent-soft);
  stroke: var(--ink-2);
  stroke-width: 1;
}
.bag-tag-text {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  fill: var(--ink);
}

/* ---------- 标签页卡片 ---------- */
.feature-tabs {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card), var(--shadow-float);
}
.feature-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: rgb(0 0 0 / 3%);
}
.feature-tabs-list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.feature-tabs-list::-webkit-scrollbar {
  display: none;
}
.feature-tabs-list button {
  flex: none;
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #66625d;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.feature-tabs-list button:hover {
  color: var(--ink);
}
.feature-tabs-list button.is-active {
  background: var(--accent);
  color: var(--white);
}
.feature-tabs-arrows {
  display: flex;
  flex: none;
  gap: 4px;
}
.feature-tabs-arrows button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  color: var(--grey);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
}
.feature-tabs-arrows button:hover {
  color: var(--ink);
}
.feature-tabs-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 56px);
  margin-top: 24px;
}
/* 左栏：大编号下面紧接标题和说明，进度条固定在底部 */
.feature-tabs-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(8px, 1.6vw, 20px) clamp(4px, 1.2vw, 16px);
  animation: rise 0.45s ease both;
}
.feature-index {
  color: var(--accent);
  font-size: clamp(56px, 6vw, 88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.feature-tabs-copy h3 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
}
.feature-text {
  max-width: 34em;
  margin: 0 0 24px;
  color: var(--body);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.7;
}
.feature-progress {
  display: flex;
  margin-top: auto;
  align-items: center;
  gap: 16px;
}
.feature-progress-bar {
  position: relative;
  flex: 1;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--line);
}
.feature-progress-bar > span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--accent);
  transition: width 0.35s ease;
}
.feature-count {
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 13px;
}
/* 右栏：有配图时铺满；没有时浅色底 + 白色圆底 + 吨袋示意图 */
.feature-tabs-visual {
  position: relative;
  display: grid;
  min-height: 420px;
  overflow: hidden;
  place-items: center;
  border-radius: var(--radius);
  background: var(--tint);
}
.feature-tabs-visual:not(.has-photo)::before {
  content: '';
  position: absolute;
  width: min(62%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(255 255 255 / 60%);
}
.feature-tabs-visual .feature-bag {
  position: relative;
  width: min(40%, 220px);
  animation: rise 0.45s ease both;
}
.feature-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade 0.45s ease both;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

/* ---------- 时间轴卡片 ---------- */
.timeline-card {
  padding: 24px 24px 8px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card), var(--shadow-float);
}
.timeline-title {
  margin-bottom: 40px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  row-gap: 28px;
  margin: 0;
  padding: 0 0 20px;
  list-style: none;
}
.timeline li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-height: 170px;
  padding-right: 20px;
  scroll-snap-align: start;
}
.timeline-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.timeline-ruler {
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 16px);
}
.timeline h3 {
  margin-top: 6px;
  font-size: 17px;
  line-height: 1.3;
}
.timeline p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- 左文右图 ---------- */
.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.split-copy .h2 {
  margin-bottom: 28px;
}
.split-copy p {
  max-width: 460px;
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
}
.split-copy .btn {
  margin-top: 16px;
}
.split-visual {
  aspect-ratio: 6 / 7;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), var(--shadow-float);
}
.split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-fabric {
  display: grid;
  place-items: center;
}
.split-fabric .split-bag {
  width: 56%;
}

/* ---------- 应用案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card-img {
  aspect-ratio: 16 / 10;
}
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-self: stretch;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.case-metrics strong {
  display: block;
  font-size: 22px;
  font-weight: 500;
}
.case-metrics span {
  color: var(--grey);
  font-size: 12px;
}

/* ---------- 合作客户 ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-grid li {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-btn);
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}
.logo-grid img {
  max-height: 44px;
  width: auto;
}

/* ---------- 新闻 + 常见问题 ---------- */
.news-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.news-list {
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 104px 1fr 20px;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.news-item time {
  padding-top: 3px;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
}
.news-item h3 {
  font-size: 17px;
  line-height: 1.35;
}
.news-item p {
  display: -webkit-box;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--body);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-arrow {
  color: var(--faint);
  transition: transform 0.15s ease;
}
.news-item:hover .news-arrow {
  color: var(--accent-dark);
  transform: translateX(3px);
}
.news-list-page .news-item {
  padding: 28px 0;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  color: var(--accent-dark);
  font-family: var(--font-mono);
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  margin: -4px 0 20px;
  color: var(--body);
  font-size: 15px;
}
.custom-faq {
  max-width: 860px;
}

/* ---------- 询价（深色通栏） ---------- */
.quote-section {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 140px) 0;
  background:
    radial-gradient(60% 80% at 10% 100%, var(--accent-glow), transparent 70%),
    repeating-linear-gradient(0deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgb(255 255 255 / 3%) 0 1px, transparent 1px 8px),
    var(--ink);
  color: var(--white);
}
.quote-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.quote-section .tone-ink {
  color: var(--white);
}
.quote-section .tone-grey {
  color: rgb(255 255 255 / 55%);
}
.quote-info .lead {
  color: rgb(255 255 255 / 72%);
}
.quote-contacts {
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 12%);
  list-style: none;
}
.quote-contacts li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}
.quote-contacts span {
  color: rgb(255 255 255 / 55%);
  font-family: var(--font-mono);
  font-size: 12px;
}
.quote-contacts a {
  color: var(--white);
  text-decoration: none;
}
.quote-reply {
  margin: 16px 0 0;
  color: rgb(255 255 255 / 55%);
  font-size: 13px;
}
.quote-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px -30px rgb(0 0 0 / 60%);
}
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field label {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: 2px solid var(--accent-ring);
  outline-offset: 0;
}
.field-full {
  grid-column: 1 / -1;
}
.form-success,
.form-error {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
}
.form-success {
  background: #e3f4e7;
  color: #1f6b33;
}
.form-error {
  background: #fdecea;
  color: #a1271b;
}

/* ---------- 页脚（渐变到薄荷绿） ---------- */
/* 浅色页脚（参考 PixelFlow 官网的结构）：三色丝带 + 光晕点阵背景 + 超大品牌字 */
.site-footer {
  --f-strong: var(--ink);
  --f-text: var(--body);
  --f-faint: var(--grey);
  --f-line: var(--line);
  --f-hover: var(--accent-dark);
  --f-lime: #c8f25a;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--bg) 0%, var(--tint) 100%);
  color: var(--f-text);
}
/* 左上品牌蓝光晕 + 右下荧光绿光晕；上半部分淡淡的点阵 */
.site-footer::before,
.site-footer::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.site-footer::before {
  background:
    radial-gradient(60% 50% at 8% 0%, var(--accent-glow), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgb(200 242 90 / 22%), transparent 70%);
}
.site-footer::after {
  background-image: radial-gradient(rgb(22 38 45 / 9%) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000, transparent 55%);
}
/* 顶部三色丝带，呼应 Logo：米白、品牌蓝、荧光绿 */
.footer-ribbon {
  height: 4px;
  background: linear-gradient(90deg, #f6f7f4 0 33%, var(--accent) 33% 72%, var(--f-lime) 72% 100%);
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px;
}
/* 上下留白单独写，并提高优先级，避免被手机端 .container 的 padding 覆盖 */
.site-footer .footer-main {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 56px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--f-strong);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.footer-brand svg {
  width: 40px;
  height: 40px;
}
.footer-tagline {
  max-width: 22em;
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 1.7;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
/* 胶囊按钮：社交账号、语言切换、返回顶部 */
.footer-socials a,
.footer-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--f-line);
  border-radius: 999px;
  color: var(--f-strong);
  font-size: 13px;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}
.footer-socials a:hover,
.footer-chip:hover {
  border-color: var(--f-hover);
  background: var(--accent-soft);
  color: var(--f-hover);
}
.footer-langs {
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--f-line);
  border-radius: 999px;
}
.footer-langs .lang-item {
  padding: 4px 12px;
  border-radius: 999px;
  color: var(--f-strong);
  font-size: 13px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}
.footer-langs a.lang-item:hover {
  background: var(--accent-soft);
  color: var(--f-hover);
}
.footer-langs .lang-item.is-active {
  background: var(--accent);
  color: var(--white);
}
.footer-side {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 48px;
  align-items: start;
}
/* 联系方式这一栏内容较长，给它多一些宽度 */
.footer-col-contact {
  min-width: 260px;
}
.footer-col-title {
  margin: 0 0 18px;
  color: var(--f-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.footer-col ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 链接悬停：文字变深 + 品牌蓝下划线从左展开 */
.footer-col a {
  color: var(--f-text);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  background: linear-gradient(var(--f-hover), var(--f-hover)) no-repeat 0 100% / 0 1px;
  transition:
    color 0.2s ease,
    background-size 0.3s ease;
}
.footer-col a:hover {
  color: var(--f-strong);
  background-size: 100% 1px;
}
.footer-contact {
  display: grid;
  gap: 10px;
  margin: 0;
}
.footer-contact div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  font-size: 15px;
}
.footer-contact dt {
  color: var(--f-faint);
}
.footer-contact dd {
  margin: 0;
  color: var(--f-strong);
}
.footer-contact a {
  color: inherit;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--f-line);
  color: var(--f-faint);
  font-size: 13px;
}
.site-footer .footer-bottom {
  padding-top: 22px;
  padding-bottom: 22px;
}
.footer-bottom-actions {
  display: flex;
  gap: 8px;
}
/* 超大品牌字衬在品牌栏和分栏背后，垂直居中；上实下虚，蓝绿渐变缓慢流动 */
.footer-stage {
  position: relative;
}
.footer-stage > .footer-main {
  position: relative;
  z-index: 1;
}
.footer-wordmark {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  transform: translateY(-50%);
  font-size: clamp(88px, 21vw, 320px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  color: transparent;
  background: linear-gradient(
      100deg,
      rgb(22 38 45 / 6%) 20%,
      rgb(43 79 240 / 22%) 45%,
      rgb(150 190 40 / 30%) 55%,
      rgb(22 38 45 / 6%) 80%
    )
    0 0 / 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
  animation: footer-sheen 14s ease-in-out infinite alternate;
}
@keyframes footer-sheen {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}

/* ---------- 内页首屏 ---------- */
.page-hero {
  padding: 72px 0 64px;
}
.page-hero-image {
  padding-top: 0;
}
.page-hero-img {
  width: 100%;
  height: clamp(320px, 48vw, 720px);
  margin-bottom: 40px;
  object-fit: cover;
}
.page-hero-compact {
  padding-bottom: 8px;
}
.breadcrumb {
  margin-bottom: 28px;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
}
.breadcrumb a {
  color: var(--grey);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--ink);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 48px;
  align-items: end;
}
.page-hero-lead {
  margin: 0;
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

/* ---------- 产品中心 ---------- */
.product-side {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  margin-bottom: 28px;
  padding: 4px;
  border-radius: var(--radius-sm);
  background: rgb(0 0 0 / 3%);
}
.product-side .side-group,
.product-side ul,
.product-side li {
  display: contents;
}
.product-side .side-title {
  display: none;
}
.product-side a {
  padding: 8px 14px;
  border-radius: 9px;
  color: #66625d;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.product-side a:hover {
  color: var(--ink);
}
.product-side a.is-active {
  background: var(--accent);
  color: var(--white);
}
.product-count {
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.empty-note {
  padding: 48px;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--grey);
  text-align: center;
}

/* ---------- 产品详情 ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.product-media {
  position: sticky;
  top: 110px;
}
.product-illustration {
  padding: 8% 18% 5%;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #eeece6 0%, #e0dcd2 100%);
}
.product-illustration figcaption {
  margin-top: 14px;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}
.gallery-main {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.gallery-thumbs button {
  width: 72px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  opacity: 0.6;
  cursor: pointer;
}
.gallery-thumbs button.is-active {
  outline: 2px solid var(--accent);
  opacity: 1;
}
.product-info .tags {
  margin-bottom: 18px;
}
.product-title {
  margin-bottom: 16px;
}
.spec-table {
  width: 100%;
  margin: 32px 0 24px;
  border-collapse: collapse;
}
.spec-table caption {
  padding-bottom: 10px;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: left;
}
.spec-table th,
.spec-table td {
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  width: 34%;
  padding-right: 16px;
  color: var(--grey);
  font-weight: 400;
}
.product-apps {
  margin: 0;
  color: var(--body);
  font-size: 15px;
}
.product-apps strong {
  color: var(--ink);
  font-weight: 500;
}
.product-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.product-body .h3 {
  margin-bottom: 18px;
}
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.checklist li::before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: var(--accent-dark);
  font-weight: 700;
}
.card-panel {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

/* ---------- 富文本 ---------- */
.prose {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.8;
}
.prose p {
  margin: 0 0 18px;
}
.prose h2,
.prose h3 {
  margin: 36px 0 12px;
  color: var(--ink);
  font-weight: 500;
}
.prose h2 {
  font-size: 24px;
}
.prose h3 {
  font-size: 19px;
}
.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 1.3em;
}
.prose blockquote {
  margin: 24px 0;
  padding-left: 18px;
  border-left: 3px solid var(--accent);
  color: var(--body);
}
.prose img {
  border-radius: var(--radius);
}
.prose a {
  color: var(--accent-dark);
}
.prose > :first-child {
  margin-top: 0;
}

/* ---------- 集装袋定制：可定制项目 ---------- */
.option-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* 每一行都和最高的那行一样高，所有卡片等高 */
  grid-auto-rows: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* 可定制项目：标题 + 详细介绍；每张卡片一种底色，按 8 色循环 */
.option-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 26px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: var(--radius);
  background: var(--card-bg, var(--surface));
  box-shadow: 0 1px 2px rgb(22 38 45 / 6%), 0 12px 28px -18px rgb(22 38 45 / 25%);
}
.option-grid li:nth-child(8n + 1) {
  --card-bg: var(--card-1);
}
.option-grid li:nth-child(8n + 2) {
  --card-bg: var(--card-2);
}
.option-grid li:nth-child(8n + 3) {
  --card-bg: var(--card-3);
}
.option-grid li:nth-child(8n + 4) {
  --card-bg: var(--card-4);
}
.option-grid li:nth-child(8n + 5) {
  --card-bg: var(--card-5);
}
.option-grid li:nth-child(8n + 6) {
  --card-bg: var(--card-6);
}
.option-grid li:nth-child(8n + 7) {
  --card-bg: var(--card-7);
}
.option-grid li:nth-child(8n) {
  --card-bg: var(--card-8);
}
.option-grid h3 {
  font-size: 18px;
  line-height: 1.35;
}
.option-grid p {
  margin: 10px 0 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- 应用案例详情 ---------- */
.case-detail {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.case-cover {
  width: 100%;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
}
.case-aside {
  position: sticky;
  top: 110px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.case-aside dl {
  margin: 0;
}
.case-aside dl div {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
.case-aside dt {
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
}
.case-aside dd {
  margin: 4px 0 0;
  font-weight: 500;
}
.case-metrics-stack {
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  border-top: 0;
}

/* ---------- 新闻详情 ---------- */
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: 12px;
}
.article-cover {
  width: 100%;
  margin-bottom: 32px;
  border-radius: var(--radius-lg);
}
.article-lead {
  max-width: none;
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 19px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a,
.pagination span {
  display: inline-grid;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  place-items: center;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: var(--shadow-btn);
  color: var(--ink);
  font-size: 14px;
  text-decoration: none;
}
.pagination .is-current {
  background: var(--accent);
  color: var(--white);
}

/* ---------- 联系我们 ---------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}
.contact-cards > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 20px 20px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
/* 标题：圆形图标 + 文字 */
.contact-cards dt {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}
.contact-cards dd {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-cards a {
  text-decoration: none;
}
/* 联系卡片下方的通栏地图 */
.contact-map {
  height: clamp(320px, 38vw, 480px);
  margin-top: 16px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* 还没有地址时：浅蓝底 + 细网格，像一张空白地图 */
.contact-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background:
    repeating-linear-gradient(0deg, rgb(43 79 240 / 6%) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgb(43 79 240 / 6%) 0 1px, transparent 1px 40px),
    var(--tint);
  color: var(--accent);
}
.contact-map-placeholder span {
  color: var(--body);
  font-size: 15px;
}

/* ---------- 关于搜浪科技 ---------- */
/* 分隔线 + 左标题 + 右内容的一行 */
.about-profile,
.about-culture {
  padding: clamp(48px, 5vw, 72px) 0 clamp(72px, 7vw, 112px);
  border-top: 1px solid var(--line);
}
.about-heading {
  margin-bottom: clamp(28px, 3vw, 40px);
}
/* 公司简介：左边公司图片，右边标题 + 介绍；图片和文字等高 */
.about-profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.about-profile-text-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 820px;
}
.about-profile-img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
}
.about-prose {
  font-size: 16px;
}
.about-prose > :last-child {
  margin-bottom: 0;
}
/* 公司档案：通栏四列的资料表，格子之间用细线分隔 */
.about-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(40px, 5vw, 64px) 0 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.about-facts > div {
  padding: 22px 24px 24px;
  box-shadow:
    1px 0 0 var(--line-soft),
    0 1px 0 var(--line-soft);
}
.about-facts dt {
  color: var(--grey);
  font-size: 13px;
}
.about-facts dd {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border-top: 1px solid var(--line);
}
/* 每格的数字和说明在上下两条分隔线之间居中；下方那条线是「公司简介」的上边框 */
.stat-band > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 5vw, 64px) 16px;
  text-align: center;
}
.stat-band > div + div {
  border-left: 1px solid var(--line);
}
.stat-band dt {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}
.stat-band dd {
  margin: 6px 0 0;
  color: var(--body);
  font-size: 14px;
}
/* 企业文化：浅蓝底板上一行四列，编号 + 名称 + 一句话 */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--tint);
  list-style: none;
}
.culture-grid li {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4vw, 56px);
  padding: 28px 24px 32px;
  box-shadow:
    1px 0 0 rgb(255 255 255 / 70%),
    0 1px 0 rgb(255 255 255 / 70%);
}
.culture-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}
.culture-no {
  color: var(--accent-dark);
  font-family: var(--font-mono);
  font-size: 12px;
}
.culture-head h3 {
  color: var(--accent-dark);
  font-size: 15px;
}
.culture-grid p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
}
/* 质量控制：大图 + 左下角磨砂卡片 */
.overlay-media {
  position: relative;
  min-height: clamp(560px, 62vw, 860px);
  overflow: hidden;
}
.overlay-media > .overlay-img,
.overlay-media > .split-fabric {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay-media .split-fabric .split-bag {
  width: min(32%, 380px);
  margin-left: 30%;
}
.overlay-card {
  position: absolute;
  left: clamp(16px, 3.5vw, 50px);
  bottom: clamp(16px, 3.5vw, 50px);
  width: min(420px, calc(100% - 32px));
  padding: 24px;
  border-radius: var(--radius);
  background: rgb(253 253 251 / 82%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-card);
}
.overlay-card .h2 {
  margin-bottom: 18px;
}
.overlay-card > p {
  margin: 0 0 18px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.quality-list {
  display: grid;
  gap: 8px;
  margin: 0 0 4px;
  padding: 0;
  list-style: none;
}
.quality-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
  font-size: 14px;
}
.quality-list strong {
  font-weight: 600;
}
.quality-list span {
  grid-column: 2;
  color: var(--body);
}
.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.factory-grid figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.factory-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.factory-grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgb(253 253 251 / 88%);
  color: var(--ink);
  font-size: 13px;
  box-shadow: var(--shadow-btn);
}
.cert-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.cert {
  padding: 12px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.cert-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}
.cert figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
}

/* ---------- 右侧悬浮联系 ---------- */
.float-contact {
  position: fixed;
  right: 18px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 56px;
  height: 56px;
  border: 1px solid rgb(0 0 0 / 5%);
  border-radius: 14px;
  background: rgb(253 253 251 / 92%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
  color: var(--ink-2);
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
}
.float-item:hover {
  color: var(--accent-dark);
}
.float-quote {
  background: var(--accent);
  color: var(--white);
}
.float-quote:hover {
  background: var(--accent-dark);
  color: var(--white);
}
.float-pop {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  white-space: nowrap;
  transform: translateY(-50%);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.float-item:hover .float-pop,
.float-item:focus-visible .float-pop {
  opacity: 1;
  visibility: visible;
}

/* ---------- 预览模式提示 ---------- */
.preview-banner {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  box-shadow: var(--shadow-float);
}
.preview-banner a {
  color: var(--accent-light);
  font-weight: 600;
}
.preview-banner__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1360px) {
  .nav-top {
    padding: 0 12px;
    letter-spacing: 0.02em;
  }
  .nav-top::after {
    left: 12px;
    right: 12px;
  }
}

@media (max-width: 1180px) {
  .header-inner {
    gap: 16px;
  }
  .nav-top {
    padding: 0 10px;
    font-size: 15px;
    letter-spacing: 0;
  }
  .nav-top::after {
    left: 10px;
    right: 10px;
  }
  .header-hotline-text {
    display: none;
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .option-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .timeline {
    grid-template-columns: repeat(min(var(--cols, 4), 4), minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  /* 手机：只留白色主栏（Logo、电话、菜单按钮），菜单从主栏下方展开 */
  :root {
    --topbar-h: 0px;
    --bar-h: 64px;
  }
  .header-topbar {
    display: none;
  }
  .header-inner {
    gap: 10px;
    padding: 0 16px;
  }
  .brand {
    margin-right: auto;
  }
  .menu-toggle {
    display: flex;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-height: calc(100vh - var(--bar-h));
    padding: 4px 16px 16px;
    overflow-y: auto;
    border-top: 1px solid var(--line-soft);
    background: var(--white);
    box-shadow: 0 16px 32px rgb(22 38 45 / 12%);
  }
  .site-header.is-open .nav {
    display: flex;
  }
  .nav-group {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-top {
    height: auto;
    padding: 14px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
    letter-spacing: 0.02em;
  }
  .nav-top::after {
    display: none;
  }
  .dd {
    display: block;
  }
  .dd > .nav-top {
    display: flex;
  }
  .dd-menu {
    position: static;
    padding: 0 0 0 12px;
    visibility: visible;
    opacity: 1;
    transform: none;
  }
  .dd-panel {
    min-width: 0;
    padding: 4px 0;
    border-top: 0;
    background: none;
    box-shadow: none;
  }
  .nav-lang {
    display: flex;
    gap: 8px;
    padding: 16px 0 4px;
  }
  .nav-lang .lang-item {
    padding: 8px 16px;
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    color: var(--body);
    font-size: 14px;
  }
  .nav-lang .lang-item.is-active {
    border-color: var(--accent);
    background: var(--accent);
    color: var(--white);
  }
  .header-hotline-icon {
    width: 40px;
    height: 40px;
  }
  .home-hero-grid,
  .page-hero-grid,
  .feature-tabs-body,
  .split-media,
  .news-faq,
  .quote-grid,
  .product-detail,
  .product-body,
  .case-detail,
  .about-profile-body {
    grid-template-columns: 1fr;
  }
  .home-hero-grid,
  .page-hero-grid,
  .about-profile-body {
    gap: 24px;
  }
  .about-profile-img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .product-media,
  .case-aside {
    position: static;
  }
  .feature-tabs-visual {
    min-height: 300px;
  }
  .feature-tabs-copy {
    gap: 24px;
  }
  .showcase-card {
    margin-top: -120px;
  }
  .showcase-grid,
  .stat-band {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid li {
    min-height: 220px;
  }
  .stat-band > div {
    padding: 28px 12px;
  }
  .stat-band > div:nth-child(odd) {
    border-left: 0;
  }
  .stat-band > div:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-grid,
  .culture-grid,
  .about-facts,
  .contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid,
  .product-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .factory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .timeline {
    grid-template-columns: none;
    grid-auto-columns: 42%;
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  /* 手机上悬浮栏变成底部固定栏 */
  .float-contact {
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .float-item {
    flex: 1;
    width: auto;
    height: 56px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
  }
  .float-quote {
    background: var(--accent);
  }
  .float-pop {
    display: none;
  }
  .site-footer {
    padding-bottom: 84px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
  .brand {
    font-size: 19px;
  }
  .header-cta {
    display: none;
  }
  .section {
    padding: 72px 0;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-hero-media,
  .home-hero-media:has(.lineup) {
    height: auto;
  }
  .lineup {
    padding: 64px 16px 28px;
  }
  .lineup-row {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 20px;
  }
  .showcase {
    padding: 48px 10px 72px;
  }
  .showcase-media {
    height: 320px;
  }
  .showcase-card {
    margin-top: -80px;
    padding: 20px 16px 16px;
  }
  .showcase-grid,
  .case-grid,
  .culture-grid,
  .option-grid,
  .factory-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }
  .about-facts > div {
    padding: 16px 16px 18px;
  }
  .culture-grid li {
    gap: 20px;
    padding: 20px 20px 24px;
  }
  .product-grid,
  .product-grid-3 {
    gap: 12px;
  }
  .product-card-body {
    padding: 12px;
  }
  .product-card h3 {
    font-size: 15px;
  }
  .product-card p,
  .product-card .btn {
    display: none;
  }
  .feature-tabs,
  .timeline-card {
    padding: 14px;
  }
  .feature-tabs-arrows {
    display: none;
  }
  .timeline {
    grid-auto-columns: 78%;
  }
  .split-visual {
    aspect-ratio: 4 / 3;
  }
  .news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .news-arrow {
    display: none;
  }
  .quote-card {
    padding: 18px;
  }
  .quote-form {
    grid-template-columns: 1fr;
  }
  .footer-side {
    grid-auto-flow: row;
    gap: 32px;
  }
  .footer-col-contact {
    min-width: 0;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .overlay-media {
    min-height: 0;
    display: flex;
    flex-direction: column;
  }
  .overlay-media > .overlay-img,
  .overlay-media > .split-fabric {
    position: relative;
    height: 300px;
  }
  .overlay-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -40px 12px 0;
  }
  .page-hero {
    padding-top: 48px;
  }
  .page-hero-image {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
