/* =========================================================
   简弈文化传媒 · 站点样式
   配色取自深色影院风：底色 #0f1115 / 卡片 #171a21 / 描边 #262a33
   强调色 绿 #3ddc84 / 蓝 #9ad0ff / 紫 #a78bfa
   ========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

:root {
  --bg: #0f1115;
  --bg-soft: #12151c;
  --card: #171a21;
  --card-2: #1b1f28;
  --line: #262a33;
  --line-soft: #1f232c;
  --text: #e6e8eb;
  --muted: #8b929e;
  --dim: #6b7280;
  --green: #3ddc84;
  --blue: #9ad0ff;
  --violet: #a78bfa;
  --danger: #ff6b6b;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --max: 1180px;
  color-scheme: dark;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: rgba(61, 220, 132, .28); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0c0e12; }
::-webkit-scrollbar-thumb { background: #2a2f39; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #3a414d; }

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

/* ---------------- 顶部导航 ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(15, 17, 21, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(61, 220, 132, .22), rgba(154, 208, 255, .16));
  border: 1px solid rgba(61, 220, 132, .35);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .06);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 15px; letter-spacing: .08em; }
.brand-text small { font-size: 10px; color: var(--dim); letter-spacing: .26em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 9px;
  transition: color .25s, background .25s;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); background: rgba(255, 255, 255, .045); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #08120c;
  background: linear-gradient(135deg, var(--green), #7ef0b0);
  border-radius: 10px;
  border: 1px solid rgba(61, 220, 132, .5);
  box-shadow: 0 8px 24px rgba(61, 220, 132, .22);
  transition: transform .25s var(--ease), box-shadow .25s;
}
/* 头部 CTA：禁止压缩换行，图标固定尺寸，避免文字竖排溢出头部 */
.nav-cta { flex-shrink: 0; white-space: nowrap; }
.nav-cta svg { width: 16px; height: 16px; flex: none; }

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(61, 220, 132, .32); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(23, 26, 33, .8);
  border-radius: 11px;
  color: var(--text);
  margin-left: auto;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- 通用区块 ---------------- */

section { position: relative; }
.section { padding: 108px 0; }
.section--tight { padding: 84px 0; }

.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 18px;
}
.sec-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.sec-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.28;
  letter-spacing: -.01em;
  font-weight: 700;
}
.sec-desc { margin: 0; color: var(--muted); font-size: 15.5px; }

.grad-text {
  background: linear-gradient(105deg, #ffffff 0%, var(--green) 45%, var(--blue) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Hero ---------------- */

.hero {
  position: relative;
  padding: 168px 0 96px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 780px;
  background:
    radial-gradient(560px 380px at 18% 18%, rgba(61, 220, 132, .18), transparent 70%),
    radial-gradient(620px 420px at 82% 8%, rgba(154, 208, 255, .16), transparent 72%),
    radial-gradient(500px 360px at 58% 62%, rgba(167, 139, 250, .12), transparent 70%);
  filter: blur(10px);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 78%);
  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 132, .28);
  background: rgba(61, 220, 132, .08);
  color: #b7f5d2;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(61, 220, 132, .16);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(61, 220, 132, .16); }
  50% { box-shadow: 0 0 0 9px rgba(61, 220, 132, .03); }
}

.hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(34px, 5.4vw, 62px);
  line-height: 1.14;
  letter-spacing: -.025em;
  font-weight: 800;
}
.hero h1 .line { display: block; }
.hero p.lead {
  margin: 0 0 34px;
  max-width: 540px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: 11px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  color: #07130c;
  background: linear-gradient(135deg, var(--green), #86f2b7);
  border-color: rgba(61, 220, 132, .45);
  box-shadow: 0 14px 34px rgba(61, 220, 132, .22);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(61, 220, 132, .3); }
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  border-color: var(--line);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: #39414f; background: rgba(255, 255, 255, .06); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta div { font-size: 13px; color: var(--dim); }
.hero-meta b { display: block; color: var(--text); font-size: 15px; font-weight: 600; letter-spacing: .02em; margin-bottom: 2px; }

/* Hero 视觉卡 */
.hero-visual { position: relative; }
.reel-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 18px;
  background: linear-gradient(160deg, rgba(27, 31, 40, .96), rgba(17, 20, 26, .96));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .reel-card { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-4px); }

.reel-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background:
    radial-gradient(420px 220px at 25% 20%, rgba(61, 220, 132, .35), transparent 65%),
    radial-gradient(380px 240px at 80% 78%, rgba(154, 208, 255, .3), transparent 66%),
    linear-gradient(150deg, #10131a, #1a1f2a 60%, #0d1016);
  border: 1px solid rgba(255, 255, 255, .06);
}
.reel-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, .035) 0 1px,
    transparent 1px 4px
  );
  opacity: .5;
  pointer-events: none;
}
.reel-screen .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(15, 17, 21, .55);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.reel-screen .play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 14px solid #eafff4;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.reel-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10.5px;
  letter-spacing: .2em;
  padding: 5px 10px;
  border-radius: 6px;
  color: #d6ffe9;
  background: rgba(61, 220, 132, .16);
  border: 1px solid rgba(61, 220, 132, .3);
}
.reel-timeline {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  margin-top: 16px;
  padding: 0 2px;
}
.reel-timeline i {
  flex: 1;
  border-radius: 3px;
  background: linear-gradient(to top, rgba(61, 220, 132, .65), rgba(154, 208, 255, .35));
  animation: wave 1.6s ease-in-out infinite;
  opacity: .75;
}
@keyframes wave {
  0%, 100% { transform: scaleY(.45); }
  50% { transform: scaleY(1); }
}
.reel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--dim);
}
.reel-foot b { color: var(--muted); font-weight: 600; letter-spacing: .08em; }

.float-chip {
  position: absolute;
  right: -14px;
  bottom: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(23, 26, 33, .92);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  font-size: 12.5px;
  color: var(--muted);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip b { color: var(--blue); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------------- 滚动跑马灯 ---------------- */

.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(90deg, rgba(23, 26, 33, .5), rgba(15, 17, 21, .5));
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 44px;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  font-size: 12.5px;
  letter-spacing: .3em;
  color: #5c6470;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(61, 220, 132, .6);
}
@keyframes scroll-x {
  to { transform: translateX(-50%); }
}

/* ---------------- 数据统计 ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--bg-soft);
  padding: 34px 26px;
  transition: background .3s;
}
.stat:hover { background: var(--card); }
.stat .num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.1;
  background: linear-gradient(120deg, #fff, var(--green) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat .num em { font-style: normal; font-size: .62em; }
.stat .label { margin-top: 8px; color: var(--muted); font-size: 13.5px; }

/* ---------------- 关于 ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-copy p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.point {
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(27, 31, 40, .7), rgba(19, 22, 29, .7));
  transition: border-color .3s, transform .3s var(--ease);
}
.point:hover { border-color: rgba(61, 220, 132, .35); transform: translateY(-3px); }
.point h4 {
  margin: 0 0 6px;
  font-size: 14.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.point h4::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(61, 220, 132, .8);
}
.point p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.7; }

.about-visual {
  position: sticky;
  top: 110px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(360px 240px at 78% 12%, rgba(154, 208, 255, .16), transparent 70%),
    radial-gradient(320px 240px at 12% 88%, rgba(61, 220, 132, .14), transparent 70%),
    linear-gradient(165deg, #161a22, #10131a);
  padding: 34px;
  overflow: hidden;
}
.about-visual .kicker {
  font-size: 11.5px;
  letter-spacing: .3em;
  color: var(--dim);
  text-transform: uppercase;
}
.about-visual blockquote {
  margin: 20px 0 28px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.55;
  font-weight: 600;
  letter-spacing: -.01em;
}
.about-visual blockquote span { color: var(--green); }
.about-visual .rule { height: 1px; background: var(--line); margin: 26px 0; }
.about-visual .mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.about-visual .mini div { font-size: 12.5px; color: var(--dim); }
.about-visual .mini b { display: block; font-size: 15px; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* ---------------- 业务 ---------------- */

.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service {
  position: relative;
  padding: 34px 32px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(27, 31, 40, .92), rgba(17, 20, 26, .92));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: .5;
}
.service:hover { transform: translateY(-6px); border-color: #333a47; box-shadow: var(--shadow); }
.service.is-hl {
  background:
    radial-gradient(420px 240px at 88% 0%, rgba(154, 208, 255, .16), transparent 70%),
    linear-gradient(170deg, rgba(28, 33, 43, .96), rgba(17, 20, 26, .96));
  border-color: rgba(154, 208, 255, .24);
}
.service.is-hl::before { background: linear-gradient(90deg, transparent, var(--blue), transparent); opacity: .75; }

.service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(61, 220, 132, .1);
  border: 1px solid rgba(61, 220, 132, .24);
  color: var(--green);
}
.service.is-hl .service-icon {
  background: rgba(154, 208, 255, .1);
  border-color: rgba(154, 208, 255, .26);
  color: var(--blue);
}
.service-icon svg { width: 22px; height: 22px; }
.service-tag {
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 5px 10px;
  border-radius: 6px;
}
.service h3 { margin: 0 0 12px; font-size: 22px; letter-spacing: -.01em; }
.service > p { margin: 0 0 22px; color: var(--muted); font-size: 14.5px; }
.service ul { display: flex; flex-wrap: wrap; gap: 8px; }
.service li {
  font-size: 12.5px;
  color: #b6bdc8;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-soft);
}

/* ---------------- 作品 ---------------- */

.works-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 44px;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .25s;
}
.filters button:hover { color: var(--text); border-color: #39414f; }
.filters button.is-on {
  color: #07130c;
  background: var(--green);
  border-color: var(--green);
  font-weight: 600;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .4s var(--ease), border-color .35s, box-shadow .4s;
}
.work:hover { transform: translateY(-6px); border-color: #39414f; box-shadow: var(--shadow); }
.work.hide { display: none; }
.work-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #10131a;
}
.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.work:hover .work-cover img { transform: scale(1.06); }
.work-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 17, 21, .92), rgba(15, 17, 21, .05) 55%);
}
.work-cat {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  font-size: 10.5px;
  letter-spacing: .18em;
  padding: 5px 10px;
  border-radius: 6px;
  color: #d9ffe9;
  background: rgba(15, 17, 21, .55);
  border: 1px solid rgba(61, 220, 132, .3);
  backdrop-filter: blur(6px);
}
.work-body { position: relative; padding: 20px 22px 24px; margin-top: -46px; z-index: 2; }
.work-body h3 { margin: 0 0 8px; font-size: 16.5px; line-height: 1.45; }
.work-body p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.65; }
.work-year {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 11.5px;
  color: #6f7683;
  letter-spacing: .1em;
}

.works-empty {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--dim);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------------- 流程 ---------------- */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), var(--line), transparent);
}
.step { position: relative; padding-top: 0; }
.step .idx {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--green);
  background: #14171e;
  border: 1px solid var(--line);
  margin-bottom: 20px;
  transition: border-color .3s, color .3s, transform .3s var(--ease);
}
.step:hover .idx { border-color: rgba(61, 220, 132, .5); transform: translateY(-4px); }
.step h4 { margin: 0 0 8px; font-size: 15.5px; }
.step p { margin: 0; font-size: 13px; color: var(--dim); line-height: 1.7; }

/* ---------------- 联系 ---------------- */

.contact {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(620px 320px at 15% 0%, rgba(61, 220, 132, .1), transparent 70%),
    radial-gradient(560px 320px at 88% 20%, rgba(154, 208, 255, .1), transparent 72%),
    var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 52px;
  align-items: start;
}
.contact-info { display: grid; gap: 14px; margin-top: 34px; }
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(23, 26, 33, .6);
  transition: border-color .3s;
}
.info-item:hover { border-color: rgba(61, 220, 132, .3); }
.info-item .ico {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(61, 220, 132, .08);
  border: 1px solid rgba(61, 220, 132, .18);
  color: var(--green);
}
.info-item .ico svg { width: 17px; height: 17px; }
.info-item small { display: block; font-size: 11.5px; letter-spacing: .16em; color: var(--dim); text-transform: uppercase; }
.info-item b { font-weight: 600; font-size: 14.5px; word-break: break-all; }

.form-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(27, 31, 40, .94), rgba(17, 20, 26, .94));
  box-shadow: var(--shadow);
}
.form-card h3 { margin: 0 0 6px; font-size: 19px; }
.form-card > p { margin: 0 0 24px; font-size: 13.5px; color: var(--dim); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 8px; letter-spacing: .04em; }
.field label i { color: var(--green); font-style: normal; margin-left: 3px; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
  background: #12151c;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #59606b; }
.field input:focus,
.field textarea:focus {
  border-color: rgba(61, 220, 132, .55);
  box-shadow: 0 0 0 3px rgba(61, 220, 132, .1);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--dim); }
.form-msg {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 9px;
  font-size: 13.5px;
}
.form-msg.ok { display: block; color: #b7f5d2; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .25); }
.form-msg.err { display: block; color: #ffc9c9; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .25); }

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

.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 54px 0 34px;
  background: #0c0e12;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 34px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand p { margin: 12px 0 0; max-width: 380px; font-size: 13px; color: var(--dim); line-height: 1.8; }
.footer-nav { display: flex; gap: 46px; flex-wrap: wrap; }
.footer-nav h5 { margin: 0 0 12px; font-size: 12px; letter-spacing: .2em; color: #565d68; text-transform: uppercase; }
.footer-nav a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; transition: color .2s; }
.footer-nav a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 12.5px;
  color: #565d68;
}
.footer-bottom a { color: #6f7683; }
.footer-bottom a:hover { color: var(--muted); }

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

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(23, 26, 33, .9);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all .35s var(--ease);
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { color: var(--green); border-color: rgba(61, 220, 132, .4); }

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

/* 移动端导航默认不渲染：桌面端不占据文档流，避免出现在页面顶部造成重叠 */
.mobile-menu { display: none; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .reel-card { transform: none; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { position: static; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 84px 0; }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav { height: 66px; }

  .mobile-menu {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 89;
    padding: 96px 24px 40px;
    background: rgba(12, 14, 18, .97);
    backdrop-filter: blur(16px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .mobile-menu { opacity: 1; pointer-events: auto; }
  .mobile-menu a {
    display: block;
    padding: 18px 4px;
    font-size: 20px;
    font-weight: 600;
    border-bottom: 1px solid var(--line-soft);
    color: var(--text);
  }
  .mobile-menu a span { color: var(--dim); font-size: 12px; letter-spacing: .2em; margin-right: 12px; }
  .mobile-menu .btn { margin-top: 26px; width: 100%; }

  .hero { padding: 128px 0 70px; }
  .hero-meta { gap: 18px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .works-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sec-head { margin-bottom: 40px; }
  .process { grid-template-columns: 1fr 1fr; }
  .float-chip { display: none; }
  .form-card { padding: 24px; }
  .about-points { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .section { padding: 68px 0; }
  .works-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .hero-actions .btn { flex: 1; }
  .about-visual { padding: 26px; }
  .footer-nav { gap: 28px; }
  .stat { padding: 26px 20px; }
  .service { padding: 26px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
