/* =========================================================
   广东多米智能技术有限公司 · 企业官网 Design System
   苹果风（Apple-style）浅色换肤 · 保持 HTML 结构不变
   - 主色 (--primary) : 渐变 180° #59FCA2 → #328FF9；--primary 取蓝端 #328FF9 用于 color/border/outline 等单色场景；--primary-gradient 用于背景填充（按钮/accent）
   - 底 (--secondary) : 苹果浅灰 #F5F5F7
   - 字 (--ink) : 近黑 #1D1D1F / 次要灰 #6E6E73
   参考：duomi-website/AppleDesignSystem.md
   ========================================================= */

:root {
  /* 主色：渐变 180° #59FCA2 → #328FF9；--primary 取蓝端用于 color/border 等单色场景 */
  --primary: #328FF9;
  --primary-hover: #4FA0FF;
  --primary-deep: #2A7BD8;
  --primary-soft: rgba(50, 143, 249, 0.10);
  --primary-gradient: linear-gradient(90deg, #59FCA2 0%, #328FF9 100%);

  /* 次要色 */
  --secondary: #F5F5F7;       /* 苹果浅灰交替底 */
  --secondary-2: #E8E8ED;     /* 稍深灰（次级按钮 / chip） */
  --ink: #1D1D1F;             /* 近黑（正文/标题） */
  --ink-2: #6E6E73;           /* 次要灰文字 */
  --line: #D2D2D7;            /* 发丝分隔线 */

  --white: #FFFFFF;

  /* 动效缓动（emil 设计工程：UI 交互用强 ease-out，屏内移动用 ease-in-out） */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* 圆角 */
  --r-card: 20px;
  --r-btn: 980px;
  --r-pill: 999px;

  /* 间距节奏（8px 网格：gap=32 = 4×8） */
  --gap: 32px;
  --section-y: 112px;

  /* 阴影（柔和中性，去除蓝晕） */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
  --shadow-blue: 0 8px 28px rgba(1, 77, 185, 0.18);

  --maxw: 1200px;
  --nav-h: 56px;

  /* Windows 优先微软雅黑，macOS 优先 PingFang SC，其它平台回退 Noto Sans SC */
  --font: "Manrope", "PingFang SC", -apple-system, BlinkMacSystemFont,
    "Microsoft YaHei", "Noto Sans SC", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.h-hero { font-size: clamp(40px, 6vw, 72px); }
.h-section { font-size: clamp(28px, 4vw, 48px); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); }
.accent { color: var(--primary); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.section { padding: var(--section-y) 0; }
.section--alt { background: var(--secondary); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: 0; margin-right: 0; text-align: left; }
/* 通栏行布局：标题在左，按钮在右 */
.section-head--row { max-width: none; align-items: flex-end; }

/* 内容靠左 + 避头尾（段落纯左对齐，取消两端对齐 justify） */
body { text-align: left; }
h1, h2, h3, h4, .eyebrow, .section-head, .statement { text-align: left; }
.statement p { text-align: left; margin-left: 0; max-width: 100%; }
p, .lead, .card p, .news-item div, .tl-item p, .contact-info span,
.footer .slogan, .footer ul li, .section-head p, .member p, .team-grid .role {
  line-break: strict;            /* 避头尾：禁止行首/行尾孤字 */
  word-break: keep-all;          /* 不拆词 */
}
/* 等宽数字（指标 / 日期 / 年份） */
.metric b, .result b, .hero-stats .num, .news-item .date, .tl-item .yr {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-btn);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  /* 无 1px transparent 边框：渐变按钮在父级复杂背景上，透明 border 易产生 1px 抗锯齿白边 */
  border: 0;
  background-clip: padding-box;
  transition: background 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.2s var(--ease-out);
  font-family: inherit;
}
/* 苹果主按钮：渐变填充 pill，hover 提亮、active 加深（保留 scale 反馈） */
.btn--primary { background: var(--primary-gradient); color: #fff; }
.btn--primary:hover { filter: brightness(1.05) saturate(1.05); }
.btn--primary:active { filter: brightness(0.95) saturate(1.1); transform: scale(0.98); }
/* 苹果次级按钮：浅灰 pill */
.btn--ghost { background: var(--secondary); color: var(--ink); border-color: transparent; }
.btn--ghost:hover { background: var(--secondary-2); }
.btn--light { background: #fff; color: var(--primary); }
.btn--light:hover { background: var(--secondary); }
/* 统一按下反馈（仅缩放，不依赖颜色） */
.btn:active { transform: scale(0.98); }
/* 键盘焦点态：可访问性必需 */
.btn:focus-visible,
.nav-links a:focus-visible,
.case-card a.more:focus-visible,
.filters button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav .container { position: relative; display: flex; align-items: center; justify-content: flex-start; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand .logo-mark {
  width: 32px; height: 32px; border-radius: 9px;
  display: block; object-fit: contain;
}
/* 顶部：完整横版 logo（图标+中文+英文），高度更高、无圆角 */
.brand .logo-mark--full {
  width: auto; height: 24px; border-radius: 0;
}
/* 页脚：横版完整 logo（含文字），无圆角，宽度自适应 */
.brand .logo-mark--footer {
  width: auto; height: 27px; border-radius: 0;
}
.brand small { font-weight: 500; font-size: 12px; color: var(--ink-2); display: block; letter-spacing: 0.04em; }
/* 导航标签组：靠左排列，紧贴品牌标志右侧（不居中，nav-right 绝对定位不受影响） */
.nav-links { position: static; display: flex; align-items: center; gap: 4px; margin: 0 0 0 40px; }
.nav-right { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 4px 16px; border-radius: 5px; font-size: 15px; color: var(--ink-2); font-weight: 500;
  transition: color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); background: var(--secondary); }
/* 选中态：主色（#014DB9）文字 + 主色浅底，品牌色高亮 */
.nav-links a.active { color: var(--primary); background: var(--primary-soft); font-weight: 700; }
/* 语言切换器（仿 ABL 官网交互） */
.lang-switcher { position: relative; }
.lang-btn {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: none; border: 0; cursor: pointer;
  padding: 10px 12px; border-radius: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  transition: color 0.15s, background 0.15s;
  /* 防颤抖：提升为独立合成层，避免毛玻璃导航上 hover 背景变化引起逐帧重绘抖动 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.lang-btn:hover { color: var(--ink); background: var(--secondary); }
.lang-btn svg { flex-shrink: 0; }
/* 当前语言文字固定宽度并居中：中文/繁體/English 切换时按钮总宽恒定，图标与箭头位置零变化 */
.lang-current { display: inline-block; min-width: 54px; text-align: center; }
.lang-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 128px; margin: 0; padding: 6px; list-style: none;
  background: #fff; border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(0.95);
  transform-origin: top right;
  transition: opacity 0.16s var(--ease-out), transform 0.16s var(--ease-out), visibility 0.16s;
  z-index: 120;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0) scale(1);
}
.lang-dropdown li {
  padding: 10px 14px; border-radius: 9px;
  font-size: 14px; color: var(--ink-2); cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.lang-dropdown li:hover { background: var(--bg); color: var(--ink); }
.lang-dropdown li.active { color: var(--primary); font-weight: 700; }
/* 英文（非中文）模式下主标题字号整体缩小：全屏上限收紧至 50px（原 58px），中间分辨率与移动端不受影响；仅作用于 .h-hero，中文不受影响 */
html[lang="en"] .hero .h-hero { font-size: clamp(32px, 4.8vw, 50px); }
html[lang="en"] .page-hero__text .h-hero { font-size: clamp(29px, 4.16vw, 51px); }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--white);
  /* 品牌插画原图 1920×1050，等比缩放 1/3（640×350），不拉伸变形 */
  background-image: url("../images/hero-visual.jpg");
  background-repeat: no-repeat;
  background-size: calc(1920px / 3 * 1.1) calc(1050px / 3 * 1.1);
  background-position: right 40px center;
  padding: 80px 0;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: stretch; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; flex-wrap: wrap; }
.hero-stats .num { font-size: 32px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.hero-stats .lbl { font-size: 13px; color: var(--ink-2); }

/* ---------- 动效：Hero 首屏 stagger 入场（emil 设计工程） ---------- */
/* backwards 填充：不支持动画的浏览器直接显示终态，不隐藏内容 */
.hero .eyebrow, .hero .h-hero, .hero .lead, .hero .hero-actions, .hero .hero-stats {
  animation: heroUp 0.55s var(--ease-out) backwards;
}
.hero .eyebrow { animation-delay: 0.05s; }
.hero .h-hero { animation-delay: 0.15s; }
.hero .lead { animation-delay: 0.28s; }
.hero .hero-actions { animation-delay: 0.4s; }
.hero .hero-stats { animation-delay: 0.52s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 动效：滚动入场（.reveal + IntersectionObserver 注入 .in-view） ---------- */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  will-change: transform, opacity;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
/* 网格内错开浮现：3 列业务卡 / 4 列案例卡，间隔 60ms（30-80ms 区间） */
.grid-3 > .reveal:nth-child(3n+2) { transition-delay: 60ms; }
.grid-3 > .reveal:nth-child(3n+3) { transition-delay: 120ms; }
.grid-4 > .reveal:nth-child(4n+2) { transition-delay: 60ms; }
.grid-4 > .reveal:nth-child(4n+3) { transition-delay: 120ms; }
.grid-4 > .reveal:nth-child(4n+4) { transition-delay: 180ms; }

/* ---------- 子页面头部（参考图布局） ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  /* 霓虹色散基底：浅蓝白底 + 三道柔和径向光晕（蓝/紫/青）形成散射效果 */
  background-color: #FAFBFD;
  background-image:
    radial-gradient(ellipse 620px 420px at 12% 18%, rgba(1, 77, 185, 0.11), transparent 70%),
    radial-gradient(ellipse 520px 360px at 88% 22%, rgba(123, 104, 238, 0.10), transparent 70%),
    radial-gradient(ellipse 720px 460px at 50% 92%, rgba(0, 200, 220, 0.08), transparent 72%);
  /* 子页背景高度一致且固定：flex 垂直居中，5 个子页 hero 等高 */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
  padding: 0;
}
/* 每个子页 hero 再叠一道本页专属色调，保持整体协调的同时区分气质 */
.page-hero--about    { background-image: linear-gradient(180deg, transparent 0%, rgba(94, 92, 230, 0.05) 100%), radial-gradient(ellipse 620px 420px at 12% 18%, rgba(1, 77, 185, 0.11), transparent 70%), radial-gradient(ellipse 520px 360px at 88% 22%, rgba(123, 104, 238, 0.10), transparent 70%), radial-gradient(ellipse 720px 460px at 50% 92%, rgba(0, 200, 220, 0.08), transparent 72%); }
.page-hero--about::before    { content:""; position:absolute; inset:auto 8% -10% auto; width:480px; height:380px; background:radial-gradient(circle, rgba(94, 92, 230, 0.10), transparent 70%); filter:blur(40px); pointer-events:none; }
.page-hero--solutions { background-image: linear-gradient(180deg, transparent 0%, rgba(0, 200, 220, 0.05) 100%), radial-gradient(ellipse 620px 420px at 12% 18%, rgba(1, 77, 185, 0.11), transparent 70%), radial-gradient(ellipse 520px 360px at 88% 22%, rgba(123, 104, 238, 0.10), transparent 70%), radial-gradient(ellipse 720px 460px at 50% 92%, rgba(0, 200, 220, 0.08), transparent 72%); }
.page-hero--solutions::before { content:""; position:absolute; inset:auto 8% -10% auto; width:480px; height:380px; background:radial-gradient(circle, rgba(0, 200, 220, 0.11), transparent 70%); filter:blur(40px); pointer-events:none; }
.page-hero--cases    { background-image: linear-gradient(180deg, transparent 0%, rgba(52, 199, 142, 0.05) 100%), radial-gradient(ellipse 620px 420px at 12% 18%, rgba(1, 77, 185, 0.11), transparent 70%), radial-gradient(ellipse 520px 360px at 88% 22%, rgba(123, 104, 238, 0.10), transparent 70%), radial-gradient(ellipse 720px 460px at 50% 92%, rgba(0, 200, 220, 0.08), transparent 72%); }
.page-hero--cases::before    { content:""; position:absolute; inset:auto 8% -10% auto; width:480px; height:380px; background:radial-gradient(circle, rgba(52, 199, 142, 0.10), transparent 70%); filter:blur(40px); pointer-events:none; }
.page-hero--news     { background-image: linear-gradient(180deg, transparent 0%, rgba(168, 85, 247, 0.05) 100%), radial-gradient(ellipse 620px 420px at 12% 18%, rgba(1, 77, 185, 0.11), transparent 70%), radial-gradient(ellipse 520px 360px at 88% 22%, rgba(123, 104, 238, 0.10), transparent 70%), radial-gradient(ellipse 720px 460px at 50% 92%, rgba(0, 200, 220, 0.08), transparent 72%); }
.page-hero--news::before     { content:""; position:absolute; inset:auto 8% -10% auto; width:480px; height:380px; background:radial-gradient(circle, rgba(168, 85, 247, 0.11), transparent 70%); filter:blur(40px); pointer-events:none; }
.page-hero--contact  { background-image: linear-gradient(180deg, transparent 0%, rgba(255, 122, 89, 0.05) 100%), radial-gradient(ellipse 620px 420px at 12% 18%, rgba(1, 77, 185, 0.11), transparent 70%), radial-gradient(ellipse 520px 360px at 88% 22%, rgba(123, 104, 238, 0.10), transparent 70%), radial-gradient(ellipse 720px 460px at 50% 92%, rgba(0, 200, 220, 0.08), transparent 72%); }
.page-hero--contact::before  { content:""; position:absolute; inset:auto 8% -10% auto; width:480px; height:380px; background:radial-gradient(circle, rgba(255, 122, 89, 0.11), transparent 70%); filter:blur(40px); pointer-events:none; }
/* hero 文字层 z-index 在光晕之上，确保可读性 */
.page-hero .container, .page-hero__text { position: relative; z-index: 1; }
/* 子页垂直渐变覆盖层：自下而上，底部透明(alpha 0) → 顶部 20% 不透明度(alpha 0.2)，
   叠加在霓虹光晕之上，pointer-events:none 不遮挡交互，文字层 z-index 更高保证可读性 */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1, 77, 185, 0) 0%, rgba(1, 77, 185, 0.1) 100%);
  pointer-events: none;
  z-index: 0;
}
.page-hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.page-hero__text .eyebrow { margin-bottom: 16px; }
.page-hero__text .h-hero {
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-align: center;
}
.page-hero__divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: var(--primary-gradient);
  margin: 22px auto 20px;
}
.page-hero__text .lead {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.page-hero__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  width: 100%;
  max-width: 720px;
  justify-items: center;
}
.page-hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.page-hero__feature .ico {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 18px;
}
.page-hero__feature span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.page-hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(150deg, #F5F5F7 0%, #FFFFFF 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.page-hero__visual svg {
  width: 88%;
  height: 88%;
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 32px;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
  min-width: 0;
  /* 让卡片内 flex 纵向分布，.metric 用 margin-top:auto 贴底对齐，
     解决英文状态下卡片标题/描述长度不一致导致底部指标错位 */
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary); font-size: 22px; margin-bottom: 18px;
}
/* IconPark 内联 SVG：尺寸统一，颜色继承 .ico 文字色（currentColor） */
.ico svg, .icon svg { display: block; }
.ico svg { width: 24px; height: 24px; }
.page-hero__feature .ico svg,
.contact-info .row .ico svg { width: 20px; height: 20px; }
.modal .icon svg { width: 28px; height: 28px; }
/* 卡片内间距节奏（8px 网格统一）：标题↔标签 16、标签↔描述 16、描述↔分割线 24 */
.card h3 { font-size: 19px; margin-bottom: 16px; }
.card p { color: var(--ink-2); font-size: 15px; margin-top: 16px; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.card .tags span {
  font-size: 12px; padding: 4px 11px; border-radius: var(--r-pill);
  background: var(--secondary); color: var(--ink-2);
}
.card .metric {
  margin-top: auto; padding-top: 32px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 8px;
}
.card .metric b { font-size: 26px; color: var(--primary); font-weight: 800; letter-spacing: -0.02em; }
.card .metric span { font-size: 13px; color: var(--ink-2); }

/* 主色焦点卡已与普通卡片样式统一（白底+主色文字点缀），无独立覆盖；保留类名供未来差异化时使用 */

/* ---------- 关于一句话 / 引用条 ---------- */
.statement {
  background: transparent; color: var(--ink); border-radius: 0; padding: 0;
  text-align: left;
}
.statement p { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; max-width: 1000px; line-height: 1.25; letter-spacing: -0.02em; }
.statement .accent { color: var(--primary); }

/* ---------- 资质 Logo 墙 ---------- */
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.logo-wall .badge {
  border: 1px solid var(--line); border-radius: 14px; padding: 22px 14px; text-align: center;
  background: var(--white); font-weight: 700; font-size: 14px; color: var(--ink-2);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.logo-wall .badge .mk { width: 34px; height: 34px; border-radius: 9px; background: var(--secondary-2); color: var(--primary); display: grid; place-items: center; font-weight: 800; }

/* ---------- 新闻列表 ---------- */
.news-list { display: grid; gap: 18px; }
.news-item {
  display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center;
  padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-card);
  transition: border-color 0.18s, box-shadow 0.18s; background: #fff;
}
.news-item:hover { border-color: transparent; box-shadow: var(--shadow); }
.news-item .date { color: var(--primary); font-weight: 700; font-size: 14px; }
.news-item h3 { font-size: 17px; }
.news-item .cat { font-size: 12px; padding: 3px 11px; border-radius: var(--r-pill); background: var(--primary-soft); color: var(--primary); white-space: nowrap; }
.news-item .cat.insight { background: #FBEFD6; color: #B45309; }

/* 新闻卡片可点击：整卡可点 + 展开/收起内联详情 */
.news-item { position: relative; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.news-item:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: var(--r-card); }
.news-item:active { transform: scale(0.994); }
.news-toggle {
  position: absolute; top: 22px; right: 22px; width: 18px; height: 18px;
  pointer-events: none; transition: transform 0.28s ease;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='18'%20height='18'%20viewBox='0%200%2048%2048'%20fill='none'%3E%3Cpath%20d='M12%2019L24%2031L36%2019'%20stroke='%23014DB9'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E");
}
.news-item.expanded .news-toggle { transform: rotate(180deg); }
.news-detail {
  grid-column: 1 / -1; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
}
.news-item.expanded .news-detail { max-height: 320px; opacity: 1; margin-top: 16px; }
.news-detail p { font-size: 14px; line-height: 1.7; color: var(--ink-2); }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 860px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 26px; }
.tl-item::before {
  content: ""; position: absolute; left: -28px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--primary); box-shadow: 0 0 0 4px var(--primary-soft);
  box-sizing: border-box;
}
.tl-item .yr { font-weight: 800; color: var(--primary); font-size: 15px; letter-spacing: -0.01em; }
.tl-item h3 { font-size: 18px; margin: 4px 0 6px; }
.tl-item p { color: var(--ink-2); font-size: 15px; }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.member { text-align: left; }
.member .avatar {
  width: 100%; aspect-ratio: 1/1; border-radius: 18px; margin-bottom: 14px;
  object-fit: cover; display: block;
}
.member h3 { font-size: 17px; }
.member .role { font-size: 13px; color: var(--primary); font-weight: 600; }
.member p { font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ---------- 案例筛选 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button {
  padding: 9px 18px; border-radius: var(--r-pill); border: 1px solid transparent;
  background: var(--secondary); color: var(--ink-2); font-weight: 600; font-size: 14px; cursor: pointer;
  font-family: inherit; transition: 0.15s;
}
.filters button:hover { color: var(--ink); }
.filters button.active { background: var(--primary); color: #fff; }

/* ---------- 案例卡 ---------- */
.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}
.case-card > * { min-width: 0; max-width: 100%; }
.case-card .tags { margin-bottom: 12px; }
.case-card p { flex: 1 1 auto; margin-bottom: 0; }
.case-card .result {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.case-card .result div b { display: block; font-size: 22px; color: var(--primary); font-weight: 800; letter-spacing: -0.02em; }
.case-card .result div span { font-size: 12px; color: var(--ink-2); }
.case-card .more { margin-top: 18px; color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; gap: 6px; align-items: center; transition: gap 0.18s ease, opacity 0.18s ease; }
.case-card a.more { text-decoration: none; }
.case-card .more:hover { gap: 12px; opacity: 0.82; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-info .row { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .row .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }
.contact-info .row b { font-size: 15px; display: block; }
.contact-info .row span { font-size: 14px; color: var(--ink-2); }
.map-wrap { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); margin-top: 20px; min-height: 220px; background: var(--secondary); }
.map-wrap iframe { width: 100%; height: 240px; border: 0; display: block; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 36px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: #EF4444; margin-left: 3px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: var(--secondary);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); background: #fff; }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #EF4444; font-size: 12px; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #EF4444; }
.field.invalid .err { display: block; }
/* 提交成功弹窗（苹果风：毛玻璃遮罩 + 干净圆角） */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: none; place-items: center;
  padding: 20px;
}
.modal-overlay.open { display: grid; }
.modal {
  background: #fff; border-radius: 22px; padding: 36px 32px;
  max-width: 380px; width: 100%; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.modal .icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: #E7F7EE; color: #047857; font-size: 26px; }
.modal h4 { font-size: 20px; margin-bottom: 8px; text-align: center; }
.modal p { color: var(--ink-2); font-size: 15px; margin-bottom: 24px; text-align: center; }
.modal .btn { width: 100%; }

/* ---------- 页脚（苹果浅灰风） ---------- */
.footer { background: var(--secondary); color: var(--ink-2); padding: 56px 0 28px; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--primary); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { color: var(--ink); margin-bottom: 16px; }
.footer .slogan { font-size: 14px; color: var(--ink-2); max-width: 280px; }
.footer h4 { color: var(--ink); font-size: 15px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; font-size: 14px; }
.footer .copy { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; font-size: 13px; color: var(--ink-2); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .page-hero .container { align-items: center; text-align: center; }
}
@media (max-width: 768px) {
  :root { --section-y: 72px; }
  .nav-links {
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    transform: none;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255,255,255,0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 10px 16px 18px; display: none;
    margin: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; }
  .nav-right { right: 16px; gap: 2px; }
  /* 移动端语言切换按钮：去除图标，仅保留文字 */
  .lang-btn svg { display: none; }
  .lang-btn { padding: 8px 10px; }
  .lang-dropdown { right: -8px; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  .news-item .cat { justify-self: start; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero {
    padding: 80px 0 64px;
    /* H5 端背景图透明度为 0（完全隐藏）：叠加 100% 白色遮罩层，背景图不参与渲染可见层，仅 PC 端显示（背景图无法直接设置 opacity） */
    background-image: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,1)), url("../images/hero-visual.jpg");
    background-size: 320px auto;
    background-position: right -32px top;
  }
  .page-hero { display: block; height: auto; padding: 80px 0 64px; }
  .page-hero__features { grid-template-columns: repeat(2, 1fr); }
  .statement { padding: 0; }
}

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn, .card, .nav-links a, .case-card .more { transition: none; }
  /* 关闭首屏 stagger 与滚动入场：直接显示终态，保留可读性 */
  .hero .eyebrow, .hero .h-hero, .hero .lead, .hero .hero-actions, .hero .hero-stats,
  .reveal {
    opacity: 1 !important; transform: none !important;
    animation: none !important; transition: none !important;
  }
}
