/* ==========================================================================
   全站附加样式（返回顶部、页面级组件等）
   ========================================================================== */

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
  z-index: 80;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   资讯列表页布局
   ========================================================================== */
.news-page-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.news-page-main {
  display: flex;
  flex-direction: column;
}

/* 资讯侧边栏 */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.side-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}

.side-card h4 {
  font-size: 16px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-soft);
  display: inline-block;
}

.side-card ul li a {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--body);
  padding: 6px 0;
  transition: all 0.25s ease;
}

.side-card ul li a:hover {
  color: var(--blue-deep);
  padding-left: 4px;
}

/* 迷你资讯 */
.news-mini {
  margin-bottom: 14px;
}

.mini-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.mini-item:last-child {
  border-bottom: none;
}

.m-thumb {
  border-radius: var(--r-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.m-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m-body h5 {
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.m-date {
  font-size: 12px;
  color: var(--blue);
  font-family: var(--font-en);
}

/* ==========================================================================
   文章详情页
   ========================================================================== */
.article-wrap {
  background: #fff;
  border-radius: var(--r-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.article-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 30px;
}

.article-head h1 {
  font-size: 30px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-meta svg {
  color: var(--blue);
}

.article-content {
  font-size: 15.5px;
  line-height: 2;
  color: var(--body);
}

.article-content img {
  border-radius: var(--r-md);
  margin-bottom: 24px;
  width: 100%;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content h2,
.article-content h3 {
  margin: 28px 0 14px;
  font-size: 20px;
}

.article-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 16px;
}

.article-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article-tags a {
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--blue-mist);
  color: var(--blue-ink);
  font-size: 13px;
  transition: all 0.25s ease;
}

.article-tags a:hover {
  background: var(--blue);
  color: #fff;
}

/* ==========================================================================
   FAQ 折叠
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--r-md);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--blue-soft);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}

.faq-q {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  gap: 16px;
}

.faq-q .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  transition: all 0.3s ease;
}

.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.85;
}

/* ==========================================================================
   价格方案
   ========================================================================== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 36px 32px;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
  position: relative;
}

.price-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.price-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-md);
}

.price-card.featured::before {
  content: "推荐";
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.price-card h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.price-card .price-desc {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 20px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.price-amount .currency {
  font-size: 18px;
  color: var(--blue-deep);
  font-weight: 600;
}

.price-amount .amount {
  font-size: 42px;
  color: var(--ink);
  font-weight: 700;
  font-family: var(--font-en);
  line-height: 1;
}

.price-amount .unit {
  font-size: 14px;
  color: var(--muted);
}

.price-features {
  margin-bottom: 24px;
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--body);
  padding: 7px 0;
}

.price-features li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--green-deep);
}

.price-features li.disabled {
  color: var(--muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.price-features li.disabled svg {
  color: var(--muted);
}

/* ==========================================================================
   联系表单
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--blue-soft);
  box-shadow: var(--shadow-sm);
}

.contact-item .ci-ico {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--r-sm);
  background: var(--blue-mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .ci-body h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.contact-item .ci-body p {
  font-size: 14px;
  color: var(--body);
}

.contact-form {
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13.5px;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--body);
  background: var(--cream);
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(143, 193, 219, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-tip {
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ==========================================================================
   时间线
   ========================================================================== */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--blue-soft);
}

.tl-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}

.tl-dot {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-deep);
  font-family: var(--font-en);
  z-index: 2;
  margin-left: 0;
}

.tl-body {
  background: #fff;
  border-radius: var(--r-md);
  padding: 22px 24px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.tl-body h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.tl-body .tl-date {
  font-size: 12.5px;
  color: var(--blue);
  font-family: var(--font-en);
  margin-bottom: 8px;
}

.tl-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.8;
}

/* ==========================================================================
   荣誉网格
   ========================================================================== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.honor-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: all 0.3s ease;
}

.honor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--green-soft);
}

.honor-ico {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mist), var(--blue-mist));
  display: flex;
  align-items: center;
  justify-content: center;
}

.honor-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.honor-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   企业文化
   ========================================================================== */
.culture-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.culture-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 36px 28px;
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.35s ease;
}

.culture-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.culture-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: var(--r-sm);
  background: var(--blue-mist);
  display: flex;
  align-items: center;
  justify-content: center;
}

.culture-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
}

.culture-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}

/* ==========================================================================
   404 页面
   ========================================================================== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.error-page .error-code {
  font-size: 120px;
  font-weight: 700;
  font-family: var(--font-en);
  color: var(--blue);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.error-page h1 {
  font-size: 28px;
  margin-bottom: 14px;
}

.error-page p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 480px;
}

/* ==========================================================================
   服务总览页（services.html · 编号大卡）
   ========================================================================== */
.svc-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-tile {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px 28px;
  transition: all 0.4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.svc-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue-mist) 0%, var(--green-mist) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.svc-tile > * {
  position: relative;
  z-index: 1;
}

.svc-tile:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.svc-tile:hover::before {
  opacity: 1;
}

.svc-tile .tile-no {
  font-size: 44px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--cream-3);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}

.svc-tile:hover .tile-no {
  color: var(--blue-soft);
}

.svc-tile .tile-ico {
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: var(--blue-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.4s ease;
}

.svc-tile:hover .tile-ico {
  background: rgba(255, 255, 255, 0.6);
}

.svc-tile h3 {
  font-size: 18px;
  margin-bottom: 10px;
  transition: color 0.4s ease;
}

.svc-tile p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
  flex: 1;
  transition: color 0.4s ease;
}

.svc-tile:hover p {
  color: var(--body);
}

.svc-tile .tile-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-deep);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.svc-tile:hover .tile-more {
  gap: 8px;
}

/* ==========================================================================
   案例筛选
   ========================================================================== */
.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.case-filter button {
  padding: 9px 22px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  color: var(--body);
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.case-filter button:hover,
.case-filter button.active {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: #fff;
  border-color: transparent;
}

/* ==========================================================================
   数据指标条
   ========================================================================== */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.metric-row .metric {
  padding: 28px 16px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.metric-row .metric strong {
  display: block;
  font-size: 36px;
  color: var(--blue-deep);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-row .metric span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ==========================================================================
   行业方案
   ========================================================================== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.solution-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.solution-card .sol-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.solution-card .sol-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.solution-card:hover .sol-img img {
  transform: scale(1.08);
}

.solution-card .sol-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(43, 61, 79, 0.5) 100%);
}

.solution-card .sol-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--blue-ink);
  font-weight: 600;
  backdrop-filter: blur(6px);
  z-index: 2;
}

.solution-card .sol-body {
  padding: 26px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-card .sol-body h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.solution-card .sol-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  flex: 1;
}

.solution-card .sol-feat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.solution-card .sol-feat span {
  padding: 4px 12px;
  background: var(--blue-mist);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--blue-ink);
}

.solution-card .sol-more {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s ease;
}

.solution-card:hover .sol-more {
  gap: 8px;
}

/* ==========================================================================
   案例详情页
   ========================================================================== */
.case-detail-hero {
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.case-detail-hero img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.case-detail-hero .cd-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 30px 36px;
  background: linear-gradient(0deg, rgba(43, 61, 79, 0.85) 0%, transparent 100%);
  color: #fff;
}

.case-detail-hero .cd-overlay h2 {
  color: #fff;
  font-size: 28px;
  margin-bottom: 6px;
}

.case-detail-hero .cd-overlay p {
  color: rgba(251, 252, 250, 0.8);
  font-size: 14px;
}

.case-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.case-info-bar .ci-box {
  padding: 22px 20px;
  background: #fff;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  text-align: center;
}

.case-info-bar .ci-box label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

.case-info-bar .ci-box strong {
  font-size: 16px;
  color: var(--ink);
}

/* ==========================================================================
   团队页（补充 team-detail）
   ========================================================================== */
.team-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ==========================================================================
   网站地图
   ========================================================================== */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sitemap-block {
  background: #fff;
  border-radius: var(--r-md);
  padding: 28px 26px;
  border: 1px solid var(--line);
}

.sitemap-block h4 {
  font-size: 17px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--blue-soft);
  color: var(--ink);
}

.sitemap-block ul li {
  margin-bottom: 8px;
}

.sitemap-block ul li a {
  font-size: 14px;
  color: var(--body);
  transition: all 0.25s ease;
}

.sitemap-block ul li a:hover {
  color: var(--blue-deep);
  padding-left: 4px;
}

/* ==========================================================================
   文本协议页
   ========================================================================== */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-md);
  padding: 48px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.legal-content h2 {
  font-size: 22px;
  margin: 28px 0 14px;
  color: var(--ink);
  padding-left: 14px;
  border-left: 4px solid var(--blue);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 14.5px;
  line-height: 1.95;
  color: var(--body);
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 18px 20px;
}

.legal-content ul li {
  font-size: 14.5px;
  color: var(--body);
  margin-bottom: 8px;
  list-style: disc;
  line-height: 1.85;
}

.legal-content .legal-date {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   响应式（页面级）
   ========================================================================== */
@media (max-width: 1100px) {
  .svc-overview {
    grid-template-columns: repeat(2, 1fr);
  }
  .solution-grid {
    grid-template-columns: 1fr;
  }
  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-info-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .sitemap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .news-page-grid {
    grid-template-columns: 1fr;
  }

  .news-side {
    position: static;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .honor-grid,
  .culture-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .article-wrap {
    padding: 24px;
  }

  .article-head h1 {
    font-size: 24px;
  }

  .svc-overview {
    grid-template-columns: 1fr;
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-info-bar {
    grid-template-columns: 1fr;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .legal-content {
    padding: 28px;
  }
}
