/* ============================================================
   王睿的技术博客 — 全站设计系统
   主题: 现代 · 简洁 · 专业 (深夜海军蓝 + 电光青)
   ============================================================ */

:root {
  /* 品牌色板 */
  --ink: #0b1220;          /* 深海军蓝 - 深色区/主视觉 */
  --ink-2: #101c36;        /* 面板海军蓝 */
  --ink-3: #16233f;        /* 更深卡片 */
  --cyan: #22d3ee;         /* 电光青 - 主强调 */
  --sky: #38bdf8;          /* 天蓝 - 次强调 */
  --blue: #3b82f6;         /* 蓝 */
  --grad: linear-gradient(120deg, #22d3ee 0%, #38bdf8 45%, #3b82f6 100%);
  --light: #f6f9fc;        /* 浅底 */
  --white: #ffffff;
  --text: #0f172a;         /* 正文深色 */
  --muted: #5b6b83;        /* 次要文字 */
  --line: #e4ecf4;         /* 分隔线 */
  --amber: #f59e0b;

  /* 字体 */
  --font-d: 'Space Grotesk', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-b: 'Inter', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;

  /* 尺寸 */
  --maxw: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(11, 18, 32, .06);
  --shadow-md: 0 12px 30px rgba(11, 18, 32, .10);
  --shadow-lg: 0 24px 60px rgba(11, 18, 32, .16);
  --header-h: 74px;
}

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

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

body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

::selection { background: rgba(34, 211, 238, .28); }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.eyebrow.on-dark { color: var(--cyan); }

.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-title { font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.section-title em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-sub { color: var(--muted); font-size: 17px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 26px; border-radius: 60px; transition: .28s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .28s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #06253a; box-shadow: 0 8px 22px rgba(34, 211, 238, .30); }
.btn-primary:hover { box-shadow: 0 12px 30px rgba(34, 211, 238, .45); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.30); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost-dark:hover { border-color: var(--cyan); color: var(--sky); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ============================================================
   页眉
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s ease, box-shadow .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(11,18,32,.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--grad);
  display: grid; place-items: center; color: #06253a; font-family: var(--font-d);
  font-weight: 700; font-size: 20px; box-shadow: 0 6px 16px rgba(34,211,238,.35);
}
.logo-text { font-family: var(--font-d); font-weight: 700; font-size: 18px; color: var(--white); transition: color .3s; letter-spacing: -.01em; }
.logo-text small { display: block; font-family: var(--font-b); font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.site-header.scrolled .logo-text { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a.nav-link {
  position: relative; font-weight: 500; font-size: 15px; color: rgba(255,255,255,.82);
  transition: color .25s; padding: 6px 0;
}
.site-header.scrolled .nav a.nav-link { color: #3a465c; }
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); border-radius: 2px; transition: width .28s ease;
}
.nav a.nav-link:hover, .nav a.nav-link.active { color: var(--cyan); }
.site-header.scrolled .nav a.nav-link:hover, .site-header.scrolled .nav a.nav-link.active { color: var(--sky); }
.nav a.nav-link:hover::after, .nav a.nav-link.active::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.btn-header { padding: 12px 22px; font-size: 14px; }

/* 移动端汉堡 */
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
}
.site-header.scrolled .nav-toggle { background: var(--light); border-color: var(--line); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.site-header.scrolled .nav-toggle span { background: var(--ink); }
.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); }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8, 15, 30, .98);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; visibility: hidden; transition: .35s ease;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-d); font-size: 26px; font-weight: 600; color: #e8f1fb;
  padding: 14px 20px; transition: color .25s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--cyan); }
.mobile-menu .btn { margin-top: 22px; }

/* ============================================================
   首页 Hero
   ============================================================ */
.hero {
  position: relative; color: var(--white);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,.22), transparent 60%),
              radial-gradient(900px 520px at 10% 20%, rgba(59,130,246,.20), transparent 55%),
              linear-gradient(160deg, #081022 0%, #0d1a38 55%, #101c36 100%);
  padding: calc(var(--header-h) + 70px) 0 90px; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(34,211,238,.12); border: 1px solid rgba(34,211,238,.30);
  color: var(--cyan); font-size: 13px; font-weight: 500; padding: 8px 16px; border-radius: 60px; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,238,.5);} 70% { box-shadow: 0 0 0 9px rgba(34,211,238,0);} 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0);} }

.hero h1 {
  font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin-bottom: 24px; letter-spacing: -.02em;
}
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #b9c7dd; font-size: 18px; max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stats .stat .num { font-family: var(--font-d); font-weight: 700; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat .lbl { font-size: 13px; color: #93a5c0; margin-top: 2px; }

/* Hero 视觉卡 */
.hero-visual { position: relative; }
.hero-card {
  position: relative; background: rgba(22,35,63,.72); border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px; padding: 22px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card .vc-media { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.hero-card .vc-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-card .vc-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; }
.hero-card .vc-foot strong { font-family: var(--font-d); color: #e8f1fb; font-size: 14px; }
.hero-card .vc-foot span { color: var(--cyan); font-size: 13px; }

.float-chip {
  position: absolute; background: var(--white); color: var(--ink);
  border-radius: 14px; box-shadow: var(--shadow-lg); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px; font-family: var(--font-d); font-weight: 600; font-size: 14px;
  animation: float 5s ease-in-out infinite;
}
.float-chip .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); color: #06253a; font-size: 19px; }
.float-chip small { display: block; font-family: var(--font-b); font-weight: 400; color: var(--muted); font-size: 11px; }
.chip-1 { top: -22px; left: -30px; }
.chip-2 { bottom: 24px; right: -26px; animation-delay: 1.6s; }
@keyframes float { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ---------- 信任背书条 ---------- */
.trust-bar { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 26px 0; }
.trust-inner .t-label { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.trust-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 60px;
  background: var(--light); border: 1px solid var(--line); color: var(--ink-2);
  font-weight: 600; font-size: 14px; transition: .25s;
}
.trust-tag:hover { border-color: var(--sky); color: var(--sky); transform: translateY(-2px); }
.trust-tag .tg { color: var(--sky); font-size: 15px; }

/* ---------- 三核心优势 ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.advantage {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 30px; transition: .3s ease; position: relative; overflow: hidden;
}
.advantage::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.advantage:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.advantage:hover::before { transform: scaleX(1); }
.adv-icon { width: 58px; height: 58px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; font-size: 26px; color: #06253a; margin-bottom: 22px; box-shadow: 0 8px 18px rgba(34,211,238,.28); }
.advantage h3 { font-size: 21px; margin-bottom: 12px; }
.advantage p { color: var(--muted); font-size: 15px; }
.adv-tag { display: inline-block; margin-top: 16px; font-size: 12px; font-weight: 600; color: var(--sky); background: rgba(56,189,248,.10); padding: 4px 12px; border-radius: 30px; }

/* ---------- 服务预览 ---------- */
.bg-soft { background: var(--light); }
.service-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.srv-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: .32s ease; display: flex; flex-direction: column;
}
.srv-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.srv-card .s-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.srv-card .s-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.srv-card:hover .s-media img { transform: scale(1.07); }
.srv-card .s-media .s-badge { position: absolute; top: 14px; left: 14px; background: rgba(8,16,34,.78); color: var(--cyan); font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 30px; backdrop-filter: blur(4px); }
.srv-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.srv-body h3 { font-size: 19px; margin-bottom: 10px; }
.srv-body p { color: var(--muted); font-size: 14px; flex: 1; }
.srv-link { margin-top: 18px; font-weight: 600; font-size: 14px; color: var(--sky); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s; }
.srv-link:hover { gap: 10px; }

.section-cta { margin-top: 48px; text-align: center; }

/* ---------- 客户评价 ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; transition: .3s;
}
.testi:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testi .stars { color: var(--amber); letter-spacing: 3px; margin-bottom: 16px; }
.testi blockquote { color: #33415a; font-size: 15px; flex: 1; margin-bottom: 22px; }
.testi .who { display: flex; align-items: center; gap: 13px; }
.testi .avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; font-size: 14px; }
.testi .who span { font-size: 12px; color: var(--muted); }

/* ---------- 关于预览 ---------- */
.about-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ap-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.ap-media img { width: 100%; height: 100%; object-fit: cover; }
.ap-badge {
  position: absolute; bottom: 20px; left: 20px; background: rgba(8,16,34,.82); color: var(--white);
  padding: 14px 20px; border-radius: 14px; backdrop-filter: blur(6px);
  display: flex; gap: 16px; align-items: center;
}
.ap-badge b { font-family: var(--font-d); font-size: 22px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ap-badge span { font-size: 12px; color: #b9c7dd; }
.ap-list { margin: 24px 0 30px; display: grid; gap: 14px; }
.ap-list li { display: flex; gap: 12px; color: #33415a; font-size: 15px; }
.ap-list li .ck { color: var(--sky); font-weight: 700; }

/* ---------- 最终 CTA ---------- */
.cta-band {
  background: radial-gradient(900px 400px at 50% 0%, rgba(34,211,238,.22), transparent 60%), linear-gradient(150deg, #081022, #0d1a38);
  color: var(--white); border-radius: 24px; padding: 64px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 16px; }
.cta-band p { color: #b9c7dd; max-width: 560px; margin: 0 auto 32px; font-size: 17px; }
.cta-band .hero-cta { justify-content: center; margin: 0; }
.cta-band::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(34,211,238,.25), transparent 65%); }

/* ============================================================
   关于页
   ============================================================ */
.page-hero { position: relative; color: var(--white); background: linear-gradient(160deg,#081022,#0d1a38); padding: calc(var(--header-h) + 64px) 0 72px; overflow: hidden; }
.page-hero::before { content:""; position:absolute; inset:0; opacity:.4; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:52px 52px; mask-image: radial-gradient(ellipse at 60% 30%,#000 30%,transparent 75%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(30px,4.4vw,46px); margin-bottom: 16px; }
.page-hero h1 em { font-style:normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero p { color:#b9c7dd; font-size:17px; max-width:680px; }
.crumb { font-size: 13px; color:#8fa2bf; margin-bottom: 20px; }
.crumb a { color: var(--cyan); }
.crumb a:hover { text-decoration: underline; }

/* 品牌故事 */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-copy p { color: #41506a; margin-bottom: 16px; }
.story-copy .quote { border-left: 3px solid var(--sky); padding: 4px 0 4px 20px; color: var(--ink-2); font-size: 18px; font-family: var(--font-d); font-weight: 600; margin: 24px 0; line-height: 1.5; }

/* 使命 / 数值 */
.mission-band { background: var(--dark); color: var(--white); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.mission-copy p { color: #b9c7dd; margin-bottom: 16px; }
.mission-copy h2 { font-size: clamp(26px,3.6vw,36px); margin-bottom: 20px; }
.value-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value-stat { background: rgba(22,35,63,.6); border:1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 24px 18px; text-align: center; }
.value-stat .n { font-family: var(--font-d); font-weight: 700; font-size: 30px; background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.value-stat .l { font-size: 12px; color:#93a5c0; margin-top:6px; }

/* 差异化优势 */
.diff-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.diff {
  background: var(--white); border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display:flex; gap:20px; transition:.3s;
}
.diff:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.diff .di { flex-shrink:0; width:52px; height:52px; border-radius: 12px; background: var(--grad); display:grid; place-items:center; font-size:24px; color:#06253a; }
.diff h3 { font-size: 18px; margin-bottom:8px; }
.diff p { color: var(--muted); font-size: 14px; }

/* ============================================================
   服务页
   ============================================================ */
.service-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.svc-item { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 34px 28px; transition:.3s; position:relative; overflow:hidden; }
.svc-item::before { content:""; position:absolute; top:0; left:0; right:0; height:3px; background:var(--grad); transform:scaleX(0); transform-origin:left; transition:.4s; }
.svc-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color:transparent; }
.svc-item:hover::before { transform: scaleX(1); }
.svc-item .num { position:absolute; top:24px; right:26px; font-family: var(--font-d); font-weight:700; font-size:34px; color:#e7eef7; }
.svc-item .si { width:56px;height:56px;border-radius:13px;background:var(--grad);display:grid;place-items:center;font-size:25px;color:#06253a;margin-bottom:20px; }
.svc-item h3 { font-size:19px; margin-bottom:10px; }
.svc-item p { color: var(--muted); font-size:14px; margin-bottom:16px; }
.svc-item ul { display:grid; gap:8px; }
.svc-item ul li { font-size:13px; color:#41506a; display:flex; gap:8px; align-items:center; }
.svc-item ul li::before { content:"•"; color: var(--sky); font-weight:700; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; counter-reset: step; }
.step { position: relative; background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition:.3s; }
.step:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-d); font-weight:700; font-size: 40px; background: var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; display:block; margin-bottom:14px; }
.step h3 { font-size:18px; margin-bottom:8px; }
.step p { color: var(--muted); font-size:13px; }
.step-arrow { position:absolute; right:-22px; top:50%; transform:translateY(-50%); color: var(--sky); font-size:20px; z-index:2; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--white); border:1px solid var(--line); border-radius: 14px; overflow:hidden; transition:.3s; }
.faq-item.open { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.faq-q { width:100%; display:flex; justify-content:space-between; align-items:center; gap:16px; padding: 20px 24px; font-weight:600; font-size:16px; text-align:left; color: var(--ink); }
.faq-q .faq-ic { flex-shrink:0; width:28px;height:28px;border-radius:50%;background:var(--light);display:grid;place-items:center;color:var(--sky);font-size:18px;transition:.3s; }
.faq-item.open .faq-ic { background: var(--grad); color:#06253a; transform: rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size:15px; }

/* ============================================================
   列表页
   ============================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filter-btn { padding: 11px 22px; border-radius: 60px; background: var(--white); border:1px solid var(--line); font-weight:600; font-size:14px; color:#3a465c; transition:.25s; }
.filter-btn:hover { border-color: var(--sky); color: var(--sky); }
.filter-btn.active { background: var(--grad); color:#06253a; border-color:transparent; box-shadow: 0 6px 16px rgba(34,211,238,.28); }

.work-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.work-card { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); overflow:hidden; transition:.32s; display:flex; flex-direction:column; }
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-media { aspect-ratio: 4/3; overflow:hidden; position:relative; }
.work-media img { width:100%; height:100%; object-fit:cover; transition:.5s; }
.work-card:hover .work-media img { transform: scale(1.06); }
.work-cat { position:absolute; top:14px; left:14px; background:rgba(8,16,34,.78); color:var(--cyan); font-size:12px; font-weight:600; padding:6px 12px; border-radius:30px; }
.work-body { padding:22px 24px 24px; display:flex; flex-direction:column; flex:1; }
.work-body h3 { font-size:18px; margin-bottom:8px; }
.work-body p { color: var(--muted); font-size:13px; flex:1; }
.work-meta { display:flex; gap:16px; margin-top:16px; font-size:12px; color:var(--sky); font-weight:600; }
.work-hide { display:none; }

/* ============================================================
   联系页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: clamp(24px,3vw,32px); margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 32px; }
.info-list { display: grid; gap: 18px; margin-bottom: 34px; }
.info-item { display:flex; gap:16px; align-items:flex-start; }
.info-item .ii { flex-shrink:0; width:48px;height:48px;border-radius:12px;background:var(--grad);display:grid;place-items:center;font-size:20px;color:#06253a; }
.info-item b { display:block; font-size:14px; margin-bottom:2px; }
.info-item span, .info-item a { color: var(--muted); font-size:14px; }
.info-item a:hover { color: var(--sky); }

.socials { display:flex; gap:12px; }
.social-btn { width:46px;height:46px;border-radius:12px;background:var(--light);border:1px solid var(--line);display:grid;place-items:center;color:var(--ink-2);font-size:18px;transition:.25s; }
.social-btn:hover { background:var(--grad); color:#06253a; transform:translateY(-3px); border-color:transparent; }

.form-card { background: var(--white); border:1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .fc-sub { color: var(--muted); font-size:14px; margin-bottom: 26px; }
.form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:13px; font-weight:600; color:var(--ink-2); margin-bottom:8px; }
.field input, .field textarea {
  width:100%; padding: 13px 16px; border-radius: 10px; border:1px solid var(--line);
  background: var(--light); font-family: inherit; font-size:15px; color:var(--ink); transition:.25s;
}
.field input:focus, .field textarea:focus { outline:none; border-color: var(--sky); background:var(--white); box-shadow: 0 0 0 3px rgba(56,189,248,.18); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size:12px; color:var(--muted); margin-top:14px; }
.form-success { display:none; background: rgba(34,197,94,.10); border:1px solid rgba(34,197,94,.35); color:#15803d; padding:14px 18px; border-radius:10px; font-size:14px; margin-top:16px; }
.form-success.show { display:block; }

/* 地图 */
.map-wrap { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); margin-top: 72px; }
.map-wrap iframe { display:block; width:100%; height: 420px; border:0; }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: #070d1b; color:#93a5c0; margin-top: 40px; }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand p { margin-top: 16px; font-size:14px; max-width: 300px; line-height:1.8; }
.footer-col h4 { color: var(--white); font-size:15px; margin-bottom: 20px; font-family: var(--font-d); }
.footer-col ul { display:grid; gap:12px; }
.footer-col a { font-size:14px; transition:.25s; }
.footer-col a:hover { color: var(--cyan); }
.footer-col .f-info { display:grid; gap:12px; font-size:14px; }
.footer-col .f-info a:hover { color: var(--cyan); }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding: 22px 0; display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; font-size:13px; }
.footer-bottom a:hover { color: var(--cyan); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .advantage-grid, .service-preview-grid, .testi-grid, .work-grid, .service-grid, .diff-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .step-arrow { display:none; }
  .about-preview, .story-grid, .mission-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: repeat(2,1fr); }
  .value-stats { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .nav, .header-cta .btn-header { display:none; }
  .nav-toggle { display:flex; }
  .section { padding: 64px 0; }
  .hero { padding-top: calc(var(--header-h) + 44px); }
  .advantage-grid, .service-preview-grid, .testi-grid, .work-grid, .service-grid, .diff-grid, .steps { grid-template-columns: 1fr; }
  .chip-1 { left: -6px; } .chip-2 { right: -6px; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 48px 24px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 0 32px; }
  .value-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .value-stats { grid-template-columns: 1fr; }
}
