/* 上海禄洋科技 公司主页
   颜色只用下面的变量；圆点渐变（.ht）由 site.js 画在 canvas 上 */

:root {
  --navy-950: #081326;
  --navy-900: #0e1f3a;
  --navy-800: #142c52;
  --navy-700: #1c3a6b;
  --navy-600: #284d88;
  --navy-500: #3d64a6;
  --navy-300: #8fa8d3;
  --navy-200: #c3d1ea;
  --navy-100: #e4eaf5;
  --navy-50: #f2f5fa;
  --paper: #f5f6f8;
  --white: #ffffff;
  --ink: #0f1a2c;
  --ink-2: #445067;
  --ink-3: #6b7689;
  --line: #dce2eb;
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: #f08a4b;
  --accent-ink: #b9561f;

  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --font-display: "Bahnschrift", "DIN Alternate", "Barlow", "Roboto Condensed", "Segoe UI", -apple-system, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

:lang(ja) {
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
}

:lang(en) {
  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 圆点渐变的半径做成可动画的属性（图片「圆点展开」用） */
@property --dot {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

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

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

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

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

img {
  height: auto;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
ul,
ol {
  margin: 0;
}

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

button {
  font: inherit;
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--navy-950);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s;
}

.skip:focus {
  top: 12px;
}

/* ---------- 圆点渐变层 ---------- */
.ht {
  position: absolute;
  pointer-events: none;
}

.ht canvas {
  width: 100%;
  height: 100%;
}

.ht-band {
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(96px, 13vw, 190px);
  z-index: 1;
}

.ht-band-top {
  top: -1px;
  bottom: auto;
}

/* ---------- 文字样式 ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--navy-600);
}

.eyebrow-light {
  color: var(--navy-200);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(240, 138, 75, 0.18);
}

/* 斜切标签：来自宣传册的 shanghai luyang company 条幅 */
.tag {
  position: relative;
  display: inline-block;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1;
  color: var(--white);
}

.tag span {
  position: relative;
  z-index: 1;
  display: block;
  padding: 8px 22px 8px 12px;
  background: linear-gradient(100deg, var(--navy-800), var(--navy-600));
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.tag::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(5px, 4px);
  background: var(--navy-200);
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.tag-light span {
  background: linear-gradient(100deg, var(--white), var(--navy-100));
  color: var(--navy-800);
}

.tag-light::after {
  background: var(--navy-600);
}

.h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy-900);
  text-wrap: balance;
}

:lang(en) .h2 {
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 640px;
  margin-top: 18px;
  color: var(--ink-2);
  font-size: 17px;
}

.prose p + p {
  margin-top: 14px;
}

.prose p {
  color: var(--ink-2);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn .arr {
  transition: transform 0.25s var(--ease);
}

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

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

.btn-light {
  background: var(--white);
  color: var(--navy-900);
}

.btn-light:hover {
  background: var(--navy-100);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--navy-800);
  color: var(--white);
}

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

.btn-outline {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy-800);
}

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

/* ---------- 顶栏 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-900);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.mark-accent {
  fill: var(--accent);
}

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

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

:lang(en) .brand-name {
  letter-spacing: 0.01em;
}

.brand-sub {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.22em;
  opacity: 0.7;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  font-size: 15px;
  text-decoration: none;
  opacity: 0.86;
  transition: opacity 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  opacity: 1;
}

.nav a.is-active::after {
  transform: scale(1);
}

.nav .nav-cta {
  margin-left: 8px;
  padding: 0 16px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  min-height: 40px;
  opacity: 1;
}

.nav .nav-cta::after {
  display: none;
}

.lang {
  display: flex;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  opacity: 0.9;
}

.lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 6px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.6;
}

.lang a:hover {
  opacity: 1;
}

.lang a[aria-current] {
  opacity: 1;
  box-shadow: inset 0 -2px 0 var(--accent);
}

.menu {
  display: none;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(100svh, 920px);
  padding: calc(var(--header-h) + 40px) 0 clamp(120px, 14vw, 180px);
  background:
    radial-gradient(1200px 600px at 75% 40%, rgba(61, 100, 166, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy-900), var(--navy-950) 70%);
  color: var(--white);
  display: flex;
  align-items: center;
}

.hero-ht {
  inset: 0 0 auto auto;
  width: 60%;
  height: 70%;
  opacity: 0.9;
}

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

.hero-title {
  margin-top: 22px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.02em;
}

:lang(en) .hero-title {
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero-lead {
  max-width: 34em;
  margin-top: 24px;
  color: var(--navy-200);
  font-size: clamp(16px, 1.4vw, 18px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-stage {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}

.hero-dots {
  width: 100%;
  aspect-ratio: 1;
  touch-action: pan-y;
}

.no-js .hero-dots {
  display: none;
}

.hero-cap {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  column-gap: 6px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line-dark);
  color: var(--navy-200);
  font-size: 14px;
}

.no-js .hero-cap {
  display: none;
}

.hero-cap-name {
  color: var(--white);
  font-weight: 600;
}

.hero-cap-count {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
}

.hero-progress {
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 10px;
  background: var(--line-dark);
  overflow: hidden;
}

.hero-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}

/* ---------- 通用版块 ---------- */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

.section-paper {
  background: var(--paper);
}

.section-dark {
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
}

.section-dark .h2 {
  color: var(--white);
}

.section-dark.strengths,
.section-dark.contact {
  padding-top: clamp(140px, 16vw, 220px);
}

.section-head {
  position: relative;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.head-ht {
  top: -20px;
  right: 0;
  width: min(420px, 45%);
  height: 140px;
  z-index: -1;
}

/* ---------- 关于我们 ---------- */
.about {
  padding-top: clamp(40px, 6vw, 80px);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}

.about-copy .h2 {
  margin-bottom: 28px;
}

.about-figure {
  position: relative;
}

.frame {
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: 14px 14px 0 var(--navy-800);
}

.frame img {
  width: 100%;
}

.about-figure figcaption,
.pillar-media figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--ink-3);
  font-size: 14px;
}

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

.about-ht {
  left: -44px;
  top: -44px;
  width: 240px;
  height: 240px;
  z-index: 0;
}

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

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  padding: 28px 24px 0 0;
}

.stat + .stat {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.stat dt {
  color: var(--ink-3);
  font-size: 14px;
}

.stat dd {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--navy-800);
}

.stat .num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat .num-text {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0.04em;
}

:lang(en) .stat .num-text {
  letter-spacing: -0.01em;
}

.stat .unit {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  color: var(--accent);
}

/* ---------- 产品 ---------- */
.products {
  background: var(--white);
}

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

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

.card-media {
  position: relative;
  aspect-ratio: 1;
  background: var(--white);
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}

/* 悬停时第二张图以「圆点展开」的方式出现 */
.card-alt {
  position: absolute;
  inset: 0;
  background: var(--white);
  --dot: 0px;
  -webkit-mask-image: radial-gradient(circle, #000 var(--dot), transparent calc(var(--dot) + 0.5px));
  mask-image: radial-gradient(circle, #000 var(--dot), transparent calc(var(--dot) + 0.5px));
  -webkit-mask-size: 14px 14px;
  mask-size: 14px 14px;
  -webkit-mask-position: center;
  mask-position: center;
  transition: --dot 0.7s var(--ease);
}

.card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 20px 22px;
  border-top: 1px solid var(--line);
}

.card-no {
  position: absolute;
  top: -14px;
  right: 16px;
  padding: 2px 8px;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}

.card h3 {
  font-size: 19px;
  line-height: 1.4;
  color: var(--navy-900);
}

.card p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.7;
}

.card .card-tags {
  margin-top: auto;
  padding-top: 14px;
  color: var(--navy-600);
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--navy-300);
    box-shadow: 0 18px 40px -24px rgba(14, 31, 58, 0.45);
    transform: translateY(-4px);
  }

  .card:hover .card-alt {
    --dot: 11px;
  }
}

.more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 24px 28px;
  border-left: 3px solid var(--accent);
  background: var(--navy-50);
}

.more p {
  max-width: 760px;
  color: var(--ink-2);
}

/* ---------- 拖链测试 ---------- */
.flex-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.flex-copy > p:not(.tag) {
  margin-top: 22px;
  color: var(--ink-2);
}

.tiers {
  margin-top: 32px;
}

.tiers-title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--navy-600);
}

.tiers li {
  display: grid;
  grid-template-columns: minmax(7.5em, auto) 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.tier-bar {
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--navy-100) 0 6px, transparent 6px 9px);
}

.tier-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  background: repeating-linear-gradient(90deg, var(--navy-600) 0 6px, transparent 6px 9px);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
}

.js .tiers:not(.is-in) .tier-bar i {
  transform: scaleX(0);
}

.tier-val {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-800);
  white-space: nowrap;
}

.flex-figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.flex-stage {
  position: relative;
  padding: 16px 16px 0;
}

.flex-svg {
  width: 100%;
  height: auto;
}

#flex-dots circle {
  fill: var(--navy-100);
}

.flex-rail {
  stroke: var(--navy-200);
  stroke-width: 4;
  stroke-linecap: round;
}

.flex-dim line,
.flex-dim path {
  stroke: var(--navy-500);
  stroke-width: 1.2;
  fill: none;
}

.flex-dim text,
.flex-carriage text,
.flex-fixed text,
.flex-rtext {
  fill: var(--ink-2);
  font-family: var(--font-display);
  font-size: 13px;
}

.flex-fixed text,
.flex-carriage text {
  font-family: var(--font-sans);
}

.flex-table {
  fill: var(--navy-200);
}

.flex-ghost {
  fill: none;
  stroke: var(--navy-300);
  stroke-width: 1.2;
  stroke-dasharray: 4 5;
}

.flex-cable {
  fill: none;
  stroke: var(--navy-800);
  stroke-width: 14;
  stroke-linecap: round;
}

.flex-cable-core {
  fill: none;
  stroke: var(--navy-500);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 2 7;
}

.flex-fixed rect {
  fill: var(--navy-600);
}

.flex-carriage rect {
  fill: var(--navy-700);
}

.flex-carriage .flex-carriage-accent {
  fill: var(--accent);
}

.flex-rline {
  stroke: var(--accent-ink);
  stroke-width: 1.2;
  stroke-dasharray: 3 3;
}

.flex-rdot {
  fill: var(--accent-ink);
}

.flex-rtext {
  fill: var(--accent-ink);
  font-size: 12px;
}

.flex-counter {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 10px;
  padding: 4px 4px 12px;
  color: var(--ink-3);
  font-size: 13px;
}

.flex-counter output {
  min-width: 6ch;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-800);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.flex-figure figcaption {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}

.flex-cond-title {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-800);
}

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

.flex-cond div {
  padding: 8px 10px;
  background: var(--paper);
}

.flex-cond dt {
  color: var(--ink-3);
  font-size: 12.5px;
}

.flex-cond dd {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
}

.flex-cond .flex-cond-result {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  gap: 12px;
  background: var(--navy-800);
}

.flex-cond .flex-cond-result dt {
  color: var(--navy-200);
}

.flex-cond .flex-cond-result dd {
  color: var(--white);
  font-family: var(--font-sans);
}

/* ---------- 优势 ---------- */
.strengths {
  background:
    radial-gradient(900px 600px at 90% 10%, rgba(61, 100, 166, 0.25), transparent 70%),
    var(--navy-900);
  padding-bottom: clamp(160px, 18vw, 240px);
}

.pillars-wrap {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 40px);
}

.pillar-rail {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
}

.pillar-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--navy-300);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.3s;
}

.pillar-rail i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--navy-500);
  transition: background-color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}

.pillar-rail a.is-active {
  color: var(--white);
}

.pillar-rail a.is-active i {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.5);
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 9vw, 120px);
}

.pillar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.pillar:nth-child(even) .pillar-text {
  order: 2;
}

.pillar-num {
  position: relative;
  width: 76px;
  height: 76px;
  margin-bottom: 22px;
}

.pillar-num svg {
  width: 100%;
  height: 100%;
}

.pillar-num .ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-dasharray: 0 7.2;
}

.pillar-num .disc {
  fill: var(--accent);
}

.pillar:nth-child(3n + 2) .pillar-num .ring,
.pillar:nth-child(3n + 2) .pillar-num .disc {
  stroke: var(--navy-300);
  fill: var(--navy-600);
}

.pillar:nth-child(3n + 2) .pillar-num .ring {
  fill: none;
}

.pillar-num span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 300;
  color: var(--white);
}

.pillar h3 {
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
}

.pillar-lead {
  margin-top: 10px;
  color: var(--accent);
  font-size: 17px;
  font-weight: 600;
}

.pillar-text p:last-child {
  margin-top: 14px;
  color: var(--navy-200);
}

.pillar-media figure {
  position: relative;
}

.pillar-media img {
  width: 100%;
  border-radius: 2px;
}

.pillar-media figcaption {
  margin-top: 10px;
  color: var(--navy-300);
  font-size: 13px;
}

.pillar-media figcaption::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mosaic .m-main {
  grid-column: 1 / -1;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* 主图 + 右下角叠一张小图 */
.stack {
  position: relative;
  padding-bottom: 48px;
}

.stack figure + figure {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 36%;
  border: 5px solid var(--navy-900);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
}

.stack figure + figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- 定制 ---------- */
.custom {
  background: var(--white);
}

.offers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--navy-800);
}

.offer {
  position: relative;
  padding: 26px 24px 30px 0;
}

.offer + .offer {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.offer-no {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  line-height: 1;
  color: var(--navy-200);
}

.offer h3 {
  font-size: 19px;
  color: var(--navy-900);
}

.offer p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15px;
}

.flow-wrap {
  margin-top: clamp(48px, 6vw, 80px);
  padding: clamp(24px, 3vw, 36px);
  background: var(--paper);
}

.flow-title {
  margin-bottom: 26px;
  font-size: 17px;
  color: var(--navy-900);
}

.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: step;
}

/* 步骤之间的连线：一串越来越大的圆点 */
.flow::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: radial-gradient(circle, var(--navy-300) 1.6px, transparent 2px) 0 0 / 10px 4px repeat-x;
}

.flow li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.flow-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--paper);
}

.flow li:nth-child(4) .flow-dot {
  background: var(--accent);
}

.flow-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.45;
}

/* ---------- 联系我们 ---------- */
.contact {
  background:
    radial-gradient(800px 500px at 15% 80%, rgba(61, 100, 166, 0.3), transparent 70%),
    var(--navy-900);
}

.contact-ht {
  right: 0;
  bottom: 0;
  width: 55%;
  height: 80%;
}

.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.contact-copy > p:not(.tag) {
  margin-top: 22px;
  max-width: 30em;
  color: var(--navy-200);
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  min-height: 48px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

.contact-phone svg {
  width: 0.9em;
  height: 0.9em;
  padding: 0.18em;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-950);
  box-sizing: content-box;
}

.contact-phone:hover span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.contact-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 14px 14px 0 var(--navy-600);
}

.contact-card dl > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

:lang(en) .contact-card dl > div {
  grid-template-columns: 6.5em 1fr;
}

.contact-card dl > div:first-child {
  padding-top: 0;
}

.contact-card dt {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-3);
  font-size: 14px;
  line-height: 1.9;
}

.contact-card dt svg {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: none;
  color: var(--navy-600);
}

.contact-card dd {
  color: var(--navy-900);
  font-weight: 600;
}

.contact-card dd a {
  font-family: var(--font-display);
  text-decoration: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.contact-actions .btn {
  flex: 1 1 auto;
}

.contact-actions .btn.is-done {
  border-color: var(--navy-600);
  color: var(--navy-600);
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--navy-300);
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  padding-block: 48px 40px;
}

.brand-footer {
  color: var(--white);
  margin-right: 0;
}

.footer-brand p {
  margin-top: 10px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 4px;
}

.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--navy-200);
  text-decoration: none;
}

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

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 12.5px;
  line-height: 1.8;
}

.footer-disclaimer {
  color: var(--navy-300);
  opacity: 0.8;
}

.footer-legal {
  margin-top: 6px;
}

.footer-legal a {
  text-decoration: none;
}

.to-top {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  display: none;
}

/* ---------- 入场动画 ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

/* 图片以「圆点长大、连成一片」的方式出现 */
.js .dot-reveal {
  --dot: 0px;
  -webkit-mask-image: radial-gradient(circle, #000 var(--dot), transparent calc(var(--dot) + 0.5px));
  mask-image: radial-gradient(circle, #000 var(--dot), transparent calc(var(--dot) + 0.5px));
  -webkit-mask-size: 16px 16px;
  mask-size: 16px 16px;
  -webkit-mask-position: center;
  mask-position: center;
  transition: --dot 1.1s var(--ease) 0.15s, opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .dot-reveal.is-in {
  --dot: 12px;
}

.js .dot-reveal.is-done {
  -webkit-mask-image: none;
  mask-image: none;
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--paper);
}

.nf {
  max-width: 560px;
  padding: 48px var(--gutter);
}

.nf-mark {
  width: 48px;
  height: 48px;
  color: var(--navy-800);
}

.nf-code {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  color: var(--navy-800);
}

.nf div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.nf h1 {
  font-size: 20px;
  color: var(--navy-900);
}

.nf p {
  margin-top: 6px;
  color: var(--ink-2);
}

.nf .btn {
  margin-top: 6px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .offer:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .offer:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .nav a {
    padding: 0 9px;
  }
}

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

  .nav {
    display: none;
  }

  .menu {
    display: block;
  }

  .menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    list-style: none;
    cursor: pointer;
  }

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

  .menu-icon {
    display: grid;
    gap: 5px;
    width: 22px;
  }

  .menu-icon i {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.3s var(--ease), opacity 0.2s;
  }

  .menu[open] .menu-icon i:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu[open] .menu-icon i:nth-child(2) {
    opacity: 0;
  }

  .menu[open] .menu-icon i:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .menu-panel {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    padding: 24px var(--gutter) 40px;
    background: var(--navy-900);
    color: var(--white);
    overflow-y: auto;
  }

  .menu[open] .menu-panel {
    animation: menuIn 0.35s var(--ease);
  }

  @keyframes menuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }

  .menu-panel .ht {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 60%;
  }

  .menu-panel nav {
    position: relative;
    display: flex;
    flex-direction: column;
  }

  .menu-panel nav a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
  }

  .menu-panel nav a span {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--accent);
  }

  .menu-phone {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    min-height: 48px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
  }

  .menu-phone svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
  }

  .site-header.menu-open {
    background: var(--navy-900);
    color: var(--white);
    box-shadow: none;
  }

  .header-inner {
    gap: 10px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 16px);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-stage {
    order: -1;
    max-width: min(340px, 80vw);
    margin: 0 auto 8px;
  }

  .hero-dots {
    width: 100%;
  }

  .about-grid,
  .flex-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-figure {
    margin-right: 14px;
  }

  .about-ht {
    display: none;
  }

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

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    margin-top: 24px;
  }

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

  .pillar-rail {
    display: none;
  }

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

  .pillar:nth-child(even) .pillar-text {
    order: 0;
  }

  .contact-card {
    margin-right: 14px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15.5px;
  }

  .brand-sub {
    display: none;
  }

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

  .lang a {
    min-width: 36px;
    font-size: 12.5px;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 40px);
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

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

  .card {
    display: grid;
    grid-template-columns: 38% 1fr;
  }

  .card-body {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 16px 16px 18px;
  }

  .card h3 {
    font-size: 17px;
  }

  .card p {
    font-size: 14px;
  }

  .card-no {
    top: 10px;
    right: 10px;
  }

  .more {
    padding: 20px;
  }

  .more .btn {
    width: 100%;
  }

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

  .offer,
  .offer + .offer {
    padding: 20px 0 22px;
    border-left: 0;
  }

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

  .offer-no {
    font-size: 30px;
  }

  .flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow::before {
    top: 10%;
    bottom: 10%;
    left: 21px;
    right: auto;
    width: 4px;
    height: auto;
    background: radial-gradient(circle, var(--navy-300) 1.6px, transparent 2px) 0 0 / 4px 10px repeat-y;
  }

  .flow li {
    flex-direction: row;
    text-align: left;
    gap: 16px;
  }

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

  .flex-stage {
    padding: 8px 4px 0;
  }

  .flex-dim text,
  .flex-carriage text,
  .flex-fixed text {
    font-size: 20px;
  }

  .flex-rtext {
    font-size: 17px;
  }

  .tiers li {
    grid-template-columns: 1fr auto;
    row-gap: 6px;
  }

  .tier-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .contact-card dl > div,
  :lang(en) .contact-card dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

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

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

  .footer-nav {
    margin-left: -10px;
  }
}

@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;
    transition-delay: 0s !important;
  }

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

  .js .dot-reveal {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ---------- 语言提示 ---------- */
.suggest {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px 14px;
  flex-wrap: wrap;
  max-width: calc(100vw - 32px);
  padding: 10px 6px 10px 18px;
  background: var(--navy-950);
  color: var(--white);
  font-size: 14px;
  border-left: 3px solid var(--accent);
  box-shadow: 0 16px 40px -16px rgba(8, 19, 38, 0.6);
  animation: suggestIn 0.5s var(--ease);
}

.suggest[hidden] {
  display: none;
}

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

.suggest-go {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  text-underline-offset: 4px;
}

.suggest-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--navy-300);
  font-size: 22px;
  cursor: pointer;
}

.suggest-close:hover {
  color: var(--white);
}
