@charset "UTF-8";
/* ==========================================================================
   祯心（北京）科技有限公司 —— 网站样式
   品牌色取自企业 Logo：心形红橙渐变 + 深棕字标
   全部资源本地化，不依赖任何外部 CDN
   ========================================================================== */

/* --- 1. 设计令牌 ---------------------------------------------------------- */
:root {
  /* 品牌红：Logo 心形自左向右的渐变取样 */
  --red-900: #8E2318;
  --red-800: #B32D22;
  --red-700: #C9342A;
  --red-600: #DE3E30; /* 心形左侧深红 */
  --red-500: #F0523C;
  --red-400: #FC7153; /* 心形右侧橙红 */
  --red-300: #FD8260; /* 心形最右珊瑚 */
  --red-200: #FDB9A6;
  --red-100: #FEE0D6;
  --red-50: #FFF4F0;

  /* 墨色：Logo 字标深棕延伸出的中性色阶 */
  --ink-900: #2B0803;
  --ink-800: #3F0A01; /* 字标原色 */
  --ink-700: #5A2418;
  --ink-600: #7A4436;
  --ink-500: #9A6A5C;
  --ink-400: #B9948A;
  --ink-300: #D9C3BC;
  --ink-200: #EADCD8;
  --ink-100: #F6EEEB;
  --ink-50: #FBF7F5;

  --white: #ffffff;

  /* 语义色 */
  --text: var(--ink-800);
  --text-soft: var(--ink-600);
  --text-mute: var(--ink-500);
  --bg: var(--white);
  --bg-soft: var(--ink-50);
  --line: var(--ink-200);
  --line-soft: var(--ink-100);

  --grad-brand: linear-gradient(115deg, var(--red-600) 0%, var(--red-400) 62%, var(--red-300) 100%);
  --grad-brand-soft: linear-gradient(115deg, var(--red-700) 0%, var(--red-500) 100%);
  --grad-dark: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 48%, #55160A 100%);

  /* 排版 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei UI",
    "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC",
    "Noto Sans CJK SC", "WenQuanYi Micro Hei", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* 尺寸 */
  --wrap: 1200px;
  --wrap-narrow: 860px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* 阴影：带品牌暖调，避免灰调塑料感 */
  --sh-sm: 0 1px 2px rgba(63, 10, 1, 0.05), 0 2px 8px rgba(63, 10, 1, 0.04);
  --sh-md: 0 4px 12px rgba(63, 10, 1, 0.06), 0 12px 32px rgba(63, 10, 1, 0.07);
  --sh-lg: 0 8px 24px rgba(63, 10, 1, 0.08), 0 28px 64px rgba(63, 10, 1, 0.1);
  --sh-brand: 0 10px 30px rgba(222, 62, 48, 0.24);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: var(--red-700); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--red-500); }

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

h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); letter-spacing: -0.025em; line-height: 1.18; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

::selection { background: var(--red-200); color: var(--ink-900); }

:focus-visible {
  outline: 2px solid var(--red-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--bg-soft); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: 1.0625rem; color: var(--text-mute); margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-700);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}

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

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

/* --- 4. 按钮 -------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background-color 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.btn--primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--sh-brand);
}
.btn--primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(222, 62, 48, 0.32);
}

.btn--ghost {
  background: var(--white);
  color: var(--ink-800);
  border-color: var(--line);
  box-shadow: var(--sh-sm);
}
.btn--ghost:hover {
  color: var(--red-700);
  border-color: var(--red-200);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn--onDark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}
.btn--onDark:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--red-700);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.btn--light:hover {
  color: var(--red-600);
  transform: translateY(-2px);
}

.btn--lg { padding: 16px 34px; font-size: 1rem; }

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

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--red-700);
}
.link-arrow::after {
  content: "→";
  transition: transform 0.22s var(--ease);
}
.link-arrow:hover::after { transform: translateX(4px); }

/* --- 5. 页头 -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 6px 24px rgba(63, 10, 1, 0.06);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink-900);
}
.brand:hover { color: var(--ink-900); }
.brand__mark { width: auto; height: 38px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-size: 1.1875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--ink-800);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 8px 15px;
  border-radius: var(--r-pill);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:hover { color: var(--red-700); background: var(--red-50); }
.nav a.is-active { color: var(--red-700); font-weight: 600; }
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transform: translateX(-50%);
}

.header-cta { flex: 0 0 auto; margin-left: 8px; }

.nav-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  margin-left: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  /* 去掉 iOS Safari 对 button 的默认外观干预 */
  -webkit-appearance: none;
  appearance: none;
}
/* 三条横线用绝对定位绘制，宽高都写死：
   不依赖 flex 的 align-items: stretch 与 gap，
   这两者在 WebKit 的 button 上表现不一致（iOS 上图标曾整个不显示）。 */
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 2px;
  margin-left: -9px;
  border-radius: 2px;
  background: var(--ink-800);
  transition: transform 0.28s var(--ease), opacity 0.2s var(--ease);
}
/* 绝对定位参照 padding box，会被 1px 边框顶低 1px，故此处各减 1 使视觉居中 */
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- 6. 首屏 -------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 92px 0 104px;
  overflow: hidden;
  background:
    radial-gradient(880px 460px at 88% -8%, var(--red-50) 0%, rgba(255, 244, 240, 0) 68%),
    radial-gradient(620px 420px at 4% 8%, #FDF3EF 0%, rgba(253, 243, 239, 0) 70%),
    var(--white);
}

/* 背景网格，暗示工程属性 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(63, 10, 1, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(63, 10, 1, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(720px 520px at 68% 34%, #000 0%, transparent 78%);
  mask-image: radial-gradient(720px 520px at 68% 34%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 64px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--text-mute);
  max-width: 30em;
  margin-bottom: 34px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.hero__tags span {
  font-size: 0.8125rem;
  color: var(--ink-600);
  background: var(--ink-50);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  padding: 5px 13px;
}

/* 首屏视觉：抽象系统界面卡片组，纯 CSS/HTML 绘制 */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 440px;
}
.hero__glow {
  position: absolute;
  inset: 2% -4% 2% 0;
  background:
    radial-gradient(closest-side, rgba(252, 113, 83, 0.22), rgba(252, 113, 83, 0)),
    radial-gradient(closest-side at 22% 78%, rgba(222, 62, 48, 0.14), rgba(222, 62, 48, 0));
  filter: blur(10px);
  pointer-events: none;
}

.panel-stack {
  position: relative;
  width: 100%;
  max-width: 366px;
}

.panel {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.panel--main { z-index: 3; }
.panel--float {
  position: absolute;
  z-index: 4;
  width: 196px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
}

.panel__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: var(--grad-dark);
}
.panel__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
.panel__bar i:first-child { background: var(--red-400); }
.panel__bar span {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

.panel__body { padding: 18px; }

.wire {
  height: 8px;
  border-radius: var(--r-pill);
  background: var(--ink-100);
  margin-bottom: 9px;
}
.wire--accent { background: var(--red-100); }
.wire--w40 { width: 40%; }
.wire--w55 { width: 55%; }
.wire--w70 { width: 70%; }
.wire--w85 { width: 85%; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin: 16px 0 4px;
}
.tile {
  aspect-ratio: 1.2;
  border-radius: var(--r-sm);
  background: var(--ink-50);
  border: 1px solid var(--line-soft);
  display: grid;
  place-items: center;
}
.tile svg { width: 19px; height: 19px; }
.tile--on { background: var(--red-50); border-color: var(--red-100); }

.meter {
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--ink-100);
  overflow: hidden;
  margin-top: 6px;
}
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--grad-brand); }

.panel--float .panel__body { padding: 15px 17px; }
.panel__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-800);
  margin-bottom: 10px;
}
.panel__label b {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--red-50);
  display: grid;
  place-items: center;
  color: var(--red-600);
  font-size: 0.6875rem;
}

/* 浮动卡片压在窗体两侧，避开标题栏与容器边缘 */
.panel--a { top: 7%; right: -48px; transform: rotate(3deg); }
.panel--b { bottom: 5%; left: -52px; transform: rotate(-3deg); }

/* --- 7. 卡片 -------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--red-100);
  box-shadow: var(--sh-md);
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-mute); font-size: 0.9375rem; margin: 0; }

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--red-50);
  color: var(--red-600);
  margin-bottom: 22px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon { background: var(--grad-brand); color: var(--white); }

.card__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red-400);
  margin-bottom: 14px;
}

.card__list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid var(--line-soft);
  padding-top: 16px;
}
.card__list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.875rem;
  color: var(--text-mute);
  margin-bottom: 7px;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-300);
}

/* --- 7a. 解决方案卡片 ------------------------------------------------------ */
.sol { padding: 36px 32px; }
.sol__scene {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--red-700);
  background: var(--red-50);
  border: 1px solid var(--red-100);
  border-radius: var(--r-pill);
}
.sol h3 { margin-bottom: 12px; font-size: 1.25rem; }
.sol > p { margin-bottom: 4px; }

.sol__block { margin-top: 24px; }
.sol__block h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 12px;
}
.sol__block ul { list-style: none; padding: 0; margin: 0; }
.sol__block li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 7px;
  font-size: 0.875rem;
  color: var(--text-soft);
}
.sol__block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red-300);
}

/* --- 7b. 服务详情块 -------------------------------------------------------- */
.svc {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  padding: 60px 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.svc:first-of-type { border-top: 0; padding-top: 4px; }

.svc__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--red-400);
  margin-bottom: 16px;
}
.svc__icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  background: var(--red-50);
  color: var(--red-600);
  margin-bottom: 22px;
}
.svc__icon svg { width: 27px; height: 27px; }
.svc__head h2 { font-size: 1.5rem; margin-bottom: 12px; }
.svc__head p { font-size: 0.9375rem; color: var(--text-mute); margin: 0; }

.svc__main > p { font-size: 1.0625rem; }
.svc__main h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin: 30px 0 16px;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}
.tick-list li {
  position: relative;
  padding-left: 24px;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-soft);
}
.tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--red-500);
}

/* --- 8. 流程步骤 ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h4 { margin-bottom: 8px; }
.step p { font-size: 0.875rem; color: var(--text-mute); margin: 0; }

/* --- 9. 特色 / 优势列表 ---------------------------------------------------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}
.feature {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line-soft);
}
.feature__icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--red-50);
  color: var(--red-600);
}
.feature__icon svg { width: 20px; height: 20px; }
.feature h4 { margin-bottom: 5px; }
.feature p { font-size: 0.875rem; color: var(--text-mute); margin: 0; }

/* --- 10. 技术方向标签 ------------------------------------------------------ */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chips span {
  padding: 9px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-700);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.chips span:hover {
  color: var(--red-700);
  border-color: var(--red-200);
  background: var(--red-50);
  transform: translateY(-2px);
}

/* --- 11. 深色行动区 -------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 88px 0;
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(252, 113, 83, 0.34), transparent);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 46em; }

/* --- 12. 内页页头 ---------------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 76px 0 68px;
  background:
    radial-gradient(720px 360px at 82% 0%, var(--red-50) 0%, rgba(255, 244, 240, 0) 70%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.page-hero__inner { position: relative; max-width: 760px; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero p { font-size: 1.0625rem; color: var(--text-mute); margin: 0; }

/* 内页页头右侧的 Z 形飘带，呼应 Logo 心形中的笔画 */
.page-hero__deco {
  position: absolute;
  top: 50%;
  right: -4%;
  width: 32%;
  max-width: 420px;
  transform: translateY(-50%) rotate(-9deg);
  opacity: 0.09;
  filter: blur(0.5px);
  pointer-events: none;
}
.page-hero__deco svg { width: 100%; height: auto; }

/* --- 13. 正文排版 ---------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 {
  margin-top: 2.4em;
  padding-top: 1.4em;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 100px;
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { margin-top: 1.7em; }
.prose p, .prose li { color: var(--text-soft); }
.prose ul { padding-left: 1.2em; }
.prose li::marker { color: var(--red-400); }

/* 政策页目录 */
.toc {
  padding: 26px 30px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  margin-bottom: 48px;
}
.toc h4 { margin-bottom: 14px; font-size: 0.9375rem; }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2; column-gap: 32px; }
.toc li { font-size: 0.9375rem; margin-bottom: 6px; break-inside: avoid; }

.note {
  padding: 18px 22px;
  background: var(--red-50);
  border-left: 3px solid var(--red-400);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.9375rem;
  color: var(--ink-700);
  margin: 26px 0;
}

/* --- 14. 信息表 / 联系方式 ------------------------------------------------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-list li:last-child { border-bottom: 0; }
.info-list__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--red-50);
  color: var(--red-600);
}
.info-list__icon svg { width: 20px; height: 20px; }
.info-list dt, .info-list__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  margin-bottom: 3px;
}
.info-list__value { color: var(--ink-800); font-size: 1rem; word-break: break-all; }
.info-list__value strong { font-weight: 600; }

/* --- 14b. 表单 ------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-700);
}
.field label .req { color: var(--red-500); margin-left: 2px; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--ink-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--red-400);
  box-shadow: 0 0 0 3px var(--red-50);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }
.field__hint { margin-top: 7px; font-size: 0.8125rem; color: var(--text-mute); }

/* --- 14c. 公司信息小卡 ------------------------------------------------------ */
.company-block {
  margin-top: 34px;
  padding: 24px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.company-block dl { margin: 0; }
.company-block dt {
  font-size: 0.8125rem;
  color: var(--text-mute);
  margin-bottom: 3px;
}
.company-block dd {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-800);
}
.company-block dd:last-of-type { margin-bottom: 0; }

/* --- 15. 表格 -------------------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 26px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 540px;
}
th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
th {
  background: var(--bg-soft);
  color: var(--ink-800);
  font-weight: 600;
  white-space: nowrap;
}
tbody tr:hover { background: var(--red-50); }
td { color: var(--text-soft); }

/* --- 16. 页脚 -------------------------------------------------------------- */
.site-footer {
  background: var(--grad-dark);
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9375rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 72px 0 56px;
}

/* 深色底上，标志保留彩色心形，字标改用白色以保证对比度 */
.footer-brand .brand__mark { height: 42px; }
.footer-brand .brand__name { color: var(--white); }
.footer-brand .brand__sub { color: rgba(255, 255, 255, 0.45); }
.footer-brand p { font-size: 0.875rem; line-height: 1.8; margin: 18px 0 0; max-width: 30em; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255, 255, 255, 0.66); font-size: 0.875rem; }
.footer-col a:hover { color: var(--red-300); }

.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li {
  display: flex;
  gap: 11px;
  margin-bottom: 14px;
  font-size: 0.875rem;
  line-height: 1.7;
}
.footer-contact svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 4px;
  color: var(--red-300);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}
.footer-bottom p { margin: 0; }

.beian {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
}
.beian a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.66);
}
.beian a:hover { color: var(--red-300); }
.beian img { height: 16px; width: auto; }

/* --- 17. 滚动出现动画 ------------------------------------------------------
   仅在 <html> 带有 .js 时才隐藏初始状态：脚本被禁用或加载失败时，
   内容保持默认可见，页面不会出现空白区块。 */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.4s; }

/* --- 18. 返回顶部 ---------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--ink-700);
  box-shadow: var(--sh-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s, color 0.2s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--red-600); }
.to-top svg { width: 19px; height: 19px; }

/* --- 19. 404 --------------------------------------------------------------- */
.error-page {
  display: grid;
  place-items: center;
  min-height: 62vh;
  text-align: center;
  padding: 90px 0;
}
.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

/* --- 20. 响应式 ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { min-height: 400px; max-width: 520px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 24px 26px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
      visibility 0.26s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 13px 16px; border-radius: var(--r-md); font-size: 1rem; }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { background: var(--red-50); }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 72px 0; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; gap: 0; }
  .tick-list { grid-template-columns: 1fr; gap: 10px; }
  .toc ol { columns: 1; }
  .hero { padding: 60px 0 72px; }
  .hero__visual { min-height: 330px; }
  .panel-stack { max-width: 320px; }
  .panel--float { width: 168px; }
  .panel--a { top: -24px; right: -20px; }
  .panel--b { bottom: -22px; left: -22px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
  .hero__tags { display: none; }
  .panel--b { display: none; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
}

/* --- 21. 动效偏好与打印 ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .cta-band { display: none; }
  body { color: #000; }
  .card, .step { box-shadow: none; border-color: #ccc; }
}
