/* ==========================================================================
   浙江齐元机器人 · 官网样式表
   --------------------------------------------------------------------------
   设计令牌取自原站 lib/res/colors.dart：
     主色 #00C1D5 / 辅色 #EAB51B / 正文 #333333 / 次级 #666666
     分区底 #EDEDED · #F7F7F7 · #F0F0F0
   改造目标：把原先「Flutter 定宽 1920 缩放」的排版换成原生流式响应式，
   用 clamp() 做流体字号，去掉首屏 JS 依赖，让 LCP 尽可能早。
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌 */
  --brand: #00c1d5;
  --brand-600: #00a3b5;
  --brand-700: #018293;
  --brand-050: #e6fafc;
  --accent: #eab51b;
  --accent-600: #d19f0a;

  /* 文字 */
  --ink: #0f1416;
  --text: #333333;
  --muted: #666666;
  --faint: #9aa3a8;

  /* 面 */
  --bg: #ffffff;
  --bg-soft: #f7f9fa;
  --bg-grey: #ededed;
  --bg-ink: #0b1417;
  --line: #e6e9ec;
  --line-strong: #d5dade;

  /* 排版 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC",
    "Noto Sans CJK SC", Roboto, Helvetica, Arial, sans-serif;
  --font-num: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* 尺寸 */
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 68px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  /* 阴影 */
  --shadow-sm: 0 1px 2px rgba(15, 20, 22, 0.05);
  --shadow: 0 6px 24px -8px rgba(15, 20, 22, 0.12);
  --shadow-lg: 0 24px 56px -20px rgba(15, 20, 22, 0.22);

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

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

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

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

p {
  margin: 0;
}

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

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

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

/* 跳转到主内容（键盘可达性） */
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 0 0 8px 8px;
  font-weight: 600;
  transition: top 0.24s var(--ease);
}

.skip-link:focus {
  top: 0;
}

.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;
}

/* ---------- 3. 布局原语 ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

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

.section--soft {
  background: var(--bg-soft);
}

.section--grey {
  background: var(--bg-grey);
}

.section--ink {
  background: var(--bg-ink);
  color: #c9d4d8;
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

/* ---------- 4. 标题组 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.sec-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.sec-head--center {
  margin-inline: auto;
  text-align: center;
}

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

.sec-title {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.22;
}

.sec-title .grad {
  background: linear-gradient(120deg, #25acbc, #497fae);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-desc {
  margin-top: 18px;
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--muted);
  line-height: 1.85;
}

.section--ink .sec-desc {
  color: #9fb0b6;
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease),
    color 0.24s var(--ease), border-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(0, 193, 213, 0.8);
}

.btn--primary:hover {
  background: var(--brand-600);
  box-shadow: 0 16px 30px -12px rgba(0, 193, 213, 0.9);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

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

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

.btn--outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn--accent {
  background: var(--accent);
  color: #3a2c00;
}

.btn--accent:hover {
  background: var(--accent-600);
}

.btn__arrow {
  transition: transform 0.28s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* 文字链接 */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--brand);
}

.link-arrow svg {
  transition: transform 0.28s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ---------- 6. 顶部导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 20, 23, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  transition: background-color 0.32s var(--ease), box-shadow 0.32s var(--ease),
    height 0.32s var(--ease);
}

.header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(0, 0, 0, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.brand__logo {
  height: 34px;
  width: auto;
}

.brand__logo--light {
  display: block;
}

.brand__logo--dark {
  display: none;
}

.header.is-solid .brand__logo--light {
  display: none;
}

.header.is-solid .brand__logo--dark {
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__cn {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
}

.header.is-solid .brand__cn {
  color: var(--ink);
}

.brand__en {
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.header.is-solid .brand__en {
  color: var(--faint);
}

/* 主导航 */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: #fff;
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header.is-solid .nav__link {
  color: var(--text);
}

.header.is-solid .nav__link:hover,
.header.is-solid .nav__link[aria-current="page"] {
  color: var(--brand);
}

.nav__caret {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: transform 0.28s var(--ease);
}

.nav__item:hover .nav__caret {
  transform: rotate(180deg);
}

/* 下拉 */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.26s var(--ease), transform 0.26s var(--ease),
    visibility 0.26s;
}

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

.dropdown a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text);
}

.dropdown a:hover {
  background: var(--brand-050);
  color: var(--brand-700);
}

.dropdown a strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.dropdown a span {
  font-size: 12.5px;
  color: var(--faint);
}

/* 导航右侧 */
.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header__tel {
  font-family: var(--font-num);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.header.is-solid .header__tel {
  color: var(--ink);
}

.header__cta {
  padding: 10px 22px;
  font-size: 14px;
}

/* 语言切换（英文站）：与「免费咨询」并排的描边按钮 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.94);
  white-space: nowrap;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease),
    color 0.24s var(--ease), border-color 0.24s var(--ease);
}

.lang-switch:hover {
  transform: translateY(-2px);
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.header.is-solid .lang-switch {
  color: var(--text);
  border-color: var(--line);
}

.header.is-solid .lang-switch:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* 汉堡 */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.32s var(--ease), opacity 0.2s var(--ease),
    background-color 0.32s var(--ease);
}

.header.is-solid .burger span {
  background: var(--ink);
}

.burger span:nth-child(1) {
  top: 16px;
}
.burger span:nth-child(2) {
  top: 21px;
}
.burger span:nth-child(3) {
  top: 26px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* 移动端抽屉 */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  padding: 20px var(--gutter) 40px;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

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

.drawer__group + .drawer__group {
  margin-top: 4px;
  border-top: 1px solid var(--line);
}

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.drawer__sub {
  padding: 0 4px 14px 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.drawer__sub a {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--brand-050);
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 500;
}

.drawer__foot {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.drawer__tel {
  font-family: var(--font-num);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
}

body.is-locked {
  overflow: hidden;
}

/* ---------- 7. 首屏 ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--bg-ink);
}

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

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 7s linear;
}

.hero__slide.is-active img {
  transform: scale(1);
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(6, 16, 20, 0.9) 0%,
      rgba(6, 16, 20, 0.62) 42%,
      rgba(6, 16, 20, 0.24) 100%
    ),
    linear-gradient(to top, rgba(6, 16, 20, 0.72), transparent 46%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(72px, 12vh, 130px) var(--gutter) clamp(96px, 14vh, 140px);
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px 7px 12px;
  margin-bottom: 26px;
  border: 1px solid rgba(0, 193, 213, 0.5);
  border-radius: 999px;
  background: rgba(0, 193, 213, 0.14);
  font-size: 13.5px;
  font-weight: 600;
  color: #7fe6f2;
  letter-spacing: 0.04em;
}

.hero__tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 193, 213, 0.22);
}

.hero__title {
  max-width: 15ch;
  font-size: clamp(38px, 6.6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: #fff;
}

.hero__title em {
  font-style: normal;
  color: var(--brand);
}

.hero__sub {
  max-width: 46ch;
  margin-top: 24px;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(44px, 7vh, 72px);
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__fact b {
  display: block;
  /* 数字与单位（如 60+ / 10大场景）必须整体不折行，
     否则 flex 收缩时会把「+」挤到下一行 */
  white-space: nowrap;
  font-family: var(--font-num);
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.hero__fact b i {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 2px;
  color: var(--brand);
}

/* 注意：只作用于「标签行」这个直接子元素。
   计数器是 <b> 内部的 <span data-count>，若用后代选择器会一起命中，
   导致计数器变块级、把单位（+ / 大业态）挤到下一行。 */
.hero__fact > span {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* 轮播指示器 */
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero__dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s var(--ease), width 0.3s var(--ease);
}

.hero__dots button[aria-selected="true"] {
  width: 54px;
  background: var(--brand);
}

/* 滚动提示 */
.hero__scroll {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--brand), transparent);
  animation: scrollHint 2s var(--ease) infinite;
}

@keyframes scrollHint {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* ---------- 8. 内页页头 ---------- */
.pagehead {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(56px, 9vw, 104px));
  padding-bottom: clamp(48px, 7vw, 88px);
  background: var(--bg-ink);
  overflow: hidden;
}

.pagehead__bg {
  position: absolute;
  inset: 0;
  opacity: 0.42;
}

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

.pagehead__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 16, 20, 0.94),
    rgba(6, 16, 20, 0.6) 62%,
    rgba(6, 16, 20, 0.34)
  );
}

.pagehead .container {
  position: relative;
  z-index: 2;
}

.pagehead h1 {
  max-width: 20ch;
  font-size: clamp(30px, 5vw, 56px);
  color: #fff;
  letter-spacing: -0.02em;
}

.pagehead p {
  max-width: 62ch;
  margin-top: 20px;
  font-size: clamp(15px, 1.7vw, 17.5px);
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.85;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

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

.crumbs span {
  opacity: 0.5;
}

/* ---------- 9. 卡片 ---------- */
.grid {
  display: grid;
  gap: clamp(18px, 2.4vw, 28px);
}

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

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

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

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-grey);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(20px, 2.4vw, 30px);
}

.card__body h2,
.card__body h3 {
  font-size: clamp(17px, 1.9vw, 20px);
}

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

.card__badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #3a2c00;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* 纯文字卡（无图） */
.card--plain {
  border: 0;
  background: transparent;
}

.card--plain:hover {
  transform: none;
  box-shadow: none;
}

.card--plain .card__body {
  padding: 0;
}

/* 图标圆 */
.icon-dot {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--brand-050);
  color: var(--brand-700);
  font-family: var(--font-num);
  font-size: 17px;
  font-weight: 700;
}

/* ---------- 10. 分栏（图文左右） ---------- */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split--wide-left {
  grid-template-columns: 1.15fr 0.85fr;
}

.split--wide-right {
  grid-template-columns: 0.85fr 1.15fr;
}

.split__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-grey);
  box-shadow: var(--shadow);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__media--plain {
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}

.split__media--plain img {
  aspect-ratio: auto;
}

/* 交替顺序 */
.split--reverse .split__media {
  order: 2;
}

@media (min-width: 861px) {
  .split--reverse .split__copy {
    order: 1;
  }
}

/* ---------- 11. 特性列表 ---------- */
.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.feature-list li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-050);
}

.feature-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 14px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
}

.section--ink .feature-list li {
  color: #b9c7cc;
}

/* 数字大列表 */
.index-list {
  counter-reset: idx;
  display: grid;
  gap: 0;
}

.index-list li {
  counter-increment: idx;
  position: relative;
  padding: 22px 0 22px 62px;
  border-bottom: 1px solid var(--line);
}

.index-list li::before {
  content: counter(idx, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 22px;
  font-family: var(--font-num);
  font-size: 15px;
  font-weight: 700;
  color: var(--brand);
}

.index-list h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.index-list p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* ---------- 12. 规格参数表 ---------- */
.specs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.specs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}

.specs__head h3 {
  font-size: 19px;
}

.specs__head small {
  font-size: 13px;
  color: var(--faint);
}

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

.specs__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.specs__row:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.specs__key {
  font-size: 14.5px;
  color: var(--muted);
  white-space: nowrap;
}

.specs__val {
  font-family: var(--font-num);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ---------- 13. 场景 / 行业 ---------- */
.scene-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.scene {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-grey);
  aspect-ratio: 4 / 3;
}

.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.scene:hover img {
  transform: scale(1.06);
}

.scene figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 16px 14px;
  background: linear-gradient(to top, rgba(8, 18, 22, 0.86), transparent);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* 地板适配小卡 */
.floor-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(122px, 1fr));
}

.floor {
  padding: 18px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.floor:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.floor img {
  width: 100%;
  max-width: 92px;
  margin: 0 auto 10px;
  border-radius: 4px;
}

/* ---------- 14. 数据条 ---------- */
.stats {
  display: grid;
  gap: clamp(20px, 3vw, 34px);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.stat b {
  display: block;
  font-family: var(--font-num);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--brand);
}

.stat > span {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.section--ink .stat {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

.section--ink .stat > span {
  color: #93a5ab;
}

/* ---------- 15. 时间线（服务阶段） ---------- */
.steps {
  display: grid;
  gap: clamp(18px, 2.4vw, 26px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
}

.step {
  counter-increment: step;
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: var(--brand);
  opacity: 0.28;
}

.step h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

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

/* ---------- 16. 表单 ---------- */
.form-card {
  padding: clamp(26px, 3.4vw, 44px);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
}

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

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

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

.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.field label .req {
  color: #e0574a;
}

.field input,
.field textarea,
.field select {
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  font-size: 15px;
  transition: border-color 0.24s var(--ease), background-color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 193, 213, 0.14);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #e0574a;
}

.field__hint {
  font-size: 12.5px;
  color: var(--faint);
}

.field__err {
  display: none;
  font-size: 12.5px;
  color: #e0574a;
}

.field.has-error .field__err {
  display: block;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #e0574a;
}

.form-note {
  font-size: 13px;
  color: var(--faint);
  line-height: 1.7;
}

.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
}

.form-status.is-ok {
  display: block;
  background: #e7f8f0;
  color: #10693f;
}

.form-status.is-err {
  display: block;
  background: #fdecea;
  color: #a3281c;
}

/* ---------- 17. 页脚 ---------- */
.footer {
  padding-top: clamp(56px, 7vw, 88px);
  background: var(--bg-ink);
  color: #92a3a9;
  font-size: 14px;
}

.footer__top {
  display: grid;
  gap: clamp(30px, 4vw, 56px);
  /* 最后一列（联系我们）加宽到 1.7fr，给三个二维码并排留出空间 */
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1.7fr;
  padding-bottom: clamp(40px, 5vw, 60px);
}

.footer h3 {
  margin-bottom: 20px;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer a {
  color: #92a3a9;
}

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

.footer__links li + li {
  margin-top: 12px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer__brand img {
  height: 34px;
  width: auto;
}

.footer__brand strong {
  display: block;
  font-size: 17px;
  color: #fff;
}

/* 只作用于英文副标（<strong> 内部那一层 span）。
   用后代选择器会把外层包裹 span 一起命中，导致中文名继承 0.2em 字距、
   且英文名在窄列里被折成两行。 */
.footer__brand > span > span {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6f8288;
  white-space: nowrap;
}

.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.7;
}

.footer__contact svg {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--brand);
}

.footer__contact b {
  display: block;
  color: #fff;
  font-weight: 600;
}

.footer__qr {
  /* 三个二维码各自独立成图，平铺排布。
     单个二维码实际渲染宽度需 ≥ 100px 手机才容易扫出，
     所以这里用 auto-fit + 88px 下限：列宽够就一行三个，不够自动折行。 */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 12px 10px;
  margin-top: 22px;
}

.footer__qr-item {
  margin: 0;
  text-align: center;
}

.footer__qr-item img {
  /* 图片自带白底与静区留白，保持正方形比例，不裁不放 */
  display: block;
  width: 100%;
  max-width: 132px;
  height: auto;
  margin-inline: auto;
  border-radius: 8px;
  background: #fff;
}

.footer__qr-item figcaption {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.4;
  color: #92a3a9;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  transition: background-color 0.28s var(--ease), transform 0.28s var(--ease);
}

.footer__social a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-3px);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13px;
  color: #6f8288;
}

.footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* ---------- 18. 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 12px 28px -10px rgba(0, 193, 213, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    visibility 0.3s;
}

.to-top.is-shown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---------- 19. 滚动进场动画 ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

[data-reveal][data-delay="1"] {
  transition-delay: 0.08s;
}
[data-reveal][data-delay="2"] {
  transition-delay: 0.16s;
}
[data-reveal][data-delay="3"] {
  transition-delay: 0.24s;
}
[data-reveal][data-delay="4"] {
  transition-delay: 0.32s;
}

/* ---------- 20. 通用工具 ---------- */
.tac {
  text-align: center;
}
.mt-32 {
  margin-top: 32px;
}
.mt-48 {
  margin-top: clamp(32px, 4vw, 48px);
}
.mt-64 {
  margin-top: clamp(40px, 5vw, 64px);
}

.band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(30px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #0b1417, #123039);
  color: #fff;
}

.band h2 {
  max-width: 24ch;
  font-size: clamp(21px, 2.6vw, 30px);
  color: #fff;
}

.band p {
  margin-top: 12px;
  max-width: 52ch;
  font-size: 15px;
  color: #a5b6bb;
}

/* ---------- 21. 响应式 ---------- */
@media (max-width: 1080px) {
  .nav,
  .header__tel {
    display: none;
  }

  .burger {
    display: block;
  }

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

@media (max-width: 860px) {
  :root {
    --header-h: 60px;
  }

  .grid--3,
  .grid--4,
  .steps,
  .split,
  .split--wide-left,
  .split--wide-right {
    grid-template-columns: minmax(0, 1fr);
  }

  .split--reverse .split__media {
    order: 0;
  }

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

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

  .specs__row:nth-child(odd) {
    border-right: 0;
  }

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

  .hero {
    min-height: auto;
  }

  .hero__scroll {
    display: none;
  }

  .hero__facts {
    gap: 22px 34px;
  }
}

@media (max-width: 560px) {
  .lang-switch {
    display: none;
  }
  .footer__top {
    grid-template-columns: minmax(0, 1fr);
  }

  .btn {
    width: 100%;
  }

  .hero__actions .btn,
  .band .btn {
    width: 100%;
  }

  .brand__text {
    display: none;
  }
}

/* ---------- 22. 打印 ---------- */
@media print {
  .header,
  .drawer,
  .to-top,
  .hero__dots,
  .hero__scroll {
    display: none !important;
  }

  body {
    color: #000;
  }

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

/* ---------- 23. 无障碍：尊重减少动效 ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .hero__slide img {
    transform: none;
  }
}
