/* ==========================================================================
   青禾校招工具 · 人工简历精修与模拟面试（/services/）
   仅服务本页，不进入全局 styles.css；无 JS 依赖，动画只做轻微反馈。
   分层：1) 页面基调  2) Hero 与批注稿视觉  3) 区块通用
        4) 场景 / 服务卡 / 示例 / 流程 / 边界 / FAQ / 结尾 / 页脚
   ========================================================================== */

/* ------------------------------------------------------------- 1. 页面基调 */
.services-page { background: var(--bg); font-size: 16px; }
.services-page [id] { scroll-margin-top: 84px; }
.services-page .svc-section { padding: 76px 0; border-top: 1px solid var(--line-strong); }
.svc-section-head h2,
.svc-final h2 { margin: 10px 0 0; font-size: clamp(28px, 3.6vw, 44px); }
.svc-section-head > p:not(.eyebrow) {
  margin: 16px 0 0;
  max-width: 720px;
  color: var(--muted);
  line-height: 1.85;
}

/* --------------------------------------------------- 2. Hero 与批注稿视觉 */
.svc-hero {
  display: grid;
  gap: 48px;
  align-items: center;
  padding: 56px 0 72px;
}
.svc-hero-copy h1 { margin: 14px 0 20px; font-size: clamp(32px, 4.8vw, 54px); }
.svc-lead {
  margin: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}
.svc-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* 批注稿、便签与反馈表的拼贴：文档流堆叠 + 轻微旋转，不使用绝对定位，高度自适应。 */
.svc-stage { display: grid; gap: 18px; max-width: 480px; padding: 8px; justify-self: center; width: 100%; min-width: 0; }
.svc-sheet,
.svc-report {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 22px 22px 18px;
}
.svc-sheet { transform: rotate(-1.2deg); }
.svc-doc-tag {
  margin: 0 0 12px;
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .12em;
  color: var(--brand);
}
.svc-doc-line { margin: 9px 0; font-size: 13px; color: var(--muted); }
.svc-mark {
  text-decoration: underline wavy var(--danger);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.svc-blank { display: inline-block; width: 88px; border-bottom: 1px solid var(--line-strong); height: 1em; vertical-align: -2px; }
.svc-blank-wide { width: 150px; }
.svc-doc-question { color: var(--danger); font-family: var(--display); font-size: 14px; }
.svc-doc-note {
  margin: 14px 0 0;
  background: var(--warning-soft);
  border-radius: var(--r-sm);
  padding: 9px 11px;
  font-size: 12px;
  color: var(--warning);
  line-height: 1.6;
}
.svc-sticky {
  background: var(--warning-soft);
  border: 1px solid #eddfbd;
  border-radius: 2px 14px 4px 12px;
  box-shadow: var(--shadow);
  padding: 15px 18px;
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.7;
  color: #6b5310;
}
.svc-sticky-a { transform: rotate(1.6deg); width: min(78%, 340px); justify-self: end; margin-top: -26px; }
.svc-sticky-b { transform: rotate(-1.8deg); width: min(72%, 320px); margin-top: -18px; }
.svc-report { transform: rotate(.8deg); width: min(86%, 380px); justify-self: end; margin-top: -14px; }
.svc-report ul { list-style: none; margin: 0; padding: 0; }
.svc-report li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: baseline;
  min-width: 0;
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 12px;
}
.svc-report li:last-child { border-bottom: 0; padding-bottom: 2px; }
.svc-report span { font-weight: 700; color: var(--ink); white-space: nowrap; }
.svc-report em { font-style: normal; color: var(--warning); white-space: nowrap; }
.svc-report i { font-style: normal; color: var(--muted); overflow-wrap: anywhere; }

/* ------------------------------------------------------------ 3. 区块通用 */
.svc-num { font: 600 11px/1 var(--mono); color: var(--brand); letter-spacing: .1em; }
.svc-disclaimer { color: var(--warning); }

/* ---------------------------------------------------------------- 场景 */
.svc-scenarios { display: grid; gap: 28px; margin-top: 44px; }
.svc-scenarios article { border-top: 1px solid var(--line-strong); padding-top: 20px; }
.svc-scenarios h3 { margin: 12px 0 8px; font-size: 19px; }
.svc-scenarios p { margin: 0; color: var(--muted); line-height: 1.8; }

/* -------------------------------------------------------------- 服务卡 */
.svc-services { display: grid; gap: 36px; }
.svc-card {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 40px);
  transition: box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.svc-card:hover { box-shadow: var(--shadow-hover); }
/* 服务事实区伸展，把边界说明与 CTA 推到一致的底部位置。 */
.svc-facts { margin: 26px 0 0; flex: 1; }
.svc-card-head h2 { margin: 10px 0 0; font-size: clamp(25px, 2.6vw, 31px); }
.svc-trial {
  display: inline-block;
  margin-left: 12px;
  vertical-align: 4px;
  background: var(--warning-soft);
  border: 1px solid #eddfbd;
  border-radius: var(--r-pill);
  padding: 3px 11px;
  font: 600 12px/1.5 var(--font);
  color: var(--warning);
  letter-spacing: normal;
}
.svc-card-intro { margin: 12px 0 0; color: var(--muted); line-height: 1.85; }
.svc-facts { margin: 26px 0 0; }
.svc-facts > div { padding: 18px 0; border-top: 1px solid var(--line); }
.svc-facts dt { font: 700 13px/1.5 var(--mono); letter-spacing: .08em; color: var(--brand); }
.svc-facts dd { margin: 8px 0 0; line-height: 1.8; }
.svc-facts dd ul { margin: 0; padding-left: 20px; }
.svc-facts dd li { margin: 7px 0; }
.svc-boundary-note {
  margin: 4px 0 0;
  background: var(--bg);
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 13px 16px;
  color: var(--muted);
  line-height: 1.75;
}
.svc-card-actions { margin: 24px 0 0; }
.svc-card-actions .btn { min-width: 200px; }

/* ---------------------------------------------------------- 修改思路示例 */
.svc-example { background: #fff; }
.svc-example-flow { display: grid; gap: 32px; margin-top: 44px; align-items: start; padding-inline: clamp(0px, 3vw, 40px); }
.svc-example-block {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 26px;
  min-width: 0;
}
.svc-step-label {
  display: inline-block;
  margin: 0;
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .14em;
  color: var(--brand);
  border: 1px solid var(--brand-line);
  background: var(--brand-soft);
  border-radius: var(--r-pill);
  padding: 4px 12px;
}
.svc-example-block blockquote {
  margin: 16px 0;
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.75;
}
.svc-example-comment { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.75; }
.svc-after { background: var(--brand-soft); border-color: var(--brand-line); }
.svc-placeholder {
  border-bottom: 2px dashed var(--warning);
  background: rgba(255, 255, 255, .65);
  border-radius: 4px;
  padding: 0 5px;
}
.svc-thinking ul { counter-reset: svcq; list-style: none; margin: 14px 0 0; padding: 0; }
.svc-thinking li {
  position: relative;
  counter-increment: svcq;
  padding: 7px 0 7px 38px;
  color: var(--ink);
  line-height: 1.75;
}
.svc-thinking li::before {
  content: "问" counter(svcq);
  position: absolute;
  left: 0;
  top: 9px;
  font: 700 11px/1.6 var(--mono);
  color: var(--brand);
  border: 1px solid var(--brand-line);
  border-radius: var(--r-sm);
  padding: 0 6px;
  background: #fff;
}

/* ---------------------------------------------------------------- 流程 */
.svc-steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 22px; }
.svc-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  grid-template-areas:
    "num head"
    "num body";
  gap: 14px;
  border-top: 1px solid var(--line-strong);
  padding-top: 20px;
  min-width: 0;
}
.svc-steps li .svc-num { grid-area: num; padding-top: 5px; }
.svc-steps h3 { grid-area: head; margin: 0 0 6px; font-size: 20px; }
.svc-steps p { grid-area: body; margin: 0; color: var(--muted); line-height: 1.8; }
.svc-process-foot { display: grid; gap: 18px; margin-top: 34px; justify-items: start; }
.svc-trial-note {
  margin: 0;
  background: var(--warning-soft);
  border: 1px solid #eddfbd;
  border-radius: var(--r-md);
  padding: 14px 18px;
  color: var(--warning);
  line-height: 1.8;
  max-width: 720px;
}

/* ---------------------------------------------------------------- 边界 */
.svc-boundary-list { list-style: none; margin: 40px 0 0; padding: 0; max-width: 820px; }
.svc-boundary-list li {
  position: relative;
  padding: 15px 0 15px 30px;
  border-top: 1px dashed var(--line-strong);
  line-height: 1.8;
  min-width: 0;
}
.svc-boundary-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 24px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--brand);
  transform: rotate(45deg);
}

/* ---------------------------------------------------------------- FAQ */
.svc-faq-list { margin-top: 36px; border-top: 1px solid var(--line-strong); max-width: 860px; }
.svc-faq-list details { border-bottom: 1px solid var(--line-strong); }
.svc-faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 19px 44px 19px 0;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.6;
}
.svc-faq-list summary::-webkit-details-marker { display: none; }
.svc-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  translate: 0 -50%;
  font: 400 22px/1 var(--mono);
  color: var(--brand);
  transition: transform .18s ease;
}
.svc-faq-list details[open] summary::after { transform: rotate(45deg); }
.svc-faq-list details p { margin: 0; padding: 0 44px 20px 0; color: var(--muted); line-height: 1.85; }
.svc-faq-list details p a { color: var(--brand); }

/* ------------------------------------------------------------- 结尾与页脚 */
.svc-final { text-align: center; padding: 92px 0; border-top: 1px solid var(--line-strong); }
.svc-final p { margin: 18px auto 0; max-width: 560px; color: var(--muted); line-height: 1.85; }
.svc-final .svc-hero-actions { justify-content: center; }
.svc-footer { border-top: 1px solid var(--line-strong); background: #fff; }
.svc-footer-inner {
  display: grid;
  gap: 14px;
  width: min(var(--shell-w), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0;
}
.svc-footer strong { font-family: var(--display); }
.svc-footer p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; max-width: 720px; }
.svc-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.svc-footer nav a { color: var(--muted); font-size: 13px; }
.svc-footer nav a:hover { color: var(--brand); }

/* --------------------------------------------------------------- 响应式 */
@media (max-width: 479px) {
  .svc-hero-copy h1 br { display: none; }
  .svc-hero-actions .btn { flex: 1 1 100%; }
  .svc-card-actions .btn { width: 100%; min-width: 0; }
  .svc-faq-list summary { padding-right: 36px; font-size: 16px; }
}
@media (min-width: 720px) {
  .svc-scenarios { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
  .svc-footer-inner { grid-template-columns: auto 1fr auto; align-items: start; gap: 28px; }
}
@media (min-width: 1020px) {
  .svc-hero { grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); padding: 72px 0 88px; }
  .svc-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-example-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-process-foot { grid-template-columns: 1fr auto; align-items: center; justify-items: start; }
}
@media (min-width: 1200px) {
  /* 宽屏三列：修改思路卡略宽，两侧留白由 padding-inline 保证。 */
  .svc-example-flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr) minmax(0, 1fr); }
}
@media (min-width: 1100px) {
  .svc-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 轻微动效：仅悬停反馈与 FAQ 展开指示，尊重系统减弱动态设置。 */
@media (prefers-reduced-motion: reduce) {
  .services-page *,
  .services-page *::before,
  .services-page *::after { transition: none !important; animation: none !important; }
  .svc-card:hover { box-shadow: var(--shadow); }
}
