/* ============================================================
   case-education.html 独有样式 —— 斜切骨架
   斜切 hero + 斜切条四段式
   ============================================================ */

/* ---------- Hero：斜切 ---------- */
.ce-hero {
  position: relative;
  padding: calc(var(--header-h) + var(--topbar-h) + 56px) 0 90px;
  background: linear-gradient(150deg, var(--green) 0%, var(--cream) 70%);
  overflow: hidden;
}
.ce-hero-slant {
  position: absolute; top: -10%; right: -20%;
  width: 70%; height: 130%;
  background: linear-gradient(120deg, var(--yellow) 0%, var(--yellow-2) 100%);
  transform: skewX(-12deg);
  border-radius: 40px;
  opacity: .8;
}
.ce-hero-inner { position: relative; z-index: 2; max-width: 640px; }
.ce-bread { font-size: .86rem; color: var(--ink-3); margin-bottom: 18px; }
.ce-hero h1 { margin-bottom: 16px; }
.ce-hero-sub { margin-bottom: 28px; }
.ce-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.ce-hero-img {
  position: absolute; right: 5%; bottom: -46px;
  width: min(460px, 40%);
  box-shadow: var(--clay-shadow-lg);
  border: 8px solid #fff;
  z-index: 3;
}
.ce-hero-img img { width: 100%; display: block; }

/* ---------- 斜切条四段式 ---------- */
.ce-strips { display: grid; gap: 18px; }
.ce-strip {
  display: flex; gap: 26px; align-items: stretch;
  padding: 26px 30px;
  background: linear-gradient(165deg, #FFFDF6, var(--cream-2));
  border-radius: var(--radius);
  box-shadow: var(--clay-shadow-sm);
  clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 100%, 0 100%);
}
.ce-strip-alt {
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 0 100%);
  background: linear-gradient(195deg, #FFFDF6, var(--yellow) 150%);
}
.ce-strip-no {
  flex-shrink: 0; align-self: flex-start;
  min-width: 76px; padding: 8px 10px; text-align: center;
  border-radius: 12px; background: var(--green); color: #3F5238;
  font-weight: 800; letter-spacing: 2px;
}
.ce-strip h3 { margin-bottom: 8px; }
.ce-strip p { font-size: .95rem; }

/* ---------- 数据圆卡 ---------- */
.ce-metrics {
  background: linear-gradient(160deg, var(--cream-2), var(--cream));
  padding: clamp(50px,6vw,80px) 0;
}
.ce-metric-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ce-metric {
  text-align: center; padding: 30px 14px;
  border-radius: 62% 38% 55% 45% / 52% 46% 54% 48%;
  background: var(--white);
  box-shadow: var(--clay-shadow-sm);
}
.ce-metric b { display: block; font-size: clamp(1.5rem,3vw,2.2rem); color: var(--green-3); margin-bottom: 6px; }
.ce-metric span { font-size: .86rem; color: var(--ink-2); }

/* ---------- 设计拉片 ---------- */
.ce-shots { display: grid; gap: 30px; }
.ce-shot {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; overflow: hidden;
  border-radius: var(--radius);
}
.ce-shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.ce-shot-txt { padding: 28px 30px; }
.ce-shot-txt h3 { margin-bottom: 10px; }
.ce-shot-txt p { font-size: .95rem; }

/* ---------- 客户评价 ---------- */
.ce-quote-card {
  max-width: 800px; margin: 0 auto; padding: 44px 48px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #FFFDF6, var(--green) 160%);
}
.ce-quote-card p { font-size: 1.08rem; color: var(--ink); margin-bottom: 16px; }
.ce-quote-card cite { font-style: normal; font-size: .88rem; color: var(--ink-3); }

/* ---------- 三句实在话 ---------- */
.ce-words {
  background: linear-gradient(165deg, var(--green) 0%, var(--cream) 90%);
  padding: clamp(50px,6vw,80px) 0;
}
.ce-wordlist { display: grid; gap: 20px; max-width: 900px; margin: 0 auto; }
.ce-word {
  display: flex; gap: 24px; align-items: flex-start;
  padding: 26px 30px; border-radius: var(--radius);
}
.ce-word-no {
  flex-shrink: 0;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--yellow); font-size: 1.3rem; font-weight: 800; color: var(--ink);
  box-shadow: var(--clay-shadow-sm);
}
.ce-word h3 { margin-bottom: 8px; }
.ce-word p { font-size: .95rem; }
.ce-words-tail {
  max-width: 720px; margin: 34px auto 0; text-align: center;
  font-size: 1rem; color: var(--ink);
}

@media (max-width: 640px) {
  .ce-word { flex-direction: column; }
}

/* ---------- 相关案例 ---------- */
.ce-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ce-case-card { overflow: hidden; border-radius: var(--radius); }
.ce-case-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.ce-case-card span { display: block; padding: 16px 20px; font-weight: 700; color: var(--ink); }
.ce-case-card:hover span { color: var(--green-3); }

/* ---------- 行业 + 服务 ---------- */
.ce-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ce-links-grid > div { padding: 34px 36px; border-radius: var(--radius); box-shadow: var(--clay-shadow-sm); }
.ce-links-grid h3 { margin-bottom: 12px; }
.ce-links-grid p { margin-bottom: 18px; font-size: .95rem; }

/* ---------- CTA ---------- */
.ce-cta {
  background: linear-gradient(150deg, var(--green) 0%, var(--cream-2) 110%);
  padding: clamp(56px,7vw,88px) 0; text-align: center;
}
.ce-cta h2 { margin-bottom: 14px; }
.ce-cta p { margin-bottom: 26px; }
.ce-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 900px) {
  .ce-hero { padding-bottom: 220px; }
  .ce-hero-img { width: 80%; right: 10%; }
  .ce-metric-row { grid-template-columns: repeat(2, 1fr); }
  .ce-shot { grid-template-columns: 1fr; }
  .ce-cases { grid-template-columns: 1fr; }
  .ce-links-grid { grid-template-columns: 1fr; }
}
