/* ==========================================================================
   XX印务 品牌官网 · 设计系统 v2
   风格：现代商业电商风（浅色基底 + 印刷红强调 + 圆角卡片）
   结构：1 变量  2 基础  3 布局  4 组件  5 顶栏页头  6 首屏  7 分类导航
        8 区块  9 表单  10 页脚  11 动效  12 响应式
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 品牌色 */
  --brand: #e8402a;
  --brand-lit: #f2542d;
  --brand-deep: #c22f1c;
  --brand-dark: #8f2113;
  --brand-soft: #fff2ef;
  --brand-soft-2: #ffe4dd;
  --brand-line: #ffd6cc;
  --brand-glow: rgba(232, 64, 42, 0.14);

  /* 文字 */
  --ink: #0e1319;
  --ink-2: #1e2733;
  --body: #55606f;
  --muted: #7d8794;
  --faint: #a3abb7;
  --on-dark: #eef1f5;
  --on-dark-soft: #98a3b2;

  /* 背景 */
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --bg-alt-2: #f1f3f6;
  --bg-deep: #0f151d;
  --bg-deep-2: #171f29;

  /* 线条 */
  --line: #eaedf1;
  --line-2: #dfe4ea;
  --line-3: #cfd6de;

  /* 尺寸 */
  --container: 1240px;
  --container-narrow: 960px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --header-h: 74px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 20px 46px rgba(16, 24, 40, 0.12);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC",
    sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Consolas,
    "Liberation Mono", monospace;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 基础 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: var(--brand);
  color: #fff;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt-2);
}
::-webkit-scrollbar-thumb {
  background: #c9d0d9;
  border-radius: 8px;
  border: 3px solid var(--bg-alt-2);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

/* ---------- 3. 布局 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  position: relative;
  padding: 92px 0;
}

.section--tight {
  padding: 62px 0;
}

.section--alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--grid {
  background-image: linear-gradient(rgba(14, 19, 25, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 19, 25, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
}

.section--grid::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(232, 64, 42, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ---------- 4. 组件 ---------- */

/* 小标签 */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px 5px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.5;
}

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

.section-head {
  margin-bottom: 46px;
}

.section-head--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head--center .eyebrow {
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(26px, 3.1vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 15px;
}

.section-title em {
  font-style: normal;
  color: var(--brand);
  position: relative;
}

.section-desc {
  margin-top: 16px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 660px;
  line-height: 1.8;
}

.section-head--center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* CMYK 色条 */
.cmyk-bar {
  display: flex;
  gap: 4px;
  margin-top: 18px;
  height: 4px;
  width: 188px;
}

.section-head--center .cmyk-bar {
  margin-left: auto;
  margin-right: auto;
}

.cmyk-bar span {
  flex: 1;
  border-radius: 3px;
}

.cmyk-bar span:nth-child(1) {
  background: #22b8cf;
}
.cmyk-bar span:nth-child(2) {
  background: #e64980;
}
.cmyk-bar span:nth-child(3) {
  background: #fcc419;
}
.cmyk-bar span:nth-child(4) {
  background: #495057;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), border-color 0.22s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
  transition: transform 0.22s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--brand-lit), var(--brand));
  color: #fff;
  box-shadow: 0 6px 18px rgba(232, 64, 42, 0.26);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(232, 64, 42, 0.34);
}

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

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: var(--brand-line);
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

.btn--sm {
  height: 40px;
  padding: 0 18px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
}

.btn--lg {
  height: 54px;
  padding: 0 30px;
  font-size: 15.5px;
  border-radius: 13px;
}

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

/* ---------- 5. 顶栏 & 页头 ---------- */
.topbar {
  background: var(--bg-deep);
  color: var(--on-dark-soft);
  font-size: 12.5px;
  position: relative;
  z-index: 60;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
  flex-wrap: wrap;
}

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

.topbar__list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1;
  white-space: nowrap;
}

.topbar__list svg {
  width: 13px;
  height: 13px;
  flex: none;
  opacity: 0.75;
}

.topbar strong {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar a:hover {
  color: #fff;
}

.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.28s var(--ease), background-color 0.28s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.logo__mark {
  width: 40px;
  height: 40px;
  flex: none;
}

/* 企业 LOGO 图片（页头/页脚通用） */
.logo__img {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(232, 64, 42, 0.18);
  display: block;
}

@media (max-width: 768px) {
  .logo__img { width: 42px; height: 42px; border-radius: 9px; }
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.logo__cn {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.logo__en {
  font-size: 9.5px;
  color: var(--faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  flex: none;
}

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

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

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

.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brand);
}

/* 中等宽度页头：压缩间距，保证 6 个导航项单行显示 */
@media (max-width: 1400px) {
  .header .container {
    gap: 18px;
  }
  .nav {
    margin-left: 0;
    gap: 2px;
  }
  .nav__link {
    padding: 9px 10px;
    font-size: 14px;
  }
  .searchbar {
    width: 210px;
  }
  .header__tel b {
    font-size: 14px;
  }
}

/* 页头搜索框 */
.searchbar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 42px;
  width: 236px;
  padding: 0 6px 0 15px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--bg-alt);
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease);
}

.searchbar:focus-within {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.searchbar svg {
  width: 16px;
  height: 16px;
  color: var(--faint);
  flex: none;
}

.searchbar input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 13.5px;
}

.searchbar input::placeholder {
  color: var(--faint);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
  margin-left: auto;
}

.header__tel {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-right: 14px;
  border-right: 1px solid var(--line-2);
}

.header__tel span {
  font-size: 10.5px;
  color: var(--faint);
  letter-spacing: 0.04em;
}

.header__tel b {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: #fff;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  background: var(--ink);
  border-radius: 2px;
  transition: background-color 0.2s;
}

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

.nav-toggle span::before {
  top: -6px;
}
.nav-toggle span::after {
  top: 6px;
}

body.nav-open .nav-toggle span {
  background: transparent;
}
body.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 6. 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
  background: linear-gradient(180deg, #fff 0%, #fff 52%, var(--bg-alt) 100%);
}

.hero__glow {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 64, 42, 0.13),
    rgba(232, 64, 42, 0) 66%
  );
  pointer-events: none;
}

.hero__glow--2 {
  top: auto;
  bottom: 40px;
  right: auto;
  left: -240px;
  width: 620px;
  height: 620px;
  background: radial-gradient(
    circle,
    rgba(34, 184, 207, 0.1),
    rgba(34, 184, 207, 0) 66%
  );
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 58px;
  align-items: center;
  padding-bottom: 74px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 16px 0 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-xs);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.hero__badge b {
  color: var(--brand);
  font-weight: 800;
}

.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex: none;
  box-shadow: 0 0 0 3px var(--brand-glow);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px var(--brand-glow);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(232, 64, 42, 0.07);
  }
}

.hero__title {
  margin-top: 22px;
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero__title .u {
  color: var(--brand);
  position: relative;
  white-space: nowrap;
}

.hero__title .u::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 9px;
  border-radius: 3px;
  background: var(--brand-soft-2);
  z-index: -1;
}

.hero__desc {
  margin-top: 22px;
  font-size: 16px;
  color: var(--body);
  max-width: 560px;
  line-height: 1.85;
}

.hero .btn-row {
  margin-top: 32px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed var(--line-2);
}

.hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--muted);
}

.hero__meta svg {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

.hero__visual {
  position: relative;
}

.hero__main img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}

.hero__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.hero__thumb {
  width: 68px;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: none;
  opacity: 0.75;
  transition: border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.hero__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.hero__thumb.is-active {
  border-color: var(--brand);
  opacity: 1;
}

/* ---------- 工厂常用工艺 · 实拍圆图卡 ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.craft {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.craft:hover {
  border-color: var(--brand-line);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 19, 25, 0.06);
}

.craft__media {
  flex: 0 0 auto;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: 0 0 0 1px rgba(14, 19, 25, 0.08);
}

.craft__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
}

.craft__desc {
  margin: 5px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body);
}

/* 另含结构工序标签 */
.craft-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
}

.craft-tags__label {
  margin-right: 4px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.craft-tag {
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  color: var(--body);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .craft-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .craft-grid {
    grid-template-columns: 1fr;
  }

  .craft {
    padding: 14px 16px;
    gap: 14px;
  }

  .craft__media {
    width: 74px;
    height: 74px;
  }

  .craft-tags {
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
  }
}

/* ---------- 包装业务页 ---------- */
.feature__note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.7;
}

.feature__note b {
  color: var(--brand);
  font-weight: 700;
}

.tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag {
  font-size: 11.5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  font-weight: 600;
}

.quad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quad .feature {
  padding: 26px 22px;
}

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

.indlist__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.indlist__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.indlist__no {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 13px;
}

.indlist__name {
  font-weight: 700;
  color: var(--ink);
  font-size: 14.5px;
}

.indlist__desc {
  font-size: 12.5px;
  color: var(--body);
  margin-top: 3px;
  line-height: 1.6;
}

.casevisual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(120% 120% at 82% 0%, var(--brand-soft-2), transparent 60%),
    linear-gradient(135deg, #1f2a44, #0f1830);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}

.casevisual__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(4px);
}

.casevisual__title {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0 18px;
}

.heropic {
  position: relative;
  width: 100%;
}

.heropic svg,
.heropic img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 28px 60px rgba(16, 24, 40, 0.18);
}

.heropic__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

@media (max-width: 980px) {
  .quad { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .quad { grid-template-columns: 1fr; }
  .indlist { grid-template-columns: 1fr; }
}

.hero__main {
  position: relative;
}

.hero__chip {
  position: absolute;
  left: -22px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.hero__chip i {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex: none;
}

.hero__chip i svg {
  width: 19px;
  height: 19px;
}

.hero__chip b {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.2;
}

.hero__chip small {
  font-size: 11.5px;
  color: var(--muted);
}

/* 首屏数据条 */
.hero__stats {
  position: relative;
  z-index: 1;
  background: transparent;
  border-top: 1px solid var(--line);
}

.hero__stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero__stats .stat {
  padding: 30px 8px 32px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.hero__stats .stat:last-child {
  border-right: 0;
}

.hero__stats .stat__num {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--brand);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.hero__stats .stat__num small {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin-left: 5px;
  letter-spacing: 0;
}

.hero__stats .stat__label {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 7. 分类导航（首页快捷品类条） ---------- */
.catnav {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 8px;
}

.catnav__list {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.catnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 18px 8px;
  border-radius: var(--radius);
  text-align: center;
  transition: background-color 0.22s var(--ease), transform 0.22s var(--ease);
}

.catnav__item:hover {
  background: var(--brand-soft);
  transform: translateY(-3px);
}

.catnav__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-line);
  transition: background-color 0.22s var(--ease), color 0.22s var(--ease);
}

.catnav__item:hover .catnav__icon {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

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

.catnav__name {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-2);
  line-height: 1.35;
}

/* ---------- 8. 快捷服务卡 ---------- */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.qcard {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease);
}

.qcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--brand-line);
}

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

.qcard:hover .qcard__icon {
  background: var(--brand);
  color: #fff;
}

.qcard__icon svg {
  width: 21px;
  height: 21px;
}

.qcard__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.qcard__desc {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- 9. 产品卡 ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.pcard:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-line);
}

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt-2);
}

.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.pcard:hover .pcard__media img {
  transform: scale(1.06);
}

/* 点击图片 = 查看规格与工艺：hover 浮现提示条 */
.pcard__media::after {
  content: "查看规格与工艺 →";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}

.pcard__media:hover::after,
.pcard__media:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.pcard__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  color: var(--brand-deep);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-xs);
}

.pcard__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pcard__title {
  font-size: 18px;
  font-weight: 750;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.pcard__title span {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pcard__desc {
  margin-top: 11px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.78;
}

.pcard__specs {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-2);
}

.pcard__specs li {
  font-size: 12.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcard__specs li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: 0.65;
  flex: none;
}

.pcard__link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
}

.pcard:hover .pcard__link {
  color: var(--brand-deep);
}

.pcard__link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.24s var(--ease);
}

.pcard:hover .pcard__link svg {
  transform: translateX(4px);
}

/* 筛选条 */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-chip {
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-2);
  transition: all 0.22s var(--ease);
}

.filter-chip:hover {
  border-color: var(--brand-line);
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.filter-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(232, 64, 42, 0.26);
}

/* ---------- 10. 优势卡 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  padding: 30px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--brand-line);
}

.feature__icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-soft-2), var(--brand-soft));
  color: var(--brand);
  border: 1px solid var(--brand-line);
  margin-bottom: 18px;
}

.feature__icon svg {
  width: 24px;
  height: 24px;
}

.feature__title {
  font-size: 16.5px;
  font-weight: 750;
  color: var(--ink);
}

.feature__desc {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.8;
}

/* ---------- 11. 流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: flow;
}

.flow__item {
  position: relative;
  padding: 28px 24px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.flow__item::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-lit));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.36s var(--ease);
}

.flow__item:hover::before {
  transform: scaleX(1);
}

.flow__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.flow__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
  font-size: 15px;
  font-weight: 800;
  font-family: var(--font-mono);
}

.flow__title {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
}

.flow__desc {
  margin-top: 9px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.78;
}

/* ---------- 12. 图文分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.split__badge {
  position: absolute;
  right: -18px;
  bottom: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 16px 22px;
  text-align: center;
}

.split__badge b {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.split__badge span {
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* 白底拼图无留白可压徽章时，徽章落到图片下方右对齐 */
.split__media--badge-below {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.split__media--badge-below .split__badge {
  position: static;
  margin-top: 14px;
  margin-right: 4px;
  padding: 12px 20px;
  box-shadow: 0 8px 22px rgba(14, 19, 25, 0.07);
}

.split__media--badge-below .split__badge b {
  font-size: 22px;
}

.split__body .section-title {
  font-size: clamp(24px, 2.7vw, 33px);
}

/* 清单 */
.checklist {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.7;
}

.checklist li:first-child {
  padding-top: 0;
}

.checklist svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
  color: #fff;
  background: var(--brand);
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 3px 8px rgba(232, 64, 42, 0.24);
}

.checklist b {
  color: var(--ink);
  font-weight: 700;
}

/* 规格表 */
.spec-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-top: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 15px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 148px;
  background: var(--bg-alt);
  color: var(--ink);
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}

.spec-table td {
  color: var(--body);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

/* ---------- 13. 案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.case:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-line);
}

.case__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt-2);
}

.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.case:hover .case__media img {
  transform: scale(1.06);
}

.case__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.case__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.case__meta span {
  padding: 3.5px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand-deep);
  font-size: 11.5px;
  font-weight: 650;
}

.case__title {
  margin-top: 13px;
  font-size: 17px;
  font-weight: 750;
  color: var(--ink);
}

.case__desc {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.78;
}

.case__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px dashed var(--line-2);
}

.case__stats div b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.case__stats div span {
  font-size: 11.5px;
  color: var(--muted);
}

/* 客户类型 */
.client-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease),
    border-color 0.26s var(--ease);
}

.client:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--brand-line);
}

.client b {
  display: block;
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
}

.client p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--body);
  line-height: 1.78;
}

/* ---------- 14. FAQ ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq__item.is-open {
  border-color: var(--brand-line);
  box-shadow: var(--shadow-sm);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 24px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}

.faq__q:hover {
  color: var(--brand-deep);
}

.faq__icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.faq__icon::before {
  width: 10px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq__icon::after {
  width: 2px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s var(--ease);
}

.faq__a p {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.85;
}

/* ---------- 15. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f2542d 0%, #e0351f 52%, #c22f1c 100%);
  padding: 82px 0;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 50% 50%,
    #000,
    transparent 75%
  );
}

.cta .container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta__title {
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.cta__desc {
  margin-top: 15px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  line-height: 1.8;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.cta .btn--primary {
  background: #fff;
  color: var(--brand-deep);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.cta .btn--primary:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.cta .btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  box-shadow: none;
}

.cta .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}

/* ---------- 16. 页脚 ---------- */
.footer {
  background: var(--bg-deep);
  color: var(--on-dark-soft);
  font-size: 13.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 66px 0 52px;
}

/* 页脚内的 logo 需反白：.logo__cn 默认是近黑色，在深底上会隐形 */
.footer .logo__cn {
  color: #fff;
}

.footer .logo__en {
  color: var(--on-dark-soft);
}

.footer .logo__mark rect:first-of-type {
  stroke: rgba(255, 138, 92, 0.42);
}

p.footer__about {
  margin-top: 18px;
  line-height: 1.85;
  max-width: 340px;
  color: var(--on-dark-soft);
}

.footer__col h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__col a,
.footer__col li {
  color: var(--on-dark-soft);
  font-size: 13.5px;
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--brand-lit);
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
}

.footer__contact svg {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 4px;
  color: var(--brand-lit);
}

.footer__contact b {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

.footer__bottom a:hover {
  color: var(--brand-lit);
}

.footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* 备案号需清晰可读，比版权行略提亮 */
.footer__legal a {
  color: #aeb9c6;
}

.footer__legal a:hover {
  color: var(--brand-lit);
}

/* ---------- 17. 内页页头 ---------- */
.pagehead {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--bg-alt));
  border-bottom: 1px solid var(--line);
  padding: 54px 0 58px;
}

.pagehead::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -80px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(232, 64, 42, 0.11),
    rgba(232, 64, 42, 0) 68%
  );
}

.pagehead .container {
  position: relative;
  z-index: 1;
}

.pagehead__title {
  margin-top: 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.pagehead__desc {
  margin-top: 15px;
  font-size: 15.5px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.82;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  color: var(--faint);
}

.crumb a:hover {
  color: var(--brand);
}

.crumb svg {
  width: 12px;
  height: 12px;
  opacity: 0.6;
}

/* ---------- 18. 表单 ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink-2);
}

.field label .req {
  color: var(--brand);
  margin-left: 3px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 14px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.7;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237d8794' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px var(--brand-glow);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #e03131;
  background: #fff5f5;
}

.field__err {
  font-size: 12px;
  color: #e03131;
  display: none;
}

.field.has-error .field__err {
  display: block;
}

.form-foot {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.form-success {
  display: none;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #f2fbf5;
  border: 1px solid #c6ecd4;
}

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

.form-success svg {
  width: 34px;
  height: 34px;
  color: #2f9e44;
}

.form-success h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 800;
}

.form-success p {
  margin-top: 9px;
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.8;
}

.form-success textarea {
  width: 100%;
  min-height: 230px;
  margin-top: 18px;
  padding: 16px;
  border: 1.5px solid #c6ecd4;
  border-radius: var(--radius-sm);
  background: #fff;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-2);
  resize: vertical;
  outline: 0;
}

.form-success .btn-row {
  margin-top: 20px;
}

/* 联系方式列表 */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand-line);
}

.contact-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-line);
  flex: none;
}

.contact-item__icon svg {
  width: 21px;
  height: 21px;
}

.contact-item b {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.contact-item p,
.contact-item a {
  margin-top: 5px;
  font-size: 16px;
  font-weight: 750;
  color: var(--ink);
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--brand);
}

.contact-item small {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---------- 19. 动效 ---------- */
/* 锚点跳转时给粘性页头留位，避免标题被遮住 */
section[id],
article[id] {
  scroll-margin-top: 96px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s var(--ease), transform 0.62s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 0.07s;
}
.delay-2 {
  transition-delay: 0.14s;
}
.delay-3 {
  transition-delay: 0.21s;
}
.delay-4 {
  transition-delay: 0.28s;
}
.delay-5 {
  transition-delay: 0.35s;
}

.text-dim {
  color: var(--muted);
}
.mt-24 {
  margin-top: 24px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-56 {
  margin-top: 56px;
}

/* ---------- 20. 响应式 ---------- */
@media (max-width: 1180px) {
  .searchbar {
    display: none;
  }
  .header__tel {
    display: none;
  }
  .hero__grid {
    gap: 42px;
  }
  .catnav__list {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 4px;
  }
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .section {
    padding: 68px 0;
  }
  .section-head {
    margin-bottom: 34px;
  }

  /* 移动端导航抽屉 */
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 92px 22px 30px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-102%);
    transition: transform 0.36s var(--ease);
    z-index: -1;
    max-height: 100vh;
    overflow-y: auto;
  }

  body.nav-open .nav {
    transform: translateY(0);
  }

  .nav__link {
    padding: 15px 16px;
    font-size: 16px;
    border-radius: var(--radius);
  }

  .nav__link.is-active {
    background: var(--brand-soft);
  }

  .nav__link.is-active::after {
    display: none;
  }

  .nav-toggle {
    display: block;
    z-index: 2;
  }

  .header .container {
    gap: 16px;
  }

  .product-grid,
  .feature-grid,
  .case-grid,
  .flow {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    padding-top: 46px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 52px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__chip {
    left: 14px;
    bottom: 14px;
    padding: 11px 16px;
  }

  .hero__stats .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__stats .stat:nth-child(2) {
    border-right: 0;
  }

  .hero__stats .stat:nth-child(1),
  .hero__stats .stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .split__badge {
    right: 16px;
    bottom: 16px;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 52px 0 40px;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 18px;
  }

  .section {
    padding: 54px 0;
  }

  .section-title {
    font-size: 24px;
  }

  .section-desc {
    font-size: 14.5px;
  }

  .topbar {
    font-size: 11.5px;
  }

  .topbar .container {
    min-height: 34px;
  }

  .topbar__list {
    gap: 14px;
  }

  .topbar__list li:nth-child(3),
  .topbar .container > .topbar__list:last-child {
    display: none;
  }

  .header .container {
    min-height: 64px;
  }

  .logo__mark {
    width: 34px;
    height: 34px;
  }

  .logo__cn {
    font-size: 16px;
  }

  .header__cta .btn {
    display: none;
  }

  .hero__title {
    font-size: 30px;
  }

  .hero__desc {
    font-size: 14.5px;
  }

  .hero .btn-row .btn {
    flex: 1;
    min-width: 148px;
  }

  .hero__meta {
    gap: 9px 16px;
  }

  .hero__stats .stat {
    padding: 22px 6px 24px;
  }

  .hero__stats .stat__num {
    font-size: 27px;
  }

  .hero__stats .stat__num small {
    font-size: 12px;
  }

  .catnav {
    padding: 6px;
  }

  .catnav__list {
    grid-template-columns: repeat(3, 1fr);
  }

  .catnav__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .catnav__icon svg {
    width: 20px;
    height: 20px;
  }

  .catnav__name {
    font-size: 12.5px;
  }

  .quick-grid,
  .product-grid,
  .feature-grid,
  .case-grid,
  .flow,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 22px;
  }

  .spec-table th {
    width: 104px;
    padding: 12px;
    font-size: 12.5px;
  }

  .spec-table td {
    padding: 12px;
    font-size: 13px;
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .pagehead {
    padding: 38px 0 42px;
  }

  .cta {
    padding: 58px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .topbar,
  .header,
  .cta,
  .footer {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* ---------- 包装页：卡片点击客户案例 ---------- */
.feature[data-case] {
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature[data-case]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.feature__case {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

.feature__case b {
  transition: transform 0.25s var(--ease);
}

.feature[data-case]:hover .feature__case b {
  transform: translateX(4px);
}

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.case-modal__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 8, 0.62);
  backdrop-filter: blur(3px);
}

.case-modal__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 380px);
  width: min(880px, 100%);
  max-height: min(640px, calc(100vh - 48px));
  background: var(--paper, #fff);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  animation: casePop 0.28s var(--ease);
}

@keyframes casePop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.case-modal__media {
  margin: 0;
  background: var(--bg-alt-2, #f6f2ef);
  min-height: 320px;
}

.case-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-modal__media.is-empty::before {
  content: "实拍整理中";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 320px;
  color: var(--ink-2, #8a8a8a);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.case-modal__body {
  padding: 30px 28px 28px;
  overflow-y: auto;
}

.case-modal__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand, #e8402a);
  margin-bottom: 10px;
}

.case-modal__body h3 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px;
}

.case-modal__body p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-2, #555);
  margin: 0 0 18px;
}

.case-modal__cta {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

.case-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.case-modal__close svg {
  width: 18px;
  height: 18px;
}

.case-modal__close:hover {
  background: #fff;
  color: var(--brand, #e8402a);
}

@media (max-width: 760px) {
  .case-modal__dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
  }
  .case-modal__media {
    min-height: 220px;
    max-height: 300px;
  }
  .case-modal__media.is-empty::before {
    min-height: 220px;
  }
}

/* ---------- 包装页 · 咖啡案例实拍画廊 ---------- */
.hero__main > .casevisual__tag {
  z-index: 2;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 18px rgba(232, 64, 42, 0.32);
}

@media (max-width: 760px) {
  .hero__thumb {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }
}
