/* =========================================================
   诚恒信息 · 品牌官网样式表
   Design tokens / Layout / Components / Responsive
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --ink: #14161a;
  --ink-2: #343a42;
  --muted: #6f7681;
  --muted-2: #9aa1ab;
  --line: #e7ebf0;
  --line-strong: #d6dce4;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f8fb;
  --accent: #1e88d1;
  --accent-hover: #1668a8;
  --accent-soft: #e9f3fd;
  --accent-line: #bcdcf7;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Songti SC", "Times New Roman", serif;

  --max: 1180px;
  --gutter: 32px;
  --radius: 4px;
  --radius-lg: 8px;

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

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

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

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

/* ---------- 3. Typography ---------- */
.display {
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.45;
  font-weight: 500;
}

.lead {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
  color: var(--muted);
}

.body-text {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.eyebrow.on-dark {
  color: rgba(255, 255, 255, 0.55);
}

.eyebrow.on-dark::before {
  background: rgba(255, 255, 255, 0.28);
}

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 9vw, 132px);
}

.section--tight {
  padding-block: clamp(56px, 6vw, 88px);
}

.section--surface {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-head .h2 {
  margin-top: 18px;
}

.section-head .lead {
  padding-bottom: 6px;
}

@media (max-width: 860px) {
  .section-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding-inline: 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  white-space: nowrap;
  transition: background 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
}

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

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

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
}

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

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: rgba(255, 255, 255, 0.86);
}

.btn--outline-light {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #fff;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
  border-color: var(--accent-line);
  gap: 12px;
}

.text-link svg {
  width: 14px;
  height: 14px;
}

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(251, 250, 248, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.brand-sub {
  font-size: 8.5px;
  letter-spacing: 0.3em;
  color: var(--muted-2);
  margin-top: 3px;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color 0.24s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

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

.nav a.is-active {
  color: var(--ink);
  font-weight: 500;
}

.header-cta {
  margin-left: 34px;
  height: 42px;
  padding-inline: 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), background 0.2s;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

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

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

body.nav-open .nav-toggle span {
  background: transparent;
}

body.nav-open .nav-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bg);
  padding: calc(var(--header-h) + 40px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.34s var(--ease), transform 0.34s var(--ease),
    visibility 0.34s;
}

body.nav-open .drawer {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

body.nav-open {
  overflow: hidden;
}

.drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer nav a {
  font-size: 26px;
  font-weight: 400;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.01em;
}

.drawer-foot {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-foot .drawer-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (min-width: 981px) {
  .drawer {
    display: none;
  }
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(56px, 7vw, 96px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -12%;
  width: 62vw;
  height: 62vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(30, 136, 209, 0.07),
    rgba(30, 136, 209, 0) 62%
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .display {
  margin-top: 26px;
}

.hero .display em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero .display em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--accent-soft);
  z-index: -1;
}

.hero .lead {
  margin-top: 26px;
  max-width: 34em;
}

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

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin-top: clamp(48px, 6vw, 76px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta li {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.hero-meta strong {
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}

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

  .hero-visual {
    order: -1;
    margin-bottom: 8px;
  }
}

/* hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  height: 100%;
}

/* ---------- 8. Trust bar ---------- */
.trust {
  padding-block: clamp(30px, 4vw, 46px);
  border-block: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.trust-label {
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.trust-list {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  flex-wrap: wrap;
}

.trust-list span {
  font-size: 15px;
  color: #9ba1a9;
  letter-spacing: 0.06em;
  font-weight: 500;
  transition: color 0.3s var(--ease);
}

.trust-list span:hover {
  color: var(--ink-2);
}

/* ---------- 9. Capability cards ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cap {
  background: var(--bg);
  padding: clamp(26px, 2.6vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.34s var(--ease);
}

.cap:hover {
  background: var(--surface);
}

.cap-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.cap-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-top: 4px;
}

.cap h3 {
  font-size: 17.5px;
  font-weight: 500;
  margin-top: 6px;
}

.cap p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

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

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

/* ---------- 10. Solution cards ---------- */
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.sol-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.32s var(--ease), transform 0.32s var(--ease),
    box-shadow 0.32s var(--ease);
}

.sol-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -28px rgba(20, 22, 26, 0.4);
}

.sol-card__media {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.sol-card__media svg {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease);
}

.sol-card:hover .sol-card__media svg {
  transform: scale(1.03);
}

.sol-card__body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.sol-card__tag {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.sol-card h3 {
  font-size: 19px;
  font-weight: 500;
}

.sol-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.sol-card .text-link {
  margin-top: auto;
  padding-top: 14px;
  font-size: 14px;
}

@media (max-width: 940px) {
  .sol-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* wide single card */
.sol-card--wide {
  flex-direction: row;
}

.sol-card--wide .sol-card__media {
  flex: 0 0 46%;
  aspect-ratio: auto;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}

.sol-card--wide .sol-card__body {
  padding: clamp(26px, 3vw, 40px);
  justify-content: center;
}

.sol-card--wide h3 {
  font-size: clamp(19px, 2vw, 24px);
}

.sol-card--wide p {
  max-width: 36em;
}

@media (max-width: 780px) {
  .sol-card--wide {
    flex-direction: column;
  }

  .sol-card--wide .sol-card__media {
    flex: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ---------- 11. Dark band ---------- */
.band {
  background: var(--ink);
  color: #fff;
  padding-block: clamp(64px, 7vw, 104px);
  position: relative;
  overflow: hidden;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(circle at 70% 20%, #000, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 20%, #000, transparent 78%);
  pointer-events: none;
}

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

.band-head {
  max-width: 620px;
}

.band .h2 {
  margin-top: 18px;
  color: #fff;
}

.band .lead {
  color: rgba(255, 255, 255, 0.6);
  margin-top: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(40px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.14);
}

.stat {
  background: var(--ink);
  padding: 30px 8px 30px 0;
}

.stat dt {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat dt span.unit {
  font-size: 0.44em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
}

.stat dd {
  margin: 12px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 12. Case cards ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

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

.case-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -30px rgba(20, 22, 26, 0.42);
}

.case-card__media {
  aspect-ratio: 21 / 10;
  overflow: hidden;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.case-card__media svg {
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--ease);
}

.case-card:hover .case-card__media svg {
  transform: scale(1.04);
}

.case-card__body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.case-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

.case-meta span {
  padding: 2px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.case-card h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
}

.case-card p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.case-result {
  display: flex;
  gap: 28px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.case-result div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.case-result strong {
  font-size: 21px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.case-result small {
  font-size: 12px;
  color: var(--muted-2);
}

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

/* filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(28px, 3vw, 44px);
}

.filter {
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--muted);
  background: transparent;
  transition: all 0.24s var(--ease);
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

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

/* ---------- 13. Quote ---------- */
.quote-block {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 88px;
  line-height: 0.7;
  color: var(--accent-line);
}

.quote-body blockquote {
  font-size: clamp(19px, 2.3vw, 27px);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.005em;
}

.quote-by {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}

.quote-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}

.quote-name {
  font-size: 14px;
  font-weight: 500;
}

.quote-role {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 780px) {
  .quote-block {
    grid-template-columns: 1fr;
  }

  .quote-mark {
    font-size: 56px;
  }
}

/* ---------- 14. CTA ---------- */
.cta {
  position: relative;
  padding-block: clamp(64px, 8vw, 108px);
  background: var(--accent);
  color: #fff;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -60%;
  width: 60vw;
  height: 60vw;
  max-width: 760px;
  max-height: 760px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  right: 2%;
  top: -30%;
  width: 40vw;
  height: 40vw;
  max-width: 520px;
  max-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px 64px;
  align-items: center;
}

.cta h2 {
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.32;
  font-weight: 400;
}

.cta p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15.5px;
  max-width: 36em;
}

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

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(44px, 6vw, 82px));
  padding-bottom: clamp(44px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero .display {
  font-size: clamp(32px, 4.2vw, 54px);
  margin-top: 20px;
  max-width: 20em;
}

.page-hero .lead {
  margin-top: 22px;
  max-width: 40em;
}

.crumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

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

/* ---------- 16. Alternating feature rows ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.feature:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.feature:nth-child(even) .feature-media {
  order: 2;
}

.feature-num {
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--muted-2);
  letter-spacing: 0.14em;
}

.feature h3 {
  font-size: clamp(23px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.36;
  margin-top: 14px;
  letter-spacing: -0.01em;
}

.feature p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.feature-list li {
  display: flex;
  gap: 14px;
  padding-block: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--ink-2);
}

.feature-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
  flex-shrink: 0;
}

.feature-media {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
}

.feature-media svg {
  width: 100%;
  height: 100%;
}

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

  .feature:nth-child(even) .feature-media {
    order: 0;
  }
}

/* ---------- 17. Matrix table ---------- */
.matrix-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  background: var(--surface);
}

.matrix {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.matrix th,
.matrix td {
  text-align: left;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.matrix thead th {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--surface-2);
}

.matrix tbody tr:last-child td {
  border-bottom: 0;
}

.matrix tbody th {
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}

.matrix td {
  color: var(--muted);
}

.matrix .yes {
  color: var(--accent);
  font-weight: 500;
}

.matrix .no {
  color: var(--muted-2);
}

/* ---------- 18. Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 36px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 26px;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -10px;
  left: 0;
  background: var(--bg);
  padding-right: 12px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.step h4 {
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 24px;
  }
}

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

/* ---------- 19. Timeline ---------- */
.timeline {
  border-top: 1px solid var(--line);
}

.tl-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 24px 40px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.tl-year {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.tl-item h4 {
  font-size: 17px;
  font-weight: 500;
}

.tl-item p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--muted);
}

@media (max-width: 780px) {
  .tl-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ---------- 20. Value cards ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.value {
  background: var(--surface);
  padding: clamp(26px, 3vw, 40px);
}

.value h4 {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 12px;
}

.value p {
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

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

/* ---------- 21. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

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

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

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

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

.field label {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
  appearance: none;
}

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

.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%236f7681' stroke-width='1.3'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 136, 209, 0.1);
}

.field .err {
  font-size: 12px;
  color: #b4453c;
  min-height: 0;
  display: none;
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: #b4453c;
}

.field.is-error .err {
  display: block;
}

/* 多选服务标签 */
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.checks label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.24s var(--ease);
}

.checks input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checks label:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.checks input:checked + span {
  color: var(--accent);
}

.checks label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 500;
}

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

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

.form-done {
  grid-column: 1 / -1;
  border: 1px solid var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 14.5px;
  display: none;
}

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

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

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

.info-item dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 8px;
}

.info-item dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-2);
}

.info-item dd a:hover {
  color: var(--accent);
}

.office-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.office {
  background: var(--surface);
  padding: 30px 32px;
}

.office h4 {
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office h4 .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.office p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

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

/* ---------- 21b. Story / Team / Cert ---------- */
.story-visual {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}

.story-visual svg {
  width: 100%;
  height: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 26px);
}

.member {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.member:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.member-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.member h4 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.member-role {
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 14px;
}

.member-bio {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.cert {
  background: var(--surface);
  padding: clamp(24px, 2.6vw, 34px);
}

.cert-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 12px;
}

.cert h4 {
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 10px;
}

.cert p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

@media (max-width: 860px) {
  .team-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .team-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 22. FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  padding-block: 22px;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.24s var(--ease);
}

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

.faq-q .plus {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.faq-q .plus::before {
  top: 6.5px;
  left: 0;
  width: 14px;
  height: 1px;
}

.faq-q .plus::after {
  left: 6.5px;
  top: 0;
  width: 1px;
  height: 14px;
}

.faq-item.is-open .faq-q .plus::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-q {
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding-bottom: 24px;
  max-width: 62em;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 23. Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.62);
  padding-top: clamp(56px, 6vw, 80px);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.72fr));
  gap: 40px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .brand-name {
  color: #fff;
}

.footer .brand-sub {
  color: rgba(255, 255, 255, 0.34);
}

.footer-about {
  margin-top: 22px;
  max-width: 26em;
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.48);
}

.footer-col h5 {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.24s var(--ease);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-block: 26px 32px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom nav {
  display: flex;
  gap: 22px;
}

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

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* ---------- 24. Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ---------- 25. Utilities ---------- */
.dark-text {
  color: var(--ink);
}

.mt-0 {
  margin-top: 0;
}

.center {
  text-align: center;
}

.center .eyebrow {
  justify-content: center;
}

.max-40 {
  max-width: 40em;
}

.mx-auto {
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* =========================================================
   V2 · 参考 iwonder 框架新增组件
   多级导航 / 服务卡网格 / 案例墙 / 线索磁铁 / 悬浮咨询 / 首屏表单
   ========================================================= */

/* ---------- 多级导航 ---------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item .caret {
  width: 9px;
  height: 9px;
  opacity: 0.45;
  transition: transform 0.28s var(--ease), opacity 0.2s;
}

.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
  opacity: 0.9;
}

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -16px;
  min-width: 268px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 26px 60px -32px rgba(20, 22, 26, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
    visibility 0.26s;
}

.dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 14px;
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s;
}

.dropdown a::after {
  display: none;
}

.dropdown a:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.dropdown a b {
  display: block;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.dropdown a span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0;
}

.dropdown a.is-active b {
  color: var(--accent);
}

/* ---------- 首屏表单卡 ---------- */
.hero--form .hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.78fr);
  align-items: start;
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 2.6vw, 34px);
  box-shadow: 0 30px 70px -50px rgba(20, 22, 26, 0.55);
}

.lead-card__head {
  margin-bottom: 22px;
}

.lead-card__head h2 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
}

.lead-card__head p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.lead-card .field + .field {
  margin-top: 14px;
}

.lead-card input {
  padding: 12px 14px;
  font-size: 14.5px;
}

.lead-card .btn {
  width: 100%;
  margin-top: 18px;
  height: 46px;
}

.lead-card__note {
  margin-top: 14px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted-2);
  text-align: center;
}

.lead-card .form-done {
  font-size: 13.5px;
  padding: 14px 16px;
}

/* ---------- 服务卡网格（六格） ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.svc {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: clamp(24px, 2.4vw, 32px);
  transition: background 0.3s var(--ease);
}

.svc:hover {
  background: #fdfdfb;
}

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

.svc__icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.svc__tag {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.svc h3 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.svc p {
  margin-top: 10px;
  font-size: 13.8px;
  line-height: 1.85;
  color: var(--muted);
}

.svc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.svc__list li {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.svc .text-link {
  margin-top: 20px;
  font-size: 13.5px;
}

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

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

/* ---------- 案例墙 ---------- */
.wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.wall a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  aspect-ratio: 16 / 10;
  padding: 18px;
  background: var(--surface);
  text-align: center;
  transition: background 0.3s var(--ease);
}

.wall a:hover {
  background: var(--surface-2);
}

.wall strong {
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-2);
}

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

@media (max-width: 860px) {
  .wall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 线索磁铁 ---------- */
.magnet {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px;
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f5f2 0%, #ffffff 62%);
  overflow: hidden;
}

.magnet::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(30, 136, 209, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.magnet__copy {
  position: relative;
  z-index: 1;
}

.magnet__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(30, 136, 209, 0.08);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 16px;
}

.magnet h2 {
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.42;
  font-weight: 500;
}

.magnet p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 38em;
}

.magnet__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.magnet__chips span {
  font-size: 12px;
  padding: 4px 11px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.7);
}

.magnet__action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

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

/* ---------- 悬浮咨询 ---------- */
.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 30px -16px rgba(20, 22, 26, 0.5);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease),
    color 0.24s var(--ease);
}

.fab:hover {
  transform: translateY(-2px);
}

.fab--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 14px 32px -14px rgba(30, 136, 209, 0.75);
}

.fab svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 640px) {
  .fab-stack {
    right: 14px;
    bottom: 14px;
  }

  .fab {
    height: 40px;
    padding: 0 15px;
    font-size: 13px;
  }

  .fab--label {
    display: none;
  }
}

/* ---------- 移动端折叠子菜单 ---------- */
.drawer-group > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-sub {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 0 12px 14px;
  border-bottom: 1px solid var(--line);
}

.drawer-sub a {
  font-size: 14.5px !important;
  color: var(--muted) !important;
  padding: 8px 0 !important;
  border: 0 !important;
}

.drawer-sub a:hover {
  color: var(--accent) !important;
}

/* V2 修正：移动端首屏单列 + 图标型悬浮按钮 */
@media (max-width: 940px) {
  .hero--form .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero--form .lead-card {
    margin-top: 8px;
  }
}

@media (max-width: 640px) {
  .fab--icon {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
}

/* =========================================================
   V3 · 服务页双板块（建站服务 / 数据服务）
   ========================================================= */

/* ---------- 板块标题 ---------- */
.block-head {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 6px 36px;
  align-items: start;
  padding-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line-strong);
}

.block-num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent-line);
  padding-top: 2px;
}

.block-head .eyebrow {
  margin-bottom: 14px;
}

.block-head .h2 {
  max-width: 22em;
}

.block-lead {
  grid-column: 2;
  max-width: 54em;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

@media (max-width: 700px) {
  .block-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .block-lead {
    grid-column: 1;
  }
}

/* ---------- 页内快速跳转 ---------- */
.anchor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.anchor-bar a {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: border-color 0.22s var(--ease), color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.anchor-bar a::after {
  display: none;
}

.anchor-bar a:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  transform: translateY(-1px);
}

.anchor-bar b {
  font-weight: 500;
}

.anchor-bar a span {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.06em;
}

/* ---------- 四能力矩阵 ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(28px, 3.6vw, 44px);
}

.pillar {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  padding: clamp(22px, 2.4vw, 30px);
}

.pillar-k {
  font-family: var(--font-serif);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  color: var(--accent);
}

.pillar h4 {
  margin: 12px 0 12px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.5;
}

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

.pillar li {
  position: relative;
  padding-left: 13px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-line);
}

@media (max-width: 940px) {
  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- 配置参数表 ---------- */
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 44px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.spec > div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.spec dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--ink-2);
}

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

/* ---------- 建站套餐 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(28px, 3.6vw, 44px);
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 32px);
}

.plan--pick {
  border-color: var(--accent);
  box-shadow: 0 30px 70px -52px rgba(20, 22, 26, 0.75);
}

.plan-badge {
  position: absolute;
  top: -11px;
  left: clamp(24px, 2.6vw, 32px);
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.plan-name {
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.plan-desc {
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  min-height: 4.9em;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 27px;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.plan-price span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted-2);
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.plan ul li {
  display: flex;
  gap: 9px;
  line-height: 1.7;
}

.plan ul li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 9px;
}

.plan .btn {
  width: 100%;
  justify-content: center;
  margin-top: 26px;
}

@media (max-width: 940px) {
  .plans {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan-desc {
    min-height: 0;
  }
}

/* ---------- 数据能力卡 ---------- */
.dgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(28px, 3.6vw, 44px);
}

.dcard {
  background: var(--surface);
  padding: clamp(24px, 2.6vw, 32px);
  transition: background 0.3s var(--ease);
}

.dcard:hover {
  background: #fdfdfb;
}

.dcard svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.dcard h4 {
  margin: 16px 0 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.dcard p {
  font-size: 13.6px;
  line-height: 1.85;
  color: var(--muted);
}

.dcard .tag {
  display: block;
  margin-top: 14px;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .dgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- 建站交付节点 ---------- */
.msteps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(26px, 3.4vw, 40px);
  counter-reset: ms;
}

.mstep {
  background: var(--surface);
  padding: 22px 20px;
}

.mstep::before {
  counter-increment: ms;
  content: "0" counter(ms);
  font-family: var(--font-serif);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.mstep h5 {
  margin: 10px 0 7px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}

.mstep p {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.mstep em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}

@media (max-width: 900px) {
  .msteps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

/* ---------- 说明条 ---------- */
.note {
  margin-top: 20px;
  padding: 13px 16px;
  border-left: 2px solid var(--accent-line);
  background: var(--surface-2);
  font-size: 12.6px;
  line-height: 1.85;
  color: var(--muted);
}

.note b {
  font-weight: 500;
  color: var(--ink-2);
}

.band-note {
  max-width: 62em;
  margin-top: 22px;
  font-size: 11.8px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.4);
}

/* ---------- 板块分隔 ---------- */
.section--divide {
  border-top: 1px solid var(--line);
}

/* ---------- 首页服务分组标签 ---------- */
.grp-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: clamp(34px, 4vw, 48px) 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}

.grp-label h3 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.grp-label h3 span {
  margin-right: 10px;
  font-family: var(--font-serif);
  font-size: 13px;
  color: var(--accent-line);
  letter-spacing: 0.04em;
}

.grp-label a {
  font-size: 12.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.grp-label a::after {
  display: none;
}

.grp-label a:hover {
  color: var(--accent);
}

.grp-label a svg {
  width: 12px;
  height: 12px;
}

/* =========================================================
   V7 · 博客栏目（列表页 + 文章页）
   ========================================================= */

/* ---------- 博客列表 ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: clamp(26px, 3vw, 40px);
}

.post-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 56px -44px rgba(20, 22, 26, 0.6);
}

.post-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}

.post-card__media svg {
  width: 86%;
  height: auto;
  max-height: 130px;
}

.post-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}

.post-card__cat {
  align-self: flex-start;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(30, 136, 209, 0.07);
  border-radius: 999px;
  padding: 3px 10px;
}

.post-card__body h3 {
  margin-top: 12px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.6;
}

.post-card__body p {
  margin-top: 10px;
  font-size: 13.4px;
  line-height: 1.85;
  color: var(--muted);
  flex: 1;
}

.post-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.post-card__meta .text-link {
  font-size: 12.5px;
}

/* 首篇大卡 */
.post-card--lead {
  grid-column: 1 / -1;
  flex-direction: row;
}

.post-card--lead .post-card__media {
  flex: 0 0 40%;
  border-bottom: 0;
  border-right: 1px solid var(--line);
  padding: 34px 28px;
}

.post-card--lead .post-card__media svg {
  max-height: 190px;
}

.post-card--lead .post-card__body {
  padding: clamp(24px, 3vw, 38px);
}

.post-card--lead .post-card__cat {
  font-size: 11.5px;
}

.post-card--lead .post-card__body h3 {
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.5;
}

.post-card--lead .post-card__body p {
  font-size: 14.5px;
  max-width: 40em;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card--lead {
    flex-direction: column;
  }

  .post-card--lead .post-card__media {
    flex: none;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

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

/* ---------- 文章页 ---------- */
.post-head {
  max-width: 780px;
}

.post-head .crumbs {
  margin-bottom: 22px;
}

.post-head__cat {
  display: inline-flex;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: rgba(30, 136, 209, 0.08);
  border-radius: 999px;
  padding: 5px 13px;
}

.post-head h1 {
  margin-top: 18px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
}

.post-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
  letter-spacing: 0.03em;
}

.post-head__meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-head__meta svg {
  width: 13px;
  height: 13px;
  opacity: 0.6;
}

/* 正文排版 */
.prose {
  max-width: 780px;
  font-size: 15.5px;
  line-height: 2;
  color: var(--ink-2);
}

.prose p {
  margin: 0 0 1.35em;
}

.prose h2 {
  margin: 2.4em 0 0.9em;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink);
}

.prose h2::before {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin-bottom: 14px;
  background: var(--accent);
}

.prose h3 {
  margin: 1.9em 0 0.7em;
  font-size: 16.5px;
  font-weight: 500;
  color: var(--ink);
}

.prose ul,
.prose ol {
  margin: 0 0 1.35em;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.prose li {
  position: relative;
  padding-left: 4px;
}

.prose li::marker {
  color: var(--accent);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose em {
  font-style: normal;
  color: var(--accent);
}

.prose blockquote {
  margin: 1.8em 0;
  padding: 16px 20px;
  border-left: 2px solid var(--accent-line);
  background: var(--surface-2);
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  color: var(--muted);
}

.prose blockquote p {
  margin: 0;
}

.prose table {
  width: 100%;
  margin: 1.6em 0;
  border-collapse: collapse;
  font-size: 13.5px;
}

.prose th,
.prose td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  line-height: 1.7;
}

.prose th {
  font-weight: 500;
  color: var(--ink);
  background: var(--surface-2);
}

.prose td {
  color: var(--muted);
}

/* 文末标签与上下篇 */
.post-foot {
  max-width: 780px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.post-tags span {
  font-size: 12px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
}

.post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 8px;
}

.post-nav a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  background: var(--surface);
  transition: background 0.24s var(--ease);
}

.post-nav a:hover {
  background: #fdfdfb;
}

.post-nav a::after {
  display: none;
}

.post-nav small {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.post-nav b {
  font-weight: 500;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

.post-nav a:last-child {
  text-align: right;
  align-items: flex-end;
}

@media (max-width: 640px) {
  .post-nav {
    grid-template-columns: 1fr;
  }

  .post-nav a:last-child {
    text-align: left;
    align-items: flex-start;
  }
}

/* ============================================================
   V16 · 谷歌 SEO&SEM 栏目页组件
   ============================================================ */
.blocker-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(28px, 3.6vw, 44px);
}
.blocker {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  padding: clamp(24px, 2.8vw, 34px);
  transition: background 0.34s var(--ease);
}
.blocker:hover { background: var(--surface); }
.blocker span {
  font-family: var(--font-serif);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.blocker h4 { font-size: 16.5px; font-weight: 500; line-height: 1.5; margin-bottom: 10px; }
.blocker p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.blocker .text-link { margin-top: auto; padding-top: 18px; }
@media (max-width: 980px) { .blocker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .blocker-grid { grid-template-columns: 1fr; } }

/* V17 · 修复：套餐价格首段恢复大号数字（原规则把所有 span 都压成了 12px） */
.plan-price > span:first-child {
  font-size: 27px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* V20 · 板块配图（专业照片） */
.feature-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #f5f8fb;
}

/* ---------- 表单提交反馈（真实提交失败时使用） ---------- */
.form-error {
  grid-column: 1 / -1;
  display: none;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #f0c9c4;
  background: #fdf3f2;
  color: #b4352a;
  border-radius: var(--radius);
  font-size: 13.5px;
  line-height: 1.7;
}

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