/* ============================================================
   style-redesign.css — 网站改版（独立布局：新旧对照圆环 + 焕新四步）
   OMICA 网站建设 · 极简卫浴风
   ============================================================ */

/* ---------- Hero：新旧对照圆环 ---------- */
.rd-hero {
  position: relative;
  background: var(--white);
  padding: 178px 0 84px;
  overflow: hidden;
}
.rd-hero::before {
  content: "";
  position: absolute;
  left: -240px; top: -240px;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(27,27,27,.06), transparent 62%);
  pointer-events: none;
}
.rd-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.rd-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.rd-hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--ink); }
.rd-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--ink); line-height: 1.28; }
.rd-hero-desc { margin: 24px 0 34px; font-size: 16px; line-height: 2; color: var(--ink-mute); max-width: 540px; }
.rd-compare { position: relative; justify-self: center; width: min(400px, 40vw); height: min(400px, 40vw); }
.rd-circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  transition: all var(--transition);
}
.rd-circle.old {
  left: 6%; top: 12%;
  width: 62%; height: 62%;
  border: 1px dashed var(--gray-400);
  background: var(--gray-100);
  color: var(--gray-500);
}
.rd-circle.new {
  right: 0; bottom: 2%;
  width: 58%; height: 58%;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
  position: absolute;
  z-index: 2;
}
.rd-circle.old::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--gray-300);
}
.rd-circle span { font-size: 14px; font-weight: 700; }
.rd-circle b { display: block; font-size: 15px; margin-bottom: 6px; }
.rd-circle.old b { color: var(--gray-500); }
.rd-circle.new b { color: #fff; }
.rd-circle.new span { color: #CFCFCA; }
.rd-arrow {
  position: absolute;
  left: 50%; top: 46%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: var(--shadow-md);
}

/* ---------- 焕新四步 ---------- */
.rd-step { background: var(--gray-50); overflow: hidden; position: relative; }
.rd-step::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;
}
.rd-step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; z-index: 2; }
.rd-step-card { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 30px 24px; text-align: center; position: relative; transition: all var(--transition); }
.rd-step-card:nth-child(2), .rd-step-card:nth-child(4) { transform: translateY(22px); }
.rd-step-card:hover { border-color: var(--ink); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.rd-step-card:nth-child(2):hover, .rd-step-card:nth-child(4):hover { transform: translateY(-4px); }
.rd-step-num {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}
.rd-step-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.rd-step-card p { font-size: 13px; color: var(--ink-mute); line-height: 1.8; }

/* ---------- 改版范围 ---------- */
.rd-scope { background: var(--white); position: relative; overflow: hidden; }
.rd-scope::after {
  content: "";
  position: absolute;
  left: -140px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1px dashed var(--gray-300);
  pointer-events: none;
}
.rd-scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; position: relative; z-index: 2; }
.rd-scope-card { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px 24px; background: var(--gray-50); transition: all var(--transition); }
.rd-scope-card:hover { border-color: var(--ink); transform: translateX(6px); }
.rd-scope-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.rd-scope-card h3 { font-size: 16px; color: var(--ink); font-weight: 700; margin-bottom: 8px; }
.rd-scope-card p { font-size: 13.5px; color: var(--ink-mute); line-height: 1.85; }

/* ---------- CTA（本页专属） ---------- */
.rd-sec-cta { background: var(--ink); color: #fff; overflow: hidden; }
.rd-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;
}
.rd-sec-cta::after {
  content: "";
  position: absolute;
  left: 8%; bottom: -160px;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.15);
  pointer-events: none;
}
.rd-sec-cta .cta-inner p { color: rgba(255,255,255,.72); }
.rd-sec-cta .cta-contact { color: rgba(255,255,255,.85); }
.rd-sec-cta .cta-contact a { color: #fff; }
.rd-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) {
  .rd-hero { padding-top: 148px; }
  .rd-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .rd-compare { width: min(340px, 72vw); height: min(340px, 72vw); }
  .rd-step-grid { grid-template-columns: repeat(2, 1fr); }
  .rd-step-card:nth-child(2), .rd-step-card:nth-child(4) { transform: none; }
  .rd-scope-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .rd-hero { padding: 132px 0 56px; }
  .rd-step-grid { grid-template-columns: 1fr; }
}
