/* ============================================================
   peacm.com 建站套餐总览专属样式 css/package.css
   布局概念：左文右三张错落"被窝"价格卡（不同高度）→
   三档怎么选 → 横向对比大表 → 阶梯计价条 → 交付清单 → CTA
   ============================================================ */

/* ---------- 首屏 Hero ---------- */
.pkg-hero {
  position: relative;
  padding: calc(var(--header-h) + 40px) 0 0;
  background:
    radial-gradient(820px 380px at 90% 8%, rgba(239, 220, 166, 0.6), transparent 62%),
    radial-gradient(700px 400px at 4% 90%, rgba(220, 232, 184, 0.6), transparent 60%),
    var(--cream);
  overflow: hidden;
}

.pkg-hero-deco {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: pkgFloat 8s ease-in-out infinite alternate;
}
.deco-a { width: 260px; height: 260px; top: -70px; right: 30%; background: rgba(243, 231, 195, 0.5); }
.deco-b { width: 160px; height: 160px; bottom: 40px; left: -50px; background: rgba(191, 216, 184, 0.45); animation-delay: 2s; }

@keyframes pkgFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-22px); }
}

.pkg-hero-in {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.pkg-eyebrow {
  display: inline-block;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0;
  animation: pkgUp 0.7s ease 0.1s forwards;
}

.pkg-title {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.25;
  margin-bottom: 18px;
  opacity: 0;
  animation: pkgUp 0.8s ease 0.25s forwards;
}
.pkg-title em { font-style: normal; color: var(--amber); }

.pkg-sub {
  color: var(--ink-2);
  font-size: 16px;
  margin-bottom: 26px;
  max-width: 540px;
  opacity: 0;
  animation: pkgUp 0.8s ease 0.45s forwards;
}
.pkg-sub a { font-weight: 700; color: var(--amber-deep); }

.pkg-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  opacity: 0;
  animation: pkgUp 0.8s ease 0.6s forwards;
}

.pkg-hero-note {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13px;
  opacity: 0;
  animation: pkgUp 0.8s ease 0.75s forwards;
}
.pkg-hero-note li::before { content: "✓ "; color: var(--green-deep); }

@keyframes pkgUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 三张错落被窝卡 */
.bed-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  padding: 30px 0 20px;
  opacity: 0;
  animation: pkgUp 0.9s ease 0.5s forwards;
}

.bed-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
  border: 2px solid var(--line);
  text-align: center;
  flex: 1;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  position: relative;
}
.bed-card:hover { transform: translateY(-8px) rotate(-0.5deg); box-shadow: var(--shadow-lift); }

.bed-low { min-height: 240px; background: var(--cream-2); }
.bed-mid { min-height: 300px; background: var(--yellow-1); }
.bed-high { min-height: 270px; background: var(--green-1); }

.bed-tag {
  display: inline-block;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink-2);
  margin-bottom: 14px;
}
.bed-tag-hot { background: var(--amber); color: #fff; }

.bed-card h2 { font-size: 22px; margin-bottom: 8px; }
.bed-price {
  display: block;
  font-size: 34px;
  color: var(--amber-deep);
  margin-bottom: 10px;
}
.bed-price small { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.bed-card p { font-size: 13px; color: var(--ink-2); margin-bottom: 16px; }
.bed-link { font-size: 14px; font-weight: 600; }

.bed-hot::before {
  content: "热";
  position: absolute;
  top: -12px; right: -8px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px rgba(192,138,46,.4);
}

.pkg-crumb { background: var(--cream-2); border-top: 1px solid var(--line); }

/* ---------- 三档怎么选 ---------- */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.pick-card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.pick-no {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--amber);
  background: var(--yellow-1);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.pick-card h3 { font-size: 19px; margin-bottom: 12px; }
.pick-card p { color: var(--ink-2); font-size: 14px; margin-bottom: 16px; }
.pick-link { font-size: 14px; font-weight: 600; }

/* ---------- 对比大表 ---------- */
.cmp-table th, .cmp-table td { text-align: center; }
.cmp-table th:first-child, .cmp-table td:first-child { text-align: left; }
.cmp-table thead th:nth-child(3) { background: var(--yellow-1); color: var(--amber-deep); }
.compare-note {
  text-align: center;
  color: var(--ink-2);
  font-size: 14px;
  margin-top: 22px;
}

/* ---------- 阶梯计价条 ---------- */
.ladder {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 40px;
}
.ladder-step {
  text-align: center;
  padding: 28px 18px;
  position: relative;
  border-right: 2px dashed var(--yellow-3);
}
.ladder-step:last-child { border-right: none; }
.ladder-ball {
  display: inline-flex;
  width: 60px; height: 60px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  background: var(--green-1);
  color: var(--green-deeper);
  font-weight: 700;
  margin-bottom: 14px;
}
.ladder-step:nth-child(2) .ladder-ball { background: var(--yellow-1); color: var(--amber-deep); }
.ladder-step:nth-child(3) .ladder-ball { background: var(--green-2); color: #fff; }
.ladder-step:nth-child(4) .ladder-ball { background: var(--amber); color: #fff; }
.ladder-step h3 { font-size: 16px; margin-bottom: 8px; }
.ladder-step p { font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.ladder-step strong { color: var(--amber-deep); font-size: 15px; }

.ladder-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 820px;
  margin: 0 auto;
}
.ladder-img img { width: 100%; height: auto; }

/* ---------- 交付清单 ---------- */
.deliver-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.deliver-list {
  background: var(--cream-2);
  border-radius: var(--r-md);
  padding: 32px 30px;
  border: 2px dashed var(--yellow-3);
}
.deliver-list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--ink);
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.deliver-list li:last-child { border-bottom: none; }
.deliver-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 10px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-1);
  color: var(--green-deeper);
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.deliver-photo { margin: 0; }
.deliver-photo img { border-radius: var(--r-md); box-shadow: var(--shadow-soft); width: 100%; height: auto; }
.deliver-photo figcaption { font-size: 13px; color: var(--ink-3); margin-top: 12px; }

.deliver-extra {
  margin-top: 36px;
  background: var(--green-1);
  border-radius: var(--r-md);
  padding: 26px 30px;
}
.deliver-extra h3 { font-size: 18px; margin-bottom: 10px; }
.deliver-extra p { color: var(--ink); font-size: 14px; }

/* ---------- CTA ---------- */
.pkg-cta {
  background: linear-gradient(135deg, var(--green-deep), var(--green-deeper));
  border-radius: var(--r-xl);
  margin: 20px 24px 60px;
  padding: 60px 40px;
  color: #fff;
  text-align: center;
}
.pkg-cta-in h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.pkg-cta-in p { color: var(--green-1); margin-bottom: 26px; font-size: 16px; }
.pkg-cta-in p strong { color: var(--yellow-2); }
.pkg-cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px;
}
.cta-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.pkg-cta-links { font-size: 14px; color: var(--green-1); }
.pkg-cta-links a { color: var(--yellow-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .pkg-hero-in { grid-template-columns: 1fr; gap: 36px; }
  .bed-stack { flex-wrap: nowrap; }
  .ladder { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
  .ladder-step { border-right: none; }
  .deliver-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .pick-grid { grid-template-columns: 1fr; }
  .bed-stack { flex-direction: column; align-items: stretch; }
  .bed-low, .bed-mid, .bed-high { min-height: 0; }
  .ladder { grid-template-columns: 1fr; }
  .pkg-cta { margin: 20px 16px 48px; padding: 44px 24px; }
}
@media (max-width: 640px) {
  .pkg-title { font-size: 26px; }
  .pkg-hero-actions .btn { width: 100%; }
  .ladder-step { padding: 18px 8px; }
  .pkg-cta { padding: 36px 18px; }
}
