/* ==========================================================================
   明觉机器人 MJRobotics — 公众站设计系统
   深空蓝 #0A1628 · 品牌红 #C72E33 · 中心灰 #828282
   ========================================================================== */

:root {
  --bg-deep: #0A1628;
  --brand-red: #C72E33;
  --mark-gray: #828282;
  --text-primary: #FFFFFF;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-faint: rgba(255, 255, 255, 0.52);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: #111F33;
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.22);
  --bg-light: #F7F8FA;
  --font-sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --container: 1160px;
  --radius-card: 14px;
  --radius-btn: 8px;
  --section-gap: clamp(64px, 9vw, 96px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--brand-red);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-btn) 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   页眉
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 22, 40, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { width: 40px; height: auto; }

.brand .brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand .brand-name .cn {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.brand .brand-name .en {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 8px 14px;
  border-radius: var(--radius-btn);
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover { color: #fff; background: var(--surface); }

.main-nav a[aria-current="page"] {
  color: #fff;
  position: relative;
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
}

.lang-switch {
  flex-shrink: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.lang-switch:hover { color: #fff; border-color: var(--border-strong); }

/* 多语言下拉 */
details.lang-switch { position: relative; }
details.lang-switch summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
details.lang-switch summary::-webkit-details-marker { display: none; }
details.lang-switch[open] summary { color: #fff; border-color: var(--border-strong); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 172px;
  background: #0C1B30;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  display: grid;
  z-index: 90;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.lang-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 14px;
  letter-spacing: 0;
  color: var(--text-muted);
  border-radius: 7px;
  border: none;
}
.lang-menu a:hover { color: #fff; background: var(--surface); }
.lang-menu a[aria-current="true"] {
  color: #fff;
  box-shadow: inset 2px 0 0 var(--brand-red);
  background: var(--surface);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  color: #fff;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0C1B30;
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 16px;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 10px; border-radius: var(--radius-btn); font-size: 16px; }
  .main-nav a[aria-current="page"]::after { display: none; }
  .main-nav a[aria-current="page"] { background: var(--surface); }
  .brand .brand-name .en { display: none; }
}

/* --------------------------------------------------------------------------
   区块通用
   -------------------------------------------------------------------------- */

.section { padding-block: var(--section-gap); }

.section-tint { background: #0C1B30; border-block: 1px solid var(--border); }

.section-tight { padding-top: var(--section-gap); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brand-red);
  flex-shrink: 0;
}

.eyebrow .idx {
  color: var(--brand-red);
  font-weight: 700;
  letter-spacing: 0.08em;
}

h1, h2, h3 { line-height: 1.3; margin: 0; font-weight: 700; }

.h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  letter-spacing: 0.01em;
}

.h2 {
  font-size: clamp(24px, 3.2vw, 34px);
}

.h3 { font-size: 20px; }

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-muted);
  max-width: 68ch;
}

.measure { max-width: 68ch; }

.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head .lead { margin-top: 14px; }

/* --------------------------------------------------------------------------
   文字链 / 按钮
   -------------------------------------------------------------------------- */

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid var(--brand-red);
  padding-bottom: 2px;
  transition: gap 0.2s ease, color 0.2s ease;
}
.link-arrow .arr { color: var(--brand-red); transition: transform 0.2s ease; }
.link-arrow:hover .arr { transform: translateX(4px); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--brand-red);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 15px 42px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background: #D63B40;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(199, 46, 51, 0.35);
}

/* --------------------------------------------------------------------------
   首页 Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero-rays {
  position: absolute;
  right: -140px;
  top: -60px;
  width: 720px;
  max-width: 90vw;
  opacity: 0.16;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(56px, 8vw, 104px);
}

.hero-identity .eyebrow { color: rgba(255,255,255,0.66); }

.hero-identity .h1 { margin-bottom: 22px; }

.hero-identity .lead { margin-bottom: 18px; }

.hero-identity .aux {
  color: var(--text-faint);
  font-size: 15px;
  max-width: 56ch;
  margin: 0 0 6px;
}

.hero-identity .platform-note {
  color: var(--text-faint);
  font-size: 14px;
  border-left: 2px solid var(--brand-red);
  padding-left: 12px;
  margin-top: 18px;
}

/* 场景卡 2×2 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.scene-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.scene-card:hover,
.scene-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--brand-red);
}

.scene-card .media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  background: #0C1B30;
}

.scene-card .media img,
.scene-card .media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-card .media video { object-position: center; }

.scene-card .media .play-hint {
  position: absolute;
  inset: auto 10px 10px auto;
  background: rgba(10, 22, 40, 0.78);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  pointer-events: none;
}

.scene-card .body { padding: 16px 18px 18px; }

.scene-card h3 { font-size: 18px; margin-bottom: 6px; }

.scene-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.scene-card .go {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}
.scene-card .go .arr { color: var(--brand-red); }
.scene-card:hover .go .arr { transform: translateX(4px); }
.scene-card .go .arr { transition: transform 0.2s ease; }

/* 抽象示意卡（无实拍素材的场景） */
.scene-card .media.abstract {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(120% 90% at 50% 115%, rgba(199, 46, 51, 0.18), transparent 60%),
    #0C1B30;
}
.scene-card .media.abstract svg { width: 46%; height: auto; opacity: 0.9; }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-rays { opacity: 0.1; }
}

@media (max-width: 560px) {
  .scene-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   首页底部过渡
   -------------------------------------------------------------------------- */

.bridge {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.bridge h2 { margin-bottom: 12px; }

.bridge p { color: var(--text-muted); margin: 0 0 22px; }

/* --------------------------------------------------------------------------
   价值主张条
   -------------------------------------------------------------------------- */

.value-band {
  border-block: 1px solid var(--border);
  background:
    radial-gradient(60% 130% at 85% 50%, rgba(199, 46, 51, 0.12), transparent 62%),
    #0C1B30;
}

.value-band .container {
  padding-block: clamp(36px, 5vw, 56px);
}

.value-band .vp-label {
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.value-band .vp-text {
  font-size: clamp(18px, 2.4vw, 25px);
  font-weight: 600;
  line-height: 1.7;
  max-width: 62ch;
  margin: 0;
}

.value-band .vp-text em {
  font-style: normal;
  color: #fff;
  border-bottom: 2px solid var(--brand-red);
}

/* --------------------------------------------------------------------------
   解决方案页场景区块
   -------------------------------------------------------------------------- */

.scene-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
  padding-block: clamp(40px, 6vw, 68px);
  border-top: 1px solid var(--border);
}

.scene-block:first-of-type { border-top: none; padding-top: 0; }

.scene-block.flip .scene-text { order: 2; }
.scene-block.flip .scene-media { order: 1; }

.scene-text .kicker {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--brand-red);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.scene-text h2 { margin-bottom: 16px; }

.spec-list {
  margin: 20px 0 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.spec-list > div {
  display: grid;
  grid-template-columns: 118px 1fr;
  border-bottom: 1px solid var(--border);
}
.spec-list > div:last-child { border-bottom: none; }

.spec-list dt {
  margin: 0;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--text-faint);
  background: rgba(255, 255, 255, 0.03);
  border-right: 1px solid var(--border);
  letter-spacing: 0.04em;
}

.spec-list dd {
  margin: 0;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.scene-media img,
.scene-media video {
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scene-media video { aspect-ratio: 16 / 10; }

.scene-media figcaption {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 10px;
}

.scene-media .abstract-tunnel {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(100% 80% at 50% 100%, rgba(199, 46, 51, 0.14), transparent 58%),
    #0C1B30;
}

@media (max-width: 880px) {
  .scene-block { grid-template-columns: 1fr; }
  .scene-block.flip .scene-text { order: 1; }
  .scene-block.flip .scene-media { order: 2; }
}

/* --------------------------------------------------------------------------
   产品页 · 三层结构
   -------------------------------------------------------------------------- */

.layer {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  padding-block: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--border);
  align-items: start;
}

.layer .layer-idx {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(199, 46, 51, 0.85);
  line-height: 1;
  letter-spacing: 0.02em;
}

.layer h2 { font-size: clamp(21px, 2.4vw, 26px); margin-bottom: 12px; }

.layer .layer-sub {
  color: var(--text-faint);
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.layer p { color: var(--text-muted); margin: 0 0 16px; }

.layer .layer-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layer .chip {
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 13px;
  background: var(--surface);
}

.layer .layer-media img {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.layer .layer-media figcaption {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 10px;
}

@media (max-width: 880px) {
  .layer { grid-template-columns: 1fr; gap: 18px; }
  .layer .layer-idx { font-size: 40px; }
}

.not-build {
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-red);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  background: var(--surface);
  padding: 20px 24px;
  font-size: 16px;
  color: var(--text-muted);
  max-width: 72ch;
}
.not-build strong { color: #fff; }

/* 职责对照表 */
.duty-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-card); }

table.duty {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 15px;
}

table.duty th, table.duty td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

table.duty thead th {
  font-size: 14px;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

table.duty thead th.col-mj { color: #fff; box-shadow: inset 0 2px 0 var(--brand-red); }
table.duty tbody tr:last-child td { border-bottom: none; }

table.duty td.ok-mj { color: var(--brand-red); font-weight: 800; }
table.duty td.ok-oem { color: var(--text-muted); font-weight: 800; }
table.duty td.dash { color: var(--text-faint); }

.table-note {
  font-size: 13.5px;
  color: var(--text-faint);
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   交付与证明页
   -------------------------------------------------------------------------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.steps li::before {
  content: "0" counter(step);
  font-size: 30px;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(199, 46, 51, 0.9);
  line-height: 1;
}

.steps li .step-body strong { display: block; font-size: 17px; margin-bottom: 4px; }
.steps li .step-body span { color: var(--text-muted); font-size: 15px; }

@media (max-width: 560px) {
  .steps li { grid-template-columns: 64px 1fr; }
  .steps li::before { font-size: 24px; }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 980px) { .case-grid { grid-template-columns: 1fr; } }

.case-card {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.case-card:hover { transform: translateY(-4px); border-color: var(--brand-red); }

.case-card .media { aspect-ratio: 16 / 10; overflow: hidden; }
.case-card .media img { width: 100%; height: 100%; object-fit: cover; }

.case-card .media.no-photo {
  display: flex;
  align-items: flex-end;
  background:
    radial-gradient(110% 90% at 20% 110%, rgba(199, 46, 51, 0.16), transparent 60%),
    linear-gradient(160deg, #12233B, #0C1B30);
  padding: 18px 20px;
}
.case-card .media.no-photo .place {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}
.case-card .media.no-photo .place small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.case-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }

.case-card h3 { font-size: 19px; }

.case-card .verdict {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.case-card .verdict::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brand-red);
  border-radius: 50%;
  flex-shrink: 0;
}

.case-card p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

.case-card .role {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border-strong);
  font-size: 13.5px;
  color: var(--text-faint);
}

/* CTA 区 */
.cta-band {
  background:
    radial-gradient(70% 140% at 88% 40%, rgba(199, 46, 51, 0.16), transparent 60%),
    #0C1B30;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-card) + 6px);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 12px; }
.cta-band p { color: var(--text-muted); margin: 0 0 26px; max-width: 52ch; }

.cta-band .cta-side-note {
  font-size: 14px;
  color: var(--text-faint);
  margin-top: 14px;
}

@media (max-width: 880px) {
  .cta-band { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   表单
   -------------------------------------------------------------------------- */

.lead-form {
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: clamp(22px, 3vw, 32px);
}

.lead-form .form-title { font-size: 18px; margin-bottom: 4px; }
.lead-form .form-sub { font-size: 14px; color: var(--text-faint); margin: 0 0 18px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }

.field label { font-size: 14px; color: var(--text-muted); }
.field label .req { color: var(--brand-red); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 15px;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-btn);
  padding: 11px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: #0C1B30; color: #fff; }

.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, 0.34); }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  background: rgba(255, 255, 255, 0.08);
}

.field input.invalid, .field select.invalid { border-color: var(--brand-red); }

.field .err { font-size: 12.5px; color: #E8888B; display: none; }
.field .err.show { display: block; }

.form-status {
  margin-top: 14px;
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: var(--radius-btn);
  display: none;
  line-height: 1.6;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(64, 152, 106, 0.14); border: 1px solid rgba(64, 152, 106, 0.5); color: #B9E6CB; }
.form-status.fail { background: rgba(199, 46, 51, 0.14); border: 1px solid rgba(199, 46, 51, 0.55); color: #F2C4C5; }

/* 蜜罐反垃圾字段：对人不可见 */
.field.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --------------------------------------------------------------------------
   联系页
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-info .item {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.contact-info .item:first-child { border-top: 1px solid var(--border); }

.contact-info .k {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.contact-info .v { font-size: 16px; color: #fff; }
.contact-info .v small { display: block; color: var(--text-faint); font-size: 13px; margin-top: 2px; }
.contact-info .v a { border-bottom: 1px solid rgba(199, 46, 51, 0.6); }

.contact-company {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-tagline { color: var(--text-muted); font-size: 15px; margin: 0 0 22px; }

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: #081220;
  margin-top: var(--section-gap);
}

.site-footer .inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-block: clamp(40px, 5vw, 64px);
}

.site-footer .brand img { width: 44px; }

.site-footer .f-co-name { font-weight: 700; font-size: 16px; margin: 14px 0 4px; }
.site-footer .f-co-tag { color: var(--text-muted); font-size: 14px; margin: 0; }

.site-footer h4 {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 4px 0 16px;
  font-weight: 600;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer ul a { color: var(--text-muted); font-size: 15px; transition: color 0.2s ease; }
.site-footer ul a:hover { color: #fff; }

.site-footer .f-contact { color: var(--text-muted); font-size: 14.5px; display: grid; gap: 8px; }
.site-footer .f-contact a { border-bottom: 1px solid rgba(199,46,51,0.55); }

.footer-base {
  border-top: 1px solid var(--border);
  padding-block: 20px;
  font-size: 13px;
  color: var(--text-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}

.footer-base a {
  color: var(--text-faint);
  transition: color 0.2s ease;
}
.footer-base a:hover { color: var(--text-muted); }

@media (max-width: 880px) {
  .site-footer .inner { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   面包屑
   -------------------------------------------------------------------------- */

.crumbs {
  padding-top: 26px;
  font-size: 13.5px;
  color: var(--text-faint);
}
.crumbs a { color: var(--text-faint); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { margin: 0 8px; color: rgba(255,255,255,0.28); }
.crumbs [aria-current] { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   页头内页 Hero
   -------------------------------------------------------------------------- */

.page-hero { border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }

.page-hero .rays-ghost {
  position: absolute;
  right: -80px;
  bottom: -110px;
  width: 480px;
  opacity: 0.1;
  pointer-events: none;
}

.page-hero .container { padding-block: clamp(28px, 4vw, 48px) clamp(40px, 5vw, 64px); position: relative; }

.page-hero .h1 { margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   进场动效（克制）
   -------------------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scene-card, .case-card, .btn-primary, .link-arrow .arr { transition: none; }
  .scene-card:hover, .case-card:hover { transform: none; }
}

/* --------------------------------------------------------------------------
   页面底部出口
   -------------------------------------------------------------------------- */

.next-exit {
  border-top: 1px solid var(--border);
  padding-block: clamp(36px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  align-items: center;
  justify-content: space-between;
}
.next-exit .nx-text { color: var(--text-muted); font-size: 16px; max-width: 52ch; }
.next-exit .nx-text strong { color: #fff; display: block; font-size: 19px; margin-bottom: 4px; }
