/* ============================================================
   竹远 ZHUYUAN — Design System
   自然 · 低碳 · 科技 | Nature · Carbon · Technology
   ============================================================ */

:root {
  /* 色板 Palette */
  --ink: #1d1d1f;
  --ink-soft: #424245;
  --muted: #6e6e73;
  --faint: #a1a1a6;
  --bg: #fafaf8;
  --bg-card: #f5f4f0;
  --white: #ffffff;
  --green-deep: #1e3a2f;
  --green: #2d5a44;
  --green-soft: #e8efe9;
  --gold: #c9a96a;
  --brown: #8a6f4d;
  --line: rgba(0, 0, 0, 0.08);
  --nav-bg: rgba(250, 250, 248, 0.72);

  /* 字阶 Type scale */
  --fs-hero: clamp(40px, 6.5vw, 76px);
  --fs-h1: clamp(32px, 5vw, 56px);
  --fs-h2: clamp(26px, 3.6vw, 40px);
  --fs-h3: clamp(19px, 2.2vw, 24px);
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-en: 11px;

  --nav-h: 60px;
  --radius: 18px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

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

body {
  font-family: "PingFang SC", "Source Han Sans SC", "Noto Sans SC", "Microsoft YaHei",
    "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }

/* ---------- 通用排版 ---------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.en {
  display: block;
  font-size: var(--fs-en);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 500;
  margin-top: 6px;
}
.en.light { color: rgba(255, 255, 255, 0.65); }

.eyebrow {
  font-size: var(--fs-small);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--gold); }

h1, h2, h3 { font-weight: 600; letter-spacing: 0.01em; line-height: 1.25; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--muted);
  font-weight: 400;
  max-width: 640px;
}

.section { padding: 110px 0; }
.section-tight { padding: 70px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--nav-bg);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease),
    transform 0.45s var(--ease);
}
.nav.scrolled {
  background: rgba(250, 250, 248, 0.88);
  border-bottom-color: var(--line);
}

/* 首页导航：深绿通栏底色（半透明 + 呼吸感） */
.nav-home,
.nav-home.scrolled {
  background: linear-gradient(180deg, rgba(38, 68, 55, 0.82) 0%, rgba(25, 49, 39, 0.72) 100%);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.18),
    0 10px 32px rgba(10, 22, 16, 0.2);
}
.nav-home .brand { color: #fff; }
.nav-home .brand-logo { background: rgba(255, 255, 255, 0.16); }
.nav-home .brand .en { color: rgba(255, 255, 255, 0.45); }
.nav-home .nav-links a { color: rgba(255, 255, 255, 0.75); }
.nav-home .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.nav-home .nav-links a.active { color: #fff; }
.nav-home .nav-cta { background: var(--gold); color: var(--green-deep) !important; }
.nav-home .nav-cta:hover { background: #dcc08a; }
.nav-home .nav-toggle span { background: #fff; }

/* 内页导航：无底色（透明），下滚隐藏 / 上滚出现 */
.nav-plain,
.nav-plain.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.nav-plain.hide { transform: translateY(-100%); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  flex-shrink: 0;
}
.brand-logo {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
}
.brand .en { margin-top: 0; letter-spacing: 0.12em; font-size: 9px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-align: center;
  line-height: 1.2;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--ink-soft);
  transition: color 0.25s, background 0.25s;
  white-space: nowrap;
}
.nav-links a .zh { font-size: 13px; }
.nav-links a .en {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.52;
}
.nav-links a:hover { color: var(--green-deep); background: rgba(45, 90, 68, 0.07); }
.nav-links a.active { color: var(--green); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  line-height: 1.2;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--green-deep);
  padding: 6px 17px !important;
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s;
}
.nav-cta .en { font-size: 8px; letter-spacing: 0.14em; opacity: 0.72; font-weight: 600; }
.nav-cta:hover { background: var(--green); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 页面头图（内页 hero） ---------- */
.page-hero {
  position: relative;
  height: 68vh;
  min-height: 460px;
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--green-deep);
}
.page-hero .ph-media, .page-hero .ph-media img, .page-hero .ph-media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 20, 15, 0.6) 0%, rgba(10, 20, 15, 0.08) 55%);
}
.page-hero .ph-caption {
  position: absolute;
  left: 0; right: 0;
  bottom: 12%;
  z-index: 2;
  color: #fff;
}
.page-hero .ph-caption h1 { font-size: var(--fs-h1); text-shadow: 0 2px 24px rgba(0,0,0,0.35); }
.page-hero .ph-caption .en { font-size: 12px; }
.page-hero .ph-caption p {
  margin-top: 12px;
  font-size: clamp(15px, 1.8vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green); }
.btn-ghost { border: 1px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-arrow::after { content: "→"; transition: transform 0.25s; }
.btn-arrow:hover::after { transform: translateX(4px); }

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -18px rgba(30, 58, 47, 0.22);
}
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 26px 26px 30px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--muted); font-size: 14.5px; }
.card-body .en { margin-top: 12px; }
.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
}

/* 图文横排 feature */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature.rev { direction: rtl; }
.feature.rev > * { direction: ltr; }
.feature-img { border-radius: var(--radius); overflow: hidden; }
.feature-img img, .feature-img video { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feature-txt h2 { margin-bottom: 18px; }
.feature-txt p { color: var(--muted); margin-bottom: 14px; }

/* 数字条 stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat .num {
  font-size: clamp(34px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat .num sup { font-size: 0.45em; font-weight: 600; }
.stat .lab { margin-top: 4px; color: var(--muted); font-size: 14px; }

/* 大字标语区 manifesto */
.manifesto {
  background: var(--green-deep);
  color: #fff;
  text-align: center;
}
.manifesto h2 {
  font-size: clamp(28px, 4.5vw, 54px);
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.35;
  font-weight: 600;
}
.manifesto .en { color: rgba(255, 255, 255, 0.55); margin-top: 20px; font-size: 12px; }

/* 时间线 timeline */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--green), var(--gold));
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -27px; top: 8px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2.5px solid var(--green);
}
.timeline-item .year {
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
}
.timeline-item h3 { font-size: 17px; margin: 4px 0 6px; }
.timeline-item p { color: var(--muted); font-size: 14.5px; }

/* 列表 chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 500;
}
.chip-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* ---------- 竹建筑：全幅底图理念区 ---------- */
.arch-band {
  position: relative;
  overflow: hidden;
}
.ab-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 142%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.arch-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(270deg,
    rgba(12, 22, 17, 0.82) 0%,
    rgba(12, 22, 17, 0.52) 48%,
    rgba(12, 22, 17, 0.16) 100%);
}
.ab-inner {
  position: relative;
  z-index: 2;
  padding: 130px 0;
  color: #fff;
  display: flex;
  justify-content: flex-end;
}
.ab-txt { max-width: 560px; }
.ab-txt h2 { color: #fff; margin-bottom: 24px; }
.ab-txt .eyebrow { color: rgba(255, 255, 255, 0.75); margin-bottom: 20px; }
.ab-txt p { line-height: 2; }
.ab-txt .en-p { margin-top: 16px; line-height: 1.85; }
.ab-txt .chips { gap: 12px 14px; }
@media (max-width: 860px) {
  .ab-inner { padding: 90px 0; justify-content: flex-start; }
  .ab-bg { width: 100%; }
  .arch-band::before {
    background: linear-gradient(90deg,
      rgba(12, 22, 17, 0.82) 0%,
      rgba(12, 22, 17, 0.52) 48%,
      rgba(12, 22, 17, 0.16) 100%);
  }
  .ab-txt p { line-height: 1.9; }
}

/* ---------- 全幅横图带 / 视频底图带（文字浮于上方） ---------- */
.img-band .ab-bg,
.video-band .ab-bg { width: 100%; max-width: none; }
.img-band::before { background: rgba(12, 22, 17, 0.42); }
.video-band::before { background: rgba(12, 22, 17, 0.55); }
.img-band .ab-inner { justify-content: center; padding: 150px 0; }
.video-band .ab-inner { justify-content: flex-start; }
.img-band .ab-txt { max-width: none; text-align: center; }
.img-band .ab-txt h2 { margin-bottom: 12px; }
.video-band .ab-txt { max-width: 640px; }
.video-band .card-link { color: #fff; }
.video-band .card-link:hover { color: var(--gold); }
.img-band .en-p.light,
.video-band .en-p.light { color: rgba(255, 255, 255, 0.85); }
.video-band .eyebrow.light { color: var(--gold); }

/* 论文/出版物 */
.pub {
  border-top: 1px solid var(--line);
  padding: 26px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
}
.pub:last-child { border-bottom: 1px solid var(--line); }
.pub .idx { font-size: 26px; font-weight: 700; color: var(--gold); }
.pub h3 { font-size: 17px; margin-bottom: 6px; }
.pub p { color: var(--muted); font-size: 14px; }

/* 联系页 */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: stretch; }
.contact-grid > div { display: flex; flex-direction: column; }
.contact-grid .contact-item { flex: 1; align-items: center; }
.contact-grid .qr-card { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.contact-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item .ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-item .lab { font-size: 12.5px; color: var(--faint); letter-spacing: 0.08em; }
.contact-item .val { font-size: 17px; font-weight: 600; margin-top: 2px; }
.contact-item .val small { font-weight: 400; color: var(--muted); }
.qr-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
}
.qr-card + .qr-card { margin-top: 24px; }
.qr-card img {
  width: 168px; height: 168px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 16px;
}
.qr-card h3 { font-size: 16px; }
.qr-card p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }

/* ---------- CTA 区 ---------- */
.cta-band {
  background: var(--green-deep);
  color: #fff;
  text-align: center;
  padding: 110px 0;
}
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { color: rgba(255, 255, 255, 0.7); margin: 16px auto 36px; max-width: 560px; }

/* 竹金色 CTA（与深绿区块区分） */
.cta-gold {
  background: linear-gradient(135deg, #c9a96a 0%, #b8934f 100%);
  color: var(--green-deep);
}
.cta-gold h2 { color: var(--green-deep); }
.cta-gold p { color: rgba(30, 58, 47, 0.78); }

/* 中英双栏对照（公司简介等） */
.lang-duo {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px 64px;
  align-items: start;
}
.lang-duo .lead { margin-bottom: 0; }
.lang-duo .en-p { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .lang-duo { grid-template-columns: 1fr; gap: 14px; }
}

.stats-2 { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }

/* ---------- 色块系统：相邻区块用不同底色区分，克制不零碎 ----------
   白（默认） → 浅灰暖 bg-soft / 竹青 bg-mint / 竹黄 bg-sand → 深绿 on-dark / 竹金 cta-gold */
.section.bg-soft { background: var(--bg-card); }
.section.bg-mint { background: #e9f0e9; }
.section.bg-sand { background: #f4ecdf; }

/* ---------- 页脚 ---------- */
.footer {
  background: #142a21;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 36px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer .en { color: rgba(255, 255, 255, 0.35); margin-top: 2px; }
.footer a .en { display: inline-block; margin-left: 6px; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-brand p { margin-top: 14px; max-width: 280px; line-height: 1.8; }
.footer a { display: block; padding: 4px 0; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* ---------- 滚动淡入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- 首页：品牌标语 ---------- */
.home-intro { padding: 130px 0 26px; text-align: center; }
.home-intro h1 { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.22; }
.home-intro .en { margin-top: 14px; font-size: 11.5px; }

/* ---------- 首页：大图自动轮播（小米式，6 组） ---------- */
.home-groups { padding-bottom: 8px; }
.hero-group {
  position: relative;
  height: min(40vw, 600px);
  overflow: hidden;
  background: var(--green-deep);
}
.hero-group + .hero-group { margin-top: 10px; }
.hg-track {
  display: flex;
  height: 100%;
  transition: transform 0.85s var(--ease);
}
.hg-slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  overflow: hidden;
}
.hg-slide img,
.hg-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hg-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8, 18, 13, 0.72) 0%,
    rgba(8, 18, 13, 0.28) 38%,
    rgba(8, 18, 13, 0) 66%);
}
.hg-cap {
  position: absolute;
  left: 0; right: 0; bottom: 46px;
  z-index: 2;
  padding: 0 48px;
  color: #fff;
  pointer-events: none;
}
.hg-cap h3 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.hg-cap .en { color: rgba(255, 255, 255, 0.72); margin-top: 4px; font-size: 11.5px; }
.hg-cap p {
  margin-top: 10px;
  font-size: clamp(13px, 1.3vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}
.hg-cap p.en {
  margin-top: 4px;
  font-size: clamp(11px, 1vw, 13px);
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.55;
}

/* ---------- 项目设计单位小字标注 ---------- */
.credit {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.2px;
}
.hg-cap .credit {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 12px;
}
.sc-head .credit { margin-top: 16px; }

.hg-more {
  position: absolute;
  right: 30px; bottom: 50px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 4px;
  transition: border-color 0.25s;
}
.hg-more .en {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}
.hg-more:hover { border-color: #fff; }

/* ---------- 通用中英双语段落 ---------- */
.en-p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
  margin-top: 6px;
}
.on-dark .en-p, .en-p.light { color: rgba(255, 255, 255, 0.62); }

/* ---------- 小米式大图展示（子页） ---------- */
.showcase { padding: 30px 0 90px; }
.sc-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
  padding: 0 24px;
}
.sc-head h2 { font-size: clamp(24px, 3vw, 38px); }
.sc-head .sc-zh { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); line-height: 1.8; }
.sc-head .en-p { margin-top: 6px; }
.sc-media { overflow: hidden; }
.sc-media img {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.sc-media:hover img { transform: scale(1.025); }
.sc-media video {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.hg-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.hg-dots button {
  width: 44px; height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.32);
  transition: background 0.3s, width 0.3s;
}
.hg-dots button:hover { background: rgba(255, 255, 255, 0.6); }
.hg-dots button.on { background: var(--gold); width: 60px; }

.hg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}
.hero-group:hover .hg-arrow { opacity: 1; }
.hg-arrow:hover { background: rgba(255, 255, 255, 0.32); }
.hg-arrow.prev { left: 22px; }
.hg-arrow.next { right: 22px; }

@media (max-width: 860px) {
  .home-intro { padding: 104px 0 20px; }
  .home-intro h1 { font-size: clamp(24px, 6.5vw, 34px); }
  .home-intro .en { font-size: 10px; letter-spacing: 0.14em; }
  .hero-group { height: 64vw; }
  .hero-group + .hero-group { margin-top: 8px; }
  .hg-cap { bottom: 42px; padding: 0 20px; }
  .hg-cap p, .hg-cap p.en { display: none; }
  .hg-arrow { display: none; }
  .hg-more { right: 20px; bottom: 44px; font-size: 12px; }
  .hg-more .en { font-size: 8.5px; }
  .sc-head .sc-zh { font-size: 14px; }
  .sc-media img, .sc-media video { aspect-ratio: 16 / 9; }
  .hg-dots button { width: 26px; }
  .hg-dots button.on { width: 36px; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .nav-links a { padding: 8px 6px; font-size: 12px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(250, 250, 248, 0.97);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { flex-direction: row; align-items: baseline; gap: 10px; font-size: 16px; padding: 13px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links a .en { font-size: 10px; }
  .nav-cta { margin-top: 14px; text-align: center; border-bottom: none !important; }
  .nav-cta .en { font-size: 10px; }
  .nav-toggle { display: block; }

  /* 首页：深色导航下的移动菜单 */
  .nav-home .nav-links {
    background: rgba(22, 46, 37, 0.98);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .nav-home .nav-links a { border-bottom-color: rgba(255, 255, 255, 0.1); }

  .section { padding: 72px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 28px; }
  .feature.rev { direction: ltr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .page-hero { height: 56vh; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pub { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
