/* ============================================================
   北京知行千度科技有限公司 — 官网样式系统
   主题：科技深蓝 · 专业稳重
   ============================================================ */

:root {
  /* 品牌色阶 */
  --brand-900: #060f22;
  --brand-800: #0a1830;
  --brand-700: #0e2244;
  --brand-600: #13315e;
  --brand-500: #1a4a86;
  --brand-400: #2f6fb8;
  --brand-300: #5b9bd8;
  --brand-200: #9cc6ec;
  --brand-100: #d8e8f7;

  --accent-600: #0a7d8c;
  --accent-500: #0e9bab;
  --accent-400: #19b8c9;
  --accent-300: #5ad4e0;

  --gold-500: #c9922f;

  /* 中性色 */
  --ink-900: #0b1220;
  --ink-700: #1e293b;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --line: #e2e8f0;
  --line-soft: #eef2f7;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-deep: var(--brand-900);

  /* 语义色 */
  --ok-500: #14876a;
  --warn-500: #b87514;

  /* 排版 */
  --font-sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Mono", Consolas,
    "Courier New", monospace;

  /* 尺度 */
  --wrap: 1200px;
  --wrap-narrow: 880px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.04),
    0 2px 8px rgba(11, 18, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, 0.06),
    0 12px 32px rgba(11, 18, 32, 0.07);
  --shadow-lg: 0 8px 24px rgba(11, 18, 32, 0.08),
    0 24px 60px rgba(11, 18, 32, 0.1);
  --shadow-brand: 0 12px 36px rgba(19, 49, 94, 0.22);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* hidden 属性需能覆盖 display:flex/grid/block 等显式设置 */
[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-700);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 0.5em;
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand-500);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--brand-400);
}

img {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--brand-200);
  color: var(--brand-900);
}

/* ---------- 布局 ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding: 92px 0;
}

.section-sm {
  padding: 64px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-deep {
  background: var(--bg-deep);
  color: #b9c6db;
}

.section-deep h2,
.section-deep h3,
.section-deep h4 {
  color: #fff;
}

/* ---------- 标题组 ---------- */
.sec-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.sec-head.left {
  margin-left: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(26, 74, 134, 0.08);
  color: var(--brand-500);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 4px rgba(25, 184, 201, 0.16);
}

.section-deep .eyebrow {
  background: rgba(90, 212, 224, 0.1);
  color: var(--accent-300);
}

.sec-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 16px;
}

.sec-head p {
  font-size: 17px;
  color: var(--ink-500);
  margin: 0;
}

.section-deep .sec-head p {
  color: #93a6c0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease),
    background 0.22s var(--ease), color 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: #fff;
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(19, 49, 94, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-400));
  color: #04262b;
  box-shadow: 0 12px 32px rgba(14, 155, 171, 0.26);
}

.btn-accent:hover {
  color: #04262b;
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: #fff;
  border-color: var(--line);
  color: var(--ink-700);
}

.btn-outline:hover {
  border-color: var(--brand-400);
  color: var(--brand-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-lg {
  padding: 17px 36px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease),
    backdrop-filter 0.3s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(11, 18, 32, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 96px;
}

/* ---------- 品牌区 ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* 左侧完整 LOGO（千+钟表 图标 + 知行千度 文字，竖版组合） */
.brand-mark {
  width: auto;
  height: 64px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-mark img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* 旧版方块字标（保留备用） */
.brand-mark.is-square {
  border-radius: 11px;
  background: linear-gradient(140deg, var(--brand-500), var(--accent-500));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.03em;
  box-shadow: 0 6px 18px rgba(19, 49, 94, 0.28);
}

/* 右侧公司名称：中文在上、英文在下 */
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-left: 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.3s var(--ease);
}

.header.scrolled .brand-text {
  border-left-color: var(--line);
}

.brand-name {
  font-size: 16.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.01em;
  transition: color 0.3s var(--ease);
}

.brand-sub {
  font-size: 11px;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.3s var(--ease);
  white-space: nowrap;
}

.header.scrolled .brand-name {
  color: var(--ink-900);
}

.header.scrolled .brand-sub {
  color: var(--ink-400);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-weight: 500;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.header.scrolled .nav a {
  color: var(--ink-500);
}

.header.scrolled .nav a:hover {
  background: var(--bg-soft);
  color: var(--brand-500);
}

.header .btn {
  margin-left: 12px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

.header.scrolled .nav-toggle {
  background: var(--bg-soft);
}

.header.scrolled .nav-toggle span {
  background: var(--ink-700);
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  background: var(--brand-900);
  overflow: hidden;
  color: #c6d3e6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 70% 60% at 18% 22%,
      rgba(26, 74, 134, 0.55),
      transparent 65%
    ),
    radial-gradient(
      ellipse 55% 55% at 82% 12%,
      rgba(14, 155, 171, 0.28),
      transparent 62%
    ),
    radial-gradient(
      ellipse 60% 50% at 62% 92%,
      rgba(19, 49, 94, 0.6),
      transparent 70%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(
    ellipse 80% 70% at 50% 40%,
    #000 30%,
    transparent 78%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 80% 70% at 50% 40%,
    #000 30%,
    transparent 78%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 8px;
  border: 1px solid rgba(90, 212, 224, 0.28);
  border-radius: 999px;
  background: rgba(14, 155, 171, 0.1);
  color: var(--accent-300);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 26px;
}

.hero-badge b {
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent-500);
  color: #04262b;
  font-size: 12px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.14;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero h1 .hl {
  background: linear-gradient(100deg, var(--accent-300), #8fd0ff 60%, var(--accent-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(16px, 1.6vw, 18.5px);
  color: #a8bad3;
  max-width: 560px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat b {
  display: block;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-stat span {
  font-size: 13px;
  color: #8397b3;
}

/* Hero 右侧面板 */
.hero-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--r-xl);
  padding: 32px;
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-panel-head h3 {
  color: #fff;
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-300);
  text-transform: uppercase;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-400);
  box-shadow: 0 0 0 0 rgba(25, 184, 201, 0.6);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 184, 201, 0.55);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(25, 184, 201, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(25, 184, 201, 0);
  }
}

.hero-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-panel li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 14.5px;
  color: #b8c7dc;
  margin: 0;
}

.hero-panel li .ico {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(25, 184, 201, 0.14);
  color: var(--accent-300);
  font-size: 15px;
}

.hero-panel li b {
  color: #fff;
  font-weight: 600;
}

.hero-panel-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #8397b3;
}

.hero-panel-foot b {
  color: var(--accent-300);
  font-family: var(--font-mono);
}

/* ---------- 服务卡片 ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.svc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.svc-card:hover::before {
  transform: scaleX(1);
}

.svc-ico {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(140deg, rgba(26, 74, 134, 0.1), rgba(14, 155, 171, 0.1));
  color: var(--brand-500);
  border: 1px solid rgba(26, 74, 134, 0.1);
}

.svc-card:nth-child(2n) .svc-ico {
  background: linear-gradient(140deg, rgba(14, 155, 171, 0.12), rgba(91, 155, 216, 0.1));
  color: var(--accent-600);
  border-color: rgba(14, 155, 171, 0.14);
}

.svc-ico svg {
  width: 26px;
  height: 26px;
}

.svc-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.svc-card > p {
  font-size: 14.5px;
  color: var(--ink-500);
  margin-bottom: 20px;
  flex: 1;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 20px;
}

.svc-tags span {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  font-size: 12px;
  color: var(--ink-500);
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--brand-500);
}

.svc-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.svc-card:hover .svc-link::after {
  transform: translateX(4px);
}

/* ---------- 能力矩阵 ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cap-cell {
  background: #fff;
  padding: 30px 26px;
}

.cap-cell h4 {
  font-size: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.cap-cell h4::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--accent-400));
}

.cap-cell p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- 流程 ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: step;
}

.flow-step {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--line);
  counter-increment: step;
}

.flow-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -13px;
  left: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-500);
}

.flow-step h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- 案例 ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.case-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.case-cover {
  height: 172px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.case-cover .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-700);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.case-cover .glyph {
  font-size: 42px;
  opacity: 0.92;
}

.case-body {
  padding: 24px 26px 26px;
}

.case-body h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.case-body p {
  font-size: 14px;
  color: var(--ink-500);
  margin-bottom: 16px;
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line-soft);
  font-size: 12.5px;
  color: var(--ink-400);
}

.case-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ---------- 数字条 ---------- */
.nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
}

.num b {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #fff, var(--accent-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.num span {
  font-size: 14px;
  color: #8fa3bd;
}

/* ---------- 表单 ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  gap: 5px;
}

.field label .req {
  color: #dc2626;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-400);
  box-shadow: 0 0 0 3px rgba(47, 111, 184, 0.14);
}

.field textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

.field .hint {
  font-size: 12.5px;
  color: var(--ink-400);
}

.field.err input,
.field.err select,
.field.err textarea {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.field .msg {
  font-size: 12.5px;
  color: #dc2626;
  display: none;
}

.field.err .msg {
  display: block;
}

.checkbox-line {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--ink-500);
  grid-column: 1 / -1;
}

.checkbox-line input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand-500);
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  grid-column: 1 / -1;
}

.form-status.show {
  display: block;
}

.form-status.ok {
  background: rgba(20, 135, 106, 0.09);
  color: #0f6b53;
  border: 1px solid rgba(20, 135, 106, 0.22);
}

/* 深色表单区内的状态提示需要更亮的文字色，否则对比度不足 */
.order-form .form-status.ok {
  background: rgba(25, 184, 201, 0.14);
  color: #7de3ee;
  border-color: rgba(25, 184, 201, 0.4);
}

.order-form .form-status.fail {
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.4);
}

.form-status.fail {
  background: rgba(220, 38, 38, 0.07);
  color: #b91c1c;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* 接单卡（深色） */
.order-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: start;
}

.order-aside h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  color: #fff;
  margin-bottom: 16px;
}

.order-aside > p {
  color: #93a6c0;
  margin-bottom: 28px;
}

.order-points {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.order-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14.5px;
  color: #b3c3d9;
  margin: 0;
}

.order-points .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(25, 184, 201, 0.16);
  color: var(--accent-300);
  font-size: 12px;
  margin-top: 2px;
}

.order-form {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  padding: 34px;
  backdrop-filter: blur(16px);
}

.order-form .field label {
  color: #d3dfef;
}

.order-form .field input,
.order-form .field select,
.order-form .field textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.order-form .field input::placeholder,
.order-form .field textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.order-form .field select {
  color: #fff;
}

.order-form .field select option {
  color: var(--ink-900);
}

.order-form .field input:focus,
.order-form .field select:focus,
.order-form .field textarea:focus {
  border-color: var(--accent-400);
  box-shadow: 0 0 0 3px rgba(25, 184, 201, 0.16);
}

.order-form .field .hint,
.order-form .field .msg {
  color: #8fa3bd;
}

.order-form .checkbox-line {
  color: #93a6c0;
}

.order-form .checkbox-line input {
  accent-color: var(--accent-400);
}

/* ---------- 通用信息卡 ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.info-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #fff;
}

.info-card h4 {
  font-size: 16.5px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

.info-card .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(26, 74, 134, 0.08);
  color: var(--brand-500);
  flex-shrink: 0;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--brand-900);
  color: #8296b1;
  padding: 68px 0 0;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 52px;
}

/* 页脚品牌区：左侧完整 LOGO，右侧公司名称 */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.footer-brand img {
  height: 76px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-brand-cn {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand-en {
  font-size: 11.5px;
  color: #8296b1;
  letter-spacing: 0.01em;
}

.footer-about p {
  margin: 0 0 22px;
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.85;
}

.footer h5 {
  color: #fff;
  font-size: 14px;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer li {
  margin: 0;
}

.footer a {
  color: #8296b1;
}

.footer a:hover {
  color: var(--accent-300);
}

.footer-contact li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  line-height: 1.7;
}

.footer-contact .fi {
  color: var(--accent-400);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 22px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

.footer-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- CTA 条 ---------- */
.cta-bar {
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500) 55%, var(--accent-600));
  border-radius: var(--r-xl);
  padding: 54px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta-bar h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}

.cta-bar p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
  font-size: 15px;
}

/* ---------- 面包屑 / 页头 ---------- */
.page-hero {
  position: relative;
  padding: 150px 0 70px;
  background: var(--brand-900);
  overflow: hidden;
  color: #a8bad3;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 70% at 20% 20%,
      rgba(26, 74, 134, 0.5),
      transparent 65%
    ),
    radial-gradient(ellipse 50% 60% at 85% 30%, rgba(14, 155, 171, 0.22), transparent 65%);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.crumb {
  font-size: 13px;
  color: #7e93b0;
  margin-bottom: 16px;
}

.crumb a {
  color: #9fb3cd;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 660px;
  font-size: 16.5px;
  margin: 0;
  color: #9db0cb;
}

/* ---------- 面包屑导航（正文内） ---------- */
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 4px;
}

.tabs a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
  background: #fff;
}

.tabs a:hover {
  border-color: var(--brand-400);
  color: var(--brand-500);
}

.tabs a.on {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

/* ---------- 内容排版 ---------- */
.prose h2 {
  font-size: 26px;
  margin: 44px 0 16px;
}

.prose h3 {
  font-size: 19px;
  margin: 30px 0 10px;
}

.prose p {
  color: var(--ink-500);
}

.prose ul {
  color: var(--ink-500);
}

.prose li {
  margin-bottom: 7px;
}

.prose strong {
  color: var(--ink-900);
}

.scope-box {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 32px;
}

.scope-box h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: var(--brand-600);
}

.scope-box p {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.95;
  margin: 0;
}

.scope-box .sub {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--accent-400));
}

.tl-item {
  position: relative;
  padding-bottom: 30px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-500);
}

.tl-item h4 {
  font-size: 16.5px;
  margin-bottom: 6px;
}

.tl-item p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 640px;
}

thead th {
  background: var(--bg-soft);
  color: var(--ink-900);
  font-weight: 600;
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

tbody td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-500);
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: rgba(246, 249, 252, 0.7);
}

td b {
  color: var(--ink-900);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 24px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink-900);
}

.faq-q .pm {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--brand-500);
  font-size: 15px;
  transition: transform 0.3s var(--ease);
}

.faq-item.open .pm {
  transform: rotate(45deg);
  background: var(--brand-500);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--ink-500);
  line-height: 1.85;
}

/* ---------- 滚动出现动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .order-card {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 24px 26px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.28s var(--ease);
  }

  body.menu-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }

  .nav a {
    color: var(--ink-700) !important;
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: 15.5px;
  }

  .nav a:hover {
    background: var(--bg-soft);
  }

  .header .btn {
    margin: 10px 0 0;
  }

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding: 120px 0 70px;
    min-height: auto;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-bar {
    padding: 40px 30px;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 18px;
  }

  .hero-panel {
    padding: 24px 20px;
  }

  .order-form {
    padding: 24px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .brand-sub {
    display: none;
  }
}

/* ---------- 打印 ---------- */
@media print {
  .header,
  .hero-panel,
  .footer-bottom,
  .btn {
    display: none;
  }
}
