/* ============================================================
   style-case3.css — 案例详情：口腔诊所（独立布局：居中双环 + 预约路径）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：居中双环 ---------- */
.c3-hero { position: relative; background: var(--white); padding: 178px 0 70px; overflow: hidden; }
.c3-hero::before { content: ""; position: absolute; left: -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; }
.c3-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; }
.c3-hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .34em; color: var(--gray-600); margin-bottom: 22px; }
.c3-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.c3-hero h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; color: var(--ink); line-height: 1.3; }
.c3-hero p { margin: 20px auto 0; font-size: 15px; line-height: 2; color: var(--ink-mute); max-width: 640px; }
.c3-hero-meta { display: flex; justify-content: center; gap: 30px; margin-top: 26px; flex-wrap: wrap; }
.c3-hero-meta span { font-size: 13px; color: var(--gray-600); }
.c3-hero-meta b { color: var(--ink); font-weight: 700; }
.c3-window { position: relative; width: min(440px, 76vw); height: min(440px, 76vw); margin: 44px auto 0; }
.c3-window::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; border: 1px dashed var(--gray-300); animation: c3Spin 48s linear infinite; }
.c3-window::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid var(--gray-200); }
@keyframes c3Spin { to { transform: rotate(360deg); } }
.c3-window img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-lg); }
.c3-window b { position: absolute; z-index: 2; background: var(--ink); color: #fff; font-size: 13px; border-radius: 999px; padding: 9px 22px; box-shadow: var(--shadow-md); }
.c3-window b.b1 { left: -8px; top: 30%; }
.c3-window b.b2 { right: -8px; top: 58%; }
.c3-window b.b3 { left: 50%; bottom: -16px; transform: translateX(-50%); }

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

/* ---------- 预约路径 ---------- */
.c3-path { background: var(--white); position: relative; overflow: hidden; }
.c3-path::after { content: ""; position: absolute; left: -140px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 1px dashed var(--gray-300); pointer-events: none; }
.c3-path-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.c3-path-step { background: var(--gray-50); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 22px; text-align: center; transition: all var(--transition); }
.c3-path-step:nth-child(2), .c3-path-step:nth-child(4) { transform: translateY(20px); }
.c3-path-step:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c3-path-step:nth-child(2):hover, .c3-path-step:nth-child(4):hover { transform: translateY(-4px); }
.c3-path-num { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 700; }
.c3-path-step h3 { font-size: 15.5px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.c3-path-step p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 成果 ---------- */
.c3-result { background: var(--gray-50); overflow: hidden; position: relative; }
.c3-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; }
.c3-result-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.c3-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); }
.c3-result-item:nth-child(2), .c3-result-item:nth-child(4) { transform: translateY(20px); }
.c3-result-item:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c3-result-item:nth-child(2):hover, .c3-result-item:nth-child(4):hover { transform: translateY(-4px); }
.c3-result-item b { display: block; font-size: 30px; font-weight: 800; color: var(--ink); }
.c3-result-item span { display: block; font-size: 13px; color: var(--gray-600); margin-top: 8px; }

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

/* ---------- CTA ---------- */
.c3-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.c3-sec-cta::before { content: ""; position: absolute; left: 50%; bottom: -260px; transform: translateX(-50%); width: 640px; height: 640px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.c3-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.c3-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.c3-sec-cta .cta-contact a { color: #fff; }
.c3-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) {
  .c3-hero { padding-top: 148px; }
  .c3-solve-grid { grid-template-columns: 1fr; }
  .c3-path-steps { grid-template-columns: repeat(2, 1fr); }
  .c3-path-step:nth-child(2), .c3-path-step:nth-child(4) { transform: none; }
  .c3-result-grid { grid-template-columns: repeat(2, 1fr); }
  .c3-result-item:nth-child(2), .c3-result-item:nth-child(4) { transform: none; }
  .c3-rel-grid { grid-template-columns: 1fr; }
  .c3-rel-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .c3-hero { padding: 132px 0 48px; }
  .c3-path-steps { grid-template-columns: 1fr; }
  .c3-result-grid { grid-template-columns: 1fr; }
}
