:root{--c-primary:#1d3557;}
/* =========================================================
   SPECTRUM 彩绘品牌工坊 — 活力多彩 · 新粗野主义 / 孟菲斯
   共享样式表  css/main.css
   完全本地化：仅用本地 woff2 / 内联 SVG / 相对路径
   ========================================================= */

/* ---------- @font-face：本地 Poppins（英文标题/logo/装饰） ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins-800.woff2") format("woff2");
}

/* ---------- 设计令牌 ---------- */
:root {
  /* 高饱和撞色 */
  --c-white:   #ffffff;
  --c-coral:   #ff5a5f;  /* 珊瑚红 */
  --c-yellow:  #ffd166;  /* 明黄 */
  --c-purple:  #7b2ff7;  /* 紫 */
  --c-mint:    #06d6a0;  /* 薄荷绿 */
  --c-ink:     var(--c-primary, #1d3557);  /* 墨蓝（描边/硬阴影主色） */

  --ink-soft:  #2a4a73;
  --paper:     #fdfbf6;  /* 微暖白底，区别于纯白卡片 */

  /* 粗描边 & 硬阴影 */
  --border:    3px solid var(--c-ink);
  --border-2:  2px solid var(--c-ink);
  --shadow:    6px 6px 0 var(--c-ink);
  --shadow-sm: 4px 4px 0 var(--c-ink);
  --shadow-lg: 10px 10px 0 var(--c-ink);

  /* 字体栈 */
  --font-en:  "Poppins", "Arial Black", system-ui, sans-serif;
  --font-cn:  "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
              "Source Han Sans SC", "Noto Sans CJK SC", system-ui, sans-serif;

  --maxw: 1180px;
  --radius: 0px; /* 新粗野主义：锐角为主，部分卡片用大圆角做撞色对比 */
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--font-cn);
  font-weight: 700;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden; /* 杜绝横向溢出 */
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-en);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
  color: var(--c-ink);
}

h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }

p { margin: 0 0 1em; font-weight: 700; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

/* ---------- 通用按钮（粗描边 + 硬阴影 + 位移） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 14px 26px;
  background: var(--c-yellow);
  color: var(--c-ink);
  border: var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--c-ink); }

.btn--coral  { background: var(--c-coral);  color: #fff; }
.btn--mint   { background: var(--c-mint); }
.btn--purple { background: var(--c-purple); color: #fff; }
.btn--ink    { background: var(--c-ink); color: #fff; }
.btn--ghost  { background: var(--c-white); }

/* ---------- 装饰小标签（撞色 pill） ---------- */
.tag {
  display: inline-block;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--c-ink);
  color: #fff;
  border: var(--border-2);
  margin-bottom: 18px;
}
.tag--coral  { background: var(--c-coral);  color:#fff; }
.tag--yellow { background: var(--c-yellow); color: var(--c-ink); }
.tag--mint   { background: var(--c-mint);   color: var(--c-ink); }
.tag--purple { background: var(--c-purple); color:#fff; }

/* ---------- 区块通用 ---------- */
.section { padding: 76px 0; position: relative; }
.section--tint { background: var(--paper); }
.section--ink  { background: var(--c-ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { margin-bottom: 42px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { font-weight: 700; opacity: .85; }

/* =========================================================
   HEADER / 导航
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  border-bottom: var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 78px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: .02em;
  color: var(--c-ink);
  text-transform: uppercase;
  flex-shrink: 0;
}
.logo .logo-mark {
  width: 40px; height: 40px;
  border: var(--border-2);
  background: conic-gradient(var(--c-coral) 0 25%, var(--c-yellow) 0 50%,
                             var(--c-mint) 0 75%, var(--c-purple) 0 100%);
  display: inline-block;
  flex-shrink: 0;
  transform: rotate(-8deg);
}
.logo b { color: var(--c-coral); }
.logo small {
  display: block;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .18em;
  color: var(--c-ink);
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: .98rem;
  padding: 8px 14px;
  border: 2px solid transparent;
  transition: background .12s, color .12s, border-color .12s, transform .12s;
}
.nav-links a:hover { background: var(--c-yellow); border-color: var(--c-ink); }
.nav-links a.active {
  background: var(--c-ink);
  color: #fff;
  border-color: var(--c-ink);
}

/* 汉堡按钮 */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  border: var(--border-2);
  background: var(--c-coral);
  cursor: pointer;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 24px;
  margin-inline: auto;
  background: #fff;
  transition: transform .2s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 移动端抽屉 */
.mobile-menu {
  display: none;
  border-top: var(--border);
  background: var(--c-white);
}
.mobile-menu a {
  display: block;
  font-family: var(--font-cn);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 22px;
  border-bottom: var(--border-2);
}
.mobile-menu a.active { background: var(--c-ink); color: #fff; }
.mobile-menu a:hover:not(.active) { background: var(--c-yellow); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-ink);
  color: #fff;
  border-top: var(--border);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
}
.footer-grid h4 {
  color: var(--c-yellow);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.footer-brand .logo { color: #fff; }
.footer-brand .logo b { color: var(--c-yellow); }
.footer-brand p { color: #cfd8e6; font-weight: 600; font-size: .92rem; }
.footer-links a, .footer-contact li {
  display: block;
  color: #d7deea;
  font-weight: 600;
  font-size: .92rem;
  padding: 5px 0;
}
.footer-links a { transition: color .12s, transform .12s; }
.footer-links a:hover { color: var(--c-yellow); transform: translateX(4px); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 42px; height: 42px;
  border: 2px solid #fff;
  display: grid; place-items: center;
  transition: transform .12s, background .12s;
}
.footer-social a:hover { transform: translateY(-3px); background: var(--c-coral); }
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 2px solid rgba(255,255,255,.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
  color: #aeb9cc;
  font-weight: 600;
}

/* =========================================================
   通用卡片（新粗野主义）
   ========================================================= */
.card {
  background: var(--c-white);
  border: var(--border);
  box-shadow: var(--shadow);
  transition: transform .14s ease, box-shadow .14s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }

/* 几何装饰 */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.deco-circle {
  width: 90px; height: 90px;
  border: var(--border);
  border-radius: 50%;
  background: var(--c-yellow);
}
.deco-tri {
  width: 0; height: 0;
  border-left: 46px solid transparent;
  border-right: 46px solid transparent;
  border-bottom: 80px solid var(--c-coral);
}
.deco-ring {
  width: 70px; height: 70px;
  border: 10px solid var(--c-purple);
  border-radius: 50%;
}
.deco-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-mint);
  border: var(--border-2);
}

/* =========================================================
   HERO（首页）
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at 88% 18%, var(--c-yellow) 0 90px, transparent 91px),
    radial-gradient(circle at 12% 80%, var(--c-mint) 0 70px, transparent 71px),
    var(--c-white);
  border-bottom: var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 span { display: inline-block; }
.hero h1 .hl-coral  { color: var(--c-coral); }
.hero h1 .hl-purple { color: var(--c-purple); }
.hero h1 .hl-mint   { color: var(--c-mint); }
.hero-lead {
  font-size: 1.12rem;
  font-weight: 700;
  max-width: 520px;
  margin: 22px 0 30px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  position: relative;
  border: var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--c-purple);
  overflow: hidden;
}
.hero-visual img { width: 100%; height: 380px; object-fit: cover; }
.hero-visual .badge-pop {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--c-coral);
  color: #fff;
  font-family: var(--font-en);
  font-weight: 800;
  padding: 10px 16px;
  border: var(--border-2);
  transform: rotate(6deg);
  font-size: .85rem;
}

/* 波浪分隔 */
.wave-sep { display: block; width: 100%; height: auto; }

/* =========================================================
   首页区块
   ========================================================= */
/* 工作室简介 */
.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 46px;
  align-items: center;
}
.intro-img {
  border: var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.intro-img img { width: 100%; height: 360px; object-fit: cover; }
.intro-text h2 span { color: var(--c-coral); }

/* 服务概览卡片 */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.svc-card { padding: 26px 24px 30px; }
.svc-card .ico {
  width: 64px; height: 64px;
  border: var(--border);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 8px; }
.svc-card p { font-size: .94rem; font-weight: 700; color: var(--ink-soft); }
.svc-card:nth-child(1) .ico { background: var(--c-coral); }
.svc-card:nth-child(2) .ico { background: var(--c-yellow); }
.svc-card:nth-child(3) .ico { background: var(--c-mint); }
.svc-card:nth-child(4) .ico { background: var(--c-purple); }
.svc-card:nth-child(5) .ico { background: var(--c-coral); }
.svc-card:nth-child(6) .ico { background: var(--c-yellow); }

/* 精选作品网格 */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.work-card { overflow: hidden; }
.work-card .thumb { overflow: hidden; border-bottom: var(--border); }
.work-card .thumb img { width: 100%; height: 220px; object-fit: cover; transition: transform .25s; }
.work-card:hover .thumb img { transform: scale(1.06); }
.work-card .body { padding: 18px 20px 22px; }
.work-card .cat {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-purple);
}
.work-card h3 { font-size: 1.25rem; margin: 6px 0 0; }

/* 数据统计 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.stat {
  text-align: center;
  padding: 30px 16px;
  border: var(--border);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.stat:nth-child(1) { background: var(--c-coral); color:#fff; }
.stat:nth-child(2) { background: var(--c-yellow); }
.stat:nth-child(3) { background: var(--c-mint); }
.stat:nth-child(4) { background: var(--c-purple); color:#fff; }
.stat .num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
}
.stat .label { font-weight: 700; margin-top: 8px; font-size: .92rem; }

/* 最新动态（首页） */
.news-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.news-card { overflow: hidden; }
.news-card .thumb { overflow: hidden; border-bottom: var(--border); }
.news-card .thumb img { width: 100%; height: 180px; object-fit: cover; transition: transform .25s; }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 18px 20px 22px; }
.news-card .date {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: .8rem;
  color: var(--c-coral);
  letter-spacing: .04em;
}
.news-card h3 { font-size: 1.15rem; margin: 6px 0 0; }

/* 底部 CTA */
.cta-band {
  background: var(--c-coral);
  color: #fff;
  border: var(--border);
  box-shadow: var(--shadow);
  padding: 50px 40px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe6e7; font-weight: 700; }
.cta-band .btn { background: var(--c-ink); color:#fff; }

/* =========================================================
   内页横幅（Banner）
   ========================================================= */
.banner {
  position: relative;
  overflow: hidden;
  background: var(--c-yellow);
  border-bottom: var(--border);
  padding: 64px 0 56px;
}
.banner--purple { background: var(--c-purple); color: #fff; }
.banner--mint   { background: var(--c-mint); }
.banner--coral  { background: var(--c-coral); color:#fff; }
.banner--ink    { background: var(--c-ink); color:#fff; }
.banner h1 { position: relative; z-index: 1; }
.banner p { position: relative; z-index: 1; max-width: 640px; font-weight: 700; }
.banner .deco-circle { top: -30px; right: 8%; background: var(--c-coral); }
.banner--coral .deco-circle, .banner--ink .deco-circle { background: var(--c-yellow); }
.banner .deco-tri { bottom: -20px; left: 4%; }
.banner--purple .deco-tri { border-bottom-color: var(--c-yellow); }

/* =========================================================
   ABOUT 页
   ========================================================= */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; align-items: center; }
.story-grid img { border: var(--border); box-shadow: var(--shadow); width:100%; height:400px; object-fit:cover; }

.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.mv-card { padding: 28px 26px; }
.mv-card:nth-child(1) { background: var(--c-yellow); }
.mv-card:nth-child(2) { background: var(--c-mint); }
.mv-card:nth-child(3) { background: var(--c-coral); color:#fff; }
.mv-card h3 { display:flex; align-items:center; gap:10px; }
.mv-card p { font-weight: 700; font-size:.95rem; }

/* 时间线 */
.timeline { position: relative; max-width: 820px; margin-inline: auto; padding-left: 30px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 4px; background: var(--c-ink);
}
.tl-item { position: relative; padding: 0 0 30px 28px; }
.tl-item::before {
  content: ""; position: absolute; left: -24px; top: 6px;
  width: 20px; height: 20px; background: var(--c-coral);
  border: var(--border-2); border-radius: 50%;
}
.tl-item:nth-child(2)::before { background: var(--c-yellow); }
.tl-item:nth-child(3)::before { background: var(--c-mint); }
.tl-item:nth-child(4)::before { background: var(--c-purple); }
.tl-year { font-family: var(--font-en); font-weight: 800; font-size: 1.2rem; color: var(--c-purple); }
.tl-item h3 { font-size: 1.2rem; margin: 2px 0 6px; }
.tl-item p { font-size:.95rem; font-weight:700; color: var(--ink-soft); }

/* 团队 */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { overflow: hidden; }
.team-card .thumb { border-bottom: var(--border); overflow: hidden; }
.team-card .thumb img { width:100%; height: 320px; object-fit: cover; transition: transform .25s; }
.team-card:hover .thumb img { transform: scale(1.05); }
.team-card .body { padding: 18px 20px 22px; }
.team-card .role { font-family: var(--font-en); font-weight:800; font-size:.78rem; letter-spacing:.08em; text-transform:uppercase; color: var(--c-coral); }
.team-card h3 { font-size: 1.3rem; margin: 4px 0 0; }

/* =========================================================
   SERVICES 页
   ========================================================= */
.svc-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc-box { padding: 30px 28px; display: flex; gap: 22px; align-items: flex-start; }
.svc-box .pic { width: 150px; height: 120px; flex-shrink: 0; border: var(--border-2); overflow: hidden; }
.svc-box .pic img { width:100%; height:100%; object-fit: cover; }
.svc-box:nth-child(1) { background: var(--c-yellow); }
.svc-box:nth-child(2) { background: var(--c-mint); }
.svc-box:nth-child(3) { background: var(--c-coral); color:#fff; }
.svc-box:nth-child(4) { background: var(--c-purple); color:#fff; }
.svc-box:nth-child(5) { background: #fff; }
.svc-box:nth-child(6) { background: var(--c-ink); color:#fff; }
.svc-box h3 { margin-bottom: 8px; }
.svc-box p { font-weight: 700; font-size:.95rem; }
.svc-box .svc-no { font-family: var(--font-en); font-weight: 800; font-size: 1.6rem; }

/* 流程步骤 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative;
  padding: 28px 22px 26px;
  border: var(--border);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-en); font-weight: 800;
  font-size: 2.2rem; color: var(--c-coral);
  display: block; margin-bottom: 8px;
}
.step:nth-child(2)::before { color: var(--c-purple); }
.step:nth-child(3)::before { color: var(--c-mint); }
.step:nth-child(4)::before { color: var(--c-ink); }
.step h3 { font-size: 1.15rem; }
.step p { font-size:.9rem; font-weight:700; color: var(--ink-soft); }

/* =========================================================
   PORTFOLIO 页
   ========================================================= */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.filter-btn {
  font-family: var(--font-en); font-weight: 800; font-size: .9rem;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 20px;
  background: var(--c-white); color: var(--c-ink);
  border: var(--border-2); cursor: pointer;
  transition: transform .12s, background .12s, color .12s;
}
.filter-btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-sm); }
.filter-btn.active { background: var(--c-ink); color: #fff; }

.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pf-card { overflow: hidden; }
.pf-card.hide { display: none; }
.pf-card .thumb { overflow: hidden; border-bottom: var(--border); position: relative; }
.pf-card .thumb img { width:100%; height: 250px; object-fit: cover; transition: transform .3s; }
.pf-card:hover .thumb img { transform: scale(1.08) translateY(-4px); }
.pf-card .body { padding: 18px 20px 22px; }
.pf-card .cat { font-family: var(--font-en); font-weight:800; font-size:.74rem; letter-spacing:.1em; text-transform:uppercase; color: var(--c-purple); }
.pf-card h3 { font-size: 1.35rem; margin: 6px 0 0; }

/* =========================================================
   NEWS 页
   ========================================================= */
.news-list { display: flex; flex-direction: column; gap: 26px; }
.news-item {
  display: grid; grid-template-columns: 260px 1fr; gap: 26px;
  padding: 20px; align-items: center;
}
.news-item .thumb { border: var(--border-2); overflow: hidden; }
.news-item .thumb img { width:100%; height: 170px; object-fit: cover; transition: transform .25s; }
.news-item:hover .thumb img { transform: scale(1.05); }
.news-item .meta { font-family: var(--font-en); font-weight:800; font-size:.82rem; color: var(--c-coral); letter-spacing:.04em; }
.news-item h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.news-item p { font-weight: 700; color: var(--ink-soft); font-size:.95rem; }
.news-item .more { display:inline-block; margin-top:10px; font-family: var(--font-en); font-weight:800; font-size:.85rem; color: var(--c-purple); border-bottom: 2px solid var(--c-purple); }

/* 分页 */
.pager { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pager a {
  font-family: var(--font-en); font-weight: 800;
  width: 46px; height: 46px; display: grid; place-items: center;
  border: var(--border-2); background: var(--c-white); color: var(--c-ink);
  transition: transform .12s, background .12s, color .12s;
}
.pager a:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-sm); }
.pager a.active { background: var(--c-ink); color: #fff; }

/* =========================================================
   CONTACT 页
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-info .info-card { padding: 24px 26px; margin-bottom: 22px; }
.contact-info .info-card:nth-child(1) { background: var(--c-yellow); }
.contact-info .info-card:nth-child(2) { background: var(--c-mint); }
.contact-info .info-card h3 { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.contact-info .info-card p { font-weight:700; font-size:.95rem; margin:0; }

.hours { padding: 24px 26px; border: var(--border); background:#fff; box-shadow: var(--shadow-sm); }
.hours h3 { margin-bottom: 12px; }
.hours li { display:flex; justify-content: space-between; padding: 8px 0; border-bottom: 2px dashed var(--c-ink); font-weight:700; font-size:.92rem; }
.hours li:last-child { border-bottom: none; }

.form-card { padding: 32px 30px; }
.form-card h3 { margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight:700; margin-bottom: 6px; font-size:.95rem; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-cn); font-weight: 700;
  font-size: 1rem;
  padding: 12px 14px;
  border: var(--border);
  background: var(--c-white);
  color: var(--c-ink);
  outline: none;
}
.field input:focus, .field textarea:focus { box-shadow: var(--shadow-sm); transform: translate(-2px,-2px); }
.field textarea { resize: vertical; min-height: 120px; }

.map-placeholder {
  margin-top: 40px;
  height: 320px;
  border: var(--border);
  box-shadow: var(--shadow);
  background:
    repeating-linear-gradient(45deg, #eef2f7 0 14px, #e3e9f1 14px 28px);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.map-placeholder .pin {
  position: relative; z-index: 1;
  background: var(--c-coral); color:#fff;
  font-family: var(--font-en); font-weight:800;
  padding: 12px 20px; border: var(--border-2);
  text-align:center;
}

/* =========================================================
   回到顶部
   ========================================================= */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px;
  border: var(--border); background: var(--c-ink); color:#fff;
  display: none; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.totop.show { display: grid; }
.totop:hover { background: var(--c-coral); }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual img { height: 300px; }
  .intro-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .svc-grid, .work-grid, .news-row, .mv-grid, .team-grid, .pf-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .svc-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: none; }
  .mobile-menu.open { display: block; }
  .section { padding: 54px 0; }
  .svc-grid, .work-grid, .news-row, .mv-grid, .team-grid, .pf-grid,
  .stats-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item .thumb img { height: 200px; }
  .svc-box { flex-direction: column; }
  .svc-box .pic { width: 100%; height: 160px; }
  .footer-bottom { flex-direction: column; }
  .cta-band { padding: 36px 22px; }
}

/* 尊重减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}


/* ===== CMS helpers ===== */
.form-alert{padding:12px 16px;border-radius:8px;margin:0 0 16px;font-size:.92rem;line-height:1.6}
.form-alert-ok{background:rgba(46,160,67,.08);border:1px solid rgba(46,160,67,.35);color:#2ea043}
.form-alert-err{background:rgba(220,53,69,.08);border:1px solid rgba(220,53,69,.35);color:#dc3545}
.form-alert ul{margin:0;padding-left:18px}
.cms-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:44px 0 0}
.cms-pager a,.cms-pager span{min-width:38px;padding:8px 13px;border:1px solid rgba(128,128,128,.35);border-radius:6px;text-align:center;text-decoration:none;color:inherit}
.cms-pager .active{background:var(--c-primary);border-color:var(--c-primary);color:#fff}
.detail-page{max-width:1100px;margin:0 auto;padding:72px 24px}
.detail-media{width:100%;max-height:520px;object-fit:cover;border-radius:14px;margin-bottom:26px;display:block}
.detail-title{font-size:clamp(26px,3vw,38px);line-height:1.3;margin-bottom:12px}
.detail-meta{color:#777;font-size:.95rem;margin-bottom:20px}
.detail-body{line-height:1.9;color:#444}
.detail-body p{margin-bottom:1em}
.detail-body img{max-width:100%;height:auto;border-radius:10px}
.detail-back{display:inline-block;margin-top:28px;padding:11px 26px;border:1px solid rgba(128,128,128,.4);border-radius:999px;text-decoration:none;color:inherit}
/* ===== 深色 banner 标题白字（避免 h1 与背景同色不可读） ===== */
.banner--ink h1,.banner--purple h1,.banner--coral h1{color:#fff}
/* ===== 阅读全文按钮（硬边 neo-brutalist 风格） ===== */
.news-item .more{display:inline-block;margin-top:14px;padding:10px 20px;background:var(--c-ink);color:#fff;border:var(--border-2);box-shadow:var(--shadow-sm);font-family:var(--font-en);font-weight:800;font-size:.85rem;letter-spacing:.02em;text-decoration:none;transition:transform .12s ease,box-shadow .12s ease,background .12s ease}
.news-item .more:hover{background:var(--c-coral);transform:translate(-2px,-2px);box-shadow:var(--shadow)}
/* ===== 留言板一行一个 input（01 翰墨轩） ===== */
.form-grid{grid-template-columns:1fr}
