/* =========================================================================
   燧石智能 · 企业官网模板
   styles.css — 移动端优先（375px 起）
   结构：变量 → 基础 → 通用组件 → 导航 → 轮播 → 各板块 → 页脚 → 响应式 → 动效降级
   ========================================================================= */

/* ---------- 1. 变量 ---------- */
:root {
  /* 色彩 */
  --bg: #08090b;
  --bg-soft: #0a0b0e;
  --bg-deep: #060709;
  --surface: #0e1116;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5f7;
  --text-2: #c3c7ce;
  --muted: #8b929c;
  --accent: #e8a33d;
  --accent-2: #f2c078;

  /* 尺寸 */
  --gutter: clamp(20px, 5vw, 40px);
  --content: 1200px;
  --header-h: 62px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-lg: 22px;

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;

  /* 字体：本地优先，零外部依赖。装了 Inter / 思源黑体就用，没装则回落到系统字体 */
  --font-sans: "Inter", "Noto Sans SC", "Source Han Sans SC", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

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

body.is-locked {
  overflow: hidden;
}

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

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

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

img {
  height: auto;
}

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

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

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

::selection {
  background: rgba(232, 163, 61, 0.3);
  color: #fff;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 14px);
}

/* 通用工具类 */
.container {
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #0a0b0d;
  font-size: 0.85rem;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus-visible {
  transform: none;
}

/* ---------- 3. 通用组件 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn--primary {
  background: var(--accent);
  color: #0a0b0d;
  box-shadow: 0 10px 26px -14px rgba(232, 163, 61, 0.9);
}

.btn--primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -16px rgba(232, 163, 61, 0.95);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.btn--sm {
  padding: 9px 17px;
  font-size: 0.84rem;
}

.btn--lg {
  padding: 15px 28px;
  font-size: 0.98rem;
}

.btn--block {
  width: 100%;
}

/* ---------- 4. 导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: linear-gradient(180deg, rgba(8, 9, 11, 0.62), rgba(8, 9, 11, 0.14));
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  transition: background 0.4s var(--ease);
}

.header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.header.is-scrolled {
  background: rgba(8, 9, 11, 0.86);
}

.header.is-scrolled::after {
  opacity: 1;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
  font-weight: 600;
}

.brand__mark {
  width: 25px;
  height: 25px;
  color: var(--accent);
  flex: none;
}

.brand__text {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
}

.brand__en {
  display: none;
  padding-left: 10px;
  border-left: 1px solid var(--line-strong);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 500;
}

.nav {
  display: none;
  margin-inline: auto;
  gap: 30px;
}

.nav__link {
  position: relative;
  font-size: 0.92rem;
  color: var(--text-2);
  transition: color 0.3s var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover,
.nav__link.is-current {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link.is-current::after {
  transform: scaleX(1);
}

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

.header__cta {
  display: none;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-toggle .icon {
  width: 19px;
  height: 19px;
}

/* 抽屉 */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(348px, 87vw);
  padding: 16px 20px 24px;
  background: #0b0d11;
  border-left: 1px solid var(--line);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(102%);
  visibility: hidden;
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform 0.45s var(--ease), visibility 0s;
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
}

.drawer__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
}

.drawer__close .icon {
  width: 18px;
  height: 18px;
}

.drawer__nav {
  margin-top: 22px;
  display: grid;
  border-top: 1px solid var(--line);
}

.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 1.06rem;
  color: var(--text);
}

.drawer__nav a .icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.drawer__nav a:hover .icon {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.drawer__foot {
  margin-top: auto;
  display: grid;
  gap: 16px;
  padding-top: 26px;
}

.drawer__contact {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  font-size: 0.84rem;
}

.drawer__contact a,
.drawer__contact p {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.6;
  color: var(--text-2);
}

.drawer__contact .icon {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--muted);
}

.drawer__meta {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--muted);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(4, 5, 6, 0.62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease), visibility 0s;
}

/* ---------- 5. 首屏轮播 ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #050608;
  touch-action: pan-y;
}

.hero__stage {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  /* 出现时立即可见，消失时等淡出结束再隐藏 */
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 1s var(--ease), visibility 0s;
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(120% 120% at 22% 8%, #1a1f27 0%, #0a0b0e 58%, #050608 100%);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.075);
  will-change: transform;
}

/* 当前帧缓慢推近：淡入淡出 + 轻微缩放 */
.hero__slide.is-active .hero__img {
  animation: heroZoom 7s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.075);
  }
  to {
    transform: scale(1);
  }
}

.hero__img.is-failed {
  opacity: 0;
}

/* 遮罩：保证白字对比度，同时留住画面。移动端以竖向为主 */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 8, 0.86) 0%,
    rgba(5, 6, 8, 0.46) 24%,
    rgba(5, 6, 8, 0.6) 52%,
    rgba(5, 6, 8, 0.9) 80%,
    #050608 100%
  );
}

/* 亮图加强遮罩，保持整站深色基调 */
.hero__slide[data-tone="light"] .hero__media::after {
  background: linear-gradient(
    180deg,
    rgba(5, 6, 8, 0.9) 0%,
    rgba(5, 6, 8, 0.62) 24%,
    rgba(5, 6, 8, 0.72) 52%,
    rgba(5, 6, 8, 0.94) 80%,
    #050608 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 36px);
  padding-bottom: clamp(126px, 20vh, 178px);
}

.hero__content {
  max-width: 44rem;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.hero__dot-mark {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(232, 163, 61, 0.16);
}

.hero__title {
  margin-top: 16px;
  font-size: clamp(2.1rem, 7.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero__text {
  margin-top: 18px;
  max-width: 33rem;
  font-size: clamp(0.95rem, 2.6vw, 1.06rem);
  line-height: 1.85;
  color: var(--text-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

/* 幻灯片内容入场：淡入上移，逐行错开 */
.hero__content > * {
  opacity: 0;
}

.hero__slide.is-active .hero__content > * {
  animation: heroIn 0.85s var(--ease) both;
}

.hero__slide.is-active .hero__content > *:nth-child(2) {
  animation-delay: 0.1s;
}

.hero__slide.is-active .hero__content > *:nth-child(3) {
  animation-delay: 0.2s;
}

.hero__slide.is-active .hero__content > *:nth-child(4) {
  animation-delay: 0.3s;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 轮播控制条 */
.hero__ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
  padding-bottom: clamp(18px, 4vh, 32px);
}

.hero__ui::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.02));
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 2px;
}

.hero__dot {
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 3px;
}

.hero__dot-track {
  position: relative;
  display: block;
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.26);
  overflow: hidden;
  transition: width 0.45s var(--ease), background 0.3s var(--ease);
}

.hero__dot:hover .hero__dot-track {
  background: rgba(255, 255, 255, 0.5);
}

.hero__dot.is-active .hero__dot-track {
  width: 46px;
  background: rgba(255, 255, 255, 0.18);
}

.hero__dot-fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

.hero__dot:not(.is-active) .hero__dot-fill {
  transform: scaleX(0);
}

.hero__controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero__count {
  margin-right: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.hero__count-sep {
  margin: 0 4px;
  color: var(--muted);
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.hero__arrow .icon {
  width: 17px;
  height: 17px;
}

.hero__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0a0b0d;
  transform: translateY(-1px);
}

/* ---------- 6. 数据指标 ---------- */
.metrics {
  padding-block: clamp(52px, 8vw, 88px);
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  border-bottom: 1px solid var(--line);
}

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

.metric {
  padding: clamp(18px, 4vw, 30px);
  background: var(--bg-soft);
}

.metric__value {
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-size: clamp(1.75rem, 6vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.metric__unit {
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.metric__label {
  margin-top: 11px;
  font-size: 0.88rem;
  color: var(--text-2);
}

.metric__note {
  margin-top: 5px;
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- 7. 板块通用 ---------- */
.section {
  padding-block: clamp(62px, 10vw, 128px);
  border-bottom: 1px solid var(--line);
}

.section--tight {
  padding-block: clamp(54px, 8vw, 104px);
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(34px, 6vw, 60px);
}

.section__title {
  margin-top: 14px;
  font-size: clamp(1.6rem, 4.6vw, 2.55rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section__lede {
  margin-top: 16px;
  font-size: clamp(0.92rem, 2.4vw, 1rem);
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- 8. 产品服务卡片 ---------- */
.cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease),
    background 0.45s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 85% at 50% 0%, rgba(232, 163, 61, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 163, 61, 0.34);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.014));
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(232, 163, 61, 0.24);
  border-radius: 11px;
  background: rgba(232, 163, 61, 0.1);
  color: var(--accent);
}

.card__icon .icon {
  width: 21px;
  height: 21px;
}

.card__title {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__text {
  margin-top: 9px;
  font-size: 0.885rem;
  line-height: 1.8;
  color: var(--muted);
}

.card__list {
  display: grid;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.83rem;
  line-height: 1.7;
  color: var(--text-2);
}

.card__list li {
  position: relative;
  padding-left: 15px;
}

.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.72;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 20px;
  font-size: 0.83rem;
  color: var(--accent);
}

.card__link .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.card__link:hover .icon {
  transform: translate(2px, -2px);
}

/* ---------- 9. 案例 Logo 墙 ---------- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.logo-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 96px;
  padding: clamp(16px, 3vw, 26px) 10px;
  background: var(--bg-soft);
  transition: background 0.35s var(--ease);
}

.logo-cell:hover {
  background: #101317;
}

.logo-mark {
  width: 8px;
  height: 8px;
  margin-bottom: 3px;
  background: var(--accent);
  opacity: 0.5;
  transform: rotate(45deg);
  transition: opacity 0.35s var(--ease);
}

.logo-cell:hover .logo-mark {
  opacity: 1;
}

.logo-name {
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-2);
  transition: color 0.35s var(--ease);
}

.logo-cell:hover .logo-name {
  color: var(--text);
}

.logo-en {
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  opacity: 0.65;
}

.cases__note {
  margin-top: 18px;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--muted);
  opacity: 0.8;
}

/* ---------- 10. 关于我们 ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 5vw, 44px);
  align-items: center;
}

.about__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #1a1f27, #0a0b0e);
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media img.is-failed {
  opacity: 0;
}

.about__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: rgba(8, 9, 11, 0.74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.about__badge strong {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.about__badge span {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.about__body .section__title {
  margin-top: 12px;
}

.about__body > p:not(.eyebrow) {
  margin-top: 16px;
  font-size: 0.93rem;
  line-height: 1.92;
  color: var(--muted);
}

.about__values {
  display: grid;
  gap: 20px;
  margin-top: 30px;
}

.about__values li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.about__values .icon {
  width: 19px;
  height: 19px;
  margin-top: 3px;
  color: var(--accent);
}

.about__values h3 {
  font-size: 0.96rem;
  font-weight: 600;
}

.about__values p {
  margin-top: 4px;
  font-size: 0.84rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ---------- 11. CTA ---------- */
.cta {
  padding-block: clamp(52px, 8vw, 104px);
  border-bottom: 1px solid var(--line);
}

.cta__panel {
  position: relative;
  display: grid;
  gap: 30px;
  overflow: hidden;
  padding: clamp(26px, 5vw, 60px);
  border: 1px solid rgba(232, 163, 61, 0.22);
  border-radius: var(--radius-lg);
  background: radial-gradient(115% 135% at 10% 0%, rgba(232, 163, 61, 0.17), rgba(232, 163, 61, 0.03) 44%, transparent 72%),
    linear-gradient(180deg, #0e1116, #090b0e);
}

.cta__panel::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(232, 163, 61, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.cta__title {
  margin-top: 12px;
  font-size: clamp(1.48rem, 4.2vw, 2.25rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta__text {
  margin-top: 14px;
  max-width: 35rem;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--muted);
}

.cta__actions {
  display: grid;
  gap: 11px;
  justify-items: stretch;
}

.cta__meta {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

/* ---------- 12. 页脚 ---------- */
.footer {
  padding-top: clamp(46px, 7vw, 76px);
  background: var(--bg-deep);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
}

.footer__brand p {
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.9;
  color: var(--muted);
}

.footer__col h3 {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__col ul {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer__col a {
  font-size: 0.86rem;
  color: var(--text-2);
  transition: color 0.25s var(--ease);
}

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

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.65;
  color: var(--text-2);
}

.footer__contact .icon {
  width: 14px;
  height: 14px;
  margin-top: 3px;
  color: var(--muted);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: clamp(32px, 5vw, 52px);
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.footer__legal a:hover {
  color: var(--text-2);
}

/* ---------- 13. 滚动淡入 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0ms);
}

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

/* =========================================================================
   14. 响应式：≥ 640 / 768 / 1024 / 1200
   ========================================================================= */
@media (min-width: 480px) {
  .header__cta {
    display: inline-flex;
  }
}

@media (min-width: 640px) {
  .brand__en {
    display: inline-block;
  }

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

  .logo-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .cta__actions {
    justify-items: start;
  }

  .cta__meta {
    text-align: left;
  }
}

@media (min-width: 768px) {
  :root {
    --header-h: 70px;
  }

  /* 宽屏：左侧压暗供文字，右侧保留画面 */
  .hero__media::after {
    background: linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.76) 0%,
        rgba(5, 6, 8, 0.3) 22%,
        rgba(5, 6, 8, 0.4) 58%,
        rgba(5, 6, 8, 0.86) 86%,
        rgba(5, 6, 8, 0.98) 100%
      ),
      linear-gradient(
        95deg,
        rgba(5, 6, 8, 0.74) 0%,
        rgba(5, 6, 8, 0.44) 34%,
        rgba(5, 6, 8, 0.06) 64%,
        rgba(5, 6, 8, 0.24) 100%
      );
  }

  .hero__slide[data-tone="light"] .hero__media::after {
    background: linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.82) 0%,
        rgba(5, 6, 8, 0.42) 22%,
        rgba(5, 6, 8, 0.52) 58%,
        rgba(5, 6, 8, 0.9) 86%,
        rgba(5, 6, 8, 0.98) 100%
      ),
      linear-gradient(
        95deg,
        rgba(5, 6, 8, 0.82) 0%,
        rgba(5, 6, 8, 0.56) 34%,
        rgba(5, 6, 8, 0.2) 64%,
        rgba(5, 6, 8, 0.34) 100%
      );
  }

  .hero__title {
    font-size: clamp(2.4rem, 5.4vw, 3.6rem);
  }

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

  .metric {
    padding: 26px 22px;
  }

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

  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 32px;
  }
}

/* CTA 双栏需要更宽的容器，避免标题被挤成四行 */
@media (min-width: 900px) {
  .cta__panel {
    grid-template-columns: 1.4fr 0.85fr;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-h: 76px;
  }

  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

  .header__cta {
    margin-left: 8px;
  }

  .drawer,
  .drawer-backdrop {
    display: none;
  }

  .hero__title {
    font-size: clamp(2.9rem, 4.2vw, 4.2rem);
  }

  .hero__arrow {
    width: 44px;
    height: 44px;
  }

  .logo-wall {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .logo-cell {
    min-height: 108px;
  }

  .about {
    gap: 64px;
  }
}

@media (min-width: 1200px) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .card {
    padding: 28px 24px;
  }
}

/* 横屏矮屏：压缩首屏纵向留白 */
@media (max-height: 620px) and (min-width: 768px) {
  .hero__inner {
    padding-bottom: 118px;
  }

  .hero__title {
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  }

  .hero__text {
    font-size: 0.92rem;
  }
}

/* ---------- 15. 动效降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero__img,
  .hero__slide.is-active .hero__img {
    transform: none;
  }

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