/* 心理辅导专项职业能力认证 · 全新排版（2026-11-06）
 * 参考国际职业认证网站的呈现方式：清晰层级、大留白、结构化列表、能力标签。
 * 页面区块：hero → 人类增强定位 → 认证 Tab → 证书样本 → 权威性 → 鉴定要求 → 报名表单 → 二维码 → 免责 */
:root {
  --brand: #1A5276;
  --brand-2: #2E86C1;
  --gold: #B8912F;
  --ink: #1d2939;
  --ink-2: #475467;
  --ink-3: #8792a8;
  --line: #e4e9f2;
  --bg: #f6f8fb;
}
* { box-sizing: border-box; }
body {
  margin: 0; color: var(--ink); line-height: 1.7;
  font-family: 'PingFang SC', 'Microsoft YaHei', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  background-image: radial-gradient(720px 400px at 90% -4%, rgba(46, 134, 193, .08), transparent 60%),
                    radial-gradient(640px 360px at 4% 2%, rgba(184, 145, 47, .07), transparent 58%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }

/* ── hero 头图 ── */
.header {
  position: relative; overflow: hidden; color: #fff;
  padding: 44px 20px 50px; text-align: center;
  background: linear-gradient(132deg, #10263a 0%, #1A5276 52%, #21618c 100%);
}
.header::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(420px 240px at 18% 0%, rgba(46, 134, 193, .5), transparent 64%),
    radial-gradient(360px 220px at 86% 4%, rgba(184, 145, 47, .28), transparent 62%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: auto, auto, 42px 42px, 42px 42px;
  mask-image: radial-gradient(circle at 50% 32%, #000 8%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 32%, #000 8%, transparent 76%);
  pointer-events: none;
}
.header h1 {
  position: relative; margin: 0 0 10px; font-size: clamp(26px, 4.6vw, 38px);
  font-weight: 800; letter-spacing: 1px;
  background: linear-gradient(100deg, #fff 30%, #cfe3f2 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.header p { position: relative; margin: 0; font-size: 14px; color: rgba(224, 236, 246, .88); letter-spacing: .06em; }

/* ── 人类增强定位 ── */
.aug-banner {
  max-width: 1080px; margin: -26px auto 6px; padding: 26px 30px;
  position: relative; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(16, 42, 67, .10);
}
.aug-kicker {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .22em;
  color: var(--gold); margin-bottom: 10px;
}
.aug-banner h2 {
  margin: 0 0 10px; font-size: clamp(19px, 3vw, 25px); font-weight: 800;
  letter-spacing: -.2px; line-height: 1.4;
}
.aug-banner p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-2); }
.aug-points { display: flex; flex-wrap: wrap; gap: 10px; }
.aug-points span {
  font-size: 13px; font-weight: 700; color: var(--brand);
  background: #eef5fb; border: 1px solid #d3e5f2; border-radius: 999px; padding: 7px 15px;
}

/* ── 布局容器 ── */
.container { max-width: 1080px; margin: 0 auto; padding: 26px 20px 60px; }
.back-link { display: inline-block; font-size: 13.5px; color: var(--ink-2); text-decoration: none; margin-bottom: 16px; }
.back-link:hover { color: var(--brand); }
.sec { font-size: 21px; font-weight: 800; letter-spacing: -.2px; margin: 34px 0 14px; padding-left: 12px; border-left: 4px solid var(--brand); }

/* ── 专项 Tab ── */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 20px; }
.tab-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  font-size: 14.5px; font-weight: 700; padding: 11px 22px; border-radius: 999px;
  cursor: pointer; font-family: inherit; transition: .18s ease;
}
.tab-btn:hover { border-color: var(--brand-2); color: var(--brand); transform: translateY(-1px); }
.tab-btn.active {
  background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff;
  border-color: transparent; box-shadow: 0 8px 22px rgba(26, 82, 118, .28);
}
.tagline {
  margin: 2px 0 16px; font-size: 14px; color: var(--ink-2);
  padding: 11px 16px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0;
  background: #fbf8f0;
}
.tab-content { display: none; }
.tab-content.active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── 考核模块卡（核心重构）── */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.module-card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 20px 18px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(16, 42, 67, .06);
  transition: .2s ease;
}
.module-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--mc, var(--brand-2)); }
.module-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(16, 42, 67, .12); }
.mc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mc-index {
  flex: none; width: 30px; height: 30px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 14px;
  color: #fff; background: var(--mc, var(--brand-2));
}
.mc-title { margin: 0; font-size: 16.5px; font-weight: 800; flex: 1; line-height: 1.35; }
.mc-pct { font-size: 26px; font-weight: 800; color: var(--mc, var(--brand-2)); line-height: 1; }
.mc-pct small { font-size: 13px; font-weight: 700; margin-left: 1px; }
.mc-bar { height: 7px; border-radius: 999px; background: #eef1f7; overflow: hidden; margin-bottom: 14px; }
.mc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--mc, var(--brand-2)), color-mix(in srgb, var(--mc, var(--brand-2)) 62%, #fff)); }
.mc-sec { margin-top: 12px; }
.mc-sec h4 {
  margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em;
  color: var(--ink-3);
}
.task-list { list-style: none; margin: 0; padding: 0; }
.task-list li { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); padding: 5px 0; }
.task-list .tno {
  flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px;
  background: #eef5fb; color: var(--brand); font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 12.5px; color: var(--ink-2); background: #f4f6fa;
  border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px;
}

/* ── 权威性 / 鉴定要求 ── */
.auth-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px;
  box-shadow: 0 4px 16px rgba(16, 42, 67, .05);
}
.auth-card h3 { margin: 0 0 6px; font-size: 15.5px; }
.auth-card p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.req-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 6px; }
.req-card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 15px;
  font-size: 13.5px; color: var(--ink-2);
}
.req-card b { display: block; color: var(--brand); font-size: 13px; letter-spacing: .06em; margin-bottom: 5px; }
.sec-note { font-size: 13px; color: var(--ink-3); margin: -6px 0 10px; }

/* ── 证书样本轮播 / 二维码 ── */
.cert-carousel {
  position: relative; max-width: 760px; margin: 14px auto 4px;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(16, 42, 67, .14);
  background: #fff; border: 1px solid var(--line);
}
.cc-track { display: flex; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.cc-slide { position: relative; flex: 0 0 100%; }
.cc-slide img { display: block; width: 100%; height: auto; }
.cc-tag {
  position: absolute; left: 14px; bottom: 12px;
  font-size: 13px; font-weight: 800; color: #fff; letter-spacing: .04em;
  background: rgba(26, 82, 118, .82); border-radius: 999px; padding: 6px 16px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.cc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(16, 42, 67, .42); color: #fff; font-size: 22px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: .18s ease; font-family: inherit;
}
.cc-arrow:hover { background: rgba(16, 42, 67, .68); }
.cc-prev { left: 12px; }
.cc-next { right: 12px; }
.cc-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; gap: 8px; justify-content: center; }
.cc-dots i {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55);
  cursor: pointer; transition: .2s ease;
}
.cc-dots i.on { background: #fff; transform: scale(1.15); }
.qr-box img { display: block; }

/* ── 报名表单 ── */
.reg-form {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  box-shadow: 0 8px 26px rgba(16, 42, 67, .07); max-width: 760px; margin: 0 auto;
}
.reg-form h3 { margin: 0 0 16px; font-size: 17px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 13px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #344054; margin-bottom: 5px; }
.form-group input, .form-group select {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fbfcff;
  transition: .15s ease;
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--brand-2); background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 134, 193, .14);
}
/* 分组标题与长文本域（2026-11-06：表单对齐招生报名页的完整采集） */
.fg-sec {
  font-size: 13.5px; font-weight: 800; color: var(--brand); letter-spacing: .3px;
  margin: 20px 0 10px; padding: 8px 12px; border-radius: 9px;
  background: linear-gradient(90deg, #eef5fb, transparent);
  border-left: 3px solid var(--brand-2);
}
.fg-label { display: block; font-size: 13px; font-weight: 700; color: #344054; margin-bottom: 5px; }
.fg-text {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-size: 14px; font-family: inherit; color: var(--ink); background: #fbfcff;
  min-height: 66px; resize: vertical; transition: .15s ease;
}
.fg-text:focus {
  outline: none; border-color: var(--brand-2); background: #fff;
  box-shadow: 0 0 0 3px rgba(46, 134, 193, .14);
}
.reg-sub { margin: -8px 0 16px; font-size: 12.5px; color: var(--ink-3); }
.submit-btn {
  border: 0; border-radius: 11px; padding: 13px 40px; font-size: 15px; font-weight: 800;
  color: #fff; cursor: pointer; font-family: inherit;
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px rgba(26, 82, 118, .30); transition: .18s ease;
}
.submit-btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(26, 82, 118, .38); }
.submit-btn:disabled { opacity: .55; cursor: wait; transform: none; }

/* ── 免责 / 页脚 ── */
.disclaimer {
  background: #fffaf2; border: 1px solid #f0dfc0; border-radius: 14px; padding: 18px 22px;
  margin: 30px 0 18px;
}
.disclaimer h3 { margin: 0 0 8px; font-size: 15px; color: #8a6d1f; }
.disclaimer ul { margin: 0; padding-left: 20px; font-size: 13.5px; color: #6d5b2e; }
.disclaimer li { margin: 4px 0; }
.footer { text-align: center; font-size: 12px; color: var(--ink-3); padding: 16px 0 4px; }

@media (max-width: 640px) {
  .aug-banner { padding: 20px 18px; margin-top: -18px; }
  .container { padding: 20px 14px 50px; }
  .module-grid { grid-template-columns: 1fr; }
  .tabs { gap: 8px; }
  .tab-btn { padding: 9px 16px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
