/* 创意共和 · 前台样式（风格 A：满屏轮播 + 紧密作品网格） */
:root {
  --brand: #E85505; --brand-ink: #C44804;
  --ink: #111; --ink-2: #4d4d4d; --muted: #6b6b6b; --paper: #fff; --soft: #f5f5f4; --line: #e3e3e3;
  --dark: #111; --dark-line: #2a2a2a; --on-dark: #ececec; --on-dark-2: #9a9a9a;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --fs-xs: 12px; --fs-s: 13px; --fs-m: 15px;
  --fs-l: clamp(16px, .6vw + 12px, 19px);
  --fs-xl: clamp(20px, 1.2vw + 13px, 30px);
  --fs-xxl: clamp(28px, 3vw + 14px, 56px);
  --gut: clamp(12px, 2.2vw, 32px); --g: 3px; --sec: clamp(32px, 4.5vw, 72px); --hdr: 56px; --read: 760px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 960px) { :root { --hdr: 64px; } }

*, ::before, ::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--fs-m)/1.65 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; text-wrap: balance; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -40px; z-index: 100; padding: 6px 12px; background: #000; color: #fff; }
.skip:focus { top: 8px; }
.num { font-variant-numeric: tabular-nums; }
.more { font-size: var(--fs-s); font-weight: 500; white-space: nowrap; }
.more::after { content: " →"; }
.more:hover { color: var(--brand-ink); }
.sec { padding: var(--sec) var(--gut); }
.sec--soft { background: var(--soft); }
.shead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.shead h2 { font-size: var(--fs-xl); }
.btn { display: inline-block; padding: 10px 22px; background: var(--brand); color: #fff; font-weight: 500; }
.btn:hover { background: var(--brand-ink); }

/* 头部：深色底；首页压在首屏大图上，滚出首屏后变实色 */
.hdr { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: clamp(8px, 2vw, 32px); height: var(--hdr); padding: 0 var(--gut); background: var(--dark); color: #fff; }
.hdr--over { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(0, 0, 0, .55), transparent); }
.hdr--over.is-solid, .hdr--over.is-menu { background: var(--dark); }
.hdr__logo img { width: auto; height: 26px; }
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; gap: clamp(16px, 2vw, 32px); }
.hdr__nav a { position: relative; display: block; padding: 6px 0; font-weight: 500; }
.hdr__nav a::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: none; }
.hdr__icon { display: grid; place-items: center; width: 40px; height: 40px; }
.hdr__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.hdr__menu, .hdr__menu .i-x, .hdr__menu[aria-expanded="true"] .i-m { display: none; }
.hdr__menu[aria-expanded="true"] .i-x { display: block; }
@media (min-width: 960px) { .hdr__logo img { height: 30px; } }
@media (max-width: 959px) {
  .hdr__search { margin-left: auto; }
  /* 手机和平板上的菜单按钮：图标和点按范围都大一些，图标右边仍和页面边距对齐 */
  .hdr__menu { display: grid; width: 46px; height: 46px; margin-right: -9px; }
  .hdr__menu svg { width: 28px; height: 28px; stroke-width: 1.8; }
  .hdr__nav { position: fixed; inset: var(--hdr) 0 0; z-index: 49; margin: 0; padding: 12px var(--gut); background: var(--dark); color: #fff;
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility 0s .2s; }
  .hdr__nav.is-open { visibility: visible; opacity: 1; transition-delay: 0s; }
  .hdr__nav ul { flex-direction: column; gap: 0; }
  .hdr__nav a { padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: 22px; }
  .hdr__nav a::after { display: none; }
  .hdr__nav a[aria-current] { color: var(--brand); }
  body.nav-open { overflow: hidden; }
}

/* 首屏轮播 */
.hero { position: relative; height: 100svh; min-height: 520px; max-height: 1000px; overflow: hidden; background: #000; color: #fff; touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.slide.is-active { z-index: 1; opacity: 1; }
.slide a { display: block; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide a::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
/* 轮播文字，样式 A：左下角显示类型、名称和“查看案例” */
.slide__cap { position: absolute; left: var(--gut); bottom: 88px; z-index: 1; max-width: min(1100px, calc(100% - 320px)); }
.slide__type { display: block; font-size: var(--fs-s); letter-spacing: .04em; }
.slide__client { display: block; margin-top: 4px; font-size: var(--fs-xxl); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.slide__more { display: inline-block; margin-top: 10px; padding-bottom: 2px; border-bottom: 2px solid var(--brand); font-size: var(--fs-s); font-weight: 500; }
.slide__more::after { content: " →"; }
/* 样式 B：只显示名称，居中压在大图底部，字小一些；左右让出翻页按钮的位置 */
.hero--b .slide__cap { left: max(var(--gut), 230px); right: max(var(--gut), 230px); max-width: none; text-align: center; }
.hero--b .slide__client { margin-top: 0; font-size: clamp(20px, 1.4vw + 12px, 32px); line-height: 1.3; letter-spacing: 0; }
/* 样式 B 的进度条：居中，总宽约为页面的 65%，线条粗 6px（样式 A 是 2px） */
.hero--b .hero__bars { left: 50%; right: auto; width: 65%; transform: translateX(-50%); }
.hero--b .hero__bars button::before, .hero--b .hero__bars i { top: 9px; height: 6px; }
/* 后台关掉翻页按钮时，文字往下移一些 */
.hero--bare .slide__cap { bottom: 64px; }
.hero__ui { position: absolute; right: var(--gut); bottom: 84px; z-index: 3; display: flex; align-items: center; gap: 6px; }
.hero__count { margin-right: 8px; font-size: var(--fs-s); }
.hero__count b { font-size: var(--fs-l); }
.hero__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; }
.hero__btn:hover { border-color: var(--brand-ink); background: var(--brand-ink); }
.hero__btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero__btn .i-play, .hero__btn[aria-pressed="true"] .i-pause { display: none; }
.hero__btn[aria-pressed="true"] .i-play { display: block; }
.hero__bars { position: absolute; left: var(--gut); right: var(--gut); bottom: 28px; z-index: 3; display: flex; gap: 6px; }
.hero__bars button { position: relative; flex: 1; height: 24px; }
.hero__bars button::before, .hero__bars i { content: ""; position: absolute; left: 0; top: 11px; height: 2px; }
.hero__bars button::before { right: 0; background: rgba(255, 255, 255, .35); }
.hero__bars i { width: 0; background: var(--brand); }
.hero__bars [aria-current] i { width: 100%; }
.hero.is-playing [aria-current] i { animation: bar var(--delay, 5s) linear forwards; }
@keyframes bar { from { width: 0; } to { width: 100%; } }
@media (max-width: 639px) {
  .hero { height: min(100svh, 150vw); min-height: 0; }
  .slide__cap, .hero--b .slide__cap { bottom: 96px; left: var(--gut); right: var(--gut); max-width: none; }
  /* 手机上底部的暗色渐变压得少一些：样式 B 只有一行标题，盖住下方约 30%；样式 A 文字多几行，盖住约 42% */
  .slide a::after { height: 42%; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
  .hero--b .slide a::after { height: 30%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
  .hero--bare .slide__cap { bottom: 44px; }
  .hero__ui { left: var(--gut); bottom: 44px; }
  .hero__count { margin-right: auto; }
  .hero__btn { width: 34px; height: 34px; }
  .hero__bars { bottom: 12px; }
}

/* 首页一句话介绍：标题、介绍、数字依次居中 */
.intro { display: grid; justify-items: center; padding: clamp(32px, 4.5vw, 72px) var(--gut) 0; text-align: center; }
/* 手机上优先在标点处换行，不把词拆开；一行放不下的长句再随处换行 */
.intro h1 { font-size: clamp(22px, 1.6vw + 14px, 38px); line-height: 1.4; text-wrap: balance; word-break: keep-all; overflow-wrap: anywhere; }
/* 介绍文字可以写一段话：字号放大、行距宽一些，每行不超过 40 来个字 */
.intro p { max-width: 46em; margin-inline: auto; margin-top: clamp(14px, 1.4vw, 22px); font-size: clamp(15px, .25vw + 13px, 17px); line-height: 1.9; color: var(--ink-2); text-wrap: pretty; }
.intro dl { display: flex; justify-content: center; gap: 16px 48px; margin-top: clamp(24px, 2.8vw, 40px); }
.intro dl div { display: flex; flex-direction: column-reverse; align-items: center; }
.intro dd { font-size: var(--fs-xl); font-weight: 600; line-height: 1.1; color: var(--brand); }
.intro dt { font-size: var(--fs-xs); color: var(--muted); }

/* 分类 / 二级导航 */
.cats { display: flex; gap: 4px 20px; padding: 0 var(--gut) 12px; overflow-x: auto; scrollbar-width: none; font-size: var(--fs-s); }
.cats::-webkit-scrollbar { display: none; }
.cats a { padding: 4px 0; white-space: nowrap; color: var(--ink-2); }
.cats a:hover { color: var(--brand-ink); }
.cats a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px var(--brand); }
/* 栏目二级导航（服务与报价、关于我们等）：放不下时自动换行，不用左右滑动 */
.cats--line { flex-wrap: wrap; gap: 2px 20px; overflow: visible; padding-top: 12px; border-bottom: 1px solid var(--line); font-size: var(--fs-m); }
/* 案例分类的带边框按钮（首页、案例列表），手机上自动换行；当前分类黑底白字 */
.cats--btn { flex-wrap: wrap; gap: 10px; padding: 4px var(--gut) clamp(16px, 2vw, 24px); overflow: visible; font-size: var(--fs-m); }
.cats--btn a { padding: 7px 20px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); transition: border-color .15s, color .15s; }
.cats--btn a:hover { border-color: var(--brand); color: var(--brand-ink); }
.cats--btn a[aria-current] { border-color: var(--ink); background: var(--ink); color: #fff; font-weight: 500; box-shadow: none; }
.cats--center { justify-content: center; padding-top: clamp(18px, 2vw, 28px); padding-bottom: clamp(20px, 2.4vw, 32px); }
@media (min-width: 960px) { .cats--btn { font-size: 16px; } .cats--btn a { padding: 8px 24px; } }

/* 作品格：图片铺满，悬停时显示客户和类型；手机和触屏上常显 */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--g); }
.grid > li { aspect-ratio: 1; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: block; height: 100%; overflow: hidden; background: #222; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tile:hover::after { transform: none; }
.tile__cap { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; padding: 32px 16px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); color: #fff;
  opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease); }
.tile__cap b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: var(--fs-l); font-weight: 600; line-height: 1.35; }
.tile__cap span { font-size: var(--fs-s); color: rgba(255, 255, 255, .85); }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { opacity: 1; transform: none; }
@media (hover: none), (max-width: 639px) {
  .tile__cap { opacity: 1; transform: none; padding: 28px 10px 10px; }
  .tile__cap b { font-size: var(--fs-m); }
  .tile__cap span { font-size: var(--fs-xs); }
}
.more-bar { display: block; padding: 16px; background: var(--dark); color: #fff; text-align: center; font-weight: 500; }
.more-bar::after { content: " →"; }
.more-bar:hover { background: var(--brand-ink); }

/* 服务条 */
.svc { padding: var(--sec) var(--gut); background: var(--dark); color: #fff; border-top: 1px solid var(--dark-line); }
.svc > ul { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.svc li a { display: flex; flex-direction: column; height: 100%; padding: 14px 16px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); }
.svc b { font-size: clamp(18px, .6vw + 14px, 22px); line-height: 1.4; font-weight: 600; }
.svc span { font-size: var(--fs-s); color: var(--on-dark-2); }
.svc strong { display: inline-block; margin-top: 2px; font-size: clamp(17px, .4vw + 13px, 19px); line-height: 1.35; color: var(--brand); font-weight: 600; }
.svc a:hover b { color: var(--brand); }
/* 每项服务包含的内容（取自服务单页的“交付内容”） */
.svc__items { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--dark-line); font-size: var(--fs-s); line-height: 1.6; color: var(--on-dark-2); }
.svc__items li { position: relative; padding: 2px 0 2px 14px; }
.svc__items li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 2px; background: var(--brand); }
@media (min-width: 960px) { .svc > ul { grid-template-columns: repeat(4, 1fr); } }

/* 文章卡片 */
.posts { display: grid; gap: 24px var(--gut); }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: block; }
.post__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #e9e9e7; }
.post__ph { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--dark); color: var(--on-dark-2); font-size: var(--fs-s); }
.post time, .post__meta { display: block; margin-top: 10px; font-size: var(--fs-xs); color: var(--muted); }
/* 列表标题每行排满再换行（不用全站标题的“平均分行”，否则稍长的标题会被分成两行一样短的） */
.post h3 { margin-top: 2px; font-size: var(--fs-m); line-height: 1.5; text-wrap: wrap; }
.post p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 4px; font-size: var(--fs-s); color: var(--muted); }
.post:hover h3 { color: var(--brand-ink); }
/* 品牌观察、公司动态列表：电脑上一行 5 篇，只显示图片和标题 */
.posts--titles { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.posts--titles .post h3 { font-weight: 400; }
/* 不显示日期时，标题和图片之间留出同样的距离 */
.post__img + h3, .post__ph + h3 { margin-top: 10px; }
@media (min-width: 640px) { .posts--titles { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
@media (min-width: 960px) { .posts--titles { grid-template-columns: repeat(5, 1fr); } }
/* 首页文章板块的标题：不加粗，字号和页脚地址一样 */
.posts--home .post h3 { font-size: var(--fs-s); font-weight: 400; line-height: 1.6; }
/* 首页文章板块：手机一行 2 篇，平板 3 篇，电脑按后台“文章板块每行篇数”3～6 篇 */
.posts--home { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 640px) { .posts--home { grid-template-columns: repeat(3, 1fr); gap: 28px 20px; } }
/* 手机上：一行一条，标题在左、小图在右，条与条之间用细线分开 */
@media (max-width: 639px) {
  .posts--home { grid-template-columns: 1fr; gap: 0; }
  .posts--home li + li { border-top: 1px solid var(--line); }
  .posts--home .post { display: grid; grid-template-columns: minmax(0, 1fr) 116px; grid-template-rows: auto 1fr; column-gap: 14px; padding: 14px 0; }
  .posts--home .post__img, .posts--home .post__ph { grid-column: 2; grid-row: 1 / span 2; width: 116px; aspect-ratio: 4 / 3; }
  .posts--home .post h3 { grid-column: 1; grid-row: 1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0; font-size: var(--fs-m); line-height: 1.55; }
  .posts--home .post__meta { grid-column: 1; grid-row: 2; align-self: end; margin-top: 6px; }
}
@media (min-width: 960px) {
  .posts--cols-4 { grid-template-columns: repeat(4, 1fr); }
  .posts--cols-5 { grid-template-columns: repeat(5, 1fr); }
  .posts--cols-6 { grid-template-columns: repeat(6, 1fr); }
}

/* 客户墙 */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.logos li { display: grid; place-items: center; min-height: 88px; padding: 14px; background: var(--paper); text-align: center; font-size: var(--fs-s); color: var(--ink-2); }
.logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos li:hover img { filter: none; opacity: 1; }

/* 内页标题区 */
.phead { padding: clamp(20px, 3vw, 44px) var(--gut) clamp(14px, 1.6vw, 22px); }
.phead h1 { margin-top: 6px; font-size: var(--fs-xxl); letter-spacing: -.02em; }
.phead p { max-width: var(--read); margin-top: 8px; color: var(--ink-2); }
.phead__price { margin-top: 10px; font-size: var(--fs-xl); font-weight: 600; color: var(--brand); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 6px; font-size: var(--fs-xs); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #bbb; }
.crumbs a:hover { color: var(--brand-ink); }
.list { padding: 20px var(--gut) 0; }
.empty { padding: var(--sec) var(--gut); color: var(--muted); }

/* 分页 */
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: var(--sec) var(--gut); }
.pager a, .pager span { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border: 1px solid var(--line); font-size: var(--fs-s); }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* 正文排版 */
.prose { max-width: var(--read); margin: 0 auto; font-size: 16px; line-height: 1.85; color: #222; overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.8em; font-size: var(--fs-xl); }
.prose h3 { margin-top: 1.5em; font-size: var(--fs-l); }
/* 正文图片默认居中；在编辑器里把图片那一行设成左对齐或右对齐时，图片跟着走 */
.prose img { margin-inline: auto; }
.prose [style*="text-align: left"] img, .prose [style*="text-align:left"] img { margin-inline: 0 auto; }
.prose [style*="text-align: right"] img, .prose [style*="text-align:right"] img { margin-inline: auto 0; }
/* 正文里的视频（后台上传的 MP4）和网络视频（视频号、B 站等的播放器），宽度跟正文一致 */
.prose video, .prose iframe { display: block; width: 100%; max-width: 100%; height: auto; margin-inline: auto; border: 0; background: #000; }
.prose iframe { aspect-ratio: 16 / 9; }
.prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.4em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose blockquote { padding-left: 16px; border-left: 3px solid var(--brand); color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-m); }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
/* 编辑器里的代码块、行内代码、分割线、待办清单 */
.prose pre { padding: 14px 16px; overflow-x: auto; background: #f5f5f7; border-radius: 4px; font-size: 14px; line-height: 1.6; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
.prose :not(pre) > code { padding: 1px 5px; background: #f2f2f4; border-radius: 3px; }
.prose hr { margin-block: 2em; border: 0; border-top: 1px solid var(--line); }
.prose [data-w-e-type="todo"] input { margin-right: 8px; vertical-align: -1px; }
/* 手机上列数多的表格不撑宽页面，表格自己左右滑动 */
@media (max-width: 639px) {
  .prose table { display: block; max-width: 100%; overflow-x: auto; }
}
.prose--wide { max-width: 1200px; }
.prose--wide + .tags { max-width: 1200px; }
.prose--wide img { width: auto; }

/* 案例和文章详情 */
.detail { padding: 0 var(--gut) var(--sec); }
.detail__head { max-width: 1200px; margin: 0 auto; padding: clamp(20px, 3vw, 44px) 0 clamp(18px, 2vw, 28px); }
.detail__head h1 { margin-top: 6px; font-size: var(--fs-xxl); letter-spacing: -.02em; }
.detail__head--article h1 { font-size: clamp(24px, 1.8vw + 14px, 40px); }
.detail__sub { margin-top: 8px; font-size: var(--fs-l); color: var(--ink-2); }
.detail__meta { margin-top: 10px; font-size: var(--fs-s); color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 4vw, 56px); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.facts dt { font-size: var(--fs-xs); color: var(--muted); }
.facts dd { font-weight: 500; }
.facts a:hover { color: var(--brand-ink); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--read); margin: 32px auto 0; }
.tags a { padding: 3px 12px; border: 1px solid var(--line); border-radius: 99px; font-size: var(--fs-s); color: var(--ink-2); }
.tags a:hover { border-color: var(--brand); color: var(--brand-ink); }
.pn { display: grid; gap: 12px; max-width: var(--read); margin: 32px auto 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-s); }
.pn a:hover { color: var(--brand-ink); }
.pn span { display: block; color: var(--muted); font-size: var(--fs-xs); }
@media (min-width: 640px) { .pn { grid-template-columns: 1fr 1fr; } .pn a:last-child:not(:first-child) { text-align: right; } }

/* 单页：服务、关于、团队、联系 */
.page { padding: clamp(20px, 3vw, 40px) var(--gut) var(--sec); }
.page > * + * { margin-top: var(--sec); }
/* 服务与报价页的价格卡片：手机一列，平板一行 3 个，电脑一行 5 个 */
.plans { display: grid; gap: var(--g); }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .plans { grid-template-columns: repeat(5, 1fr); } }
.plan { display: flex; flex-direction: column; padding: 22px 20px; background: var(--soft); }
.plan h3 { font-size: var(--fs-l); }
.plan__price { margin-top: 6px; font-size: var(--fs-xl); font-weight: 600; color: var(--brand); }
.plan ul { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: var(--fs-s); color: var(--ink-2); }
.plan li { padding: 3px 0 3px 16px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 2px; background: var(--brand); }
.plan .more { margin-top: auto; padding-top: 14px; }
/* 整张卡片（名称、价格、服务内容）都能点进服务详情页；卡片的留白移到链接上，点哪里都算 */
.plan--link { padding: 0; }
.plan__link { display: flex; flex-direction: column; height: 100%; padding: 22px 20px; color: inherit; }
.plan__link:hover h3, .plan__link:focus-visible h3, .plan__link:hover .more { color: var(--brand-ink); }
.split { display: grid; gap: var(--sec) clamp(24px, 4vw, 64px); }
/* 服务详情页：价格与交付放在左边，介绍文字紧挨着放在右边 */
@media (min-width: 960px) { .split { grid-template-columns: 320px minmax(0, 1fr); align-items: start; } .split .prose { margin: 0; } }
.aside { padding: 22px 20px; background: var(--dark); color: var(--on-dark); }
.aside h2 { font-size: var(--fs-l); color: #fff; }
.aside__price { margin-top: 4px; font-size: var(--fs-xl); font-weight: 600; color: var(--brand); }
.aside ul { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--dark-line); font-size: var(--fs-s); }
.aside li { padding: 3px 0; }
.aside li::before { content: "✓ "; color: var(--brand); }
.aside .btn { display: block; margin-top: 18px; text-align: center; }
.aside__tel { margin-top: 10px; font-size: var(--fs-s); color: var(--on-dark-2); text-align: center; }
.steps { display: grid; gap: var(--g); counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.steps li { padding: 18px 20px; background: var(--soft); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: var(--fs-xl); font-weight: 600; color: var(--brand); }
.steps b { display: block; margin-top: 4px; }
.steps p { margin-top: 4px; font-size: var(--fs-s); color: var(--ink-2); }
.faq { max-width: var(--read); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 16px; color: var(--ink-2); white-space: pre-line; }
.keyfacts { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--g); }
@media (min-width: 960px) { .keyfacts { grid-template-columns: repeat(4, 1fr); } }
.keyfacts div { padding: 20px; background: var(--dark); color: var(--on-dark-2); font-size: var(--fs-s); }
.keyfacts dd { font-size: var(--fs-xxl); font-weight: 600; line-height: 1.1; color: #fff; }
.timeline { max-width: var(--read); border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 18px 20px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline b { display: block; }
.timeline p { color: var(--ink-2); }
.members { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px var(--gut); }
@media (min-width: 640px) { .members { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .members { grid-template-columns: repeat(5, 1fr); } }
.members img, .members .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--soft); }
.members b { display: block; margin-top: 10px; }
.members span { font-size: var(--fs-s); color: var(--muted); }
.members p { margin-top: 6px; font-size: var(--fs-s); color: var(--ink-2); }
.offices { display: grid; gap: var(--g); }
@media (min-width: 640px) { .offices { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); } }
.office { padding: 24px 22px; background: var(--dark); color: var(--on-dark-2); }
.office h2 { font-size: var(--fs-l); color: #fff; }
.office p { margin-top: 8px; }
.office a { display: inline-block; margin-top: 10px; font-size: var(--fs-xl); font-weight: 600; color: var(--brand); }
.contact-extra { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.contact-extra dt { font-size: var(--fs-xs); color: var(--muted); }
.contact-extra dd { font-size: var(--fs-l); font-weight: 500; }

/* 搜索 */
.search { display: flex; max-width: 560px; margin-top: 14px; border: 1px solid var(--ink); }
.search input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; background: none; outline: 0; }
.search button { padding: 0 20px; background: var(--ink); color: #fff; }
.search button:hover { background: var(--brand-ink); }

/* 错误页 */
.err { display: grid; place-content: center; min-height: 60vh; padding: var(--sec) var(--gut); text-align: center; }
.err b { font-size: clamp(64px, 12vw, 160px); line-height: 1; color: var(--brand); }
.err h1 { margin-top: 8px; font-size: var(--fs-xl); }
.err p { margin-top: 8px; color: var(--muted); }
.err nav { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.err nav a { border-bottom: 2px solid var(--brand); }

/* 页脚 */
.ftr { padding: var(--sec) var(--gut) 20px; background: var(--dark); color: var(--on-dark-2); font-size: var(--fs-s); }
.ftr a:hover { color: var(--brand); }
.ftr__top { display: grid; gap: 16px 40px; padding-bottom: 20px; border-bottom: 1px solid var(--dark-line); }
.ftr__logo img { width: auto; height: 28px; }
.ftr__addr { line-height: 1.8; }
.ftr__tel { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 18px; }
.ftr__tel a { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.01em; color: var(--brand); }
.ftr__tel a:hover { color: #fff; }
.ftr__nav, .ftr__friends { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 14px 0; border-bottom: 1px solid var(--dark-line); }
.ftr__nav a { color: var(--on-dark); }
.ftr__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding-top: 14px; font-size: var(--fs-xs); }
@media (min-width: 960px) { .ftr__top { grid-template-columns: auto 1fr auto; align-items: center; } }

@media (prefers-reduced-motion: reduce) { *, ::before, ::after { transition-duration: 0s !important; animation: none !important; } }
.grid--list { margin-top: var(--g); }
.related { padding: 0 0 var(--sec); }
.related .shead { padding: 0 var(--gut); }
.page .prose { margin: 0; }
.page .shead { margin-bottom: 16px; }
.members .ph { display: block; }
.phead .search + p { margin-top: 10px; font-size: var(--fs-s); }
.plan__price--none, .aside__price--none { font-size: var(--fs-m); font-weight: 400; color: var(--muted); }
.aside__price--none { color: var(--on-dark-2); }
.awards { max-width: var(--read); border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.awards .num { grid-row: span 2; color: var(--brand); font-weight: 600; }
.awards b { grid-column: 2; font-weight: 500; }
.awards span:not(.num) { grid-column: 2; font-size: var(--fs-s); color: var(--muted); }
@media (min-width: 960px) { .svc > ul { grid-template-columns: repeat(5, 1fr); } }
.plan__price { font-size: clamp(18px, .8vw + 11px, 24px); line-height: 1.35; }
/* 卡片窄时价格和服务项会折行：避免最后一行只剩一个字 */
.plan__price, .plan li { text-wrap: pretty; }
.office__tel { display: flex; flex-wrap: wrap; gap: 0 20px; }
.page .prose--full { max-width: none; }
.prose--full img { width: 100%; }
.offices + .prose--full { margin-top: var(--g); }
.office { display: flex; flex-direction: column; padding: 0; }
.office__info { padding: 24px 22px; }
.office__map { width: 100%; height: auto; aspect-ratio: 955 / 622; object-fit: cover; margin-top: auto; background: var(--soft); }
.post__meta time { display: inline; margin: 0; }
.list { padding-bottom: var(--sec); }
.list + .pager { padding-top: 0; }
@media (max-width: 639px) {
  .steps li { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; }
  .steps li::before { display: inline; }
  .steps b { margin-top: 0; }
  .steps p { grid-column: 2; }
}

/* 手机底部快捷菜单：首页、案例、服务、电话、微信 */
.tabbar { display: none; }
@media (max-width: 767px) {
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(58px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: rgba(17, 17, 17, .97); border-top: 1px solid var(--dark-line); }
  .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--on-dark-2); font-size: 13px; line-height: 1; }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar [aria-current] { color: #fff; }
  .tabbar [aria-current] svg { stroke: var(--brand); }
  /* 页脚精简：去掉友情链接和整排链接，只留 Logo、地址、电话、版权 */
  .ftr { padding-top: 28px; }
  .ftr__friends, .ftr__nav { display: none; }
  .ftr__top { gap: 10px; }
  .ftr__tel a { font-size: var(--fs-l); }
  .ftr__legal { padding-top: 12px; }
}

/* 微信弹窗 */
.wx { width: min(320px, calc(100% - 32px)); padding: 24px 20px 18px; border: 0; border-radius: 12px; color: var(--ink); text-align: center; }
.wx::backdrop { background: rgba(0, 0, 0, .6); }
.wx h2 { font-size: var(--fs-l); }
.wx img { width: 200px; height: 200px; margin: 14px auto 10px; object-fit: contain; }
.wx b { font-size: var(--fs-l); }
.wx__hint { margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); }
.wx__btns { display: flex; justify-content: center; gap: 10px; margin-top: 16px; }
.wx__close { padding: 10px 18px; border: 1px solid var(--line); }

/* 单页顶部整宽图片（关于我们、团队） */
.page-banner { margin: clamp(20px, 3vw, 40px) var(--gut) 0; }
.page-banner img { width: 100%; max-height: 560px; object-fit: cover; }
.search__error { margin-top: 10px; color: var(--brand-ink); font-size: var(--fs-s); }

/* 后台预览链接打开时的提示条 */
.preview-bar { position: sticky; top: 0; z-index: 60; padding: 8px var(--gut); background: var(--brand); color: #fff; font-size: var(--fs-s); text-align: center; }
.preview-bar + .skip + .hdr { top: 36px; }

/* ===== 配色 2：橙色顶部和尾部（后台“网站设置 → 配色方案”切换；配色 1 就是上面的默认样式） ===== */
.theme-2 { --tint: #fdf2ea; --tint-line: #f3d6c3; }

/* 顶部：品牌橙底，白色 Logo、导航和图标；首页轮播上方也用实心橙色 */
.theme-2 .hdr, .theme-2 .hdr--over, .theme-2 .hdr--over.is-solid, .theme-2 .hdr--over.is-menu { background: var(--brand); }
.theme-2 .hdr__nav a::after { background: #fff; }
@media (max-width: 959px) {
  .theme-2 .hdr__nav { background: var(--brand); }
  .theme-2 .hdr__nav a { border-bottom-color: rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .88); }
  .theme-2 .hdr__nav a[aria-current] { color: #fff; font-weight: 600; }
}
.theme-2 .preview-bar { background: var(--ink); }

/* 首页“服务与报价”：白底，鼠标移到某一项时这一格变成浅暖色；价格用深一号的橙色 */
.theme-2 .svc { background: var(--paper); color: var(--ink); border-top: 0; }
.theme-2 .svc li a { transition: background-color .2s; }
/* 配色2 里“服务与报价”和下面的文章板块都是白底，两段上下留白会叠在一起：下面板块去掉顶部留白，间距和“服务与报价”上方一样 */
.theme-2 .svc + .sec { padding-top: 0; }
.theme-2 .svc > ul, .theme-2 .svc li a { border-color: var(--tint-line); }
.theme-2 .svc__items { border-top-color: var(--tint-line); color: var(--ink-2); }
.theme-2 .svc span { color: var(--muted); }
.theme-2 .svc strong { color: var(--brand-ink); }
.theme-2 .svc li a:hover { background: var(--tint); }

/* 服务与报价页：价格卡片、服务流程、右侧价格框 */
.theme-2 .plan { background: var(--tint); border-top: 3px solid var(--brand); }
.theme-2 .plan ul { border-top-color: var(--tint-line); }
.theme-2 .steps li { background: var(--tint); }
.theme-2 .aside { background: var(--tint); color: var(--ink-2); border-top: 3px solid var(--brand); }
.theme-2 .aside h2 { color: var(--ink); }
.theme-2 .aside ul { border-top-color: var(--tint-line); }
.theme-2 .aside__tel, .theme-2 .aside__price--none { color: var(--muted); }

/* 关于我们的关键数据、联系我们的办公地点、“查看更多”按钮、无图占位 */
.theme-2 .keyfacts div { background: var(--tint); color: var(--muted); }
.theme-2 .keyfacts dd { color: var(--brand); }
.theme-2 .office { background: var(--tint); color: var(--ink-2); border-top: 3px solid var(--brand); }
.theme-2 .office h2 { color: var(--ink); }
.theme-2 .office a { color: var(--brand-ink); }
.theme-2 .more-bar { background: var(--brand); }
.theme-2 .more-bar:hover { background: var(--brand-ink); }
.theme-2 .post__ph { background: var(--tint); color: var(--muted); }

/* 尾部：和顶部同一个橙色，文字用接近纯白，保证小字也看得清 */
.theme-2 .ftr { background: var(--brand); color: rgba(255, 255, 255, .94); }
.theme-2 .ftr__top, .theme-2 .ftr__nav, .theme-2 .ftr__friends { border-color: rgba(255, 255, 255, .28); }
.theme-2 .ftr__nav a, .theme-2 .ftr__tel a { color: #fff; }
.theme-2 .ftr a:hover, .theme-2 .ftr__tel a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 手机底部快捷菜单：白底，当前项用橙色 */
@media (max-width: 767px) {
  .theme-2 .tabbar { background: rgba(255, 255, 255, .97); border-top-color: var(--line); }
  .theme-2 .tabbar a, .theme-2 .tabbar button { color: var(--muted); }
  .theme-2 .tabbar [aria-current] { color: var(--ink); }
}
