/* ============================================================
   website-revamp.html 专属样式
   布局：居中标题+旧新对比 → 改版清单四卡 → 左图右文 →
        不丢收录四卡 → 改版四步 → 左文案右卡片CTA
   ============================================================ */

.rv-hero {
  padding: calc(var(--header-h) + 46px) 0 60px;
  overflow: hidden;
  background:
    radial-gradient(820px 420px at 50% -8%, rgba(239,220,166,.55), transparent 60%),
    var(--cream);
  text-align: center;
}
.rv-hero-copy { max-width: 720px; margin: 0 auto; }
.rv-eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  animation: rvFade .7s ease .1s both;
}
.rv-title {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.25;
  margin-bottom: 18px;
  animation: rvFade .8s ease .25s both;
}
.rv-amber { color: var(--amber); }
.rv-sub { color: var(--ink-2); margin-bottom: 26px; animation: rvFade .8s ease .4s both; }
.rv-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: rvFade .8s ease .55s both; }

/* 旧新对比 */
.rv-compare {
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: center;
  gap: 18px;
  margin-top: 46px;
}
.rv-side {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}
.rv-side img { width: 100%; height: 280px; object-fit: cover; }
.rv-old img { filter: grayscale(.6) contrast(.9); }
.rv-tag {
  position: absolute;
  left: 14px; top: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}
.rv-tag-old { background: var(--ink-3); color: #fff; }
.rv-tag-new { background: var(--green-deep); color: #fff; }
.rv-mid {
  width: 4px;
  height: 78%;
  margin: 0 auto;
  background: repeating-linear-gradient(var(--amber), var(--amber) 8px, transparent 8px, transparent 16px);
  border-radius: 999px;
}

@keyframes rvFade { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* 改版清单 */
.rv-list { background: var(--cream-2); }
.rv-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rv-list-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 26px 22px;
  border-left: 4px solid var(--green-3);
  transition: all .3s ease;
}
.rv-list-card:nth-child(2) { border-left-color: var(--amber); }
.rv-list-card:nth-child(3) { border-left-color: var(--yellow-3); }
.rv-list-card:nth-child(4) { border-left-color: var(--green-2); }
.rv-list-card:hover { transform: translateX(6px); box-shadow: var(--shadow-soft); }
.rv-list-card h3 { font-size: 17px; margin-bottom: 8px; }
.rv-list-card p { font-size: 14px; color: var(--ink-2); }

/* 为什么 */
.rv-why-in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.rv-why-img img { border-radius: var(--r-lg); box-shadow: var(--shadow-lift); }
.rv-why-copy h2 { font-size: clamp(24px,3vw,34px); margin: 10px 0 16px; line-height: 1.3; }
.rv-why-copy p { color: var(--ink-2); margin-bottom: 14px; }

/* 不丢收录 */
.rv-keep { background: var(--cream-2); }
.rv-keep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.rv-keep-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  border-top: 4px solid var(--green-3);
  transition: all .3s ease;
}
.rv-keep-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.rv-keep-card h3 { font-size: 16px; margin-bottom: 8px; }
.rv-keep-card p { font-size: 13px; color: var(--ink-2); }

/* 流程 */
.rv-flow-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.rv-flow-s {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
}
.rv-flow-s strong {
  display: inline-flex;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.rv-flow-s p { font-size: 13px; color: var(--ink-2); }
.rv-flow-note { margin-top: 24px; font-size: 14px; color: var(--ink-2); max-width: 860px; }

/* CTA */
.rv-form-sec {
  background: linear-gradient(135deg, var(--green-1), var(--green-2));
}
.rv-form-in {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}
.rv-form-copy h2 { font-size: clamp(24px,3vw,34px); margin-bottom: 16px; color: #2f4429; }
.rv-form-copy p { color: #3a5233; margin-bottom: 22px; }
.rv-form-contact { display: flex; gap: 14px; flex-wrap: wrap; }
.rv-fc {
  background: #fff;
  border-radius: var(--r-md);
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
}
.rv-fc strong { font-size: 13px; color: var(--ink-3); }
.rv-fc span { font-size: 16px; font-weight: 700; color: var(--green-deep); }
.rv-form-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-lift);
}
.rv-form-card img { border-radius: var(--r-md); margin-bottom: 14px; }
.rv-form-card p { font-size: 14px; color: var(--ink-2); }

/* 响应式 */
@media (max-width: 1080px) {
  .rv-list-grid, .rv-keep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .rv-compare { grid-template-columns: 1fr; }
  .rv-mid { width: 70%; height: 4px; }
  .rv-why-in, .rv-form-in { grid-template-columns: 1fr; gap: 30px; }
  .rv-flow-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .rv-list-grid, .rv-keep-grid, .rv-flow-row { grid-template-columns: 1fr; }
  .rv-actions .btn { width: 100%; }
}
