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

:root {
  --ink: #1c262d;
  --ink-2: #44535c;
  --ink-3: #7e8c94;
  --paper: #fbfdfd;
  --paper-2: #f1f6f7;
  --line: #dee8ea;
  --teal: #159f9f;
  --teal-2: #0d7e80;
  --rose: #c24568;
  --rose-2: #a23557;
  --grad: linear-gradient(120deg, #c24568, #6e5a8a 52%, #159f9f);
  --dark: #14232a;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* 顶栏 */
.site-head {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-size: 18px; font-weight: 600; letter-spacing: .06em; color: var(--ink);
}
.brand img { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.brand em { font-style: normal; color: var(--teal); }
.nav { display: flex; gap: 26px; font-size: 15px; flex-wrap: wrap; }
.nav a { color: var(--ink-2); position: relative; padding: 6px 0; }
.nav a:hover { color: var(--teal); text-decoration: none; }
.nav a.on { color: var(--teal); font-weight: 600; }
.nav a.on::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 2px; background: var(--grad);
}

/* 首屏轮播 */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero .slides { position: relative; height: 640px; background: var(--dark); }
.hero .slides img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.1s ease;
}
.hero .slides img.on { opacity: 1; }
.hero .veil { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,20,24,.72) 18%, rgba(11,20,24,.34) 62%, rgba(11,20,24,.18)); }
.hero .inner {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
}
.hero .eyebrow {
  font-size: 13px; letter-spacing: .34em; color: #bfe3e2; margin-bottom: 20px;
}
.hero h1 { font-size: 44px; line-height: 1.3; font-weight: 600; letter-spacing: .01em; max-width: 900px; }
.hero .lead { margin-top: 22px; font-size: 17.5px; color: #dbe7e9; max-width: 760px; }
.hero .btns { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 6px;
  font-size: 15.5px; border: 1px solid transparent;
}
.btn-solid { background: var(--teal); color: #fff; }
.btn-solid:hover { background: var(--teal-2); text-decoration: none; }
.btn-rose { background: var(--rose); color: #fff; }
.btn-rose:hover { background: var(--rose-2); text-decoration: none; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: #fff; text-decoration: none; }
.hero .dots { position: absolute; bottom: 26px; left: 24px; display: flex; gap: 8px; }
.hero .dots i {
  width: 26px; height: 3px; background: rgba(255,255,255,.35); cursor: pointer; display: block;
}
.hero .dots i.on { background: #fff; }

/* 通用区块 */
section { padding: 84px 0; }
section.tight { padding: 56px 0; }
.alt { background: var(--paper-2); }
.dark { background: var(--dark); color: #dbe5e8; }
.dark h2 { color: #fff; }
.dark .sub { color: #8ba3ab; }

h2 { font-size: 28px; font-weight: 600; letter-spacing: .01em; }
h3 { font-size: 17.5px; font-weight: 600; }
h2 + .en, .en {
  font-size: 12.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-3); margin-top: 6px;
}
.sub { color: var(--ink-3); font-size: 15.5px; margin-top: 10px; margin-bottom: 40px; }
.center { text-align: center; }
.center .sub { margin-left: auto; margin-right: auto; max-width: 640px; }

.answer {
  font-size: 17.5px; line-height: 1.85; color: var(--ink);
  border-left: 3px solid var(--teal); padding-left: 20px; max-width: 900px;
}
p + p { margin-top: 14px; }

/* 能力标签 */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tags span {
  font-size: 14.5px; padding: 7px 16px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.dark .tags span { border-color: #2c3f47; background: transparent; color: #b9cbd0; }

/* 业务卡片（带图） */
.svcs { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.svc {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  border-radius: 12px; min-height: 280px; color: #fff; background: var(--dark);
}
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover img { transform: scale(1.05); }
.svc .mask { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,14,16,.04) 32%, rgba(8,14,16,.84)); }
.svc .txt { position: relative; padding: 26px 26px 24px; }
.svc h3 { font-size: 19px; margin-bottom: 8px; }
.svc p { font-size: 14.5px; color: #d5e0e3; line-height: 1.7; }
.svc:hover .txt h3 { text-decoration: underline; }

/* 图文卡片（无背景图） */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px; display: block; color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: var(--teal); box-shadow: 0 10px 28px rgba(21,110,110,.10); text-decoration: none; }
.card p { font-size: 15px; color: var(--ink-2); margin-top: 10px; }
.card .more { font-size: 14.5px; color: var(--teal); margin-top: 16px; display: block; }
.dark .card { background: #1b2d34; border-color: #29414a; color: #dbe5e8; }
.dark .card p { color: #a9bec5; }

/* 列表 */
ul.plain { list-style: none; }
ul.plain li {
  position: relative; padding-left: 20px; margin-bottom: 12px;
  font-size: 15.5px; color: var(--ink-2);
}
ul.plain li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 7px; height: 7px; background: var(--rose); border-radius: 50%;
}
.dark ul.plain li { color: #b3c6cc; }

/* 流程 */
ol.steps { list-style: none; counter-reset: s; }
ol.steps li {
  counter-increment: s; position: relative; padding-left: 52px;
  margin-bottom: 26px; font-size: 15.5px; color: var(--ink-2);
}
ol.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-size: 15px; font-weight: 600; color: var(--teal);
  border: 1px solid var(--line); border-radius: 8px;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: #fff;
}
ol.steps li strong { color: var(--ink); display: block; margin-bottom: 2px; font-size: 16.5px; }

/* 案例相册 */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.gallery figure {
  margin: 0; overflow: hidden; border-radius: 10px; background: var(--paper-2);
  cursor: zoom-in; position: relative;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .55s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px;
  font-size: 13.5px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10,16,18,.8));
}

/* 案例版块切换 */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tabs a {
  font-size: 14.5px; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.tabs a:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

/* 案例筛选按钮 */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter button {
  font-size: 14.5px; padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  cursor: pointer; font-family: inherit;
}
.filter button:hover { border-color: var(--teal); color: var(--teal); }
.filter button.on { background: var(--teal); border-color: var(--teal); color: #fff; }

/* 文章卡片 */
.posts { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; display: block; color: inherit;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.post:hover { border-color: var(--teal); box-shadow: 0 12px 30px rgba(21,110,110,.10); text-decoration: none; }
.post img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post .pt { padding: 18px 20px 20px; }
.post .date { font-size: 13px; color: var(--rose); letter-spacing: .04em; }
.post h3 { font-size: 16.5px; margin: 8px 0 6px; line-height: 1.55; }
.post .pt p { font-size: 14px; color: var(--ink-3); line-height: 1.7; }

/* 文章内页 */
.art-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 14px; color: var(--ink-3);
  padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
}
.art-meta b { color: var(--rose); font-weight: 600; }
.prose { max-width: 860px; }
.prose p { font-size: 16.5px; line-height: 2.0; color: var(--ink-2); margin-top: 16px; }
.prose img { border-radius: 12px; margin: 28px 0 6px; width: 100%; }
.prose figcaption, .cap { font-size: 13.5px; color: var(--ink-3); margin-bottom: 8px; }
.prose h3 { margin-top: 34px; font-size: 19px; }

/* 时间轴 */
.timeline { list-style: none; max-width: 760px; }
.timeline li {
  position: relative; padding: 0 0 26px 30px; border-left: 1px solid var(--line);
}
.timeline li:last-child { padding-bottom: 4px; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: 8px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 3px #fff;
}
.timeline .yr { font-weight: 600; color: var(--rose); font-size: 15.5px; letter-spacing: .06em; }
.timeline p { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; background: rgba(9, 14, 16, .95);
  display: none; align-items: center; justify-content: center; z-index: 200;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; object-fit: contain; }
.lightbox .lb-close {
  position: absolute; top: 18px; right: 26px; color: #fff;
  font-size: 32px; line-height: 1; cursor: pointer; opacity: .8;
}
.lightbox .lb-close:hover { opacity: 1; }
.lightbox .lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 42px; line-height: 1; cursor: pointer; opacity: .75;
  padding: 0 18px; user-select: none;
}
.lightbox .lb-arrow:hover { opacity: 1; }
.lightbox .lb-prev { left: 8px; }
.lightbox .lb-next { right: 8px; }
.lightbox .lb-cap {
  position: absolute; bottom: 22px; left: 0; right: 0;
  text-align: center; color: #b9cbd0; font-size: 14px;
}

/* 数据条 */
.stats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); text-align: center; }
.stats b { display: block; font-size: 34px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.stats b i { font-style: normal; color: #4fd3cd; }
.stats span { font-size: 14.5px; color: #8ba3ab; }

/* 问答 */
.faq-item { border-bottom: 1px solid var(--line); padding: 28px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: 17.5px; margin-bottom: 12px; }
.faq-item p { font-size: 15.5px; color: var(--ink-2); }

/* 表格 */
table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 10px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--paper-2); font-weight: 600; }

/* 联系 */
.contact { background: var(--dark); color: #dbe5e8; }
.contact h2 { color: #fff; }
.contact .sub { color: #8ba3ab; }
.phones { display: flex; flex-wrap: wrap; gap: 14px; margin: 24px 0 8px; }
.phones[hidden] { display: none; }
.hero .btns .phones { margin: 0; width: 100%; align-items: center; }
.phones a {
  font-size: 26px; font-weight: 600; color: #fff; letter-spacing: .04em;
  border-bottom: 2px solid var(--teal); padding-bottom: 4px;
}
.phones a:hover { text-decoration: none; color: #4fd3cd; border-color: #fff; }
.contact dl { display: grid; grid-template-columns: 92px 1fr; gap: 12px 20px; font-size: 15.5px; margin-top: 26px; }
.contact dt { color: #7f99a1; }
.contact dd { color: #e7eef0; }

/* 页脚 */
.site-foot { background: #102026; border-top: 1px solid #223740; padding: 46px 0 40px; color: #7f99a1; }
.site-foot .wrap { font-size: 14.5px; }
.site-foot .links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 20px; }
.site-foot .links a { color: #b9cbd0; }
.site-foot .links a:hover { color: #4fd3cd; }

.crumb { font-size: 14px; color: var(--ink-3); padding: 22px 0 0; }
.crumb a { color: var(--ink-3); }

.pagehead { padding: 48px 0 0; }
.pagehead h1 { font-size: 32px; font-weight: 600; line-height: 1.4; }

@media (max-width: 860px) {
  .hero .slides { height: 500px; }
  .hero h1 { font-size: 27px; }
  .hero .lead { font-size: 16px; }
  section { padding: 56px 0; }
  h2 { font-size: 22px; }
  .site-head .wrap {
    min-height: auto; padding-top: 14px; padding-bottom: 14px;
    flex-direction: column; align-items: flex-start; gap: 10px;
  }
  .nav { gap: 16px; font-size: 14.5px; }
  .contact dl { grid-template-columns: 1fr; gap: 4px 0; }
  .contact dd { margin-bottom: 12px; }
  .phones a { font-size: 21px; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .posts { grid-template-columns: 1fr; }
}
