/* ==========================================================================
   内页专属补充样式（尧图建网站 mlqm.cn）
   各页面个性化模块，避免与首页样式重复
   ========================================================================== */

/* ==========================================================================
   服务详情页 · 顶部能力雷达（service-*.html 专属）
   ========================================================================== */
.svc-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 40px 0 20px;
}

.svc-hero .sh-text .sh-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: var(--sage-mist);
  color: var(--sage-ink);
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.svc-hero .sh-text h2 {
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.35;
}

.svc-hero .sh-text p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.95;
  margin-bottom: 22px;
}

.svc-hero .sh-feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
}

.svc-hero .sh-feat li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--body);
}

.svc-hero .sh-feat li svg {
  color: var(--sage-deep);
  flex-shrink: 0;
}

.svc-hero .sh-visual {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.svc-hero .sh-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 服务详情：交付清单双栏 */
.deliver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.deliver-card {
  padding: 28px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: all 0.35s ease;
}

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

.deliver-card .dc-ico {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: var(--sage-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-deep);
  margin-bottom: 16px;
}

.deliver-card h4 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

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

/* 服务详情：适用人群 */
.audience-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.audience-row .au-chip {
  padding: 14px 26px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--body);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: all 0.3s ease;
}

.audience-row .au-chip:hover {
  background: var(--sage-deep);
  color: #fff;
  border-color: var(--sage-deep);
  transform: translateY(-3px);
}

.audience-row .au-chip svg {
  color: var(--sage-deep);
}

.audience-row .au-chip:hover svg {
  color: #fff;
}

/* ==========================================================================
   案例详情 · 大图头部
   ========================================================================== */
.case-detail-hero {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 21 / 9;
  margin-bottom: 36px;
  box-shadow: var(--shadow-lg);
}

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

.case-detail-hero .cdh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(58, 58, 50, 0.82) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 44px;
}

.case-detail-hero .cdh-cat {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}

.case-detail-hero h1 {
  color: #fff;
  font-size: 32px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.case-detail-hero .cdh-meta {
  color: rgba(250, 247, 240, 0.78);
  font-size: 13.5px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* 案例详情：信息条 */
.case-info-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 30px;
  background: var(--sage-mist);
  border-radius: var(--r-lg);
  margin-bottom: 36px;
}

.case-info-bar .ci-item h5 {
  font-size: 12px;
  color: var(--sage-deep);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-en);
}

.case-info-bar .ci-item p {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}

/* ==========================================================================
   博文分类页 · 双栏专题卡
   ========================================================================== */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.topic-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  color: #fff;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
}

.topic-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(58, 58, 50, 0.88) 100%);
  z-index: 1;
}

.topic-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.9s ease;
}

.topic-card:hover img {
  transform: scale(1.07);
}

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

.topic-card .tc-body {
  position: relative;
  z-index: 2;
}

.topic-card .tc-cat {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--terracotta);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.topic-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}

.topic-card p {
  color: rgba(250, 247, 240, 0.82);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.topic-card .tc-link {
  color: var(--terracotta-soft);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   关于我们 · 价值主张三联
   ========================================================================== */
.value-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.value-card {
  padding: 38px 30px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--terracotta));
  transition: width 0.4s ease;
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sage-soft);
}

.value-card:hover::before {
  width: 100%;
}

.value-card .vc-num {
  font-family: var(--font-en);
  font-size: 14px;
  color: var(--sage-deep);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.value-card .vc-ico {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sage-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-deep);
  margin: 0 auto 20px;
  transition: all 0.35s ease;
}

.value-card:hover .vc-ico {
  background: var(--sage-deep);
  color: #fff;
  transform: rotate(-8deg);
}

.value-card h4 {
  font-size: 19px;
  color: var(--ink);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.85;
}

/* ==========================================================================
   里程碑（关于/历史）
   ========================================================================== */
.milestone {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px dashed var(--line);
}

.milestone:last-child {
  border-bottom: none;
}

.milestone .ms-year {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--sage-deep);
  line-height: 1;
}

.milestone h4 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}

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

/* ==========================================================================
   套餐对比表
   ========================================================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.compare-table th {
  background: var(--sage-mist);
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink);
}

.compare-table tbody tr:hover {
  background: var(--cream-2);
}

.compare-table .yes {
  color: var(--sage-deep);
  font-weight: 700;
}

.compare-table .no {
  color: var(--muted);
  opacity: 0.5;
}

/* ==========================================================================
   内页响应式
   ========================================================================== */
@media (max-width: 980px) {
  .svc-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .case-info-bar {
    grid-template-columns: 1fr 1fr;
  }
  .topic-grid,
  .value-trio {
    grid-template-columns: 1fr;
  }
  .deliver-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .case-info-bar {
    grid-template-columns: 1fr;
  }
  .case-detail-hero .cdh-overlay {
    padding: 24px 22px;
  }
  .case-detail-hero h1 {
    font-size: 22px;
  }
  .milestone {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .compare-table {
    font-size: 12.5px;
  }
  .compare-table th,
  .compare-table td {
    padding: 11px 8px;
  }
}
