/* =====================================================================
 * 铁鑫达官网样式 styles.css
 * ---------------------------------------------------------------------
 * 目录 (TOC)
 *   1. Design Tokens          :root 变量(颜色/阴影/按钮/卡片)
 *   2. 基础 / 重置             html body 全局排版
 *   3. 站点头部 / 导航          .site-header / .nav / .nav-toggle
 *   4. Hero 首屏               .hero / .hero-copy / .hero-actions
 *   5. 通用组件                 .eyebrow / .button-* / 卡片基座
 *   6. Section: 公司定位         .about-section
 *   7. Section: 核心业务         .services-section
 *   8. Section: 工程能力         .capability-section
 *   9. Section: 典型案例         .projects-* / 轮播 / 卡片
 *  10. Section: 流程 / 资质      .process-section / .qualification-section
 *  11. Section: 合作模式         .collaboration-section
 *  12. Section: 联系我们         .contact-section
 *  13. 回到顶部                 .back-to-top
 *  14. 页脚                    .site-footer
 *  15. 弹层: 预览 / 联系         .preview-modal / .contact-modal
 *  16. 通用动效 / reduced-motion
 *  17. 响应式                  @media 断点
 *
 * 命名约定
 *   - BEM-ish: .block / .block__elem / .block--mod(仅部分模块)
 *   - 按钮基座类: .button-primary / .button-secondary / 其余带 size 后缀
 *   - 新增组件建议使用 --btn-* / --card-* token,改主题色只调变量
 * ===================================================================== */

:root {
  /* --- 颜色 --- */
  --bg: #f5f5f1;
  --panel: #ffffff;
  --surface-1: #f5f5f1;
  --surface-2: #eff1ec;
  --line: rgba(18, 24, 18, 0.1);
  --text: #111513;
  --muted: #5d6664;
  --accent: #006f6c;
  --accent-ink: #004f4d;
  --accent-soft: rgba(0, 111, 108, 0.1);
  --danger: #c6432e;

  /* --- 布局 --- */
  --max: 80rem;
  --radius: 0.5rem;

  /* --- 阴影 --- */
  --shadow-soft: 0 1.125rem 2.625rem rgba(20, 28, 20, 0.05);
  --shadow-panel: 0 1.5rem 3.75rem rgba(24, 33, 24, 0.06);

  /* --- 按钮 design token -------------------------------------------
   * 命名: --btn-{维度}-{角色}
   *   尺寸:  sm / md / lg   —— padding + font-size
   *   角色:  primary / secondary / ghost —— 主次 / 文字
   *   变体:  bg / fg / border / shadow
   * 后续换主色只改 --btn-bg-primary / --btn-border-primary 即可. */
  --btn-radius: 0.5rem;
  --btn-radius-pill: 62.4375rem;

  --btn-pad-sm: 0.6875rem 1rem;
  --btn-pad-md: 0.875rem 1.5rem;
  --btn-pad-lg: 1rem 1.875rem;

  --btn-font-sm: 0.8125rem;
  --btn-font-md: 0.875rem;
  --btn-font-lg: 0.9375rem;

  --btn-bg-primary: var(--accent);
  --btn-bg-primary-hover: var(--accent-ink);
  --btn-fg-primary: #ffffff;
  --btn-border-primary: var(--accent);

  --btn-bg-secondary: #ffffff;
  --btn-bg-secondary-hover: #f7f8f4;
  --btn-fg-secondary: var(--text);
  --btn-border-secondary: rgba(17, 24, 32, 0.14);

  --btn-bg-ghost: transparent;
  --btn-fg-ghost: var(--text);
  --btn-border-ghost: transparent;

  --btn-shadow-lift: 0 0.625rem 1.375rem rgba(0, 111, 108, 0.22);
  --btn-shadow-idle: none;

  /* --- 卡片 design token ------------------------------------------
   * 统一 about-stat / capability-card / collab 卡 / about-card 的
   * 圆角 / 边框 / 阴影 / 内边距,避免视觉碎片化. */
  --card-radius: 0.625rem;
  --card-radius-lg: 0.875rem;
  --card-bg: #ffffff;
  --card-border: 0.0625rem solid rgba(17, 24, 32, 0.06);
  --card-shadow: 0 1.25rem 3rem rgba(17, 24, 32, 0.06);
  --card-shadow-hover: 0 1.5rem 3.5rem rgba(17, 24, 32, 0.1);
  --card-pad: 1.75rem 1.875rem;
  --card-pad-lg: 2.25rem 2.375rem;
}

/* ---------------------------------
   基础
--------------------------------- */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", sans-serif;
  line-height: 1.5;
  color: var(--text);
  overflow-x: clip;
  background: var(--bg);
  background-image:
    radial-gradient(circle at top left, rgba(0, 111, 108, 0.04), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0, 111, 108, 0.025), transparent 22%);
}

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

/* ---------------------------------
   无障碍 / A11Y
--------------------------------- */

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.625rem 1.125rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 111, 108, 0.28);
  transition: top 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
  outline: 0.125rem solid #ffffff;
  outline-offset: 0.125rem;
}

main[tabindex="-1"]:focus {
  outline: none;
}

:where(a, button, [role="button"]):focus-visible {
  outline: 0.125rem solid var(--accent);
  outline-offset: 0.1875rem;
  border-radius: 0.1875rem;
}

.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--accent);
}

.nav a[aria-current="page"]::after,
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.375rem;
  height: 0.125rem;
  background: var(--accent);
  border-radius: 0.125rem;
  transform-origin: left center;
  animation: navSpyGlow 0.35s ease-out;
}

@keyframes navSpyGlow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

button,
input,
textarea {
  font: inherit;
}


/* ---------------------------------
   通用布局
--------------------------------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: clip;
}

.section {
  padding: 5.5rem 0;
}

.wrap {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
}

/* ---------------------------------
   通用排版
--------------------------------- */

h1 {
  max-width: 13ch;
  font-size: clamp(2.75rem, 4.7vw, 4.5rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

h2 {
  max-width: min(42.5rem, 100%);
  margin: 0 0 1.25rem;
  font-size: clamp(2.625rem, 4.6vw, 4.25rem);
  line-height: 1.1;
  font-weight: 800;
}

p.eyebrow,
.eyebrow {
  margin: 0 0 0.875rem;
  color: #006f6c !important;
  opacity: 0.92;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

a.eyebrow-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 0.0625rem solid rgba(0, 111, 108, 0.32);
  border-radius: 62.4375rem;
  background: rgba(0, 111, 108, 0.06);
  text-decoration: none;
  letter-spacing: 0.14em;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

a.eyebrow-back svg {
  transition: transform 0.2s ease;
}

a.eyebrow-back:hover,
a.eyebrow-back:focus-visible {
  background: rgba(0, 111, 108, 0.12);
  border-color: rgba(0, 111, 108, 0.55);
  color: #004f4c !important;
}

a.eyebrow-back:hover svg,
a.eyebrow-back:focus-visible svg {
  transform: translateX(-0.1875rem);
}

/* ---------------------------------
   按钮系统
   primary: 关键转化按钮
   secondary: 次级操作 / 轻量跳转
--------------------------------- */

.header-cta,
.button-primary,
.button-secondary,
.projects-more-btn,
.project-contact,
.page-hero .back-link,
.cases-toolbar button,
.nav .nav-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: var(--btn-pad-md);
  border-radius: var(--btn-radius);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border: 0.0625rem solid transparent;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    opacity 0.25s ease;
  will-change: transform;
}

.header-cta,
.button-primary,
.projects-more-btn,
.nav .nav-cta {
  border-color: var(--btn-border-primary);
  background: linear-gradient(
    135deg,
    #037a75 0%,
    var(--btn-bg-primary) 55%,
    var(--btn-bg-primary-hover) 100%
  );
  color: var(--btn-fg-primary);
  box-shadow: 0 0.875rem 1.75rem rgba(0, 111, 108, 0.22), inset 0 0.0625rem 0 rgba(255, 255, 255, 0.18);
}

.button-secondary,
.project-contact,
.page-hero .back-link,
.cases-toolbar button {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(0, 111, 108, 0.18);
  color: var(--accent);
  box-shadow: 0 0.625rem 1.375rem rgba(20, 28, 20, 0.06);
  backdrop-filter: blur(0.5rem);
}

.header-cta {
  font-size: var(--btn-font-md);
  letter-spacing: 0.08em;
}

.button-primary,
.projects-more-btn {
  font-size: var(--btn-font-md);
  font-weight: 800;
}

.button-primary::after,
.button-secondary::after {
  content: "→";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  transform: translateX(0);
  transition: transform 0.25s ease;
}

.header-cta:hover,
.button-primary:hover,
.projects-more-btn:hover,
.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  transform: translateY(-0.125rem);
  box-shadow: 0 1.25rem 2.25rem rgba(0, 111, 108, 0.28), inset 0 0.0625rem 0 rgba(255, 255, 255, 0.22);
}

.header-cta:hover,
.header-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible,
.projects-more-btn:hover,
.projects-more-btn:focus-visible,
.nav .nav-cta:hover,
.nav .nav-cta:focus-visible {
  color: #ffffff;
}

.button-primary:hover::after,
.button-secondary:hover::after {
  transform: translateX(0.25rem);
}

.header-cta:active,
.button-primary:active,
.projects-more-btn:active,
.nav .nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 111, 108, 0.2);
}

.button-secondary {
  font-size: var(--btn-font-md);
}

.button-secondary:hover,
.project-contact:hover,
.page-hero .back-link:hover,
.cases-toolbar button:hover {
  transform: translateY(-0.125rem);
  border-color: var(--accent);
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 1.125rem 2rem rgba(0, 111, 108, 0.14);
}

.button-secondary:active,
.project-contact:active,
.page-hero .back-link:active,
.cases-toolbar button:active {
  transform: translateY(0);
  box-shadow: 0 0.5rem 1.125rem rgba(20, 28, 20, 0.08);
}

.header-cta:focus-visible,
.button-primary:focus-visible,
.button-secondary:focus-visible,
.projects-more-btn:focus-visible,
.project-contact:focus-visible,
.page-hero .back-link:focus-visible,
.cases-toolbar button:focus-visible,
.nav .nav-cta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.1875rem rgba(0, 111, 108, 0.22), 0 0.875rem 1.75rem rgba(0, 111, 108, 0.16);
}

/* ---------------------------------
   页头
--------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  border-bottom: 0.0625rem solid transparent;
  background: transparent;
  box-shadow: none;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease;
}

/* 背景与毛玻璃放到伪元素上,避免 backdrop-filter 让 header
   成为子元素 position:fixed 的 containing block,
   从而压扁移动端抽屉 .nav */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(248, 250, 246, 0.72);
  backdrop-filter: blur(1.25rem);
  -webkit-backdrop-filter: blur(1.25rem);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}


.site-header.is-scrolled::before,
body.is-nav-open .site-header::before {
  opacity: 1;
}

body.is-nav-open .site-header {
  border-bottom-color: rgba(18, 24, 18, 0.08);
}

body.is-nav-open .site-header::before {
  background: rgba(248, 250, 246, 0.78);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  height: 2.75rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover .brand-logo {
  transform: translateY(-0.0625rem);
}

.brand-cn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  font-size: 1.375rem;
}

.brand-white {
  color: var(--text);
}

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

.nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
}

.nav a {
  position: relative;
  padding: 0.625rem 0;
  color: #111418;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.nav a:focus-visible {
  color: var(--accent);
  transform: translateY(-0.0625rem);
}

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

/* 汉堡按钮 */
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0.0625rem solid rgba(17, 24, 32, 0.14);
  border-radius: 0.625rem;
  background: #ffffff;
  cursor: pointer;
  position: relative;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(0, 111, 108, 0.08);
  border-color: rgba(0, 111, 108, 0.3);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 111, 108, 0.12);
}

.nav-toggle:active {
  transform: translateY(0);
  box-shadow: none;
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.25rem;
  height: 0.125rem;
  background: var(--text);
  border-radius: 0.125rem;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.nav-toggle-bar:nth-child(1) {
  top: calc(50% - 0.375rem);
}

.nav-toggle-bar:nth-child(3) {
  top: calc(50% + 0.375rem);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
}

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

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 50%;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 遮罩层 */
.nav-overlay {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(10, 16, 13, 0.4);
  backdrop-filter: blur(0.125rem);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

body.is-nav-open .nav-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* 移动端:抽屉式菜单 */
@media (max-width: 56.25rem) {
  .header-inner {
    min-height: 4rem;
    gap: 0.75rem;
  }

  .brand-logo {
    height: 2.25rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 3;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: 4rem;
    right: 0;
    bottom: 0;
    z-index: 50;
    flex: initial;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    width: min(20rem, 82vw);
    padding: 1.5rem 1.75rem 2rem;
    background: #ffffff;
    box-shadow: -1rem 0 2.5rem rgba(10, 16, 13, 0.14);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.is-nav-open .nav {
    transform: translateX(0);
  }

  .nav a {
    display: block;
    padding: 1rem 0.25rem;
    font-size: 0.9375rem;
    letter-spacing: 0.08em;
    border-bottom: 0.0625rem solid rgba(17, 24, 32, 0.06);
  }

  .nav a[aria-current="page"]::after,
  .nav a.is-active::after {
    left: 0.25rem;
    right: auto;
    bottom: 0.625rem;
    width: 1.25rem;
  }

  .nav .nav-cta {
    display: block;
    margin-top: 1.375rem;
    text-align: center;
    font-size: 0.875rem;
    letter-spacing: 0.16em;
  }

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

  body.is-nav-open {
    overflow: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .nav-overlay,
  .nav-toggle-bar {
    transition: none !important;
  }
}

/* ---------------------------------
   首屏
--------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -2% -3%;
  z-index: 0;
  background: url("bg.jpg") center right / cover no-repeat;
  transform: scaleX(-1);
  animation: heroBgDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@media (max-width: 45rem) {
  .hero::before {
    background-image: url("bg-m.jpg");
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* 左上 → 右下（与示意箭头一致），便于左侧文案区压暗背景、右侧保留画面 */
  background:
    linear-gradient(
      to bottom right,
      rgba(244, 245, 240, 0.98) 0%,
      rgba(244, 245, 240, 0.93) 42%,
      rgba(244, 245, 240, 0.74) 52%,
      rgba(244, 245, 240, 0.32) 68%,
      rgba(244, 245, 240, 0.1) 78%,
      rgba(244, 245, 240, 0) 100%
    ),
    linear-gradient(
      to bottom right,
      rgba(0, 111, 108, 0.2) 0%,
      rgba(0, 111, 108, 0.11) 28%,
      rgba(0, 111, 108, 0.04) 52%,
      rgba(0, 111, 108, 0) 78%
    );
}

.hero .wrap {
  position: relative;
  z-index: 1;
  align-items: center;
  height: 42.5rem;
  min-height: 42.5rem;
  max-height: 42.5rem;
  padding-top: 8.75rem;
}

.hero-copy {
  max-width: 54rem;
  padding: 2rem 0 1.5rem;
}

.hero-copy h1 {
  max-width: 15ch;
  margin: 1rem 0 1rem;
  color: #101412;
  text-shadow: 0 0.625rem 1.625rem rgba(245, 245, 241, 0.26);
  font-size: clamp(1.75rem, 4.5vw + 0.4rem, 4.45rem);
  line-height: 1.06;
  font-weight: 800;
  text-wrap: normal;
}

.hero-copy h1.hero-title .hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-copy h1.hero-title .hero-title-line + .hero-title-line {
  margin-top: 0.1em;
}

@media (min-width: 30.0625rem) {
  .hero-copy h1.hero-title {
    max-width: 15ch;
  }
}

.hero-slogan-accent {
  color: var(--accent-ink);
  position: relative;
}

.hero-slogan-accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.26em;
  z-index: -1;
  border-radius: 999rem;
  background: rgba(0, 111, 108, 0.1);
}

.hero-copy > p {
  max-width: 38rem;
  margin: 0;
  color: #51605f;
  font-size: 1rem;
  line-height: 1.8;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  color: var(--accent);
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 62.4375rem;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 111, 108, 0.55);
  animation: heroDotPulse 2.2s ease-in-out infinite;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-meta span {
  padding: 0.6875rem 0.9rem;
  border: 0.0625rem solid rgba(0, 111, 108, 0.08);
  border-radius: 62.4375rem;
  background: rgba(255, 255, 255, 0.68);
  color: #4b5958;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.hero-meta span:hover {
  transform: translateY(-0.125rem);
  border-color: rgba(0, 111, 108, 0.28);
  background: rgba(255, 255, 255, 0.88);
  color: var(--accent);
  box-shadow: 0 0.625rem 1.25rem rgba(0, 111, 108, 0.12);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1rem;
  margin-top: 1.75rem;
}

.hero-actions .button-primary {
  min-height: 3.75rem;
  padding-inline: 2rem;
  font-size: 1rem;
  isolation: isolate;
}

/* hero 主 CTA:两圈错开向外扩散的脉冲光环,
   通过 ::before 叠一层 box-shadow 扩散,不影响原有 ::after 箭头 */
.hero-actions .button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(0, 111, 108, 0.55);
  animation: heroCtaPulse 2.4s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
}

.hero-actions .button-primary::after {
  animation: heroCtaArrow 2.4s ease-in-out infinite;
}

.hero-actions .button-primary:hover::after {
  animation: none;
}

.hero-actions .button-secondary {
  min-height: 3.5rem;
  min-width: 13.5rem;
  font-size: 0.9375rem;
}

/* ---------------------------------
   首屏数据
--------------------------------- */

.process-section {
  position: relative;
  z-index: 1;
  padding: 1.5rem 0 1.5rem;
}

.process-band {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}

.process-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.125rem;
  padding: 0.875rem 0rem;
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.process-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 0.125rem;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.process-step:hover {
  background-color: rgba(0, 111, 108, 0.05);
}

.process-step:hover::after {
  transform: scaleX(1);
}

.process-num {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 2.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.process-step:hover .process-num {
  opacity: 1;
  transform: translateY(-0.125rem);
}

.process-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.process-step:hover .process-copy h3 {
  color: var(--accent);
}

.process-copy p {
  margin: 0.5rem 0 0;
  color: #8d979f;
  font-size: 0.7813rem;
  font-weight: 600;
  line-height: 1.55;
}

/* ---------------------------------
   关于我们 / ABOUT
--------------------------------- */

.about-stat,
.scope-card,
.capability-card,
.project-card,
.qualification-doc,
.collaboration-card {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.about-stat:hover,
.scope-card:hover,
.capability-card:hover,
.project-card:hover,
.qualification-doc:hover,
.collaboration-card:hover {
  transform: translateY(-0.1875rem);
  border-color: rgba(0, 111, 108, 0.16);
  box-shadow: var(--card-shadow-hover);
}

.about-section {
  padding-block: 3rem 7.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 4.375rem;
  align-items: center;
}

.about-copy h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.25;
  font-weight: 800;
}

.about-copy > p:not(.eyebrow) {
  margin: 1.375rem 0 0;
  max-width: 33.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.9;
}

.about-stats {
  display: flex;
  gap: 1.25rem;
  margin-top: 2.75rem;
}

.about-stat {
  position: relative;
  flex: 1;
  padding: 1.625rem 1.5rem 1.5rem;
}

.about-stat:hover {
  background: #ffffff;
}

.about-stat:hover strong {
  color: var(--accent-ink);
}

.about-stat strong {
  display: block;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  font-size: clamp(2.5rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-stat span {
  display: block;
  margin-top: 0.75rem;
  color: #55616c;
  font-size: 0.7813rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.about-media {
  position: relative;
  padding-bottom: 2.75rem;
}

.about-media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--card-radius);
  background: var(--panel);
}

.about-media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-media::before {
  content: "";
  position: absolute;
  top: 1.125rem;
  right: -1.125rem;
  width: 7.5rem;
  height: 7.5rem;
  background: var(--surface-1);
  z-index: -1;
}

.about-badge {
  position: absolute;
  right: 1.5rem;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.625rem;
  background: linear-gradient(135deg, #037a75 0%, #006864 62%, #005653 100%);
  color: #ffffff;
  border-radius: 0.25rem;
  box-shadow: 0 1.125rem 2.25rem rgba(0, 111, 108, 0.32);
}

.about-badge-icon {
  display: grid;
  place-items: center;
  width: 2.625rem;
  height: 2.625rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  border-radius: 0.25rem;
  color: #ffffff;
}

.about-badge h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.about-badge p {
  margin: 0.375rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------
   业务范围 / BUSINESS SCOPE
--------------------------------- */

.scope-section {
  padding: 5.625rem 0 6.875rem;
  background: var(--surface-1);
}

.scope-head {
  max-width: 60rem;
  margin-bottom: 3.25rem;
}

.scope-head h2 {
  margin: 0;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  line-height: 1.25;
  font-weight: 800;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.875rem;
}

.scope-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.875rem 1rem;
  padding: 1.75rem 1.625rem 1.8125rem;
}

.scope-icon {
  display: grid;
  place-items: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 2.875rem;
  height: 2.875rem;
  background: rgba(0, 111, 108, 0.08);
  color: var(--accent);
  border-radius: 0.5rem;
}

.scope-card h3 {
  margin: 0;
  color: #111814;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.28;
}

.scope-card ul {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.scope-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.625rem;
  color: #4d5a63;
  font-size: 0.8438rem;
  font-weight: 600;
  line-height: 1.45;
}

.scope-card li:first-child {
  margin-top: 0;
}

.scope-card li::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  left: 0;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------------------------------
   核心竞争力 / CAPABILITY
--------------------------------- */

.capability-section {
  padding: 6.25rem 0 6.875rem;
  background: var(--surface-1);
}

.capability-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.75rem;
  align-items: flex-end;
  margin-bottom: 3.25rem;
}

.capability-head-main h2 {
  margin: 0;
  font-size: clamp(1.875rem, 3.4vw, 2.875rem);
  line-height: 1.2;
  font-weight: 800;
}

.capability-head-desc {
  margin: 0;
  color: #4d5a63;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.capability-card {
  padding: 2.375rem 1.75rem 2.125rem;
}

.capability-card h3 {
  margin: 0 0 1rem;
  color: #111814;
  font-size: 1.25rem;
  font-weight: 800;
}

.capability-card p {
  margin: 0;
  color: #56636b;
  font-size: 0.875rem;
  line-height: 1.8;
}

/* ---------------------------------
   项目案例 / PROJECTS
--------------------------------- */

.projects-section {
  padding: 6.25rem 0 6.875rem;
  background: var(--surface-1);
}

.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.875rem;
  margin-bottom: 3.25rem;
}

.projects-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  line-height: 1.2;
  font-weight: 800;
}

.projects-head h2 em {
  font-style: normal;
  color: var(--accent);
}

/* 首页「查看更多案例」:绿底白字主按钮风格,与主 CTA 色系一致 */
.projects-more-btn {
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.projects-more-btn svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.projects-more-btn:hover svg {
  transform: translateX(0.25rem);
}

/* cases.html：完整案例网格；首页 .projects-track 轮播内为相同 .project-card 结构与顺序 */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.projects-carousel {
  position: relative;
  overflow: hidden;
}

.projects-track {
  display: flex;
  gap: 1.75rem;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

/* 头/尾回弹:使用独立的 translate 属性,与 transform 合成,
   所以不会破坏 JS 设置的 transform:translateX 偏移 */
@keyframes projectsBounceLeft {
  0%   { translate: 0 0; }
  45%  { translate: 1.375rem 0; }
  100% { translate: 0 0; }
}

@keyframes projectsBounceRight {
  0%   { translate: 0 0; }
  45%  { translate: -1.375rem 0; }
  100% { translate: 0 0; }
}

.projects-track.is-bounce-left {
  animation: projectsBounceLeft 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.projects-track.is-bounce-right {
  animation: projectsBounceRight 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.projects-track .project-card {
  flex: 0 0 calc((100% - 1.75rem) / 2);
  min-width: 0;
}

.projects-track .project-cover {
  aspect-ratio: 16 / 9;
}

.projects-track .project-body {
  padding: 1.25rem 1.375rem 1.5rem;
}

.projects-track .project-body h3 {
  margin: 0.625rem 0 1rem;
  padding-bottom: 0.875rem;
  font-size: 1.1875rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.projects-track .project-info {
  gap: 1rem;
}

.projects-track .project-info p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.projects-track .project-contact {
  margin-top: 1.125rem;
}

.projects-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 2.25rem;
}

.projects-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 62.4375rem;
  background: rgba(17, 24, 32, 0.18);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.projects-dot:hover {
  background: rgba(0, 111, 108, 0.55);
}

.projects-dot.is-active {
  width: 1.5rem;
  background: var(--accent);
}

.projects-carousel {
  outline: none;
}

.projects-carousel:focus-visible {
  box-shadow: 0 0 0 0.1875rem rgba(0, 111, 108, 0.25);
  border-radius: 0.25rem;
}

.pager-arrow {
  width: 2.875rem;
  height: 2.875rem;
  border-radius: var(--btn-radius-pill);
  border: 0.0625rem solid var(--btn-border-secondary);
  background: var(--btn-bg-secondary);
  color: var(--btn-fg-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
    transform 0.25s ease, box-shadow 0.25s ease;
}

.pager-arrow:hover {
  background: var(--btn-bg-primary);
  color: var(--btn-fg-primary);
  border-color: var(--btn-border-primary);
  transform: translateY(-0.125rem);
  box-shadow: var(--btn-shadow-lift);
}

.pager-arrow:focus-visible {
  outline: none;
  background: #ffffff;
  border-color: rgba(0, 111, 108, 0.35);
  box-shadow: 0 0 0 0.1875rem rgba(0, 111, 108, 0.2), 0 0.75rem 1.5rem rgba(0, 111, 108, 0.14);
}

/* 到头/到尾:视觉变淡,但依然可点击,点击后触发回弹动画 */
.pager-arrow.is-edge {
  opacity: 0.55;
}

.pager-arrow.is-edge:hover {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(17, 24, 32, 0.14);
  transform: none;
  box-shadow: none;
}

/* 左右侧翻页按钮:绝对定位在轮播两侧,垂直对齐卡片封面中部 */
.pager-arrow-side {
  position: absolute;
  top: 28%;
  translate: 0 -50%;
  z-index: 4;
  background: var(--card-bg);
  box-shadow: 0 0.625rem 1.5rem rgba(17, 24, 32, 0.14);
}

.pager-arrow-side:hover {
  box-shadow: 0 0.875rem 1.75rem rgba(0, 111, 108, 0.3);
}

.pager-arrow-prev { left: 0.875rem; }
.pager-arrow-next { right: 0.875rem; }

@media (max-width: 48rem) {
  .projects-track .project-card {
    flex: 0 0 100%;
  }

  .projects-track .project-body h3 {
    margin: 0.5rem 0 0.875rem;
    padding-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.42;
    -webkit-line-clamp: 4;
  }

  .pager-arrow {
    width: 2.625rem;
    height: 2.625rem;
  }

  .pager-arrow-prev { left: 0.5rem; }
  .pager-arrow-next { right: 0.5rem; }
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(17, 24, 32, 0.04);
}

.project-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.project-body {
  padding: 1.625rem 1.875rem 2rem;
}

.project-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #7f8a94;
  font-size: 0.7813rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-pin {
  display: inline-grid;
  place-items: center;
  color: var(--accent);
}

.project-body h3 {
  margin: 1rem 0 1.5rem;
  color: #111814;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1.3;
  padding-bottom: 1.25rem;
  border-bottom: 0.0625rem solid rgba(17, 24, 32, 0.08);
}

.project-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.625rem;
}

.project-label {
  display: inline-block;
  margin-bottom: 0.625rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.project-info p {
  margin: 0;
  color: #4f5b66;
  font-size: 0.8438rem;
  line-height: 1.7;
  font-weight: 500;
}

.project-contact {
  margin-top: 1.625rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  justify-content: flex-start;
  padding-inline: 1.125rem;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-contact svg {
  transition: transform 0.25s ease;
}

.project-contact:hover svg {
  transform: translateX(0.1875rem);
}

.case-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.case-detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.875rem;
  border: 0.0625rem solid rgba(0, 111, 108, 0.18);
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 800;
}

.case-detail-media {
  margin: 0 0 2rem;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #f6f8f7;
  border: 0.0625rem solid rgba(17, 24, 32, 0.08);
}

.case-detail-media img {
  display: block;
  width: 100%;
  max-height: 34rem;
  object-fit: cover;
}

.case-detail-media figcaption {
  padding: 1rem 1.25rem;
  color: #59656d;
  font-size: 0.875rem;
  line-height: 1.6;
}

.case-detail-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.case-detail-summary .scope-card p {
  margin: 0;
  color: #4f5b66;
  line-height: 1.7;
}

.case-detail-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.case-detail-content section,
.case-detail-related,
.case-detail-cta {
  border: 0.0625rem solid rgba(17, 24, 32, 0.08);
  border-radius: 0.5rem;
  background: #ffffff;
  box-shadow: 0 1rem 2rem rgba(17, 24, 32, 0.05);
}

.case-detail-content section {
  padding: 1.5rem;
}

.case-detail-content h2,
.case-detail-related h2,
.case-detail-cta h2 {
  margin: 0 0 0.75rem;
  color: #111820;
  font-size: 1.25rem;
  line-height: 1.35;
}

.case-detail-content p,
.case-detail-cta p {
  margin: 0;
  color: #4f5b66;
  line-height: 1.85;
}

.case-detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.75rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #f5fbf9, #ffffff);
}

.case-detail-related {
  padding: 1.5rem;
}

.case-detail-related ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.875rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.case-detail-related a {
  display: block;
  min-height: 100%;
  padding: 1rem;
  border-radius: 0.5rem;
  background: rgba(0, 111, 108, 0.06);
  color: #123331;
  font-weight: 800;
  line-height: 1.55;
  text-decoration: none;
}

.case-detail-related a:hover {
  color: var(--accent);
  background: rgba(0, 111, 108, 0.1);
}

/* 支持 hover 的设备:按钮从卡片底部翻出 */
@media (hover: hover) {
  .project-card .project-contact {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3.125rem;
    margin: 0;
    padding: 0 1.5rem;
    gap: 0.625rem;
    justify-content: center;
    background: var(--accent);
    border: none;
    border-radius: 0;
    color: #ffffff;
    font-size: 0.875rem;
    letter-spacing: 0.16em;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1),
      background 0.25s ease, box-shadow 0.3s ease;
    z-index: 3;
    box-shadow: none;
  }

  .project-card .project-contact svg {
    width: 0.875rem;
    height: 0.875rem;
  }

  .project-card:hover .project-contact,
  .project-card:focus-within .project-contact {
    transform: translateY(0);
    box-shadow: 0 -0.5rem 1.125rem rgba(0, 111, 108, 0.18);
  }

  .project-card .project-contact:hover {
    background: #00615e;
    color: #ffffff;
    border-color: transparent;
  }

  .project-card .project-contact:hover svg {
    transform: translateX(0.25rem);
  }
}

/* ---------------------------------
   联系我们弹窗（项目卡片触发）
--------------------------------- */

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

body.contact-open {
  overflow: hidden;
}

body.contact-open .contact-modal {
  display: flex;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 20, 0.62);
  backdrop-filter: blur(0.375rem);
}

.contact-dialog {
  position: relative;
  width: min(35rem, 100%);
  max-height: calc(100vh - 5rem);
  overflow-y: auto;
  padding: 2.125rem 2.5rem 1.875rem;
  background: #ffffff;
  border-radius: 0.375rem;
  box-shadow: 0 2.5rem 5rem rgba(8, 14, 20, 0.35);
  animation: contactPop 0.28s ease;
}

@keyframes contactPop {
  from {
    opacity: 0;
    transform: translateY(0.875rem) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.contact-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.contact-dialog-eyebrow {
  margin: 0 0 0.375rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.contact-dialog-head h3 {
  margin: 0;
  color: #111814;
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact-dialog-close {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0.0625rem solid var(--btn-border-primary);
  background: var(--btn-bg-primary);
  color: #ffffff;
  border-radius: 0.125rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-dialog-close:hover {
  background: var(--btn-bg-primary-hover);
  color: #ffffff;
  border-color: var(--accent-ink);
  box-shadow: 0 0.5rem 1.125rem rgba(0, 111, 108, 0.28);
}

.contact-dialog-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.1875rem rgba(0, 111, 108, 0.35);
}

.contact-dialog-lead {
  margin: 0 0 1.5rem;
  color: #3b4550;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 600;
}

.contact-dialog-values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.125rem;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-dialog-value {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  padding: 0;
  color: var(--accent);
}

.contact-dialog-value-icon {
  display: inline-grid;
  flex: 0 0 2rem;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.contact-dialog-value-icon svg {
  width: 1.625rem;
  height: 1.625rem;
  stroke-width: 2.5;
}

.contact-dialog-value span:last-child {
  display: grid;
  gap: 0.1875rem;
  min-width: 0;
}

.contact-dialog-value strong {
  color: #2f3a45;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.contact-dialog-value em {
  color: #5b6670;
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
  word-break: keep-all;
}

.contact-dialog-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.125rem;
  margin-bottom: 1.5rem;
}

.contact-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
  padding: 1.375rem 1.125rem;
  background: var(--surface-1);
  border-radius: 0.25rem;
  text-align: center;
}

.contact-person .contact-hotline {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 0.5rem;
  text-align: center;
}

.contact-person .contact-hotline-label {
  text-align: center;
}

.contact-person .contact-hotline strong {
  text-align: center;
}

.contact-person .contact-hotline-tel {
  text-align: center;
}

.contact-person .contact-qr {
  align-items: center;
}

.contact-person .contact-qr img {
  width: 8rem;
  height: 8rem;
}

.contact-dialog-meta {
  margin: 0;
  padding-top: 1.375rem;
  border-top: 0.0625rem dashed rgba(17, 24, 32, 0.12);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.contact-dialog-meta p {
  margin: 0 0 0.5rem;
  color: #3b4550;
  font-size: 0.8125rem;
  line-height: 1.6;
  font-weight: 600;
  text-align: center;
}

.contact-dialog-meta p:last-child {
  margin-bottom: 0;
}

.contact-dialog-meta span {
  display: inline-block;
  margin-right: 0.5rem;
  color: var(--accent);
}

@media (max-width: 56.25rem) {
  .contact-dialog-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 40rem) {
  .contact-dialog {
    padding: 1.75rem 1.5rem 1.5rem;
  }
  .contact-dialog-values {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-dialog-value {
    padding: 0;
  }
  .contact-dialog-people {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------
   资质 / QUALIFICATION
--------------------------------- */

.qualification-section {
  padding: 6.25rem 0 6.875rem;
  background: var(--surface-1);
}

.qualification-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 3.25rem 3.25rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  border-left: 0.25rem solid var(--accent);
}

.qualification-intro h2 {
  margin: 0;
  max-width: none;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  line-height: 1.25;
  font-weight: 800;
  color: #111814;
}

.qualification-intro-accent {
  color: var(--accent);
}

.qualification-sync {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 3rem 3.5rem;
  /* 默认 stretch；右侧 max-height 由 script 对齐左侧文案高度，避免预览区把行撑得过高 */
  align-items: stretch;
}

.qualification-copy-body > p {
  margin: 0;
  max-width: 35rem;
  color: #4a5560;
  font-size: 0.9375rem;
  line-height: 1.9;
}

.qualification-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.qualification-list li {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  background: var(--surface-1);
  border: 0.0625rem solid rgba(17, 24, 32, 0.06);
  border-radius: var(--card-radius);
  border-left: 0.1875rem solid var(--accent);
  color: #1a2422;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.qualification-list li:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.625rem 1.75rem rgba(17, 24, 32, 0.06);
}

.qualification-list .check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 0.125rem;
  border: none;
  background: var(--accent);
  color: #ffffff;
}

.qualification-docs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;

  width: 100%;
  height: 100%;

  align-items: stretch;
  min-height: 0;
}

.qualification-doc {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  max-height: 100%;
  min-height: 0;
  gap: 1.125rem;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 1.25rem 1.125rem 1.125rem;
  background: var(--card-bg);
  font: inherit;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.qualification-doc-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  flex: 1 1 0;
  min-height: 0;
}

.qualification-doc-title {
  flex-shrink: 0;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #111814;
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.qualification-doc-thumb-wrap {
  display: flex;
  align-items: center;     /* 垂直居中 */
  justify-content: center; /* 水平居中 */
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(17, 24, 32, 0.08);
  background: #ffffff;
  box-sizing: border-box;
}

.qualification-doc-thumb {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.qualification-doc-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  flex-shrink: 0;
}

.qualification-doc-desc {
  font-size: 0.7813rem;
  font-weight: 600;
  color: #5c6460;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.qualification-doc-chevron {
  flex: 0 0 auto;
  color: var(--accent);
  opacity: 0.9;
}

@media (min-width: 56.3125rem) {
  .qualification-docs {
    grid-template-rows: minmax(0, 1fr);
  }

  .qualification-doc {
    height: 100%;
  }
}

@media (max-width: 56.25rem) {
  .qualification-inner {
    gap: 1.75rem;
    padding: 2.5rem 2rem 2.75rem;
  }

  .qualification-sync {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 40rem) {
  .qualification-docs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 45rem) {
  .qualification-inner {
    padding: 2rem 1.375rem 2.25rem;
  }
}

/* ---------------------------------
   合作模式 / COLLABORATION
--------------------------------- */

.collaboration-section {
  padding: 6.875rem 0 7rem;
  background: var(--surface-1);
}

.collaboration-head {
  max-width: 45rem;
  margin: 0 0 3.25rem;
  text-align: left;
}

.collaboration-head h2 {
  margin: 0;
  max-width: 41.25rem;
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  line-height: 1.2;
  font-weight: 800;
  text-align: left;
}

.collaboration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.collaboration-card {
  position: relative;
  display: grid;
  grid-template-columns: 2.625rem minmax(0, 1fr) auto;
  grid-template-areas:
    "index title art"
    "index body art";
  align-items: start;
  min-height: auto;
  overflow: hidden;
  gap: 0.875rem;
  padding: 1.5rem 1.375rem;
  text-align: left;
}

.collaboration-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.0625rem;
  background: var(--accent);
  opacity: 0.18;
  transform: scaleX(0.72);
  transform-origin: left;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.collaboration-card:hover::before {
  opacity: 0.32;
  transform: scaleX(1);
}

.collaboration-card h3 {
  grid-area: title;
  display: block;
  margin: 0;
  color: #111814;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: left;
}

.collaboration-index {
  grid-area: index;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 50%;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.9375rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.collaboration-card p {
  grid-area: body;
  min-height: 0;
  margin: 0;
  color: #66717b;
  font-size: 0.8438rem;
  font-weight: 400;
  line-height: 1.65;
  text-align: left;
}

.collaboration-illustration {
  grid-area: art;
  align-self: center;
  width: 5rem;
  min-width: 5rem;
  height: auto;
  margin: 0;
  opacity: 0.92;
}

/* ---------------------------------
   联系我们 / CONTACT
--------------------------------- */

.contact-section {
  position: relative;
  padding: 6.875rem 0 8.125rem;
  background: var(--surface-1);
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: -12.5rem;
  right: -9.375rem;
  width: 28.75rem;
  height: 28.75rem;
  background: radial-gradient(closest-side, rgba(0, 111, 108, 0.12), transparent 70%);
  pointer-events: none;
}

.contact-section::after {
  content: "";
  position: absolute;
  bottom: -11.25rem;
  left: -7.5rem;
  width: 23.75rem;
  height: 23.75rem;
  background: radial-gradient(closest-side, rgba(0, 111, 108, 0.1), transparent 70%);
  pointer-events: none;
}

.contact-section .wrap {
  position: relative;
  z-index: 1;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  grid-template-rows: auto auto 1fr auto;
  align-items: start;
  gap: 0 4rem;
  padding: 0;
  background: transparent;
  text-align: left;
  box-shadow: none;
}

.contact-panel .eyebrow {
  grid-column: 1;
  grid-row: 1;
}

.contact-panel h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  color: #111814;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.contact-lead {
  grid-column: 1;
  grid-row: 3;
  max-width: 30rem;
  margin: 1.5rem 0 0;
  color: #4a5560;
  font-size: 0.9375rem;
  line-height: 1.9;
  align-self: start;
}

.contact-actions {
  position: relative;
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 2.75rem 2.625rem 2.5rem;
  background: #ffffff;
  border: 0.0625rem solid rgba(17, 24, 32, 0.06);
  border-radius: 0.375rem;
  box-shadow: 0 1.5rem 3rem rgba(17, 24, 32, 0.08);
  overflow: hidden;
}

.contact-actions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: linear-gradient(90deg, var(--accent) 0%, #5eb69d 100%);
}

.contact-section .contact-hotlines,
.contact-section .contact-qrs {
  position: relative;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.contact-section .contact-hotlines::before,
.contact-section .contact-qrs::before {
  display: block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact-section .contact-hotlines {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  min-height: auto;
  padding-bottom: 1.875rem;
  margin-bottom: 1.75rem;
  border-bottom: 0.0625rem dashed rgba(17, 24, 32, 0.12);
}

.contact-section .contact-hotlines::before {
  content: "咨询电话 / HOTLINE";
  margin-bottom: 0.5rem;
}

.contact-section .contact-qrs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.contact-section .contact-qrs::before {
  content: "微信扫码 / WECHAT";
  margin-bottom: 1.25rem;
}

.contact-section .contact-qrs .contact-qr-group {
  display: flex;
  justify-content: space-around;
  gap: 1.5rem;
}

.contact-section .contact-hotline {
  display: flex;
  align-items: center;
  gap: 1.125rem;
}

.contact-section .contact-hotline-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(0, 111, 108, 0.1);
  color: var(--accent);
  border: 0.0625rem solid rgba(0, 111, 108, 0.2);
  border-radius: 0.125rem;
  box-shadow: none;
}

.contact-section .contact-hotline-label {
  color: #7a8590;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.contact-section .contact-hotline strong {
  color: #111814;
  font-size: 1.375rem;
  font-variant-numeric: tabular-nums;
}

.contact-hotline {
  display: inline-flex;
  align-items: center;
  gap: 1.125rem;
}

.contact-hotline-icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  background: #ffffff;
  color: #111814;
  border-radius: 0.125rem;
  box-shadow: 0 0.625rem 1.375rem rgba(17, 24, 32, 0.08);
}

.contact-hotline-label {
  display: block;
  color: #7a8590;
  font-size: 0.7188rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
  text-align: left;
}

.contact-hotline strong {
  display: block;
  color: #111814;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: left;
}

.contact-hotline-tel {
  display: block;
  color: inherit;
  text-decoration: none;
}

.contact-hotline-tel:hover strong,
.contact-hotline-tel:focus-visible strong {
  color: var(--accent);
}

.contact-dialog-meta a,
.contact-meta a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0.0625rem solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-dialog-meta a:hover,
.contact-dialog-meta a:focus-visible,
.contact-meta a:hover,
.contact-meta a:focus-visible {
  color: var(--accent);
  border-bottom-color: currentColor;
}

.contact-qr {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
}

.contact-qr img {
  width: 7rem;
  height: 7rem;
  padding: 0.5rem;
  background: #ffffff;
  border-radius: 0.25rem;
  box-shadow: 0 0.75rem 1.5rem rgba(17, 24, 32, 0.08);
  object-fit: cover;
}

.contact-qr figcaption {
  color: #3b4550;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-section .contact-qr figcaption {
  color: #3b4550;
}

.contact-section .contact-qr img {
  background: #ffffff;
  border: 0.0625rem solid rgba(17, 24, 32, 0.06);
  box-shadow: 0 0.625rem 1.375rem rgba(17, 24, 32, 0.08);
}

.contact-meta {
  grid-column: 1;
  grid-row: 4;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2.25rem 0 0;
  padding-top: 1.75rem;
  border-top: 0.0625rem solid rgba(17, 24, 32, 0.1);
  max-width: 30rem;
  color: #4a5560;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}

.contact-meta span::before {
  content: "";
  flex-shrink: 0;
  width: 2.125rem;
  height: 2.125rem;
  border-radius: 62.4375rem;
  background-color: rgba(0, 111, 108, 0.1);
  border: 0.0625rem solid rgba(0, 111, 108, 0.22);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.125rem 1.125rem;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.contact-meta span:hover::before {
  background-color: var(--accent);
  border-color: var(--accent);
}

.contact-meta .meta-team::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3Z'/><path d='m9 12 2 2 4-4'/></svg>");
}

.contact-meta .meta-response::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/></svg>");
}

.contact-meta .meta-promise::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006f6c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='9' r='6'/><path d='m8.5 14-1 7 4.5-3 4.5 3-1-7'/></svg>");
}

.contact-meta span:hover.meta-team::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6l-8-3Z'/><path d='m9 12 2 2 4-4'/></svg>");
}

.contact-meta span:hover.meta-response::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M13 2 4 14h7l-1 8 9-12h-7l1-8Z'/></svg>");
}

.contact-meta span:hover.meta-promise::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='9' r='6'/><path d='m8.5 14-1 7 4.5-3 4.5 3-1-7'/></svg>");
}

@media (max-width: 56.25rem) {
  .contact-section {
    padding: 5rem 0 6.25rem;
  }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact-panel .eyebrow,
  .contact-panel h2,
  .contact-lead,
  .contact-meta {
    grid-column: 1;
  }
  .contact-actions {
    grid-column: 1;
    grid-row: auto;
    margin-top: 2rem;
    padding: 1.625rem 1.5rem 1.5rem;
  }
  .contact-meta {
    margin-top: 2rem;
  }
  .contact-section .contact-qrs .contact-qr-group {
    justify-content: center;
  }
}

/* ---------------------------------
   404 页面
--------------------------------- */

.error-section {
  min-height: calc(100vh - 5rem);
  padding: 10rem 0 6.25rem;
  background:
    radial-gradient(
      56.25rem 26.25rem at 70% -10%,
      rgba(0, 111, 108, 0.12),
      transparent 70%
    ),
    linear-gradient(180deg, var(--surface-1) 0%, #ffffff 100%);
  display: flex;
  align-items: center;
}

.error-wrap {
  text-align: center;
  max-width: 45rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.error-eyebrow {
  margin: 0 0 1.25rem;
  display: inline-block;
}

.error-code {
  margin: 0;
  color: var(--accent);
  font-size: clamp(6rem, 18vw, 12.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent) 0%, #5eb69d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.error-title {
  margin: 1rem 0 1.125rem;
  color: #111814;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.error-lead {
  max-width: 32.5rem;
  margin: 0 auto 2.25rem;
  color: #4a5560;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.error-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.error-secondary {
  min-height: 3.25rem;
  min-width: 12.5rem;
}

.error-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0 0 2.625rem;
  padding: 0;
  list-style: none;
}

.error-links a {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.25rem 0.125rem;
  border-bottom: 0.0625rem solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.error-links a:hover {
  color: var(--accent);
  border-bottom-color: rgba(0, 111, 108, 0.35);
}

.error-hotline {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.375rem;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--btn-radius-pill);
  color: #4a5560;
  font-size: 0.875rem;
}

.error-hotline a {
  color: var(--accent);
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.error-hotline-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.site-footer-compact {
  background: #0b0e0b;
}

.site-footer-compact .footer-bottom {
  margin-top: 0;
  padding: 1.75rem 0;
  border-top: none;
}

@media (max-width: 45rem) {
  .error-section {
    padding: 7.5rem 0 4.5rem;
  }

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

  .error-actions .button-primary,
  .error-actions .button-secondary {
    width: 100%;
  }

  .error-links {
    gap: 0.375rem 1rem;
  }
}

/* ---------------------------------
   回到顶部按钮
--------------------------------- */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 62.4375rem;
  border: 0.0625rem solid rgba(17, 24, 32, 0.08);
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.75rem 1.75rem rgba(17, 24, 32, 0.14);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  opacity: 0;
  transform: translateY(0.625rem);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease;
  z-index: 55;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 1rem 2rem rgba(0, 111, 108, 0.28);
  transform: translateY(-0.125rem);
}

.back-to-top:focus-visible {
  outline: none;
  background: #ffffff;
  border-color: rgba(0, 111, 108, 0.35);
  box-shadow: 0 0 0 0.1875rem rgba(0, 111, 108, 0.22), 0 0.75rem 1.75rem rgba(17, 24, 32, 0.14);
}

@media (max-width: 45rem) {
  .back-to-top {
    right: 1rem;
    bottom: 1.25rem;
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
}

/* ---------------------------------
   页脚
--------------------------------- */

.site-footer {
  padding: 5rem 0 1.75rem;
  background: #141a17;
  color: rgba(255, 255, 255, 0.62);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(10rem, 0.8fr) minmax(16.25rem, 1fr);
  gap: 5rem;
  align-items: start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.footer-logo-img {
  display: block;
  height: 2.75rem;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-logo:hover .footer-logo-img {
  transform: translateY(-0.0625rem);
  opacity: 0.92;
}

.footer-brand p {
  max-width: 26.25rem;
  margin-top: 1.75rem;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-col h3 {
  margin: 0 0 1.625rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  padding: 0;
  margin-top: 0.875rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.75;
}

.footer-col li:first-child {
  margin-top: 0;
}

.footer-col a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-bottom a:hover {
  color: #ffffff;
}

.footer-contact li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-ico {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 4.375rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.footer-copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.32);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.25rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.footer-icp {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.7813rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------------------------------
   子页面通用版式（隐私政策 / 服务条款 / 更多案例）
--------------------------------- */

.page-hero {
  position: relative;
  padding: 8.75rem 0 3.75rem;
  background: linear-gradient(180deg, var(--surface-1) 0%, #ffffff 100%);
  border-bottom: 0.0625rem solid var(--line);
}

.page-hero .back-link {
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  margin-bottom: 1.125rem;
  min-height: 2.625rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero .back-link svg {
  transition: transform 0.25s ease;
}

.page-hero .back-link:hover,
.page-hero .back-link:focus-visible {
  color: var(--accent);
}

.page-hero .back-link:hover svg {
  transform: translateX(-0.1875rem);
}

.page-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
}

.page-hero .lead {
  max-width: 45rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.page-section {
  padding: 5rem 0 7.5rem;
  background: #ffffff;
}

.page-content {
  max-width: 55rem;
  color: #2a3440;
  font-size: 1rem;
  line-height: 1.9;
}

.page-content h2 {
  margin: 3.75rem 0 1.125rem;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  margin: 2.125rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.page-content p {
  margin: 0 0 1rem;
}

.page-content ul {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

.page-content li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.625rem;
}

.page-content li::before {
  content: "";
  position: absolute;
  top: 0.875rem;
  left: 0;
  width: 0.375rem;
  height: 0.375rem;
  background: var(--accent);
}

.page-meta {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 0.0625rem solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

/* ---------------------------------
   更多案例页
--------------------------------- */

.cases-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 2.25rem;
}

.cases-toolbar-label {
  margin-right: 0.625rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cases-toolbar button {
  min-height: 2.625rem;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.cases-toolbar button.is-active {
  background: rgba(0, 111, 108, 0.12);
  border-color: rgba(0, 111, 108, 0.32);
  color: var(--accent-ink);
  box-shadow: inset 0 0 0 0.0625rem rgba(0, 111, 108, 0.08);
}

.cases-toolbar button.is-active:hover {
  background: rgba(0, 111, 108, 0.16);
  border-color: rgba(0, 111, 108, 0.4);
  color: var(--accent-ink);
}

.cases-empty {
  padding: 3.75rem 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.9375rem;
}

/* ---------------------------------
   资质证书 / 合规文件 预览
--------------------------------- */

.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

.preview-modal.is-open {
  display: flex;
}

.preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.78);
  backdrop-filter: blur(0.25rem);
}

.preview-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(45rem, 100%);
  height: min(92vh, 55rem);
  background: #0f1418;
  border: 0.0625rem solid rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  box-shadow: 0 1.875rem 3.75rem rgba(0, 0, 0, 0.5);
  color: #ffffff;
  overflow: hidden;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.625rem;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.08);
}

.preview-eyebrow {
  margin: 0 0 0.375rem;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.preview-head h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.preview-close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 0.125rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.preview-close:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.preview-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #1a2028;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.preview-image {
  position: absolute;
  inset: 1.5rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-user-drag: none;
  pointer-events: none;
}

.preview-watermark {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='360' height='180' viewBox='0 0 360 180'><g transform='rotate(-26 180 90)'><text x='0' y='90' font-family='PingFang SC, Microsoft YaHei, Arial, sans-serif' font-size='18' font-weight='700' fill='rgba(0,111,108,0.22)' letter-spacing='1.5'>北京铁鑫达电力工程有限公司官网预览</text></g></svg>");
  background-repeat: repeat;
  background-size: 20rem 11.25rem;
}

.preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.2);
  background: rgba(15, 20, 24, 0.7);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 0.125rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.preview-nav:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: rgba(15, 20, 24, 0.9);
}

.preview-nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.preview-prev { left: 1rem; }
.preview-next { right: 1rem; }

.preview-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.625rem 1.25rem;
  border-top: 0.0625rem solid rgba(255, 255, 255, 0.08);
}

.preview-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.875rem;
  font-weight: 700;
}

.preview-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

body.preview-open {
  overflow: hidden;
}

/* ---------------------------------
   动效 / Motion
--------------------------------- */

/* 通用滚动淡入 */
.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------
   响应式 / RESPONSIVE
--------------------------------- */

@media (max-width: 67.5rem) {
  .wrap {
    width: min(calc(100% - 2.5rem), var(--max));
  }

  .hero .wrap {
    height: 42.5rem;
    min-height: 42.5rem;
    max-height: 42.5rem;
    padding-top: 7.5rem;
    padding-bottom: 4.5rem;
  }

  .hero-copy {
    max-width: 100%;
    padding: 1.5rem 0 1.25rem;
  }

  .hero-copy h1,
  .hero-copy > p {
    max-width: 100%;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .capability-head {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

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

  .footer-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3.25rem;
  }

  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 45rem) {
  .wrap {
    width: min(calc(100% - 1.75rem), var(--max));
  }

  .hero .wrap {
    height: auto;
    min-height: 32rem;
    max-height: none;
    padding-top: 5.25rem;
    padding-bottom: 2.25rem;
    align-items: flex-start;
  }

  .hero-copy {
    max-width: 100%;
    padding: 1.25rem 0 0.875rem;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.0625rem, 6.8vw, 2.75rem);
    line-height: 1.07;
    margin: 0.6875rem 0 0.8125rem;
  }

  .hero-copy h1.hero-title .hero-title-line {
    white-space: normal;
    text-wrap: balance;
  }

  .hero-copy h1.hero-title .hero-title-line:first-child {
    white-space: nowrap;
  }

  .hero-copy h1.hero-title .hero-title-line:last-child {
    max-width: 8.6em;
    white-space: normal;
  }

  .hero-copy > p {
    max-width: 31rem;
    font-size: 0.9375rem;
    line-height: 1.78;
  }

  .hero-meta {
    gap: 0.625rem;
    margin-top: 1.125rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.625rem;
  }

  .hero-actions .button-primary,
  .hero-actions .button-secondary {
    width: 100%;
    min-width: 0;
    min-height: 3.25rem;
    padding-inline: 1.375rem;
    font-size: 0.9375rem;
  }

  .hero-meta span {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }

  .process-section {
    padding: 2.25rem 0 3.5rem;
  }
  .about-section,
  .capability-section,
  .collaboration-section,
  .qualification-section,
  .projects-section,
  .contact-section {
    padding: 4rem 0 4.5rem;
  }

  .page-hero {
    padding: 6.5rem 0 2.75rem;
  }

  .page-hero h1 {
    font-size: clamp(1.875rem, 7vw, 2.5rem);
  }

  .page-hero .lead {
    font-size: 0.9375rem;
    line-height: 1.7;
  }

  .process-band {
    grid-template-columns: 1fr;
  }

  .scope-grid,
  .capability-grid,
  .collaboration-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-info {
    grid-template-columns: 1fr;
    gap: 1.125rem;
  }

  .case-detail-summary,
  .case-detail-content,
  .case-detail-related ul {
    grid-template-columns: 1fr;
  }

  .case-detail-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-body {
    padding: 1.25rem 1.25rem 1.375rem;
  }

  .project-body h3 {
    font-size: 1.125rem;
    margin: 0.5rem 0 0.875rem;
    padding-bottom: 0.875rem;
  }

  .projects-track .project-body h3 {
    margin: 0.5rem 0 0.875rem;
    padding-bottom: 1rem;
    font-size: 1.125rem;
    line-height: 1.42;
    -webkit-line-clamp: 4;
  }

  .projects-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.125rem;
    margin-bottom: 2.25rem;
  }

  .projects-head h2 {
    font-size: 1.625rem;
  }

  .collaboration-head h2 {
    font-size: 1.625rem;
  }

  .projects-more-btn {
    width: 100%;
    max-width: 20rem;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 0.875rem;
  }

  .about-stat {
    flex: 1 1 calc(50% - 0.4375rem);
    min-width: 0;
  }

  .about-stat strong {
    font-size: 2.5rem;
  }

  .collaboration-card {
    grid-template-columns: 2.5rem minmax(0, 1fr) 4.5rem;
    gap: 0.75rem;
    padding: 1.25rem 1.125rem;
  }

  .collaboration-card h3 {
    max-width: 100%;
    font-size: 0.9375rem;
  }

  .collaboration-card p {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  .collaboration-illustration {
    width: 4.5rem;
    min-width: 4.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .site-footer {
    padding: 4rem 0 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
    margin-top: 3rem;
    padding-top: 1.25rem;
  }

  .footer-bottom p {
    margin: 0;
    line-height: 1.7;
  }

  .footer-bottom > div {
    width: 100%;
   }

  .footer-legal,
  .footer-policy-links {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .footer-policy-links {
    gap: 1rem 1.375rem;
  }

  .footer-bottom > div a {
    white-space: nowrap;
  }

  .contact-dialog,
  .preview-dialog {
    width: min(calc(100vw - 1.5rem), 47.5rem);
  }
}

@media (max-width: 30rem) {
  .process-section {
    display: none;
  }

  .wrap {
    width: min(calc(100% - 1.25rem), var(--max));
  }

  .brand-logo {
    height: 2rem;
  }

  .header-inner {
    min-height: 3.625rem;
    gap: 0.5rem;
  }

  .hero .wrap {
    min-height: 29.5rem;
    padding-top: 4.75rem;
    padding-bottom: 1.75rem;
  }

  .hero-copy > p {
    font-size: 0.875rem;
    line-height: 1.72;
  }

  .hero-kicker {
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
  }

  .hero-meta {
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero-meta span:last-child {
    display: none;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .about-section,
  .capability-section,
  .collaboration-section,
  .qualification-section,
  .projects-section,
  .contact-section {
    padding-top: 3.25rem;
    padding-bottom: 3rem;
  }

  .scope-card {
    grid-template-columns: minmax(0, 1fr) 2.625rem;
    padding: 1.25rem 1.125rem 1.3125rem;
    gap: 0.625rem 0.75rem;
  }

  .scope-icon {
    width: 2.625rem;
    height: 2.625rem;
  }

  .scope-card h3 {
    font-size: 1rem;
  }

  .scope-card li {
    font-size: 0.8125rem;
    line-height: 1.4;
  }

  .projects-track .project-cover,
  .project-cover {
    aspect-ratio: 16 / 8.8;
  }

  .projects-track .project-body h3 {
    font-size: 1.0625rem;
    line-height: 1.42;
  }

  .project-info {
    gap: 0.875rem;
  }

  .project-info p {
    line-height: 1.6;
  }

  .project-contact {
    margin-top: 1rem;
  }

  .collaboration-grid {
    gap: 0.875rem;
  }

  .contact-section {
    padding-top: 3.25rem;
    padding-bottom: 2.75rem;
  }

  .about-stat {
    flex: 1 1 100%;
  }

  .about-stat strong {
    font-size: 2.25rem;
  }

  .pager-arrow {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nav-toggle {
    width: 2.625rem;
    height: 2.625rem;
  }
}

/* Hero 首屏依次入场 */
@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(1.375rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 联系我们 CTA:向外扩散的柔和光圈,两段式脉冲 */
@keyframes heroCtaPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(0, 111, 108, 0.45),
      0 0 0 0 rgba(0, 111, 108, 0.28);
  }
  60% {
    box-shadow:
      0 0 0 0.875rem rgba(0, 111, 108, 0),
      0 0 0 1.375rem rgba(0, 111, 108, 0.06);
  }
  100% {
    box-shadow:
      0 0 0 1.125rem rgba(0, 111, 108, 0),
      0 0 0 1.875rem rgba(0, 111, 108, 0);
  }
}

/* 主 CTA 箭头:极轻微的前后呼吸,暗示"点我" */
@keyframes heroCtaArrow {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(0.1875rem);
  }
}

/* kicker 前的小圆点:柔和呼吸脉冲 */
@keyframes heroDotPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 111, 108, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.625rem rgba(0, 111, 108, 0);
  }
}

/* 首屏背景:极缓慢的平移呼吸,保留 scaleX(-1) 水平翻转 */
@keyframes heroBgDrift {
  0% {
    transform: scaleX(-1) translate3d(0, 0, 0);
  }
  100% {
    transform: scaleX(-1) translate3d(1.5%, -0.8%, 0);
  }
}

.hero-copy .hero-kicker,
.hero-copy h1,
.hero-copy > p,
.hero-copy .hero-meta,
.hero-copy .hero-actions {
  opacity: 0;
  animation: heroRise 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-copy .hero-kicker {
  animation-delay: 0.08s;
}
.hero-copy h1 {
  animation-delay: 0.22s;
}
.hero-copy > p {
  animation-delay: 0.36s;
}
.hero-copy .hero-meta {
  animation-delay: 0.5s;
}
.hero-copy .hero-actions {
  animation-delay: 0.62s;
}

/* 项目卡片 hover:上浮 + 图片缩放 */
.project-card {
  transition: box-shadow 0.35s ease;
}

.project-card:hover {
  box-shadow: var(--card-shadow-hover);
}

.project-cover {
  overflow: hidden;
}

.project-cover img {
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.project-card:hover .project-cover img {
  transform: scale(1.06);
}

/* 品牌 logo 轻微浮起已在 header/footer 各自定义 */

/* 减少动画偏好:整体关闭 */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-copy .hero-kicker,
  .hero-copy h1,
  .hero-copy > p,
  .hero-copy .hero-meta,
  .hero-copy .hero-actions {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .hero::before,
  .hero-kicker::before,
  .hero-actions .button-primary::before,
  .hero-actions .button-primary::after,
  .hero-meta span {
    animation: none !important;
    transition: none !important;
  }

  .hero::before {
    transform: scaleX(-1) !important;
    inset: 0 !important;
  }

  .project-cover img,
  .project-card {
    transition: none !important;
  }
}
