/* ============================================
   君一影业（西安）有限公司 官网样式
   深色电影质感主题
   ============================================ */

:root {
  --bg: #0b0c10;
  --bg-soft: #111318;
  --bg-card: #171a21;
  --gold: #c9a45c;
  --gold-light: #e2c486;
  --text: #e8e6e1;
  --text-dim: #9a9ea8;
  --text-muted: #8b8f98;
  --line: rgba(201, 164, 92, 0.25);
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: rgba(11, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; line-height: 1.2; }
.logo-img {
  height: 92px;
  width: auto;
  filter: brightness(1.02) drop-shadow(0 0 12px rgba(226, 196, 134, 0.35));
  transition: opacity 0.25s, filter 0.4s;
  animation: logoGlow 3.5s ease-in-out infinite;
}
@keyframes logoGlow {
  0%, 100% { filter: brightness(1.02) drop-shadow(0 0 8px rgba(226, 196, 134, 0.25)); }
  50%      { filter: brightness(1.02) drop-shadow(0 0 22px rgba(226, 196, 134, 0.65)); }
}
.logo:hover .logo-img { opacity: 0.85; }
.logo-sub { display: none; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 15px;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 50% 30%, rgba(201, 164, 92, 0.18), transparent 65%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(30, 34, 45, 0.9), transparent),
    linear-gradient(180deg, #0b0c10 0%, #12141b 55%, #0b0c10 100%);
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 164, 92, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 164, 92, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 2; padding: 0 24px; max-width: 760px; }
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-title {
  font-size: clamp(26px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.4;
  margin-bottom: 26px;
  background: linear-gradient(110deg,
    #f5ead0 15%, var(--gold) 35%, #fffdf2 50%, var(--gold) 65%, #f5ead0 85%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleShimmer 5s linear infinite;
}
@keyframes titleShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.hero-desc {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 13px 38px;
  font-size: 15px;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: all 0.3s;
}
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold), #a8823f);
  color: #14100a;
  font-weight: 600;
}
.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  pointer-events: none;
}
.btn-primary:hover::before { left: 135%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201, 164, 92, 0.35); }
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.hero-scroll span {
  position: absolute;
  top: 8px; left: 50%;
  width: 3px; height: 8px;
  margin-left: -1.5px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollHint 1.8s infinite;
}
@keyframes scrollHint {
  0%   { opacity: 0; transform: translateY(0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---------- 通用 Section ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 64px; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 3px;
}
.section-title::after {
  content: "";
  display: block;
  width: 72px; height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  background-size: 200% 100%;
  margin: 18px auto 0;
  animation: lineFlow 2.8s linear infinite;
}
@keyframes lineFlow {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- 关于我们 ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 18px; font-size: 15.5px; }
.about-timeline {
  list-style: none;
  margin-top: 34px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-timeline li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.about-timeline li:last-child { border-bottom: none; }
.about-timeline time {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  white-space: nowrap;
  min-width: 110px;
}
.about-timeline span { color: var(--text-muted); font-size: 14.5px; }

.film-reel {
  position: relative;
  width: 300px; height: 300px;
  margin: 0 auto;
}
.reel-circle {
  position: absolute;
  inset: 0;
  border: 2px dashed var(--line);
  border-radius: 50%;
  animation: spin 24s linear infinite;
}
.reel-circle::before,
.reel-circle::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--line);
}
.reel-circle::before { inset: 12%; }
.reel-circle::after { inset: 30%; border-style: dashed; }
.reel-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: linear-gradient(135deg, #1c1f28, #14161d);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}
.reel-core .reel-logo {
  width: 68%;
  height: auto;
  opacity: 0.95;
  filter: brightness(1.02) drop-shadow(0 0 6px rgba(226, 196, 134, 0.35));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 业务版块 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 34px 26px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(226, 196, 134, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 3;
}
.service-card:hover::before { left: 135%; }
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.service-icon {
  width: 48px; height: 48px;
  color: var(--gold);
  margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-size: 17px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--gold-light);
}
.service-card p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- 作品展示 ---------- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.work-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(226, 196, 134, 0.2), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 3;
}
.work-card:hover::before { left: 135%; }
.work-card:hover { transform: translateY(-6px); border-color: var(--line); }
.work-thumb {
  height: 190px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 14px;
  position: relative;
}
.work-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 12, 16, 0.85));
}
.thumb-a {
  background-image: url('assets/poster-qiao.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-b {
  background-image: url('assets/poster-liuqing.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-c {
  background-image: url('assets/poster-calm.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-d {
  background-image: url('assets/poster-sister.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-e {
  background-image: url('assets/poster-sandadui.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-f {
  background-image: url('assets/poster-farewell.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-g {
  background-image: url('assets/poster-dad.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-h {
  background-image: url('assets/poster-bound.webp');
  background-size: cover;
  background-position: center;
}
.thumb-i {
  background-image: url('assets/stills/still-09.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-j {
  background-image: url('assets/poster-puppy.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-k {
  background-image: url('assets/poster-woyaozhaodaoni.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-l {
  background-image: url('assets/poster-binghailvren.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-n {
  background-image: url('assets/poster-adidas.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-o {
  background-image: url('assets/poster-jackson-dyh.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-p {
  background-image: url('assets/poster-muji.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-q {
  background-image: url('assets/poster-xibei-taiyang.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-r {
  background-image: url('assets/poster-xiaocang.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-s {
  background-image: url('assets/poster-wabi.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-t {
  background-image: url('assets/poster-wangyou.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-u {
  background-image: url('assets/poster-hk-realestate.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-v {
  background-image: url('assets/poster-guerlain.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-w {
  background-image: url('assets/poster-jiancan.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-x {
  background-image: url('assets/poster-luhu-guainianqing.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-y {
  background-image: url('assets/poster-jiangwen-dashiban.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-z {
  background-image: url('assets/poster-vivo-x27-luhan.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-aa {
  background-image: url('assets/poster-volvo-gaoyuanyuan.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-ab {
  background-image: url('assets/poster-helenarubinstein-wangfei.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-ac {
  background-image: url('assets/poster-mk-songzuer.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-ad {
  background-image: url('assets/poster-douyin-818.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-ae {
  background-image: url('assets/poster-zhaiyao-jiuxiang.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-af {
  background-image: url('assets/poster-fotile-chenkun.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-ag {
  background-image: url('assets/poster-wangzherongyao.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-ah {
  background-image: url('assets/poster-yangguangjiefei.jpg');
  background-size: cover;
  background-position: center;
}
.thumb-yifanfengshun {
  background-image: url('assets/poster-yifanfengshun.jpg');
  background-size: cover;
  background-position: center;
}
.work-tag {
  position: relative;
  z-index: 1;
  font-size: 12px;
  padding: 3px 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
}
.work-card h3 {
  padding: 16px 18px 4px;
  font-size: 16px;
  letter-spacing: 1px;
  color: var(--gold-light);
}
.work-card p { padding: 0 18px 20px; font-size: 13px; color: var(--text-muted); }
.works-note {
  margin-top: 32px;
  text-align: center;
  font-size: 12.5px;
  color: #6b7078;
}

/* 作品展示：公司短片 + 花絮剧照，两张卡片居中排布 */
#works .works-grid {
  grid-template-columns: repeat(2, minmax(0, 300px));
  justify-content: center;
}
/* 张俊个人作品：4 列网格，新增特色卡片整行居中 */
#zhangjun-works .works-grid {
  grid-template-columns: repeat(4, 1fr);
}
#zhangjun-works .works-grid > .work-card.featured {
  grid-column: 1 / -1;
  max-width: 380px;
  justify-self: center;
}

/* ---------- 关联企业 ---------- */
.affiliates {
  margin-top: 68px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}
#affiliates .affiliates {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.affiliates-title {
  font-size: 18px;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 8px;
  text-align: center;
}
.affiliate-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 1180px) {
  .affiliate-grid { grid-template-columns: repeat(3, 1fr); }
}
.affiliate-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 26px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.affiliate-card:hover { border-color: var(--line); transform: translateY(-4px); }
.affiliate-card h4 {
  font-size: 16.5px;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 10px;
}
.affiliate-card.is-pending { border-style: dashed; }
.pending-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 8px;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--gold);
  border: 1px solid rgba(226, 196, 134, 0.45);
  border-radius: 20px;
  vertical-align: middle;
}
.affiliate-scope {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.affiliate-meta { list-style: none; }
.affiliate-meta li {
  display: flex;
  gap: 14px;
  padding: 7px 0;
  font-size: 13px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.affiliate-meta li:last-child { border-bottom: none; }
.affiliate-meta span {
  flex: 0 0 108px;
  color: #7a7f88;
}
.affiliate-meta em {
  font-style: normal;
  color: var(--text);
  word-break: break-all;
}
.affiliate-note {
  font-size: 12.5px;
  line-height: 1.85;
  color: #7a7f88;
}
.affiliates-sub {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 1px;
  color: #6b7078;
  margin-bottom: 4px;
}
.affiliate-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.brand-name {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
}
.badge-site {
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 1px 8px;
  color: #7a7f88;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}
.affiliate-domain {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: #9aa0a8;
  margin-bottom: 10px;
}
.affiliate-role {
  font-size: 12.5px;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.affiliates-source {
  margin-top: 22px;
  text-align: center;
  font-size: 12px;
  color: #6b7078;
}

/* ---------- 张俊个人作品（履历展示） ---------- */
.credit-intro {
  max-width: 720px;
  margin: -6px auto 34px;
  text-align: center;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-muted);
}
.credit-note {
  max-width: 860px;
  margin: 38px auto 0;
  padding: 14px 22px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.8;
  letter-spacing: 0.4px;
  color: #8a8f99;
  border: 1px solid rgba(226, 196, 134, 0.22);
  border-radius: 6px;
  background: rgba(226, 196, 134, 0.05);
}

/* 花絮剧照灯箱触发按钮 */
.work-card.gallery-trigger {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  background: var(--bg-card);
}
.work-card.gallery-trigger:hover { transform: translateY(-6px); border-color: var(--line); }

/* ---------- 灯箱 ---------- */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 9, 12, 0.96);
  align-items: center;
  justify-content: center;
  padding: 60px;
}
.lightbox.active { display: flex; }
.lightbox-stage {
  position: relative;
  max-width: 1100px;
  max-height: 85vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-stage img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lightbox-counter {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 12px;
  font-size: 32px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 16px; right: 24px; font-size: 40px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 768px) {
  .lightbox { padding: 20px; }
  .lightbox-stage { max-height: 75vh; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
}

/* ---------- 核心团队 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.team-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 45%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(226, 196, 134, 0.16), transparent);
  transform: skewX(-18deg);
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 3;
}
.team-card:hover::before { left: 135%; }
.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.team-photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04);
  transition: transform 0.5s ease, filter 0.4s ease;
}
.team-card:hover .team-photo img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.02);
}
.team-info {
  padding: 18px 20px 22px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.team-info h3 {
  font-size: 17px;
  letter-spacing: 3px;
  color: var(--gold-light);
  margin-bottom: 6px;
}
.team-role {
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--text-muted);
}
.team-role::before,
.team-role::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--line);
  vertical-align: middle;
  margin: 0 10px;
}

/* ---------- 加入我们 ---------- */
.join-intro {
  max-width: 620px;
  margin: -36px auto 44px;
  text-align: center;
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.9;
}
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.join-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s;
}
.join-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.join-card h3 {
  font-size: 16.5px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--gold-light);
}
.join-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; }
.join-note {
  margin-top: 40px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
.join-note a {
  color: var(--gold);
  border-bottom: 1px dashed var(--gold);
}

/* ---------- 友好单位 ---------- */
.friends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.friend-card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 110px;
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  font-size: 15.5px;
  letter-spacing: 1.5px;
  line-height: 1.7;
  color: var(--text);
  transition: border-color 0.25s, transform 0.25s;
}
.friend-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}


/* ---------- 联系我们 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-item {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}
.contact-item h4 {
  font-size: 15px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
}
.contact-item p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- 页脚 ---------- */
.footer {
  background: #08090c;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-copy { font-size: 13px; color: #6b7078; letter-spacing: 0.5px; }
.footer-copy .footer-en {
  color: #4a4e58;
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid #2a2d35;
  letter-spacing: 1.5px;
  font-size: 11.5px;
}
.footer-beian {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
}
.footer-beian a {
  color: #6b7078;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-beian a:hover { color: var(--gold-light); }
.beian-divider {
  width: 1px; height: 14px;
  background: #2a2d35;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .services-grid, .works-grid { grid-template-columns: repeat(2, 1fr); }
  #zhangjun-works .works-grid { grid-template-columns: repeat(2, 1fr); }
  #zhangjun-works .works-grid > .work-card.featured { grid-column: 1 / -1; max-width: 420px; }
  #works .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .affiliate-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .join-grid { grid-template-columns: repeat(2, 1fr); }
  .friends-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 32px; }
  .about-timeline time { min-width: 90px; }
}

@media (max-width: 640px) {
  #zhangjun-works .works-grid > .work-card.featured { max-width: 100%; }
  .nav-links {
    position: fixed;
    top: 0; right: -260px;
    width: 260px; height: 100vh;
    background: rgba(11, 12, 16, 0.97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 100px 36px 0;
    gap: 28px;
    transition: right 0.35s ease;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; position: relative; z-index: 101; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .services-grid, .works-grid { grid-template-columns: 1fr; }
  #zhangjun-works .works-grid { grid-template-columns: 1fr; }
  #works .works-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; }
  .join-grid { grid-template-columns: 1fr; }
  .friend-card { min-height: 88px; }
  .credit-note { padding: 12px 16px; }
  .affiliate-card { padding: 22px 20px; }
  .affiliate-meta li { flex-direction: column; gap: 4px; }
  .affiliate-meta span { flex: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .about-stats { flex-wrap: wrap; gap: 24px 40px; }
  .about-timeline li { flex-direction: column; gap: 6px; }
}

/* ---------- 流光动效无障碍适配 ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-title,
  .section-title::after,
  .logo-img { animation: none; }
  .work-card::before,
  .service-card::before,
  .team-card::before,
  .btn-primary::before { display: none; }
}
