/* ============================================================
   style-case1.css — 案例详情：餐饮连锁（独立布局：大图圆窗 + 成果对开）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

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

/* ---------- 项目概况 ---------- */
.c1-brief { background: var(--gray-50); overflow: hidden; position: relative; }
.c1-brief::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;
}
.c1-brief-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 2; }
.c1-brief-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 26px; transition: all var(--transition); }
.c1-brief-card:nth-child(2) { transform: translateY(24px); }
.c1-brief-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c1-brief-card:nth-child(2):hover { transform: translateY(-4px); }
.c1-brief-card h3 { font-size: 15px; color: var(--gray-600); font-weight: 700; letter-spacing: .12em; margin-bottom: 14px; }
.c1-brief-card p { font-size: 14px; color: var(--ink-mute); line-height: 1.95; }

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

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

/* ---------- 相关服务 ---------- */
.c1-rel { background: var(--white); position: relative; overflow: hidden; }
.c1-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;
}
.c1-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.c1-rel-card { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px 24px; background: var(--gray-50); transition: all var(--transition); }
.c1-rel-card:nth-child(2) { transform: translateY(20px); }
.c1-rel-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.c1-rel-card:nth-child(2):hover { transform: translateY(-4px); }
.c1-rel-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 10px; }
.c1-rel-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; margin-bottom: 14px; }
.c1-rel-card a { font-size: 13.5px; font-weight: 700; color: var(--ink); border-bottom: 1px solid var(--gray-400); }

/* ---------- CTA ---------- */
.c1-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.c1-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;
}
.c1-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.c1-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.c1-sec-cta .cta-contact a { color: #fff; }
.c1-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) {
  .c1-hero { padding-top: 148px; }
  .c1-brief-grid { grid-template-columns: 1fr; }
  .c1-brief-card:nth-child(2) { transform: none; }
  .c1-solve-grid { grid-template-columns: 1fr; }
  .c1-result-grid { grid-template-columns: repeat(2, 1fr); }
  .c1-result-item:nth-child(2), .c1-result-item:nth-child(4) { transform: none; }
  .c1-rel-grid { grid-template-columns: 1fr; }
  .c1-rel-card:nth-child(2) { transform: none; }
}
@media (max-width: 640px) {
  .c1-hero { padding: 132px 0 48px; }
  .c1-result-grid { grid-template-columns: 1fr; }
}
