/* ==========================================================================
   知产云 · 一站式知识产权服务平台
   主色：品牌绿 #12B76A（2026-10 改版，原 #12B76A 蓝）
   说明：变量名仍沿用 --blue 系列，因为全站几百处引用它们；
        这里以别名方式统一指向新主色，改配色只需动这一块。
   ========================================================================== */

:root {
  /* 品牌绿 */
  --brand: #12b76a;
  --brand-dark: #0f9d58;
  --brand-deep: #0a7a45;
  --brand-mid: #34c47c;
  --brand-light: #f0fdf5;
  --brand-soft: #dcfae8;
  --brand-line: #b7eccd;

  /* 兼容别名：旧样式全部引用这几个名字 */
  --blue: var(--brand);
  --blue-dark: var(--brand-dark);
  --blue-deep: var(--brand-deep);
  --blue-light: var(--brand-light);
  --blue-soft: var(--brand-soft);

  /* 价格统一走品牌绿，与小程序端一致；红色只留给警示与错误。
     用深绿而非主绿：否则和绿色按钮同色，价格跳不出来 */
  --price: var(--brand-deep);

  --red: #f85252;
  --red-dark: #e33f3f;
  --orange: #fe8431;
  --teal: #06b9d0;

  --text: #24312b;
  --text-2: #5c6b63;
  --text-3: #93a09a;
  --line: #e2eae5;
  --line-light: #eef4f0;

  --bg: #ffffff;
  --bg-gray: #f5f8f6;

  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;

  --shadow-sm: 0 2px 10px rgba(9, 74, 45, 0.06);
  --shadow: 0 8px 26px rgba(9, 74, 45, 0.1);
  --shadow-lg: 0 18px 48px rgba(9, 74, 45, 0.14);

  --container: 1200px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Helvetica Neue", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

ul,
ol {
  list-style: none;
}

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

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

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

/* ============================ 通用元件 ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(18, 183, 106, 0.28);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(18, 183, 106, 0.34);
}

.btn-ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--text-2);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn-white {
  background: #fff;
  color: var(--blue);
}

.btn-white:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: transparent;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

.btn-sm {
  height: 36px;
  padding: 0 18px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

.btn-lg {
  height: 50px;
  padding: 0 36px;
  font-size: 16px;
}

.text-blue {
  color: var(--blue);
}
.text-red {
  color: var(--red);
}

.section {
  padding: 76px 0;
}

.section-gray {
  background: var(--bg-gray);
}

.section-blue {
  background: var(--blue-light);
}

.sec-head {
  text-align: center;
  margin-bottom: 44px;
}

.sec-head .eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 100px;
  padding: 3px 14px;
  margin-bottom: 14px;
  font-weight: 600;
}

.sec-head h2 {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #10251b;
}

.sec-head p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-3);
}

.sec-head-left {
  text-align: left;
  margin-bottom: 28px;
}

.sec-head-left h2 {
  font-size: 26px;
}

/* 图标 */
.ico {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* 徽标 / 标签 */
.chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  font-size: 12px;
  border-radius: 3px;
  background: var(--blue-light);
  color: var(--blue);
  line-height: 1;
}

.chip-red {
  background: #fff1f1;
  color: var(--red);
}

.chip-gray {
  background: #f1f4f2;
  color: var(--text-3);
}

.chip-teal {
  background: #e8fafc;
  color: #0593a6;
}

/* ============================ 顶部条 ============================ */

.topbar {
  background: #f7fbf8;
  border-bottom: 1px solid var(--line-light);
  font-size: 12px;
  color: var(--text-3);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-left b {
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
}

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

.topbar-right a:hover {
  color: var(--blue);
}

.topbar-right .divider {
  width: 1px;
  height: 12px;
  background: var(--line);
}

.topbar-reg {
  color: var(--blue);
}

/* ============================ 头部 ============================ */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-light);
  transition: box-shadow 0.25s ease;
}

.header.is-stuck {
  box-shadow: 0 6px 20px rgba(9, 74, 45, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 30px;
  height: 78px;
}

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

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, #34c47c, #0f9d58);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px rgba(18, 183, 106, 0.3);
}

.logo-text {
  font-size: 21px;
  font-weight: 700;
  color: #10251b;
  line-height: 1.15;
  letter-spacing: 1px;
}

.logo-text small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.4px;
  color: var(--text-3);
  margin-top: 3px;
  text-transform: uppercase;
}

/* 注册商标标注：只用于已核准注册、且用在其核定服务范围内的品牌。
   未注册或超出核定范围时不得标注 ®，只能用 ™ 或不标。 */
.reg-mark {
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  vertical-align: super;
  margin-left: 1px;
  color: var(--brand-dark);
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  height: 100%;
}

.nav > a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 15px;
  font-size: 15px;
  color: var(--text);
  white-space: nowrap;
}

.nav > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav > a:hover {
  color: var(--blue);
}

.nav > a:hover::after,
.nav > a.active::after {
  transform: scaleX(1);
}

.nav > a.active {
  color: var(--blue);
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 9px;
}

.header-phone .ico {
  width: 26px;
  height: 26px;
  color: var(--blue);
}

.header-phone em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.2;
}

.header-phone strong {
  display: block;
  font-size: 17px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
}

/* ============================ Hero ============================ */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(118deg, #0a7a45 0%, #0f9d58 42%, #12b76a 72%, #45d894 100%);
  padding: 62px 0 66px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}

.hero::after {
  content: "";
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  right: -180px;
  top: -300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 15px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ff0c0;
  box-shadow: 0 0 0 3px rgba(127, 240, 192, 0.25);
}

.hero h1 {
  font-size: 42px;
  line-height: 1.26;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 0 4px 20px rgba(7, 42, 25, 0.22);
}

.hero h1 span {
  background: linear-gradient(180deg, #fff, #ddf7e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  margin-top: 16px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.6px;
}

.hero-search {
  max-width: 880px;
  margin: 34px auto 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(7, 42, 25, 0.28);
}

.hero-search-form {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.hero-search-field {
  flex: 1.7;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  background: #f5f8f6;
  border: 1px solid #e8f6ed;
  border-radius: var(--radius);
  height: 54px;
}

.hero-search-field .ico {
  color: var(--text-3);
}

.hero-search-field input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 15px;
  height: 100%;
}

.hero-search-field input::placeholder {
  color: #9aa8a0;
}

.hero-select-wrap {
  position: relative;
  flex: 1;
  min-width: 150px;
}

.hero-select-wrap select {
  width: 100%;
  height: 54px;
  border: 1px solid #e8f6ed;
  background: #f5f8f6;
  border-radius: var(--radius);
  padding: 0 34px 0 14px;
  font-size: 14.5px;
  color: var(--text-2);
  appearance: none;
  cursor: pointer;
}

.hero-select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid var(--text-3);
  border-bottom: 1.6px solid var(--text-3);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.hero-search-form .btn {
  height: 54px;
  padding: 0 34px;
  font-size: 16px;
  letter-spacing: 1px;
}

.hero-hotkeys {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-hotkeys span {
  color: rgba(255, 255, 255, 0.6);
}

.hero-hotkeys a {
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 1px;
}

.hero-hotkeys a:hover {
  color: #fff;
  border-color: #fff;
}

.hero-stats {
  position: relative;
  z-index: 2;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 30px;
}

.hero-stats div {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats b {
  display: block;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.hero-stats b i {
  font-style: normal;
  font-size: 16px;
  margin-left: 3px;
  opacity: 0.9;
  vertical-align: 3px;
}

.hero-stats span {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 5px;
  letter-spacing: 0.5px;
}

/* ============================ 四大服务入口 ============================ */

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

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  overflow: hidden;
  transition: all 0.28s ease;
}

.svc-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), #7de8b8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.svc-card:hover {
  border-color: #b7eccd;
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

.svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  color: var(--blue);
  margin-bottom: 18px;
}

.svc-icon .ico {
  width: 24px;
  height: 24px;
}

.svc-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #10251b;
  margin-bottom: 8px;
}

.svc-card p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.75;
  min-height: 44px;
}

.svc-points {
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.svc-points li {
  font-size: 12px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 4px;
}

.svc-points li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.55;
}

.svc-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  color: var(--blue);
  font-weight: 500;
  margin-top: auto;
}

.svc-card .btn-ghost {
  color: var(--blue);
  border-color: #ddf7e8;
}

.svc-card .btn-ghost:hover {
  background: var(--blue-light);
  border-color: var(--blue);
}

.svc-more .ico {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.svc-card:hover .svc-more .ico {
  transform: translateX(3px);
}

/* ============================ 套餐卡 ============================ */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.28s ease;
}

.plan-card:hover {
  box-shadow: var(--shadow);
  border-color: #b7eccd;
}

.plan-card.featured {
  border-color: var(--blue);
  box-shadow: 0 14px 40px rgba(18, 183, 106, 0.16);
  transform: translateY(-6px);
}

.plan-flag {
  position: absolute;
  top: -1px;
  right: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 19px;
  font-weight: 700;
  color: #10251b;
}

.plan-desc {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 5px;
}

.plan-price {
  margin: 20px 0 4px;
  color: var(--price);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.plan-price .cny {
  font-size: 17px;
  font-weight: 600;
}

.plan-price .num {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.plan-price .unit {
  font-size: 13px;
  color: var(--text-3);
  margin-left: 3px;
  font-style: normal;
}

.plan-price-note {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 20px;
}

.plan-list {
  border-top: 1px solid var(--line-light);
  padding-top: 18px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  flex: 1;
}

.plan-list li {
  display: flex;
  gap: 9px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.65;
}

.plan-list li .ico {
  width: 16px;
  height: 16px;
  color: var(--blue);
  margin-top: 3px;
}

.plan-card.featured .plan-list li .ico {
  color: var(--blue);
}

/* ============================ 标签切换 ============================ */

.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  font-size: 13.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tab:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 14px rgba(18, 183, 106, 0.25);
}

/* ============================ 商标卡片 ============================ */

.tm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

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

.tm-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.26s ease;
}

.tm-card:hover {
  border-color: #b7eccd;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.tm-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.tm-name {
  font-size: 17px;
  font-weight: 700;
  color: #10251b;
  line-height: 1.4;
  word-break: break-word;
}

.tm-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.6px;
  margin-top: 2px;
}

.tm-class {
  flex: none;
  font-size: 11.5px;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 3px;
  padding: 2px 7px;
  line-height: 1.5;
  white-space: nowrap;
}

.tm-specs {
  margin: 14px 0 16px;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
  height: 63px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.tm-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--text-3);
  padding-top: 12px;
  border-top: 1px dashed var(--line);
}

.tm-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.tm-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 14px;
}

.tm-price {
  color: var(--price);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -0.3px;
}

.tm-price small {
  font-size: 13px;
  font-weight: 600;
  margin-right: 1px;
}

.tm-buy {
  height: 32px;
  padding: 0 14px;
  border-radius: 3px;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tm-buy:hover {
  background: var(--blue);
  color: #fff;
}

/* ============================ 双栏内容块 ============================ */

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

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}

.panel-head .t {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  color: #10251b;
}

.panel-head .t .svc-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  margin: 0;
}

.panel-head .t .svc-icon .ico {
  width: 19px;
  height: 19px;
}

.panel-head a {
  font-size: 13px;
  color: var(--text-3);
}

.panel-head a:hover {
  color: var(--blue);
}

.mini-list {
  display: flex;
  flex-direction: column;
}

.mini-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--text-2);
}

.mini-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.mini-list li a:hover {
  color: var(--blue);
}

.mini-list .price {
  color: var(--price);
  font-weight: 600;
  font-size: 15px;
  flex: none;
}

.mini-list .price small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
  margin-left: 2px;
}

/* 作品类型小卡 */
.type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.type-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px 14px;
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
  background: #fff;
}

.type-item:hover {
  border-color: var(--blue);
  background: var(--blue-light);
}

.type-item .ico {
  color: var(--blue);
  margin: 0 auto 8px;
}

.type-item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
}

.type-item span {
  display: block;
  font-size: 11.5px;
  color: var(--text-3);
  margin-top: 3px;
}

.type-item b {
  display: block;
  font-size: 13px;
  color: var(--price);
  margin-top: 6px;
}

/* ============================ 流程 ============================ */

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  counter-reset: flow;
}

.flow::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 26px;
  border-top: 1px dashed #b7eccd;
}

.flow-step {
  position: relative;
  text-align: center;
  padding: 0 6px;
}

.flow-num {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #b7eccd;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: all 0.25s ease;
}

.flow-step:hover .flow-num {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(18, 183, 106, 0.3);
}

.flow-step h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: #10251b;
  margin-bottom: 6px;
}

.flow-step p {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
}

/* ============================ 优势 ============================ */

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

.adv-item {
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.26s ease;
}

.adv-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: #b7eccd;
}

.adv-item .ico {
  width: 34px;
  height: 34px;
  color: var(--blue);
  margin-bottom: 14px;
}

.adv-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #10251b;
  margin-bottom: 7px;
}

.adv-item p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.75;
}

/* ============================ 资讯 / FAQ ============================ */

.news-item {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-date {
  flex: none;
  width: 58px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 12px;
}

.news-date b {
  display: block;
  font-size: 20px;
  color: var(--blue);
  font-weight: 700;
  line-height: 1.1;
}

.news-date span {
  font-size: 11px;
  color: var(--text-3);
}

.news-body {
  min-width: 0;
}

.news-body h4 {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-body h4:hover {
  color: var(--blue);
}

.news-body p {
  font-size: 12.5px;
  color: var(--text-3);
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faq-item {
  border-bottom: 1px solid var(--line-light);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  font-size: 14.5px;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-q:hover {
  color: var(--blue);
}

.faq-q .mark {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  line-height: 1;
  transition: all 0.25s ease;
}

.faq-item.open .faq-q {
  color: var(--blue);
  font-weight: 600;
}

.faq-item.open .faq-q .mark {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  display: none;
  padding: 0 0 18px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.85;
}

.faq-item.open .faq-a {
  display: block;
  animation: fadeIn 0.28s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============================ CTA ============================ */

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #0a7a45, #0f9d58 55%, #34c47c);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 34px solid rgba(255, 255, 255, 0.07);
}

.cta h3 {
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.cta p {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex: none;
}

/* ============================ 页脚 ============================ */

.footer {
  background: #0e1a14;
  color: rgba(255, 255, 255, 0.62);
  padding: 56px 0 0;
  font-size: 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.footer .logo-text {
  color: #fff;
}

.footer .logo-text small {
  color: rgba(255, 255, 255, 0.4);
}

.footer-brand p {
  margin-top: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
}

.footer-tel {
  margin-top: 18px;
}

.footer-tel span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-tel strong {
  display: block;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12.5px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-qr {
  display: flex;
  gap: 14px;
}

.qr-box {
  text-align: center;
}

.qr-box .qr {
  width: 92px;
  height: 92px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, #fff 25%, #e8f6ed 25% 50%, #fff 50% 75%, #e8f6ed 75%),
    #fff;
  background-size: 12px 12px;
  border: 3px solid #fff;
}

.qr-box span {
  display: block;
  font-size: 11.5px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================ 浮动客服 ============================ */

.float-bar {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.float-btn {
  width: 52px;
  white-space: nowrap;
  padding: 10px 0 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  color: var(--text-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.float-btn .ico {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--blue);
}

.float-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.float-btn:hover .ico {
  color: #fff;
}

.to-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

/* ============================ 子页 Banner ============================ */

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #0a7a45, #0f9d58 58%, #34c47c);
  color: #fff;
  padding: 46px 0 52px;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.page-hero h1 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
}

.page-hero p {
  margin-top: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

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

.breadcrumb .sep {
  opacity: 0.5;
}

.page-hero-side {
  display: flex;
  gap: 28px;
  flex: none;
  padding-bottom: 4px;
}

.page-hero-side div {
  text-align: center;
}

.page-hero-side b {
  display: block;
  font-size: 24px;
  font-weight: 700;
}

.page-hero-side span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================ 查询页 ============================ */

.search-panel {
  margin-top: -34px;
  position: relative;
  z-index: 5;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
}

.search-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.search-row .hero-search-field {
  flex: 2;
  height: 52px;
  background: #f5f8f6;
}

.search-row .hero-select-wrap {
  flex: 0 0 240px;
}

.search-row .hero-select-wrap select {
  height: 52px;
}

.search-row .btn {
  height: 52px;
  padding: 0 40px;
}

.search-extra {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-3);
}

.search-extra .radio-group {
  display: flex;
  gap: 8px;
}

.radio-chip {
  position: relative;
  cursor: pointer;
}

.radio-chip input {
  position: absolute;
  opacity: 0;
}

.radio-chip span {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s ease;
}

.radio-chip input:checked + span {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  font-weight: 500;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 18px;
  flex-wrap: wrap;
}

.result-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: #10251b;
}

.result-head h2 em {
  font-style: normal;
  color: var(--blue);
  margin: 0 3px;
}

/* 数据来源标记：区分演示数据与接口检索结果 */
.data-tag {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-3);
  white-space: nowrap;
}

/* 查询无结果 */
.result-empty {
  padding: 54px 24px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-3);
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  line-height: 1.9;
}

.result-head .sort {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
  align-items: center;
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
  transition: all 0.24s ease;
}

.result-item:hover {
  border-color: #a6ecc4;
  box-shadow: var(--shadow-sm);
}

.ri-mark {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 6px;
  background: var(--blue-light);
  border: 1px solid #d8f6e4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  text-align: center;
  line-height: 1.3;
  padding: 6px;
  letter-spacing: 0.5px;
}

.ri-main {
  flex: 1;
  min-width: 0;
}

.ri-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ri-title h3 {
  font-size: 17px;
  font-weight: 700;
  color: #10251b;
}

.ri-title .reg-no {
  font-size: 12.5px;
  color: var(--text-3);
}

.ri-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-3);
}

.ri-info b {
  font-weight: 500;
  color: var(--text-2);
}

.ri-nice {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ri-side {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  width: 132px;
}

.status {
  font-size: 12px;
  padding: 2px 9px;
  border-radius: 3px;
  white-space: nowrap;
}

.status-ok {
  background: #e6f9ee;
  color: #1f9d55;
}

.status-ing {
  background: #fff5e6;
  color: #d9820a;
}

.status-no {
  background: #f1f4f2;
  color: #8b95a8;
}

.status-warn {
  background: #fdecec;
  color: var(--red);
}

.ri-side .link {
  font-size: 13px;
  color: var(--blue);
  cursor: pointer;
}

.ri-side .link:hover {
  text-decoration: underline;
}

/* 45 类 */
.class-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.class-item {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  transition: all 0.2s ease;
  background: #fff;
}

.class-item:hover {
  border-color: var(--blue);
  background: var(--blue-light);
  color: var(--blue);
}

.class-item b {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
}

.class-item:hover b {
  background: var(--blue);
  color: #fff;
}

/* ============================ 买卖页 筛选 ============================ */

.filter-bar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 24px;
}

.filter-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.filter-row:last-child {
  border-bottom: 0;
}

.filter-label {
  flex: none;
  width: 64px;
  font-size: 13px;
  color: var(--text-3);
  line-height: 26px;
}

.filter-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 4px;
}

.filter-opt {
  padding: 2px 12px;
  border-radius: 3px;
  font-size: 13px;
  color: var(--text-2);
  cursor: pointer;
  line-height: 22px;
  transition: all 0.18s ease;
  border: 1px solid transparent;
}

.filter-opt:hover {
  color: var(--blue);
  background: var(--blue-light);
}

.filter-opt.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.filter-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 22px 0 18px;
  font-size: 13px;
  color: var(--text-3);
  flex-wrap: wrap;
}

.filter-result b {
  color: var(--blue);
  font-weight: 700;
  font-size: 15px;
}

.sort-group {
  display: flex;
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.sort-group button {
  padding: 5px 14px;
  font-size: 12.5px;
  background: #fff;
  border: 0;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.18s ease;
}

.sort-group button + button {
  border-left: 1px solid var(--line);
}

.sort-group button.active {
  background: var(--blue);
  color: #fff;
}

.empty-tip {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
  font-size: 14px;
  display: none;
}

.pager {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
}

.pager a,
.pager span {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-2);
  background: #fff;
}

.pager a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pager .current {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* ============================ 表格 ============================ */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}

table.data th {
  background: var(--blue-light);
  color: #10251b;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
  font-size: 13px;
}

table.data td {
  padding: 15px 18px;
  border-top: 1px solid var(--line-light);
  color: var(--text-2);
  vertical-align: middle;
}

table.data tr:hover td {
  background: #f7fbf8;
}

table.data .price-cell {
  color: var(--price);
  font-weight: 700;
}

table.data .price-cell small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-3);
}

/* ============================ 内容排版 ============================ */

.prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: #10251b;
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--blue);
  line-height: 1.4;
}

.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.95;
  margin-bottom: 12px;
}

.prose ul.dot {
  margin: 10px 0 16px;
}

.prose ul.dot li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.95;
}

.prose ul.dot li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.5;
}

.note-box {
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.85;
}

/* 材料清单 */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.material-item {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.material-item .n {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.material-item strong {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 600;
}

.material-item span {
  display: block;
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
  margin-top: 3px;
}

/* 时间轴 */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, #8fdfb3, #ddf7e8);
}

.tl-item {
  position: relative;
  padding: 0 0 26px 0;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}

.tl-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #10251b;
  margin-bottom: 4px;
}

.tl-item h4 em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-light);
  border-radius: 3px;
  padding: 1px 7px;
  margin-left: 8px;
}

.tl-item p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.8;
}

/* 双色块 */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}

.two-col.wide {
  grid-template-columns: 1.15fr 1fr;
}

.two-col.side {
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.two-col.flow {
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
}

.two-col.rev {
  grid-template-columns: 1fr 1.05fr;
  gap: 40px;
}

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

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

@media (max-width: 992px) {
  .two-col.wide,
  .two-col.side,
  .two-col.flow,
  .two-col.rev,
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .grid-2sm {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #10251b;
  margin-bottom: 6px;
}

.card-sub {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 20px;
}

/* 价格阶梯 */
.price-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.price-step {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  background: #fff;
  transition: all 0.22s ease;
}

.price-step:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.price-step .k {
  font-size: 13px;
  color: var(--text-3);
}

.price-step .v {
  font-size: 26px;
  font-weight: 700;
  color: var(--price);
  margin: 6px 0 4px;
}

.price-step .v small {
  font-size: 13px;
  font-weight: 500;
}

.price-step .d {
  font-size: 12px;
  color: var(--text-3);
}

/* 承诺条 */
.promise {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.promise-item {
  background: #fff;
  padding: 22px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.promise-item .ico {
  color: var(--blue);
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.promise-item strong {
  display: block;
  font-size: 14px;
  color: #10251b;
  font-weight: 600;
}

.promise-item span {
  display: block;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* 面包屑（浅色） */
.crumb-light {
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--text-3);
  background: var(--bg-gray);
  border-bottom: 1px solid var(--line-light);
}

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

.crumb-light .sep {
  margin: 0 7px;
  opacity: 0.6;
}

/* 滚动动画 */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================ 响应式 ============================ */

@media (max-width: 1200px) {
  .nav > a {
    padding: 0 11px;
    font-size: 14.5px;
  }
  .header-inner {
    gap: 18px;
  }
  .header-phone {
    display: none;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 34px;
  }
  .svc-grid,
  .adv-grid,
  .promise {
    grid-template-columns: repeat(2, 1fr);
  }
  .plan-grid,
  .price-steps {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .plan-card.featured {
    transform: none;
  }
  .tm-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .two-col {
    grid-template-columns: 1fr;
  }
  .class-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .flow::before {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .page-hero-side {
    display: none;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 0;
  }
  .hero-stats div:nth-child(2) {
    border-right: 0;
  }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(9, 74, 45, 0.12);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    height: auto;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav > a {
    height: 48px;
    border-bottom: 1px solid var(--line-light);
  }
  .header-inner {
    justify-content: space-between;
  }
  .nav > a::after {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .header-right .btn {
    display: none;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row .hero-search-field {
    flex: 1 1 100%;
  }
  .search-row .hero-select-wrap {
    flex: 1;
    min-width: 0;
  }
  .search-row .btn {
    flex: 0 0 auto;
  }
  .section {
    padding: 54px 0;
  }
  .sec-head h2 {
    font-size: 25px;
  }
  .cta {
    flex-direction: column;
    text-align: center;
    padding: 38px 28px;
  }
  .cta h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .topbar-left span:not(:first-child),
  .topbar-right a:not(.topbar-reg) {
    display: none;
  }
  .hero {
    padding: 42px 0 48px;
  }
  .hero-badge {
    height: auto;
    max-width: 100%;
    padding: 6px 14px;
    font-size: 11.5px;
    line-height: 1.55;
    white-space: normal;
  }
  .hero h1 {
    font-size: 26px;
    letter-spacing: 0.5px;
  }
  .hero-sub {
    font-size: 14px;
  }
  .hero-search-form {
    flex-direction: column;
  }
  .hero-select-wrap {
    min-width: 0;
  }
  .hero-search {
    padding: 12px;
  }
  .hero-search-field,
  .hero-select-wrap select,
  .hero-search-form .btn {
    height: 46px !important;
  }
  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
  }
  .ri-side {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
  }
  .tm-grid,
  .svc-grid,
  .adv-grid,
  .promise,
  .material-grid,
  .type-grid {
    grid-template-columns: 1fr;
  }
  .class-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .page-hero h1 {
    font-size: 25px;
  }
  .float-bar {
    right: 10px;
    bottom: 20px;
  }
  .float-btn {
    width: 46px;
    font-size: 10.5px;
  }
  .panel,
  .card {
    padding: 22px 18px;
  }
  .search-panel {
    padding: 18px;
  }
  .sec-head {
    margin-bottom: 30px;
  }
  .sec-head h2 {
    font-size: 22px;
  }
  .filter-label {
    width: 52px;
  }
  .container {
    padding: 0 16px;
  }
}

/* ==========================================================================
   图形近似检索（查询面板内的上传模块）
   ========================================================================== */
.img-search {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.is-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.is-head b {
  font-size: 14px;
  font-weight: 700;
  color: #10251b;
}

.is-head span {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.6;
}

.is-body {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.is-drop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px 16px;
  border: 1px dashed #c6d8cd;
  border-radius: var(--radius);
  background: #f7fbf8;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.is-drop:hover,
.is-drop.over {
  border-color: var(--blue);
  background: var(--blue-light);
}

.is-drop .ico {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.is-drop b {
  font-size: 13.5px;
  font-weight: 500;
  color: #10251b;
}

.is-drop span {
  font-size: 12px;
  color: var(--text-3);
}

.is-picked {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.is-picked[hidden],
.is-drop[hidden] {
  display: none;
}

.is-picked img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--line-light);
  background: #fff;
}

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

.is-samples {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
}

.is-sample {
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.is-sample img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.is-sample:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.is-msg {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-3);
  min-height: 0;
}

.is-msg.ok {
  color: #12a977;
}

.is-msg.warn {
  color: var(--orange);
}

.is-msg.err {
  color: var(--red);
}

/* 结果卡片里的图样与相似度 */
.ri-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
}

.sim-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: #fff4e8;
  color: var(--orange);
  font-size: 11.5px;
  line-height: 1.6;
  margin-bottom: 6px;
}

@media (max-width: 768px) {
  .is-body {
    flex-direction: column;
  }
  .is-picked {
    flex-wrap: wrap;
  }
}

/* 兜底：即使将来新增内容超宽，也不让整页左右拖动
   （用 clip 而非 hidden，避免创建滚动容器影响吸顶元素） */
html {
  overflow-x: clip;
}

/* ==========================================================================
   移动端横向溢出修复
   1) 网格 / 弹性子项默认允许收缩（min-width:0），否则长文本会把 1fr 轨道撑开
   2) 单行省略（nowrap + ellipsis）的元素在窄屏改为两行截断，避免撑破容器
   ========================================================================== */
.split > *,
.two-col > *,
.grid-3 > *,
.grid-2sm > *,
.adv-grid > *,
.svc-grid > *,
.tm-grid > * {
  min-width: 0;
}

.panel,
.card,
.result-item,
.ri-main,
.news-item,
.news-body,
.mini-list,
.mini-list li,
.price-list,
.price-list li {
  min-width: 0;
}

.mini-list li,
.price-list li {
  flex-wrap: wrap;
}

.mini-list li a,
.price-list li a,
.mini-list li span,
.price-list li span {
  overflow-wrap: anywhere;
}

@media (max-width: 768px) {
  /* 资讯标题 / 摘要：桌面单行省略，窄屏两行截断 */
  .news-body h4,
  .news-body p,
  .ri-nice {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 查询结果卡片：图样 + 信息在上，状态与操作单独一行 */
  .result-item {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px 14px;
    padding: 16px;
  }

  .ri-mark {
    width: 56px;
    height: 56px;
    font-size: 11.5px;
  }

  .ri-main {
    flex: 1 1 calc(100% - 70px);
  }

  .ri-title h3 {
    font-size: 15.5px;
  }

  .ri-info {
    gap: 4px 16px;
    font-size: 12px;
  }

  .ri-side {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--line);
  }

  .ri-side .link + .link {
    margin-left: 0;
  }

  /* 价格行：文字与价格在同一行放不下时，价格换到下一行右对齐 */
  .mini-list li {
    gap: 6px 12px;
  }

  .mini-list .price {
    margin-left: auto;
  }
}

/* 底部 CTA 按钮：窄屏堆叠，避免两个大按钮挤出一行宽度 */
@media (max-width: 768px) {
  .cta-actions {
    flex-wrap: wrap;
    width: 100%;
  }
  .cta-actions .btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* 窄屏宽表格：提示可横向滑动，并降低表格最小宽度减少滑动距离 */
.table-hint {
  display: none;
}

@media (max-width: 768px) {
  .table-hint {
    display: block;
    margin: 0 0 8px;
    text-align: right;
    font-size: 12px;
    color: var(--text-3);
  }

  .table-wrap {
    -webkit-overflow-scrolling: touch;
  }

  table.data {
    min-width: 620px;
    font-size: 13px;
  }

  table.data th,
  table.data td {
    padding: 12px 12px;
  }
}

/* 窄屏表格的左右滚动阴影：滑到尽头时阴影自动消失 */
@media (max-width: 768px) {
  .table-wrap {
    background-image:
      linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, 0)),
      linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, 0)),
      radial-gradient(farthest-side at 0 50%, rgba(16, 37, 27, 0.14), rgba(16, 37, 27, 0)),
      radial-gradient(farthest-side at 100% 50%, rgba(16, 37, 27, 0.14), rgba(16, 37, 27, 0));
    background-position: left center, right center, left center, right center;
    background-size: 32px 100%, 32px 100%, 12px 100%, 12px 100%;
    background-repeat: no-repeat;
    background-attachment: local, local, scroll, scroll;
  }
}

/* ==========================================================================
   2026-10-31 手机端纵向节奏
   桌面版不动，仅 768px 以下收紧：原整页 14446px（约 14 屏），此块压到 10 屏左右
   ========================================================================== */
@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
  .sec-head {
    margin-bottom: 24px;
  }
  .sec-head p {
    margin-top: 8px;
    font-size: 13.5px;
  }

  /* 业务卡：图标与文字间距收紧，描述不再占固定高度 */
  .svc-card {
    padding: 20px 18px;
  }
  .svc-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  .svc-icon .ico {
    width: 20px;
    height: 20px;
  }
  .svc-card h3 {
    font-size: 16.5px;
    margin-bottom: 6px;
  }
  .svc-card p {
    min-height: 0;
    font-size: 12.5px;
    line-height: 1.65;
  }
  .svc-points {
    margin: 10px 0 12px;
    padding-top: 10px;
  }

  /* 作品类型卡：两列，不再六张大卡各占一行 */
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .type-item {
    padding: 14px 8px;
  }
  .type-item .ico {
    width: 20px;
    height: 20px;
  }
  .type-item strong {
    font-size: 13.5px;
  }
  .type-item span {
    font-size: 11px;
  }
  .type-item b {
    font-size: 12.5px;
    margin-top: 4px;
  }

  /* 筛选条：横向滚动一行，别折成三行 */
  .filter-opts {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }
  .filter-opts::-webkit-scrollbar {
    display: none;
  }
  .filter-opt {
    flex: none;
  }

  /* 页脚：品牌块独占一行，下面四组排成两列 */
  .footer {
    padding-top: 36px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 22px 18px;
    padding-bottom: 26px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-col h4 {
    margin-bottom: 10px;
  }
  .footer-col li {
    margin-bottom: 8px;
  }

  /* 悬浮客服：手机上改成底部一行，别再竖着压住卡片里的按钮 */
  .float-bar {
    left: 14px;
    right: 14px;
    bottom: 12px;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
  }
  .float-btn {
    flex: 1 1 0;
    max-width: 156px;
    width: auto;
    height: 44px;
    padding: 0;
    flex-direction: row;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    border-radius: 22px;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(9, 74, 45, 0.14);
  }
  .float-btn .ico {
    width: 17px;
    height: 17px;
  }
  /* 回到顶部未出现时不占位，出现时挤进这一行 */
  .float-btn.to-top {
    flex: 0 0 0;
    width: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
  }
  /* 回到顶部只留箭头图标，宽度压到 44，塞得进这一行 */
  .float-btn.to-top {
    font-size: 0;
  }
  .float-btn.to-top.show {
    flex: 0 0 44px;
    max-width: 44px;
    width: 44px;
  }

  /* 页脚底部多留一点，避免最后一行被悬浮条压住 */
  .footer-bottom {
    padding-bottom: 52px;
  }
}

/* ==========================================================================
   iOS 输入框字号兜底
   Safari 对 input / textarea / select 有条硬规则：font-size 小于 16px 时，
   手指点进输入框会强制放大整个页面，填完还得手动缩回去，底部固定导航跟着错位。
   表单控件的字号本来是按桌面审美定的 13~14px，移动端统一抬到 16px 才不会触发。
   ========================================================================== */
@media (max-width: 860px) {
  /* 各页表单类名（.sg-field select / .ck-input 等）选择器权重高于标签，
     不加 !important 会被压回 13~14px，iOS 照样放大 */
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]),
  textarea,
  select {
    font-size: 16px !important;
  }
}
