/* ==========================================================================
   四川映康医院管理有限责任公司 — Apple 风格重构版
   Design tokens: Apple HIG / apple.com visual language
   ========================================================================== */

:root {
  /* 表面 */
  --surface: #ffffff;
  --surface-alt: #f5f5f7;
  --surface-dark: #1d1d1f;
  --surface-black: #000000;

  /* 文字 */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --ink-invert: #f5f5f7;
  --ink-invert-2: #a1a1a6;

  /* 线条 */
  --hairline: rgba(0, 0, 0, 0.09);
  --hairline-strong: rgba(0, 0, 0, 0.16);
  --hairline-dark: rgba(255, 255, 255, 0.12);

  /* 品牌 */
  --brand: #0d47a1;
  --brand-2: #1976d2;
  --mint: #00bfa5;
  --link: #0066cc;
  --link-hover: #0077ed;

  /* 阴影 —— Apple 极轻 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 16px 40px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.06), 0 32px 80px rgba(0, 0, 0, 0.10);

  /* 圆角 */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 980px;

  /* 布局 */
  --nav-h: 48px;
  --gutter: 22px;
  --content: 1024px;
  --content-wide: 1280px;
  --content-full: 1600px;

  /* 动效 */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.47059;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.24s var(--ease-soft);
}

a:hover {
  color: var(--link-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

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

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

::selection {
  background: rgba(13, 71, 161, 0.14);
}

/* 跳转链接 */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--r-sm) 0;
}

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

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

/* ==========================================================================
   排版基础
   ========================================================================== */

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow.accent {
  color: var(--brand-2);
}

h1,
.display {
  font-size: clamp(2.5rem, 6.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
}

h2 {
  font-size: clamp(1.875rem, 3.9vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  font-weight: 600;
}

h3 {
  font-size: 1.3125rem;
  line-height: 1.28;
  letter-spacing: -0.016em;
  font-weight: 600;
}

.lead {
  font-size: clamp(1.125rem, 1.8vw, 1.4375rem);
  line-height: 1.45;
  letter-spacing: -0.014em;
  color: var(--ink-2);
  font-weight: 400;
  text-wrap: pretty;
}

.body-sm {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--ink-2);
}

.gradient-text {
  background: linear-gradient(96deg, #0d47a1 0%, #1976d2 42%, #00bfa5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   布局容器
   ========================================================================== */

.wrap {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-wide {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-full {
  width: 100%;
  max-width: var(--content-full);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  position: relative;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

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

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

.bg-alt {
  background: var(--surface-alt);
}

.bg-dark {
  background: var(--surface-dark);
  color: var(--ink-invert);
}

.bg-black {
  background: var(--surface-black);
  color: var(--ink-invert);
}

.bg-dark h2,
.bg-black h2,
.bg-dark h3,
.bg-black h3 {
  color: #fff;
}

.bg-dark .lead,
.bg-black .lead,
.bg-dark .body-sm,
.bg-black .body-sm {
  color: var(--ink-invert-2);
}

.bg-dark .eyebrow,
.bg-black .eyebrow {
  color: var(--ink-invert-2);
}

/* 区块标题 */
.section-head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 5vw, 68px);
  text-align: center;
}

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

.section-head h2 + .lead {
  margin-top: 20px;
}

.section-head.left {
  margin-left: 0;
  text-align: left;
}

/* ==========================================================================
   导航 —— Apple 毛玻璃吸顶
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease-soft), border-color 0.4s var(--ease-soft);
}

.nav.is-scrolled {
  background: rgba(251, 251, 253, 0.86);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  height: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  height: 26px;
  width: auto;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand);
  white-space: nowrap;
}

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

.nav-links a {
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(29, 29, 31, 0.72);
  border-radius: 8px;
  transition: color 0.2s var(--ease-soft), background 0.2s var(--ease-soft);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(0, 0, 0, 0.05);
  text-decoration: none;
}

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

.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0;
  transition: background 0.24s var(--ease-soft), transform 0.24s var(--ease-soft);
}

.nav-cta:hover {
  background: #0a3a85;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span + span {
  margin-top: 4.5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* 移动端抽屉 */
.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 auto;
  z-index: 99;
  background: rgba(251, 251, 253, 0.98);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: 8px var(--gutter) 24px;
  display: none;
  flex-direction: column;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  letter-spacing: -0.014em;
}

.nav-drawer a:hover {
  text-decoration: none;
  color: var(--brand);
}

.nav-drawer a:last-child {
  border-bottom: 0;
  color: var(--brand);
  font-weight: 600;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: clamp(80px, 10.5vw, 148px) 0 clamp(56px, 7vw, 92px);
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px 5px 6px;
  margin-bottom: 26px;
  border-radius: var(--r-pill);
  background: var(--surface-alt);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}

.hero-badge i {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--mint));
}

.hero h1 {
  margin-bottom: 22px;
}

.hero h1 .line {
  display: block;
}

.hero .lead {
  max-width: 720px;
  margin: 0 auto;
}

.br-wide {
  display: none;
}

@media (min-width: 900px) {
  .br-wide {
    display: inline;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 34px;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.014em;
  transition: background 0.26s var(--ease-soft), color 0.26s var(--ease-soft),
    transform 0.26s var(--ease-soft), box-shadow 0.26s var(--ease-soft),
    border-color 0.26s var(--ease-soft);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

.btn-primary:hover {
  background: #0a3a85;
  color: #fff;
  box-shadow: 0 10px 26px rgba(13, 71, 161, 0.24);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.09);
  color: var(--ink);
}

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

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  color: var(--link);
  padding: 0;
  min-height: 0;
}

.btn-link::after {
  content: "›";
  font-size: 1.15em;
  line-height: 1;
  transition: transform 0.24s var(--ease);
}

.btn-link:hover::after {
  transform: translateX(3px);
}

/* Hero 主视觉 */
.hero-visual {
  max-width: var(--content-wide);
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: 0 var(--gutter);
}

.hero-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-lg);
}

.hero-frame img {
  width: 100%;
  height: auto;
}

/* 数据条 */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--content-wide);
  margin: clamp(48px, 6vw, 80px) auto 0;
  padding: 0 var(--gutter);
}

.stat {
  text-align: center;
  padding: 6px 14px;
}

.stat strong {
  display: block;
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--brand);
}

.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}

/* ==========================================================================
   简介 —— 大字叙事
   ========================================================================== */

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

.intro-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  line-height: 1.14;
  text-wrap: balance;
  margin: 16px 0 22px;
}

.intro-head .lead {
  max-width: 620px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.intro-copy p + p {
  margin-top: 20px;
}

.intro-copy .lead {
  color: var(--ink);
  font-weight: 400;
}

.intro-list {
  display: grid;
  gap: 1px;
  border-top: 1px solid var(--hairline);
}

.intro-list li {
  padding: 22px 0 22px 30px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.014em;
  color: var(--ink-2);
}

.intro-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 29px;
  width: 16px;
  height: 1.5px;
  background: var(--brand-2);
  border-radius: 2px;
}

.intro-figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 13px;
  border-radius: var(--r-pill);
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-size: 13px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  transition: border-color 0.24s var(--ease-soft), color 0.24s var(--ease-soft);
}

.tag:hover {
  border-color: var(--hairline-strong);
  color: var(--ink);
}

/* ==========================================================================
   解决方案卡片网格
   ========================================================================== */

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.solution-thumb {
  aspect-ratio: 3 / 2;
  background: var(--surface-alt);
  overflow: hidden;
}

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

.solution-card:hover .solution-thumb img {
  transform: scale(1.035);
}

.solution-body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.solution-body h3 {
  font-size: 16.5px;
  letter-spacing: -0.014em;
}

.solution-body p {
  font-size: 13.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink-2);
}

/* ==========================================================================
   知识产权 —— 深色横向滚动
   ========================================================================== */

.ip-section {
  overflow: hidden;
}

.ip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.ip-head .lead {
  max-width: 420px;
  margin-top: 16px;
}

.ip-controls {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
  padding-bottom: 6px;
}

.ip-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transition: background 0.24s var(--ease-soft), transform 0.24s var(--ease-soft);
}

.ip-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ip-btn:active {
  transform: scale(0.94);
}

.ip-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 0 28px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.ip-rail::-webkit-scrollbar {
  display: none;
}

.ip-card {
  flex: 0 0 232px;
  scroll-snap-align: start;
  text-align: left;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--r-md);
  padding: 14px;
  transition: background 0.32s var(--ease-soft), border-color 0.32s var(--ease-soft),
    transform 0.32s var(--ease-soft);
  color: #fff;
}

.ip-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.26);
  transform: translateY(-3px);
}

.ip-thumb {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
}

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

.ip-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.ip-card h3 {
  font-size: 14.5px;
  line-height: 1.36;
  letter-spacing: -0.008em;
  color: #fff;
  font-weight: 500;
}

.ip-card p {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-invert-2);
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(560px, 88vw);
  max-height: 76vh;
  width: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.lightbox figcaption {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: -0.01em;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background 0.24s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

/* ==========================================================================
   数据看板
   ========================================================================== */

.dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 20px;
  align-items: stretch;
}

.dash-panel {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.dash-panel h3 {
  font-size: 19px;
}

.dash-panel > p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.dash-screen {
  margin-top: 20px;
  flex: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
  display: grid;
  place-items: center;
  padding: 14px;
}

.dash-screen img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.chart-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
  flex: 1;
  min-height: 0;
}

.chart-cell {
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-alt);
  padding: 8px;
  display: grid;
  place-items: center;
}

.chart-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.kpi {
  padding: 14px;
  border-radius: var(--r-sm);
  background: var(--surface-alt);
}

.kpi strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--ink);
}

.kpi span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink-2);
}

/* ==========================================================================
   资源整合
   ========================================================================== */

.eco-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.value-cell {
  padding: 22px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  transition: border-color 0.3s var(--ease-soft), transform 0.3s var(--ease-soft);
}

.value-cell:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

.value-cell strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.014em;
  line-height: 1.35;
}

.value-cell span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.eco-banner {
  margin-top: 14px;
  padding: 26px 24px;
  border-radius: var(--r-md);
  background: linear-gradient(104deg, #0d47a1 0%, #1976d2 56%, #00bfa5 100%);
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.eco-banner b {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.eco-banner span {
  font-size: 15px;
  letter-spacing: -0.01em;
  opacity: 0.9;
}

.flow-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.flow-line span {
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.flow-line i {
  width: 16px;
  height: 1px;
  background: var(--hairline-strong);
  display: block;
}

.eco-figure {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   全宽 Banner
   ========================================================================== */

.banner-stack {
  display: grid;
  gap: clamp(16px, 2.4vw, 28px);
}

.banner-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-alt);
  box-shadow: var(--shadow-sm);
}

.banner-item img {
  width: 100%;
  height: auto;
}

/* ==========================================================================
   联系
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 20px;
  align-items: start;
}

.form-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

.field > span {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: -0.014em;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 13px 15px;
  outline: none;
  transition: background 0.24s var(--ease-soft), border-color 0.24s var(--ease-soft),
    box-shadow 0.24s var(--ease-soft);
  appearance: none;
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-3);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--surface);
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, 0.12);
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e73' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.submit-btn {
  width: 100%;
  min-height: 50px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background 0.26s var(--ease-soft), transform 0.26s var(--ease-soft);
}

.submit-btn:hover {
  background: #0a3a85;
}

.submit-btn:active {
  transform: scale(0.995);
}

.form-tip {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-2);
  min-height: 20px;
}

.form-tip.is-error {
  color: #c8102e;
}

.form-tip.is-ok {
  color: #0a7d5a;
}

.contact-side {
  display: grid;
  gap: 16px;
}

.info-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 15px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.info-line {
  display: flex;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: -0.008em;
  color: var(--ink-2);
}

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

.info-line b {
  flex: 0 0 42px;
  font-weight: 500;
  color: var(--ink-3);
}

.info-line a {
  color: var(--brand);
  word-break: break-all;
}

.qr-card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.qr-card img {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 18px;
  border-radius: 10px;
}

.qr-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.qr-card span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-3);
}

/* ==========================================================================
   页脚
   ========================================================================== */

.footer {
  background: var(--surface-alt);
  border-top: 1px solid var(--hairline);
  padding: 40px 0 48px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-2);
  letter-spacing: -0.005em;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hairline);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 24px;
  width: auto;
}

.footer-brand b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
}

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

.footer-nav a {
  color: var(--ink-2);
  font-size: 12.5px;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
}

.footer-bottom a {
  color: var(--ink-2);
}

/* ==========================================================================
   滚动渐入
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

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

.reveal.d1 {
  transition-delay: 0.08s;
}

.reveal.d2 {
  transition-delay: 0.16s;
}

.reveal.d3 {
  transition-delay: 0.24s;
}

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

/* ==========================================================================
   响应式
   ========================================================================== */

@media (max-width: 1200px) {
  .solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .intro-grid,
  .eco-grid,
  .dash-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .dash-panel {
    min-height: auto;
  }
}

@media (max-width: 834px) {
  body {
    font-size: 16px;
  }

  .stat-bar {
    grid-template-columns: 1fr 1fr;
    gap: 28px 0;
  }

  .stat:nth-child(2)::after,
  .stat:nth-child(4)::after {
    display: none;
  }

  .ip-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .ip-controls {
    padding-bottom: 0;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .kpi-row {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .ip-card {
    flex-basis: 200px;
  }

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

  .brand img {
    height: 23px;
  }
}
