/* ============================================================
   山东国润文化传媒有限公司官网 —— 轻奢风格样式表
   配色：暖象牙白 + 深炭灰 + 品牌蓝（取自公司 Logo）
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --bg: #faf9f6;            /* 主背景：暖象牙白 */
  --bg-alt: #f2f4f7;        /* 次背景：浅蓝灰 */
  --bg-dark: #101d2c;       /* 深藏青（页脚等深色区块） */
  --text: #1c1c1e;          /* 主文字：近黑 */
  --text-2: #63636a;        /* 次要文字：中灰 */
  --brand: #2b69b2;         /* 品牌蓝（取自 Logo 六边形） */
  --brand-2: #7aa5d6;       /* 浅蓝（深色背景上的点缀文字） */
  --brand-dark: #1f4e8c;    /* 深蓝（悬停态） */
  --line: rgba(28, 28, 30, 0.10);   /* 分割线 */
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(28, 28, 30, 0.12);
  --shadow-sm: 0 10px 34px rgba(28, 28, 30, 0.09);
  /* 字体：衬线标题 + 无衬线正文，均有系统字体兜底 */
  --font-serif: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --font-en: 'Playfair Display', 'Noto Serif SC', 'Times New Roman', serif;
  --font-sans: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --header-h: 76px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
::selection { background: var(--brand); color: #fff; }
/* 精致细滚动条 */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cfcac1; border-radius: 8px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

/* 锚点定位补偿固定导航高度 */
section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* ---------- 滚动进场动画 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
/* 尊重系统“减少动态效果”设置 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- 页面加载动画 ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo-img {
  width: 116px; margin: 0 auto;
  filter: drop-shadow(0 10px 26px rgba(43, 105, 178, 0.28));
  animation: preLogo 1.3s var(--ease) both;
}
@keyframes preLogo {
  from { opacity: 0; transform: scale(0.86); }
  to   { opacity: 1; transform: scale(1); }
}
.preloader-sub {
  display: block; margin-top: 18px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: 0.5em; text-indent: 0.5em;
  color: var(--brand);
  animation: preFade 1.2s 0.2s var(--ease) both;
}
.preloader-line {
  display: block; width: 160px; height: 1px; margin: 24px auto 0;
  background: var(--line); position: relative; overflow: hidden;
}
.preloader-line i {
  position: absolute; left: 0; top: 0; height: 100%; width: 40%;
  background: var(--brand);
  animation: preSlide 1.1s ease-in-out infinite;
}
@keyframes preFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes preSlide { 0% { left: -40%; } 100% { left: 100%; } }

/* ---------- 顶部导航 ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
/* 首屏之上：透明深色文字为白 */
.header:not(.scrolled) { color: #fff; }
.header:not(.scrolled) .nav-link { color: rgba(255, 255, 255, 0.85); }
.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active { color: #fff; }
.header:not(.scrolled) .header-phone { border-color: rgba(255, 255, 255, 0.35); color: #fff; }
.header:not(.scrolled) .nav-toggle span { background: #fff; }
/* 深色背景下为 Logo 增加一层柔光，保证深蓝线条可见 */
.header:not(.scrolled) .brand-logo { filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.22)); }
/* 滚动后：白色毛玻璃 */
.header.scrolled {
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 30px rgba(28, 28, 30, 0.08);
  height: 64px;
}
/* 品牌 Logo 组合 */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 40px; flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(28, 28, 30, 0.14));
  transition: width 0.4s var(--ease);
}
.header.scrolled .brand-logo { width: 34px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-cn {
  font-family: var(--font-serif);
  font-size: 21px; font-weight: 700; letter-spacing: 0.2em;
}
.header.scrolled .brand-cn { font-size: 19px; }
.brand-en {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: 0.34em;
  color: var(--brand);
}
.header:not(.scrolled) .brand-en { color: var(--brand-2); }
.nav { display: flex; gap: 34px; }
.nav-link {
  position: relative;
  font-size: 15px; letter-spacing: 0.06em;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.header:not(.scrolled) .nav-link:hover, .header:not(.scrolled) .nav-link.active { color: #fff; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; letter-spacing: 0.05em;
  border: 1px solid var(--line); border-radius: 40px;
  padding: 8px 18px;
  transition: all 0.35s var(--ease);
}
.header-phone:hover { background: var(--brand); border-color: var(--brand); color: #fff !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: all 0.35s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首屏 Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; will-change: transform; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* Ken Burns：永续的呼吸式推拉，电影感十足 */
  animation: heroKenburns 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroKenburns {
  from { transform: scale(1.06) translate(0.6%, 0.4%); }
  to   { transform: scale(1.15) translate(-0.9%, -0.6%); }
}
/* 三层遮罩：左侧压暗保文字 / 底部渐暗接数据条 / 顶部轻压融导航 */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(7, 10, 15, 0.62) 0%, transparent 44%),
    linear-gradient(to bottom, rgba(7, 10, 15, 0.42) 0%, transparent 24%),
    linear-gradient(100deg, rgba(7, 10, 15, 0.88) 0%, rgba(7, 10, 15, 0.62) 42%, rgba(7, 10, 15, 0.24) 76%, rgba(7, 10, 15, 0.42) 100%);
}
/* 漂浮光斑：品牌蓝辉光，缓慢游移 */
.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); mix-blend-mode: screen;
  pointer-events: none;
}
.hero-glow--1 {
  width: 46vw; height: 46vw; left: -12vw; top: 6vh;
  background: radial-gradient(circle, rgba(64, 129, 201, 0.32), transparent 62%);
  animation: glowDrift1 22s ease-in-out infinite alternate;
}
.hero-glow--2 {
  width: 38vw; height: 38vw; right: -8vw; bottom: -6vh;
  background: radial-gradient(circle, rgba(122, 165, 214, 0.24), transparent 62%);
  animation: glowDrift2 28s ease-in-out infinite alternate;
}
@keyframes glowDrift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(9vw, 7vh) scale(1.18); }
}
@keyframes glowDrift2 {
  from { transform: translate(0, 0) scale(1.1); }
  to   { transform: translate(-8vw, -6vh) scale(0.94); }
}
/* 胶片颗粒：细腻噪点，步进式微移 */
.hero-grain, .cta-grain {
  position: absolute; inset: -80px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  animation: grainShift 1.1s steps(1) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-16px, 12px); }
  50%  { transform: translate(12px, -14px); }
  75%  { transform: translate(-8px, -10px); }
  100% { transform: translate(0, 0); }
}
/* 取景框四角装饰：呼应摄影主题 */
.hero-frame {
  position: absolute; inset: 34px; z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease 0.9s;
}
body.loaded .hero-frame { opacity: 1; }
.hero-frame i { position: absolute; width: 36px; height: 36px; border: 1.5px solid rgba(255, 255, 255, 0.32); }
.hero-frame i:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-frame i:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.hero-frame i:nth-child(3) { bottom: 0; left: 0; border-right: none; border-top: none; }
.hero-frame i:nth-child(4) { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-content { position: relative; z-index: 3; padding-top: var(--header-h); }
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.45em;
  color: var(--brand-2);
  margin-bottom: 26px;
}
.hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 56px; height: 1px; background: var(--brand);
  vertical-align: middle; margin-right: 18px; margin-bottom: 4px;
}
/* 主标题：逐字浮现（由 JS 拆分字符并注入 --i 序号） */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 900; letter-spacing: 0.12em;
  line-height: 1.22;
  margin-bottom: 30px;
}
.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.45em) scale(0.96);
  filter: blur(12px);
}
body.loaded .hero-title .char {
  animation: charRise 0.9s var(--ease) forwards;
  animation-delay: calc(0.35s + var(--i) * 0.09s);
}
@keyframes charRise {
  to { opacity: 1; transform: none; filter: blur(0); }
}
/* 业务标签行 */
.hero-tags {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  font-size: 14.5px; letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}
.hero-tags i { font-style: normal; font-size: 12px; color: var(--brand-2); }
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 2; letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 48px;
}
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-content .reveal:nth-child(1) { transition-delay: 0.15s; }
.hero-content .reveal:nth-child(3) { transition-delay: 0.55s; }
.hero-content .reveal:nth-child(4) { transition-delay: 0.7s; }
.hero-content .reveal:nth-child(5) { transition-delay: 0.85s; }
/* 向下滚动提示 */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll-text {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: 0.4em; text-indent: 0.4em;
  color: rgba(255, 255, 255, 0.6);
}
.hero-scroll-line { width: 1px; height: 52px; background: rgba(255, 255, 255, 0.25); position: relative; overflow: hidden; }
.hero-scroll-line::after {
  content: ''; position: absolute; top: -50%; left: 0;
  width: 100%; height: 50%; background: var(--brand);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint { 0% { top: -50%; } 100% { top: 100%; } }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; letter-spacing: 0.14em; text-indent: 0.14em;
  padding: 16px 42px; border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.btn-gold {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 28px rgba(43, 105, 178, 0.32);
}
.btn-gold::before {
  /* 掠过的高光条 */
  content: ''; position: absolute; top: 0; left: -90%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s var(--ease);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(43, 105, 178, 0.42);
  filter: brightness(1.08);
}
.btn-gold:hover::before { left: 135%; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; transform: translateY(-2px); }

/* ---------- 实力数据条 ---------- */
.stats { position: relative; z-index: 3; margin-top: -72px; }
.stats-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 46px 30px;
  border-top: 3px solid var(--brand);
}
.stat-item { text-align: center; position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 56px; background: var(--line);
}
.stat-num {
  font-family: var(--font-en);
  font-size: clamp(36px, 4vw, 52px); font-weight: 600;
  color: var(--text); line-height: 1.1;
}
.stat-num em {
  font-family: var(--font-serif); font-style: normal;
  font-size: 18px; color: var(--brand); margin-left: 4px;
}
.stat-label { margin-top: 8px; font-size: 14px; letter-spacing: 0.2em; text-indent: 0.2em; color: var(--text-2); }

/* ---------- 通用区块 ---------- */
.section { padding: 140px 0; }
.section:nth-of-type(even) { background: var(--white); }
.eyebrow {
  font-family: var(--font-en);
  font-size: 13px; letter-spacing: 0.4em; text-indent: 0.4em;
  color: var(--brand);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700; letter-spacing: 0.14em;
  line-height: 1.35;
  position: relative;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 74px; }
.section-head .section-title::after {
  content: ''; display: block; margin: 22px auto 0;
  width: 64px; height: 2px; background: var(--brand);
}
.section-desc { margin-top: 20px; color: var(--text-2); font-size: 15.5px; letter-spacing: 0.04em; }

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 80px; align-items: center;
}
.about .section-title { margin-bottom: 26px; }
.lead {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--brand-dark);
  margin-bottom: 22px;
}
.about-text > p:not(.eyebrow):not(.lead) { color: var(--text-2); margin-bottom: 16px; }
.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px;
  margin: 28px 0;
}
.about-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; letter-spacing: 0.05em;
}
.about-features svg { color: var(--brand); flex-shrink: 0; }
.about-motto {
  border-left: 3px solid var(--brand);
  padding-left: 18px;
  font-family: var(--font-serif);
  font-size: 16.5px; letter-spacing: 0.06em;
  color: var(--text);
}
/* 右侧图片组合 */
.about-media { position: relative; padding: 0 0 56px 56px; }
.about-img-main { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img-main img { transition: transform 1.4s var(--ease); }
.about-img-main:hover img { transform: scale(1.05); }
.about-img-sub {
  position: absolute; left: 0; bottom: 0;
  width: 58%;
  border: 8px solid var(--white);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
.about-img-sub img { transition: transform 1.4s var(--ease); }
.about-img-sub:hover img { transform: scale(1.05); }
/* 品牌蓝框装饰 */
.about-media::before {
  content: ''; position: absolute; right: -22px; top: -22px;
  width: 120px; height: 120px;
  border-top: 2px solid var(--brand); border-right: 2px solid var(--brand);
}
.about-badge {
  position: absolute; right: 26px; bottom: 90px;
  background: var(--brand); color: #fff;
  padding: 20px 26px; border-radius: var(--radius);
  text-align: center; box-shadow: 0 16px 40px rgba(43, 105, 178, 0.4);
}
.about-badge-num { display: block; font-family: var(--font-en); font-size: 34px; font-weight: 700; line-height: 1; }
.about-badge-num sup { font-size: 18px; }
.about-badge-text { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0.24em; text-indent: 0.24em; }

/* ---------- 核心业务 ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 30px 40px;
  transition: all 0.5s var(--ease);
  overflow: hidden;
}
.services:nth-of-type(even) .service-card { background: var(--bg); }
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-no {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-en); font-size: 44px; font-weight: 600;
  color: var(--text); opacity: 0.06; line-height: 1;
  transition: opacity 0.5s;
}
.service-card:hover .service-no { opacity: 0.14; }
.service-icon {
  width: 68px; height: 68px; border-radius: 50%;
  border: 1px solid rgba(43, 105, 178, 0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand);
  margin-bottom: 26px;
  transition: all 0.5s var(--ease);
}
.service-card:hover .service-icon { background: var(--brand); border-color: var(--brand); color: #fff; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 21px; font-weight: 700; letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.service-en {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.28em;
  color: var(--brand);
  margin-bottom: 18px;
}
.service-desc { font-size: 14.5px; color: var(--text-2); line-height: 1.9; }
.service-line { display: block; width: 34px; height: 2px; background: var(--brand); margin-top: 24px; transition: width 0.5s var(--ease); }
.service-card:hover .service-line { width: 100%; }

/* ---------- 精选案例（大片式交错网格） ---------- */
.works-filter {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px;
  margin-bottom: 56px;
}
.filter-btn {
  font-size: 14px; letter-spacing: 0.12em; text-indent: 0.12em;
  color: var(--text-2);
  padding: 10px 26px;
  border: 1px solid var(--line); border-radius: 40px;
  transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand-dark); }
.filter-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
/* 中列整体下移，形成砖砌式错落节奏 */
.work-item:nth-child(3n+2) { margin-top: 54px; }
.work-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  cursor: pointer;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  box-shadow: var(--shadow-sm);
}
.work-item.hide { display: none; }
.work-item img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  transition: transform 1s var(--ease), filter 1s var(--ease);
}
.work-item:hover img { transform: scale(1.07); filter: saturate(1.12) contrast(1.03); }
.work-info {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px 28px;
  background: linear-gradient(to top, rgba(10, 13, 18, 0.88) 0%, rgba(10, 13, 18, 0.36) 46%, transparent 74%);
  color: #fff;
  opacity: 0; transform: translateY(12px);
  transition: all 0.5s var(--ease);
}
.work-item:hover .work-info { opacity: 1; transform: translateY(0); }
.work-cat {
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--brand-2);
  margin-bottom: 8px;
}
.work-info h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: 0.06em; padding-right: 44px; }
/* 悬停浮现的斜向箭头 */
.work-arrow {
  position: absolute; right: 22px; bottom: 20px;
  width: 40px; height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.45); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: #fff;
  transform: rotate(-45deg) translateX(8px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.work-item:hover .work-arrow { opacity: 1; transform: rotate(-45deg) translateX(0); }
/* 移动端无悬停，信息常显 */
@media (hover: none) {
  .work-info { opacity: 1; transform: none; }
  .work-arrow { opacity: 1; transform: rotate(-45deg); }
}

/* ---------- 设备实力 ---------- */
.equipment { background: var(--bg-alt); }
.equip-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 70px; align-items: center; }
.equip-media { display: grid; gap: 24px; }
.equip-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.equip-img img { transition: transform 1.2s var(--ease); }
.equip-img:hover img { transform: scale(1.05); }
.equip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 34px; }
.equip-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.equip-item h4 {
  font-family: var(--font-serif);
  font-size: 16.5px; font-weight: 600; letter-spacing: 0.08em;
  margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px;
}
.equip-item h4::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand); flex-shrink: 0;
}
.equip-item p { font-size: 13.5px; color: var(--text-2); padding-left: 17px; }

/* ---------- 服务流程 ---------- */
.process-track {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 30px; position: relative;
}
.process-track::before {
  content: ''; position: absolute; top: 34px; left: 8%; right: 8%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--brand-2), transparent);
}
.process-step { text-align: center; position: relative; padding-top: 8px; }
.process-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(43, 105, 178, 0.4);
  font-family: var(--font-en); font-size: 20px; font-weight: 600;
  color: var(--brand);
  margin-bottom: 22px;
  position: relative; z-index: 1;
  transition: all 0.45s var(--ease);
}
.process-step:hover .process-no {
  background: var(--brand); color: #fff; border-color: var(--brand);
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(43, 105, 178, 0.35);
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 19px; font-weight: 700; letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.process-step p { font-size: 13.5px; color: var(--text-2); }

/* ---------- 品牌宣言横幅 ---------- */
.cta-banner {
  position: relative; padding: 160px 0;
  color: #fff; text-align: center;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; }
.cta-bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: heroKenburns 30s ease-in-out infinite alternate-reverse;
}
.cta-overlay { position: absolute; inset: 0; background: rgba(9, 12, 17, 0.6); }
.cta-content { position: relative; z-index: 2; }
.cta-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700; letter-spacing: 0.14em; line-height: 1.6;
  margin-bottom: 18px;
}
.cta-content p {
  font-size: 16px; letter-spacing: 0.3em; text-indent: 0.3em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 42px;
}

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.contact-info { display: grid; gap: 20px; }
.contact-card {
  display: flex; gap: 20px; align-items: center;
  background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
}
.contact-card:hover { transform: translateX(8px); box-shadow: var(--shadow-sm); border-color: rgba(43, 105, 178, 0.4); }
.contact-icon {
  width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0;
  background: rgba(43, 105, 178, 0.1);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
}
.contact-card:hover .contact-icon { background: var(--brand); color: #fff; }
.contact-card h4 { font-size: 14px; letter-spacing: 0.14em; color: var(--text-2); font-weight: 400; margin-bottom: 2px; }
.contact-value { font-size: 18px; font-weight: 600; letter-spacing: 0.04em; }
.contact-value--sm { font-size: 15px; font-weight: 600; line-height: 1.7; letter-spacing: 0.02em; }
.contact-note { font-size: 12.5px; color: var(--brand); letter-spacing: 0.06em; }
/* 微信洽谈卡：悬停放大二维码 */
.contact-card--wechat:hover { z-index: 10; }
.contact-qr { width: 78px; height: 78px; flex-shrink: 0; margin-left: auto; }
.contact-qr img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 6px; border: 1px solid var(--line);
  background: #fff;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.contact-card--wechat:hover .contact-qr img {
  transform: scale(1.95);
  box-shadow: 0 20px 48px rgba(28, 28, 30, 0.25);
  position: relative; z-index: 5;
}
/* 触屏设备：二维码常显放大，无需悬停 */
@media (hover: none) {
  .contact-qr { width: 98px; height: 98px; }
}
/* 表单 */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--brand);
  padding: 48px 46px;
}
.form-title { font-family: var(--font-serif); font-size: 26px; font-weight: 700; letter-spacing: 0.12em; }
.form-sub { font-size: 14px; color: var(--text-2); margin: 8px 0 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block; font-size: 14px; letter-spacing: 0.1em;
  margin-bottom: 9px; color: var(--text);
}
.form-group label i { color: #c0453e; font-style: normal; }
.form-group label em { color: var(--text-2); font-style: normal; font-size: 12.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit; font-size: 15px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(43, 105, 178, 0.15);
}
.form-group.error input,
.form-group.error textarea { border-color: #c0453e; }
.btn-submit { width: 100%; font-size: 16px; padding: 17px; }
.btn-submit .btn-loading { display: none; }
.btn-submit.loading { opacity: 0.75; pointer-events: none; }
.btn-submit.loading .btn-text { display: none; }
.btn-submit.loading .btn-loading { display: inline; }
.form-privacy { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--text-2); letter-spacing: 0.05em; }

/* ---------- 页脚 ---------- */
.footer { background: #1b1b1e; color: rgba(255, 255, 255, 0.65); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.footer-logo { width: 46px; filter: drop-shadow(0 0 10px rgba(122, 165, 214, 0.25)); }
.footer-logo-text { display: flex; flex-direction: column; line-height: 1.3; }
.footer-brand .brand-cn { color: #fff; font-size: 24px; }
.footer-brand .brand-en { font-size: 10px; }
.footer-slogan { margin-top: 8px; font-family: var(--font-serif); font-size: 15px; letter-spacing: 0.3em; color: var(--brand-2); }
.footer-qr { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.footer-qr img { width: 88px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.14); }
.footer-qr span { font-size: 12.5px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.1em; }
.footer-col h5 {
  font-size: 15px; font-weight: 600; letter-spacing: 0.2em;
  color: #fff; margin-bottom: 20px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 14px; line-height: 2.3;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col span { line-height: 1.9; }
.footer-col a:hover { color: var(--brand-2); padding-left: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 24px 0;
  font-size: 13px; color: rgba(255, 255, 255, 0.4);
}
.footer-icp a { color: inherit; transition: color 0.3s; }
.footer-icp a:hover { color: var(--brand-2); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 30px; bottom: 30px; z-index: 800;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); color: var(--brand);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all 0.4s var(--ease);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--brand); color: #fff; }

/* ---------- 全局提示框 ---------- */
.toast {
  position: fixed; left: 50%; bottom: 46px; z-index: 1000;
  transform: translateX(-50%) translateY(24px);
  background: #1b1b1e; color: #fff;
  font-size: 15px; letter-spacing: 0.05em;
  padding: 15px 32px; border-radius: 40px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  opacity: 0; visibility: hidden;
  transition: all 0.45s var(--ease);
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.success { border-left: 3px solid var(--brand); }
.toast.error { border-left: 3px solid #c0453e; }

/* ============================================================
   响应式适配
   ============================================================ */
@media (max-width: 1080px) {
  .container { padding: 0 30px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .work-item:nth-child(3n+2) { margin-top: 0; }
  .about-grid { gap: 50px; }
  .equip-layout { gap: 44px; }
  .process-track { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
  .process-track::before { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 90px 0; }
  /* 移动端导航 */
  .nav {
    position: fixed; top: 0; right: -100%;
    width: min(78vw, 340px); height: 100vh;
    background: var(--white);
    flex-direction: column; gap: 0;
    padding: 110px 40px 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.12);
    transition: right 0.5s var(--ease);
    z-index: 950;
  }
  .nav.open { right: 0; }
  .nav .nav-link {
    font-size: 17px; color: var(--text);
    padding: 16px 0; border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: flex; z-index: 960; }
  .header:not(.scrolled) .nav-toggle:not(.open) span { background: #fff; }
  .header-phone span { display: none; }
  .header-phone { border: none; padding: 8px; }
  .header:not(.scrolled) .header-phone { color: #fff; }
  /* 首屏取景框收紧 */
  .hero-frame { inset: 18px; }
  .hero-frame i { width: 26px; height: 26px; }
  /* 各区块 */
  .about-grid { grid-template-columns: 1fr; }
  .about-media { margin-top: 10px; }
  .equip-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats { margin-top: -56px; }
  .stats-card { grid-template-columns: repeat(2, 1fr); gap: 34px 0; padding: 40px 24px; }
  .stat-item:nth-child(3)::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-scroll { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero-title { letter-spacing: 0.08em; }
  .hero-tags { gap: 10px; font-size: 13px; letter-spacing: 0.1em; }
  .hero-frame { display: none; }
  .btn { width: 100%; padding: 15px 20px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .works-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-track { grid-template-columns: 1fr; gap: 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form-wrap { padding: 34px 24px; }
  .equip-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { justify-content: center; text-align: center; }
  .about-badge { right: 6px; bottom: 74px; padding: 14px 18px; }
  .about-badge-num { font-size: 26px; }
  .cta-banner { padding: 100px 0; }
}
