/* ==========================================================================
   在线客服投诉 内页骨架：横向升级阶梯 · 琥珀警示风 · L1-L2-L3 递进
   ========================================================================== */

:root {
  --ct-amber: #b45309;
  --ct-amber-dk: #92400e;
  --ct-gold: #f59e0b;
  --ct-ink: #3f3325;
  --ct-muted: #8a7b63;
  --ct-paper: #fffaf2;
  --ct-line: #f0e6d3;
}

body.ct-page {
  background: var(--ct-paper);
  color: var(--ct-ink);
}

.ct-page .brand-mark {
  background: linear-gradient(140deg, var(--ct-gold), var(--ct-amber));
  color: #fffbeb;
  box-shadow: 0 6px 16px rgba(180, 83, 9, .3);
}
.ct-page .brand-text em { color: var(--ct-amber); }
.ct-page .site-nav a.is-active { color: var(--ct-amber); }
.ct-page .site-nav a::after { background: var(--ct-gold); }
.ct-page .btn-login {
  background: linear-gradient(135deg, var(--ct-gold), var(--ct-amber));
  box-shadow: 0 8px 20px rgba(180, 83, 9, .3);
}
.ct-page .btn-login:hover { box-shadow: 0 12px 26px rgba(180, 83, 9, .4); }
.ct-page .footer-col a:hover { color: var(--ct-gold); }
.ct-page .footer-contact a:hover { border-color: var(--ct-gold); background: rgba(245, 158, 11, .08); }

/* ---------------- Hero ---------------- */
.ct-hero {
  position: relative;
  overflow: hidden;
  padding: 74px 0 92px;
  background:
    radial-gradient(720px 460px at 86% 8%, rgba(245, 158, 11, .16), transparent 64%),
    radial-gradient(560px 400px at 0% 100%, rgba(180, 83, 9, .07), transparent 70%),
    linear-gradient(180deg, #fffdf6, var(--ct-paper));
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(180, 83, 9, .07) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent, #000 40%);
  pointer-events: none;
}

.ct-hero-text {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin-bottom: 54px;
}

.ct-hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1px solid var(--ct-line);
  box-shadow: var(--shadow-s);
  font-size: 13px;
  font-weight: 700;
  color: var(--ct-amber);
}

.ct-hero h1 {
  margin: 22px 0 16px;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.6px;
}

.ct-hero h1 span {
  background: linear-gradient(100deg, var(--ct-gold), var(--ct-amber) 60%, var(--ct-amber-dk));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ct-hero .lead {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--ct-muted);
}

.ct-hero .lead strong { color: var(--ct-ink); }

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ct-page .btn-primary {
  background: linear-gradient(135deg, var(--ct-gold), var(--ct-amber));
  color: #fff;
  box-shadow: 0 10px 26px rgba(180, 83, 9, .32);
}

.ct-page .btn-primary:hover { box-shadow: 0 14px 32px rgba(180, 83, 9, .42); }

.ct-page .btn-room {
  background: #fff;
  border-color: var(--ct-line);
  color: var(--ct-amber);
}

/* 横向阶梯 */
.ct-ladder {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 44px 1fr 44px 1.15fr;
  align-items: stretch;
  gap: 0;
}

.ld-step {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  border-radius: var(--radius-l);
  background: #fff;
  border: 1px solid var(--ct-line);
  box-shadow: var(--shadow-s);
  position: relative;
  overflow: hidden;
}

.ld-step::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 4px;
  width: 100%;
  background: var(--ct-gold);
  opacity: .4;
}

.ld-step.s2::after { opacity: .7; }
.ld-step.s3::after { opacity: 1; background: var(--ct-amber); }

.ld-step.feature {
  background: linear-gradient(150deg, #fffdf6, #fef3c7);
  border-color: rgba(245, 158, 11, .4);
}

.ld-tag {
  display: inline-block;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(180, 83, 9, .1);
  color: var(--ct-amber);
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 16px;
}

.ld-step.feature .ld-tag {
  background: var(--ct-amber);
  color: #fffbeb;
}

.ld-step h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }

.ld-step p { font-size: 13.5px; line-height: 1.7; color: var(--ct-muted); flex: 1; }

.ld-step span {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 12px;
  align-self: flex-start;
  border-radius: 100px;
  background: rgba(180, 83, 9, .08);
  color: var(--ct-amber);
  font-size: 12px;
  font-weight: 700;
}

.ld-arrow {
  display: grid;
  place-items: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--ct-gold);
}

/* ---------------- 通用 section ---------------- */
.ct-section { padding: 78px 0 0; }

.ct-head {
  max-width: 560px;
  margin-bottom: 44px;
}

.ct-head .k {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 2.4px;
  color: var(--ct-amber);
  margin-bottom: 12px;
}

.ct-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 900; letter-spacing: -.4px; }

.ct-head p { margin-top: 12px; color: var(--ct-muted); font-size: 15.5px; }

/* ---------------- 升级规则 ---------------- */
.ct-rules {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 70px;
}

.rule {
  display: flex;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--ct-line);
  box-shadow: var(--shadow-s);
}

.r-ico {
  flex: none;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 22px;
  background: rgba(245, 158, 11, .12);
}

.rule h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 4px; }

.rule p { font-size: 13px; line-height: 1.7; color: var(--ct-muted); }

/* ---------------- 受理范围（表） ---------------- */
.ct-scope {
  overflow-x: auto;
  border-radius: var(--radius-m);
  background: #fff;
  border: 1px solid var(--ct-line);
  box-shadow: var(--shadow-s);
  margin-bottom: 70px;
}

.ct-scope table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.ct-scope th,
.ct-scope td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--ct-line);
  font-size: 14px;
}

.ct-scope thead th {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .8px;
  color: var(--ct-amber-dk);
  text-transform: uppercase;
}

.ct-scope tbody tr:last-child td { border-bottom: 0; }
.ct-scope tbody tr:hover { background: #fffdf6; }

.ct-scope a { color: var(--ct-amber); font-weight: 700; }
.ct-scope a:hover { text-decoration: underline; }

.lv {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 26px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 900;
  color: #fff;
}

.lv.s1 { background: #f59e0b; }
.lv.s2 { background: #b45309; }
.lv.s3 { background: #92400e; }

/* ---------------- 相关 ---------------- */
.ct-related {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 70px;
}

.ct-related a {
  display: block;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--ct-line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-s);
  transition: transform .22s, box-shadow .22s;
}

.ct-related a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(180, 83, 9, .16);
  border-color: var(--ct-gold);
}

.ct-related strong { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; }

.ct-related span { font-size: 13px; color: var(--ct-muted); }

/* ---------------- CTA ---------------- */
.ct-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 42px;
  border-radius: var(--radius-l);
  background: linear-gradient(140deg, var(--ct-amber-dk), var(--ct-amber));
  color: #fff;
  box-shadow: var(--shadow-m);
}

.ct-cta h2 { font-size: clamp(22px, 2.8vw, 30px); font-weight: 900; }

.ct-cta p { color: rgba(255, 255, 255, .82); margin-top: 8px; font-size: 15px; }

.ct-cta .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.ct-cta .btn-primary {
  background: #fff;
  color: var(--ct-amber-dk);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}

.ct-cta .btn-room {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  color: #fffbeb;
}

/* ---------------- 动画 ---------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 980px) {
  .ct-ladder {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .ld-arrow {
    transform: rotate(90deg);
    padding: 6px 0;
  }
}

@media (max-width: 900px) {
  .ct-rules { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .ct-hero { padding: 52px 0 60px; }
  .ct-hero h1 { font-size: 32px; }
  .ct-rules { grid-template-columns: 1fr; }
  .ct-related { grid-template-columns: 1fr; }
  .ct-cta { flex-direction: column; text-align: center; align-items: center; }
}
