/* ============================================================
   style-case4.css — 案例详情：职业培训（独立布局：错位圆环 + 课程三段）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：错位圆环 ---------- */
.c4-hero { position: relative; background: var(--white); padding: 178px 0 84px; overflow: hidden; }
.c4-hero::before { content: ""; position: absolute; right: -240px; top: -240px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%); pointer-events: none; }
.c4-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.c4-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .34em; color: var(--gray-600); margin-bottom: 22px; }
.c4-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.c4-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--ink); line-height: 1.3; }
.c4-hero p { margin: 20px 0 0; font-size: 15px; line-height: 2; color: var(--ink-mute); max-width: 560px; }
.c4-hero-meta { display: flex; gap: 26px; margin-top: 26px; flex-wrap: wrap; }
.c4-hero-meta span { font-size: 13px; color: var(--gray-600); }
.c4-hero-meta b { color: var(--ink); font-weight: 700; }
.c4-visual { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.c4-ring-a { position: absolute; left: 0; top: 6%; width: 66%; height: 66%; border-radius: 50%; border: 1px dashed var(--gray-300); animation: c4Spin 50s linear infinite; }
.c4-ring-b { position: absolute; right: 0; bottom: 0; width: 58%; height: 58%; border-radius: 50%; overflow: hidden; border: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); }
.c4-ring-b img { width: 100%; height: 100%; object-fit: cover; }
@keyframes c4Spin { to { transform: rotate(360deg); } }
.c4-ring-tag { position: absolute; left: 34%; bottom: 16%; width: 108px; height: 108px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: var(--shadow-md); }
.c4-ring-tag b { font-size: 20px; font-weight: 800; }
.c4-ring-tag span { font-size: 10.5px; color: #CFCFCA; margin-top: 2px; letter-spacing: .08em; }

/* ---------- 挑战与方案 ---------- */
.c4-solve { background: var(--gray-50); overflow: hidden; position: relative; }
.c4-solve::before { content: ""; position: absolute; left: -160px; bottom: -160px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(27,27,27,.05), transparent 62%); pointer-events: none; }
.c4-solve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; position: relative; z-index: 2; }
.c4-solve-col { border-radius: var(--radius-lg); padding: 36px 32px; }
.c4-solve-col.a { background: #fff; border: 1px solid var(--gray-200); }
.c4-solve-col.b { background: var(--ink); }
.c4-solve-col.b::before { content: ""; position: absolute; right: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); }
.c4-solve-col h3 { font-size: 19px; font-weight: 800; margin-bottom: 16px; position: relative; }
.c4-solve-col.a h3 { color: var(--ink); }
.c4-solve-col.b h3 { color: #fff; }
.c4-solve-col ul { position: relative; }
.c4-solve-col li { display: flex; gap: 10px; font-size: 14px; line-height: 1.75; padding: 7px 0; }
.c4-solve-col.a li { color: var(--ink-mute); }
.c4-solve-col.b li { color: #E4E4DF; }
.c4-solve-col li::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; }
.c4-solve-col.a li::before { background: var(--gray-400); }
.c4-solve-col.b li::before { background: #fff; }

/* ---------- 课程三段 ---------- */
.c4-crs { background: var(--white); position: relative; overflow: hidden; }
.c4-crs::after { content: ""; position: absolute; right: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.c4-crs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.c4-crs-card { text-align: center; padding: 30px 24px; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); background: var(--gray-50); transition: all var(--transition); }
.c4-crs-card:nth-child(2) { transform: translateY(24px); }
.c4-crs-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c4-crs-card:nth-child(2):hover { transform: translateY(-4px); }
.c4-crs-ico { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; background: #fff; border: 1px solid var(--gray-300); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: all var(--transition); }
.c4-crs-card:hover .c4-crs-ico { background: var(--ink); color: #fff; }
.c4-crs-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.c4-crs-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- 成果 ---------- */
.c4-result { background: var(--gray-50); overflow: hidden; position: relative; }
.c4-result::before { content: ""; position: absolute; left: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(27,27,27,.05), transparent 64%); pointer-events: none; }
.c4-result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.c4-result-item { text-align: center; background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 20px; transition: all var(--transition); }
.c4-result-item:nth-child(2), .c4-result-item:nth-child(4) { transform: translateY(20px); }
.c4-result-item:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c4-result-item:nth-child(2):hover, .c4-result-item:nth-child(4):hover { transform: translateY(-4px); }
.c4-result-item b { display: block; font-size: 30px; font-weight: 800; color: var(--ink); }
.c4-result-item span { display: block; font-size: 13px; color: var(--gray-600); margin-top: 8px; }

/* ---------- 相关服务 ---------- */
.c4-rel { background: var(--white); position: relative; overflow: hidden; }
.c4-rel::after { content: ""; position: absolute; left: -120px; top: 40px; width: 300px; height: 300px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.c4-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.c4-rel-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; background: var(--gray-50); transition: all var(--transition); }
.c4-rel-card:nth-child(2) { transform: translateY(20px); }
.c4-rel-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c4-rel-card:nth-child(2):hover { transform: translateY(-4px); }
.c4-rel-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.c4-rel-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; margin-bottom: 14px; }
.c4-rel-card a { font-size: 13.5px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--gray-400); }

/* ---------- CTA ---------- */
.c4-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.c4-sec-cta::before { content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.08), transparent 64%); pointer-events: none; }
.c4-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.c4-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.c4-sec-cta .cta-contact a { color: #fff; }
.c4-sec-cta .cta-contact a:hover { text-decoration: underline; text-underline-offset: 5px; }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255,255,255,.6); background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); box-shadow: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .c4-hero { padding-top: 148px; }
  .c4-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .c4-visual { width: min(340px, 72vw); height: min(340px, 72vw); }
  .c4-solve-grid { grid-template-columns: 1fr; }
  .c4-crs-grid { grid-template-columns: 1fr; }
  .c4-crs-card:nth-child(2) { transform: none; }
  .c4-result-grid { grid-template-columns: repeat(2, 1fr); }
  .c4-result-item:nth-child(2), .c4-result-item:nth-child(4) { transform: none; }
  .c4-rel-grid { grid-template-columns: 1fr; }
  .c4-rel-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .c4-hero { padding: 132px 0 56px; }
  .c4-result-grid { grid-template-columns: 1fr; }
}
