/* ==========================================================================
   jxphotos 技术服务 · 官网样式
   设计语言：企业级云服务风格（浅色底 / 蓝色主色 / 结构化栅格）
   ========================================================================== */

:root {
  /* 中性色 */
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-soft-2: #eef3fb;
  --ink: #0f1b33;
  --ink-2: #33415c;
  --ink-3: #5b6b85;
  --ink-4: #8695ab;
  --line: #e4e9f2;
  --line-strong: #cfd8e8;

  /* 品牌色 */
  --blue: #1a5ce0;
  --blue-dark: #0f43b3;
  --blue-light: #3d7bff;
  --blue-soft: #eaf1ff;

  /* 状态色 */
  --ok: #12855a;
  --danger: #d64545;

  --radius: 10px;
  --radius-lg: 14px;
  --wrap: 1200px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 51, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 27, 51, 0.08);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
}

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

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

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

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.16s ease;
}

a:hover {
  color: var(--blue-dark);
}

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

p {
  margin: 0;
}

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

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  z-index: 999;
  border-radius: 0 0 8px 0;
  font-size: 14px;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: none;
}

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

.brand-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-sub {
  color: var(--ink-3);
  font-size: 12.5px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink-2);
  padding: 10px 12px;
  line-height: 1.5;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
}

.site-nav .nav-cta {
  margin-left: 10px;
  background: var(--blue);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(26, 92, 224, 0.18);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--blue-dark);
  color: #fff;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.6px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.6px) rotate(-45deg);
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 84px) 0 clamp(32px, 4vw, 56px);
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 62%);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 640px;
  background:
    radial-gradient(42% 52% at 84% 24%, rgba(26, 92, 224, 0.1), transparent 68%),
    radial-gradient(36% 44% at 10% 0%, rgba(61, 123, 255, 0.07), transparent 70%);
  pointer-events: none;
}

.hero-copy {
  min-width: 0;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #d7e3ff;
  border-radius: 999px;
  padding: 6px 14px;
}

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

.hero h1 {
  margin-top: 22px;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  max-width: 18em;
}

.lead {
  margin-top: 18px;
  max-width: 34em;
  color: var(--ink-3);
  font-size: clamp(15px, 1.35vw, 17px);
  line-height: 1.8;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease,
    box-shadow 0.16s ease, transform 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(26, 92, 224, 0.2);
}

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

.btn-primary[disabled] {
  background: #93a9cf;
  box-shadow: none;
  cursor: not-allowed;
}

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

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.trust-list li {
  position: relative;
  padding-left: 20px;
}

.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 6px;
  border-left: 1.6px solid var(--blue);
  border-bottom: 1.6px solid var(--blue);
  transform: rotate(-45deg);
}

/* 首屏右侧服务概览面板 */

.hero-panel {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: #fbfcff;
  border-bottom: 1px solid var(--line);
}

.hero-panel-head h2 {
  font-size: 15px;
  font-weight: 600;
}

.hero-panel-head span {
  font-size: 12px;
  color: var(--ink-4);
}

.hero-panel ul {
  padding: 6px 0;
}

.hero-panel li + li {
  border-top: 1px solid #f0f4fa;
}

.hero-panel li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 11px 20px;
  color: inherit;
}

.hero-panel li a:hover {
  background: #f7faff;
}

.hp-icon {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  margin-top: 2px;
}

.hp-icon svg {
  width: 16px;
  height: 16px;
}

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

.hp-title {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
}

.hp-desc {
  display: block;
  font-size: 12.5px;
  color: var(--ink-4);
  line-height: 1.6;
}

.hero-panel-foot {
  padding: 12px 20px;
  background: #fbfcff;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-4);
}

/* 指标条 */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: clamp(32px, 4vw, 56px) 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.stats div {
  min-width: 0;
  padding-left: 16px;
  border-left: 2px solid var(--blue-soft);
}

.stats dt {
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stats dt em {
  font-style: normal;
  font-size: 0.52em;
  font-weight: 600;
  color: var(--blue);
  margin-left: 4px;
  letter-spacing: 0;
}

.stats dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- 通用区块 ---------- */

.section {
  padding: clamp(52px, 6.5vw, 92px) 0;
  scroll-margin-top: 82px;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-kicker::before {
  content: "";
  width: 14px;
  height: 3px;
  border-radius: 2px;
  background: var(--blue);
}

.section-head h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.015em;
}

.section-lead {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 15.5px;
  line-height: 1.8;
}

/* ---------- 服务卡片 ---------- */

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

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: #c3d6ff;
  box-shadow: 0 12px 28px rgba(15, 27, 51, 0.07);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: var(--blue-soft);
  color: var(--blue);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-icon--cyan {
  background: #e6f6fc;
  color: #0b7fbf;
}

.card-icon--violet {
  background: #f0edff;
  color: #6247d6;
}

.card-icon--green {
  background: #e9f7ee;
  color: #1c8f5a;
}

.card-icon--orange {
  background: #fff0e6;
  color: #cf5c15;
}

.card-icon--slate {
  background: #eef1f7;
  color: #465a7d;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card > p {
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.75;
}

.card ul {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: grid;
  gap: 8px;
}

.card ul li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: var(--ink-3);
}

.card ul li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.45em;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid var(--blue);
  border-bottom: 1.5px solid var(--blue);
  transform: rotate(-45deg);
}

.card .card-out {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-4);
}

/* ---------- 技术栈条 ---------- */

.band {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: clamp(24px, 3vw, 36px) 0;
}

.band-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.band-label {
  flex: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stack-list li {
  font-size: 12.5px;
  color: var(--ink-3);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 11px;
  line-height: 1.6;
}

/* ---------- 合作品牌滚动 ---------- */

.partners {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: clamp(36px, 5vw, 58px) 0 clamp(30px, 4vw, 44px);
  overflow: hidden;
}

.partners-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.partners-head h2 {
  margin-top: 10px;
  font-size: clamp(22px, 2.4vw, 28px);
}

.partners-lead {
  max-width: 460px;
  color: var(--ink-3);
  font-size: 14.5px;
  line-height: 1.8;
}

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.marquee-inner {
  display: flex;
  width: max-content;
  animation: marquee-scroll 46s linear infinite;
  will-change: transform;
}

.marquee:hover .marquee-inner,
.marquee:focus-within .marquee-inner {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}

.partner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.partner:hover {
  border-color: #c3d6ff;
  box-shadow: var(--shadow-sm);
}

.partner-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--blue);
}

.partner-logo svg {
  width: 20px;
  height: 20px;
}

.partner-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.partner-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.partner-desc {
  font-size: 12px;
  color: var(--ink-4);
}

.partners-foot {
  margin-top: clamp(18px, 2.5vw, 26px);
  color: var(--ink-4);
  font-size: 12.5px;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- 适用对象 ---------- */

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

.audience {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}

.audience-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 14px;
}

.audience h3 {
  font-size: 17.5px;
  margin-bottom: 14px;
}

.audience ul {
  display: grid;
  gap: 9px;
}

.audience li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-3);
  font-size: 14px;
}

.audience li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.65;
}

/* ---------- 评估维度 ---------- */

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

.method-grid li {
  padding: 26px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.method-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 5px;
  padding: 3px 8px;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}

.method-grid h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.method-grid p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.75;
}

/* ---------- 交付流程 ---------- */

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

.steps li {
  position: relative;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.steps h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.steps p {
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.75;
}

.steps .step-out {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 12.8px;
  color: var(--ink-4);
}

/* ---------- 服务保障 ---------- */

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

.assurance-grid article {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.assurance-grid h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 16.5px;
  margin-bottom: 10px;
}

.assurance-grid h3::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid #cfe0ff;
  box-shadow: inset 0 0 0 4px #fff;
}

.assurance-grid p {
  color: var(--ink-3);
  font-size: 13.8px;
  line-height: 1.75;
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 12px;
  max-width: 900px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 20px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.faq details[open] {
  border-color: #c3d6ff;
  box-shadow: 0 8px 20px rgba(15, 27, 51, 0.05);
}

.faq summary {
  cursor: pointer;
  padding: 17px 36px 17px 0;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  list-style: none;
  transition: color 0.16s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 11px;
  height: 11px;
  margin-top: -6px;
  border-right: 1.6px solid var(--ink-4);
  border-bottom: 1.6px solid var(--ink-4);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: -2px;
}

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

.faq details p {
  color: var(--ink-3);
  font-size: 14.5px;
  padding: 0 40px 18px 0;
  line-height: 1.8;
}

/* ---------- 咨询表单 ---------- */

.consult-section {
  background: linear-gradient(135deg, #0b1b34 0%, #12294a 52%, #0d2244 100%);
  padding: clamp(48px, 6vw, 84px) 0;
  scroll-margin-top: 82px;
}

.consult-wrap {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.consult-intro .section-kicker {
  color: #8fb4ff;
}

.consult-intro .section-kicker::before {
  background: #8fb4ff;
}

.consult-intro h2 {
  color: #fff;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
}

.consult-intro > p {
  margin-top: 14px;
  color: #a9bad4;
  font-size: 15px;
  line-height: 1.8;
}

.consult-points {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.consult-points li {
  position: relative;
  padding-left: 20px;
  color: #c6d5eb;
  font-size: 14px;
}

.consult-points li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 0.5em;
  width: 10px;
  height: 5px;
  border-left: 1.5px solid #7fa9ff;
  border-bottom: 1.5px solid #7fa9ff;
  transform: rotate(-45deg);
}

.consult-note {
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(143, 180, 255, 0.28);
  background: rgba(143, 180, 255, 0.08);
  color: #b8c9e2;
  font-size: 13px;
  line-height: 1.7;
}

.consult-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 2.6vw, 32px);
  display: grid;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(4, 16, 38, 0.36);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.field label,
.field legend {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}

.req {
  color: var(--danger);
  font-weight: 600;
}

.opt {
  color: var(--ink-4);
  font-size: 12px;
  font-weight: 400;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="password"],
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  padding: 11px 13px;
  font-size: 16px; /* 16px 防止 iOS 聚焦缩放 */
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  appearance: none;
}

.field textarea {
  resize: vertical;
  min-height: 126px;
}

.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-4) 50%),
    linear-gradient(135deg, var(--ink-4) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26, 92, 224, 0.14);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa8bf;
}

.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}

.field.invalid input:focus,
.field.invalid textarea:focus {
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.13);
}

.field-error {
  font-size: 12.5px;
  color: var(--danger);
  min-height: 0;
}

.field-error:empty {
  display: none;
}

.field-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.counter {
  font-size: 12px;
  color: var(--ink-4);
  flex: none;
  font-variant-numeric: tabular-nums;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.chip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.chip span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 13.5px;
  color: var(--ink-2);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
  user-select: none;
}

.chip span:hover {
  border-color: #b9cdf3;
  color: var(--blue);
}

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

.chip input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.captcha-question {
  flex: none;
  min-width: 100px;
  text-align: center;
  padding: 11px 10px;
  border-radius: 8px;
  border: 1px solid #d7e3ff;
  background: #f4f8ff;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.03em;
}

.field-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--ink-3);
  cursor: pointer;
}

.agree input {
  width: 17px;
  height: 17px;
  margin: 3px 0 0;
  accent-color: var(--blue);
  flex: none;
}

.agree.invalid {
  color: var(--danger);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.form-actions .btn {
  min-width: 160px;
}

.form-hint {
  font-size: 13.5px;
  color: var(--ink-4);
  min-height: 1em;
}

.form-hint.ok {
  color: var(--ok);
}

.form-hint.error {
  color: var(--danger);
}

.form-success {
  display: grid;
  gap: 10px;
  justify-items: start;
  padding: 24px 22px;
  border-radius: 10px;
  border: 1px solid #bfe6cf;
  background: #f2fbf6;
}

.form-success h3 {
  font-size: 18px;
  color: var(--ok);
}

.form-success p {
  color: var(--ink-3);
  font-size: 14px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: clamp(38px, 4.5vw, 60px) 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 30em;
}

.footer-col h3 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--ink-3);
  font-size: 13.5px;
}

.footer-col a:hover {
  color: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: var(--ink-4);
  font-size: 12.5px;
}

/* ---------- 动效 ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .card:hover {
    transform: none;
  }

  .marquee-inner {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1120px) {
  .site-nav {
    gap: 0;
    font-size: 14px;
  }

  .site-nav a {
    padding: 9px 9px;
  }

  .site-nav .nav-cta {
    margin-left: 6px;
    padding: 9px 16px;
  }
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 24em;
  }

  .hero-panel {
    max-width: 640px;
  }

  .cards,
  .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .assurance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .consult-wrap {
    grid-template-columns: 1fr;
  }

  .partners-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .partners-lead {
    max-width: none;
  }

  .method-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-col:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 992px) {
  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(15, 27, 51, 0.1);
    display: none;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .site-nav a:hover {
    background: transparent;
  }

  .site-nav .nav-cta {
    margin: 14px 0 0;
    text-align: center;
    justify-content: center;
    border-bottom: 0;
    display: flex;
    padding: 12px 20px;
  }

  .menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .brand-sub {
    display: none;
  }

  .br-wide {
    display: none;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
  }

  .cards,
  .audience-grid,
  .steps,
  .assurance-grid,
  .method-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .form-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-col:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 400px) {
  .wrap {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 16.5px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    gap: 10px;
  }

  .chip span {
    padding: 8px 12px;
    font-size: 13px;
  }

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