/* ==========================================================================
   iliuye.com — 名爵房间客服988888 内页（客服台）
   天蓝底 / 深蓝 / 白卡 / 对话气泡与工单；不与其他页共用骨架。
   ========================================================================== */

.page-kefu {
  --k-bg: #eef6fd;
  --k-bg-2: #dcebf8;
  --k-card: #ffffff;
  --k-ink: #163a55;
  --k-muted: #5b7d99;
  --k-blue: #1f6fb2;
  --k-blue-2: #2d8ed6;
  --k-line: rgba(22, 58, 85, .14);
  --k-line-soft: rgba(22, 58, 85, .08);
  background: var(--k-bg);
  color: var(--k-ink);
}
.page-kefu .site-footer { background: #101e2b; }

/* ---------- Hero ---------- */
.kf-hero {
  position: relative;
  overflow: hidden;
  padding: 24px 0 60px;
  border-bottom: 1px solid var(--k-line);
  background:
    radial-gradient(circle at 82% 24%, rgba(45, 142, 214, .1), transparent 44%),
    var(--k-bg);
}
.kf-bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.kf-bubbles i {
  position: absolute;
  border-radius: 50%;
  background: rgba(45, 142, 214, .07);
}
.kf-bubbles i:nth-child(1) { width: 210px; height: 210px; right: 6%; top: 12%; }
.kf-bubbles i:nth-child(2) { width: 110px; height: 110px; right: 22%; top: 48%; }
.kf-bubbles i:nth-child(3) { width: 60px; height: 60px; right: 12%; bottom: 12%; }
.kf-crumb { position: relative; padding-bottom: 28px; color: var(--k-muted); }
.kf-crumb span:last-child { color: var(--k-blue); opacity: 1; }
.kf-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
}
.kf-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 2.6px;
  color: var(--k-blue);
}
.kf-hero h1 {
  margin-top: 14px;
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -1.8px;
  color: var(--k-ink);
}
.kf-hero h1 em {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--k-muted);
}
.kf-lead {
  margin-top: 20px;
  max-width: 540px;
  font-size: 15px;
  line-height: 2.05;
  color: #3e5d74;
}
.kf-lead strong { color: var(--k-blue); }
.kf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kf-actions .btn-primary { background: var(--k-blue); box-shadow: 0 12px 26px rgba(31, 111, 178, .22); }
.kf-actions .btn-primary:hover { background: #175a93; }
.kf-actions .btn-room { color: var(--k-ink); border-color: var(--k-line); }
.kf-actions .btn-room b { color: var(--k-blue); }
.kf-status { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; font-family: var(--mono); font-size: 10px; color: var(--k-muted); }
.kf-status span { display: inline-flex; align-items: center; gap: 6px; }
.kf-status i { width: 7px; height: 7px; border-radius: 50%; background: #2f9e62; box-shadow: 0 0 0 3px rgba(47, 158, 98, .15); }
.kf-figure {
  padding: 9px;
  background: #fff;
  border: 1px solid var(--k-line);
  box-shadow: 0 26px 54px rgba(22, 58, 85, .13);
}
.kf-figure img { width: 100%; }
.kf-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #7e98ad;
}

/* ---------- 摘要 ---------- */
.kf-strip { background: var(--k-blue); color: #e8f3fb; }
.kf-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.kf-strip-inner > div { padding: 15px 16px; border-left: 1px solid rgba(255, 255, 255, .14); }
.kf-strip-inner > div:first-child { border-left: 0; padding-left: 0; }
.kf-strip-inner span { display: block; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.8px; color: #b3d3ea; }
.kf-strip-inner strong { display: block; margin-top: 3px; font-size: 12.5px; color: #fff; }

/* ---------- section ---------- */
.kf-section { padding: 72px 0; }
.kf-section + .kf-section { border-top: 1px solid var(--k-line); }
.kf-section.is-sky { background: var(--k-bg-2); }
.kf-section .container.narrow { max-width: 900px; }
.kf-head { max-width: 760px; margin-bottom: 34px; }
.kf-head h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 37px);
  line-height: 1.28;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--k-ink);
}
.kf-head p { margin-top: 10px; font-size: 13.5px; line-height: 1.95; color: var(--k-muted); }
.kf-note { margin-top: 16px; font-size: 12px; color: #7e98ad; }

/* ---------- 职责 ---------- */
.duty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.duty-grid article { padding: 26px 24px; background: #fff; border: 1px solid var(--k-line); border-top: 4px solid var(--k-blue); }
.duty-grid article.is-core { background: #f7fbff; border-top-color: var(--k-blue-2); }
.duty-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; color: var(--k-blue); }
.duty-grid h3 { margin-top: 8px; font-size: 20px; font-weight: 800; }
.duty-grid p { margin-top: 6px; font-size: 12.5px; line-height: 1.9; color: var(--k-muted); }

/* ---------- 通道 ---------- */
.kf-channel-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.kf-channel-grid h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 37px); font-weight: 900; letter-spacing: -1px; }
.kf-channel-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2; color: #3e5d74; }
.kf-channel-grid strong { color: var(--k-blue); }
.tg-card {
  background: #fff;
  border: 1px solid var(--k-line);
  box-shadow: 0 22px 46px rgba(22, 58, 85, .12);
  padding: 24px;
}
.tg-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--k-line);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 1.6px;
  color: #7e98ad;
}
.tg-name { margin-top: 16px; font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--k-blue); }
.tg-desc { margin-top: 4px; font-size: 12px; color: var(--k-muted); }
.tg-btn {
  display: block;
  margin-top: 18px;
  padding: 12px;
  text-align: center;
  background: var(--k-blue);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  transition: background .2s;
}
.tg-btn:hover { background: #175a93; }
.tg-foot { margin-top: 12px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.2px; color: #7e98ad; text-align: center; }

/* ---------- 提问 ---------- */
.ask-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ask-grid article { padding: 22px 20px; background: #fff; border: 1px solid var(--k-line); }
.ask-grid b { font-family: var(--mono); font-size: 11px; color: var(--k-blue); }
.ask-grid h3 { margin-top: 7px; font-size: 17px; font-weight: 800; }
.ask-grid p { margin-top: 5px; font-size: 12px; line-height: 1.9; color: var(--k-muted); }
.ask-sample {
  display: flex;
  gap: 16px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px dashed var(--k-blue);
  background: #f7fbff;
}
.ask-sample span { flex: none; font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: var(--k-blue); padding-top: 2px; }
.ask-sample p { font-size: 13px; line-height: 1.9; color: var(--k-ink); }

/* ---------- 工单 ---------- */
.ticket-flow { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--k-blue); }
.ticket-flow li { position: relative; padding: 22px 20px 0 0; }
.ticket-flow li::before { content: ""; position: absolute; left: 0; top: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--k-bg-2); border: 3px solid var(--k-blue); }
.ticket-flow li + li { padding-left: 20px; border-left: 1px solid var(--k-line); }
.ticket-flow span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; color: var(--k-blue); }
.ticket-flow h3 { margin-top: 7px; font-size: 17px; font-weight: 800; }
.ticket-flow p { margin-top: 5px; font-size: 12.5px; line-height: 1.9; color: var(--k-muted); }

/* ---------- 类型 ---------- */
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.type-grid article { padding: 20px 22px; background: #fff; border: 1px solid var(--k-line); border-left: 4px solid var(--k-blue-2); }
.type-grid span { font-family: var(--mono); font-size: 10px; letter-spacing: 1.8px; color: var(--k-blue); }
.type-grid h3 { margin-top: 5px; font-size: 17px; font-weight: 800; }
.type-grid p { margin-top: 4px; font-size: 12.5px; color: var(--k-muted); }

/* ---------- 升级 ---------- */
.escalate { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--k-line); }
.escalate > div { padding: 24px 22px; background: #fff; border-right: 1px solid var(--k-line); }
.escalate > div:last-child { border-right: 0; }
.escalate span { font-family: var(--mono); font-size: 9px; letter-spacing: 1.8px; color: #7e98ad; }
.escalate h3 { margin-top: 7px; font-size: 18px; font-weight: 800; }
.escalate p { margin-top: 5px; font-size: 12.5px; line-height: 1.9; color: var(--k-muted); }

/* ---------- 时间 ---------- */
.kf-hours-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.kf-hours-grid h2 { margin-top: 10px; font-size: clamp(26px, 3vw, 37px); font-weight: 900; letter-spacing: -1px; }
.kf-hours-grid > div > p { margin-top: 14px; font-size: 14px; line-height: 2; color: #3e5d74; }
.hours-card { background: #fff; border: 1px solid var(--k-line); }
.hours-row { display: flex; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--k-line-soft); font-size: 12.5px; }
.hours-row span { color: var(--k-muted); }
.hours-row b { color: var(--k-ink); }
.hours-row.is-safe { background: #f2fbf6; }
.hours-row.is-safe b { color: #2f7a52; }
.hours-foot { padding: 14px 18px; font-family: var(--mono); font-size: 9px; letter-spacing: 1.2px; color: #7e98ad; }

/* ---------- 不处理 ---------- */
.not-list { border-top: 2px solid var(--k-blue); }
.not-list li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--k-line); }
.not-list b { flex: none; width: 30px; font-family: var(--mono); font-size: 10.5px; color: var(--k-blue); padding-top: 2px; }
.not-list h3 { font-size: 16px; font-weight: 800; }
.not-list p { margin-top: 3px; font-size: 12.5px; color: var(--k-muted); }

/* ---------- 安全 ---------- */
.kf-safe { padding: 52px 0; background: #163a55; color: #d8e7f2; }
.kf-safe-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 46px; align-items: start; }
.kf-safe h2 { margin-top: 10px; font-size: clamp(23px, 2.7vw, 31px); font-weight: 900; color: #fff; }
.kf-safe p { padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #a9c3d3; }
.kf-safe p::before { content: "“ "; color: #ffb199; }
.kf-safe .kf-kicker { color: #9ec9e6; }
.kf-safe-tail { margin-top: 12px; border-bottom: 0 !important; color: #ffd2c2 !important; font-weight: 700; }
.kf-safe-tail::before { content: "→ " !important; }

/* ---------- 折叠 ---------- */
.page-kefu .acc-trigger { font-size: 15.5px; }
.page-kefu .acc-panel p { font-size: 13px; line-height: 1.95; }
.page-kefu .acc-item.is-open .acc-trigger::after { color: var(--k-blue); }

/* ---------- 相关 ---------- */
.kf-rel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--k-line); border: 1px solid var(--k-line); }
.kf-rel-grid a { padding: 20px 22px; background: #fff; transition: background .2s; }
.kf-rel-grid a:hover { background: #f7fbff; }
.kf-rel-grid span { font-family: var(--mono); font-size: 9px; letter-spacing: 2px; color: #7e98ad; }
.kf-rel-grid h3 { margin-top: 7px; font-size: 17px; font-weight: 800; }
.kf-rel-grid p { margin-top: 4px; font-size: 12px; color: var(--k-muted); }

/* ---------- CTA ---------- */
.kf-cta { padding: 60px 0; background: var(--k-blue); color: #e8f3fb; }
.kf-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.kf-cta h2 { margin-top: 10px; font-size: clamp(24px, 3vw, 35px); font-weight: 900; color: #fff; letter-spacing: -1px; }
.kf-cta p { margin-top: 10px; max-width: 560px; font-size: 13.5px; color: #c9e2f3; }
.kf-cta p strong { color: #fff; }
.kf-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.kf-cta-actions .btn-primary { background: #fff; color: var(--k-blue); box-shadow: none; }
.kf-cta-actions .btn-room { color: #fff; border-color: rgba(255, 255, 255, .45); }
.kf-cta-actions .btn-room b { color: #fff; }
.kf-cta .kf-kicker { color: #c9e2f3; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .kf-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .kf-figure { max-width: 680px; }
  .duty-grid { grid-template-columns: 1fr; }
  .kf-channel-grid { grid-template-columns: 1fr; gap: 26px; }
  .ask-grid { grid-template-columns: 1fr 1fr; }
  .ticket-flow { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .ticket-flow li:nth-child(3) { padding-left: 0; border-left: 0; }
  .type-grid { grid-template-columns: 1fr; }
  .escalate { grid-template-columns: 1fr; }
  .escalate > div { border-right: 0; border-bottom: 1px solid var(--k-line); }
  .escalate > div:last-child { border-bottom: 0; }
  .kf-hours-grid { grid-template-columns: 1fr; gap: 24px; }
  .kf-safe-inner { grid-template-columns: 1fr; gap: 16px; }
  .kf-rel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .kf-section { padding: 50px 0; }
  .kf-hero { padding: 18px 0 44px; }
  .kf-actions { flex-direction: column; }
  .kf-actions .btn { width: 100%; }
  .kf-strip-inner { grid-template-columns: 1fr 1fr; }
  .kf-strip-inner > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ask-grid { grid-template-columns: 1fr; }
  .ticket-flow { grid-template-columns: 1fr; }
  .ticket-flow li { padding-left: 0 !important; border-left: 0 !important; padding-right: 0; }
  .kf-cta-actions { width: 100%; }
  .kf-cta-actions .btn { width: 100%; }
  .tg-name { font-size: 22px; }
}
