/* 宸昕人力招聘服务平台 - 官网样式
   品牌色：求职蓝紫渐变 + 橙色路线点（与旺程驿 LOGO-D 版一致） */

:root {
  --brand-1: #4a6cf7;
  --brand-2: #9d5cf0;
  --accent: #ff9f2e;
  --ink: #1f2430;
  --ink-soft: #5c6472;
  --bg: #ffffff;
  --bg-alt: #f6f7fc;
  --line: #e8eaf2;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(74, 108, 247, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
img { max-width: 100%; display: block; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 44px; height: 44px; border-radius: 10px; box-shadow: var(--shadow); }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 17px; }
.brand-text em { font-style: normal; font-size: 12px; color: var(--accent); letter-spacing: 1px; }

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-size: 15px; transition: color .2s; }
.site-nav a:hover { color: var(--brand-1); }
.site-nav .nav-cta {
  color: #fff; background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  padding: 8px 18px; border-radius: 999px; font-size: 14px;
}
.site-nav .nav-cta:hover { color: #fff; opacity: .92; }

/* ===== 首屏（2026-09-21 主人定案：只设搜索，居中紧凑） ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-1) 0%, var(--brand-2) 100%);
  color: #fff; padding: 34px 0 36px;
}
.hero-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.hero-inner .hero-search { text-align: left; }
.hero-cats { justify-content: center; margin-bottom: 0; }

.btn {
  display: inline-block; text-decoration: none; font-size: 16px;
  padding: 13px 30px; border-radius: 999px; transition: transform .2s, opacity .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.65); color: #fff; }

/* ===== 通用区块 ===== */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-alt); }
.section-tag { color: var(--accent); font-size: 14px; letter-spacing: 4px; margin-bottom: 8px; }
.section-title { font-size: clamp(24px, 3vw, 32px); letter-spacing: 1px; margin-bottom: 36px; }

/* 关于公司（资质横排，2026-09-21 主人定案：备案信息只在页脚展示） */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.about-text p { color: var(--ink-soft); margin-bottom: 14px; }
.about-text .about-fee { font-size: 14.5px; color: var(--ink); background: var(--bg-alt); border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; padding: 14px 16px; margin-bottom: 0; line-height: 1.8; }
.about-text .about-fee a { color: var(--brand-1); font-weight: 700; text-decoration: none; }
.about-text .about-fee a:hover { text-decoration: underline; }
.qual-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qual-list li {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-1);
  border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow);
}
.qual-list strong { display: block; font-size: 15px; }
.qual-list span { font-size: 12.5px; color: var(--ink-soft); }
/* 资质卡可点击跳转公示页（2026-09-28） */
.qual-list a { display: block; color: inherit; text-decoration: none; }
.qual-list a:hover strong { color: var(--brand-1); }

/* 联系方式（单行紧凑条） */
.contact-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px;
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 28px;
}
.contact-strip span { display: flex; flex-direction: column; gap: 3px; }
.contact-strip em { font-style: normal; font-size: 12.5px; letter-spacing: 2px; color: var(--ink-soft); }
.contact-strip strong { font-size: 15px; color: var(--ink); }

/* 页脚 */
.site-footer { background: #1c2333; color: #aab2c5; padding: 40px 0; text-align: center; }
.footer-brand { color: #fff; font-size: 16px; letter-spacing: 2px; margin-bottom: 8px; }
.footer-copy { font-size: 13px; margin-bottom: 8px; }
.footer-beian { font-size: 13px; }
.footer-beian a { color: #aab2c5; text-decoration: none; }
.footer-beian a:hover { color: #fff; }
/* 公安备案链接（2026-09-18 过审：粤公网安备44129002000143号） */
.footer-beian a.beian-gongan { margin-left: 18px; display: inline-flex; align-items: center; gap: 6px; }
.footer-beian a.beian-gongan img { width: 16px; height: 16px; display: block; }

/* ===== 2026-09-18 改版新增 ===== */
/* 区块副标题 */
.section-sub { color: var(--ink-soft); max-width: 720px; margin: -22px 0 34px; }

/* 首屏搜索框（2026-09-21 主人定案：首屏只设搜索） */
.hero-search {
  display: flex; align-items: center; max-width: 100%;
  background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16); margin-bottom: 14px;
}
.hs-city { font-size: 14.5px; font-weight: 600; color: var(--ink); flex: none; }
.hs-divider { width: 1px; height: 18px; background: var(--line); margin: 0 14px; flex: none; }
.hs-input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: 14.5px; color: var(--ink); font-family: inherit;
}
.hs-input::placeholder { color: #9aa3b5; }
.hs-btn {
  flex: none; border: none; cursor: pointer; color: #fff;
  font-size: 15px; font-weight: 600; font-family: inherit;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  padding: 11px 26px; border-radius: 999px; transition: opacity .2s;
}
.hs-btn:hover { opacity: .9; }

/* 首屏热门工种 */
.hero-cats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-bottom: 0; }
.hero-cats a {
  font-size: 13px; color: rgba(255,255,255,.9); text-decoration: none;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
  padding: 3px 12px; border-radius: 999px; transition: background .2s;
}
.hero-cats a:hover { background: rgba(255,255,255,.28); }

/* 多列页脚 */
.site-footer { text-align: left; padding: 52px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 30px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; }
.footer-brand { margin-bottom: 6px; }
.footer-desc { font-size: 13px; color: #8a93a8; }
.footer-head { color: #fff; font-size: 14.5px; letter-spacing: 1px; margin-bottom: 6px; }
.footer-col a { color: #aab2c5; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-inner { padding-top: 22px; text-align: center; }

/* 协议/隐私文档页 */
.doc-page { padding: 60px 0 80px; }
.doc-page .container { max-width: 860px; }
.doc-page h1 { font-size: 28px; letter-spacing: 1px; margin-bottom: 10px; }
.doc-meta { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 34px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.doc-page h2 { font-size: 19px; margin: 30px 0 10px; padding-left: 12px; border-left: 4px solid var(--brand-1); }
.doc-page p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 8px; }

/* ===== 岗位广场 / 岗位详情（2026-09-21 数据同步小程序） ===== */
.section-jobs { background: var(--bg-alt); }

/* 导航第二按钮（描边款） */
.site-nav .nav-btn {
  color: var(--brand-1); border: 1.5px solid rgba(74, 108, 247, 0.5);
  padding: 7px 16px; border-radius: 999px; font-size: 14px;
}
.site-nav .nav-btn:hover { color: #fff; background: var(--brand-1); }

/* 列表状态行 */
.job-status { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; min-height: 22px; }
.job-status.ok { color: var(--ink-soft); }
.job-status.err { color: #d94848; }
.job-status.err a { color: var(--brand-1); }
.job-loading {
  display: inline-block; width: 14px; height: 14px; margin-right: 8px; vertical-align: -2px;
  border: 2px solid rgba(74, 108, 247, 0.25); border-top-color: var(--brand-1);
  border-radius: 50%; animation: jobspin .8s linear infinite;
}
@keyframes jobspin { to { transform: rotate(360deg); } }

/* 岗位卡片列表 */
.job-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.job-card {
  position: relative; display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 22px; box-shadow: 0 4px 14px rgba(74, 108, 247, 0.06);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.job-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(74, 108, 247, 0.14); border-color: rgba(74, 108, 247, 0.35); }
.jc-top { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.jc-title {
  font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0;
}
.jc-salary { flex: none; font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: .3px; }
.jc-unit { font-size: 12.5px; font-weight: 500; margin-left: 2px; }
.jc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.jc-tags li {
  font-size: 12.5px; color: var(--ink-soft); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 6px; padding: 2px 9px;
}
.jc-bottom { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.jc-company { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.jc-cat { flex: none; font-size: 12px; border-radius: 4px; padding: 1px 8px; }
.cat-direct { color: #2f56d6; background: rgba(74, 108, 247, 0.1); }
.cat-agency { color: #7c3fd0; background: rgba(157, 92, 240, 0.12); }
.cat-temp { color: #c8770a; background: rgba(255, 159, 46, 0.16); }
.jc-date { flex: none; color: #9aa3b5; }
.jc-pin {
  position: absolute; top: -9px; left: 16px;
  font-size: 11.5px; color: #fff; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  padding: 2px 10px; border-radius: 999px;
}

/* 加载更多 */
.job-more-wrap { text-align: center; margin-top: 26px; }
.job-more {
  font-family: inherit; font-size: 15px; cursor: pointer;
  color: var(--brand-1); background: #fff; border: 1.5px solid rgba(74, 108, 247, 0.45);
  padding: 11px 34px; border-radius: 999px; transition: background .2s, color .2s;
}
.job-more:hover { color: #fff; background: var(--brand-1); }
.job-reset { display: inline-block; margin-top: 14px; font-size: 13.5px; color: var(--ink-soft); text-decoration: none; border-bottom: 1px dashed #b9c0d0; }
.job-reset:hover { color: var(--brand-1); }

/* 首屏工种标签选中态 */
.hero-cats a.on { background: #fff; color: var(--brand-1); border-color: #fff; font-weight: 600; }

/* ---- 岗位详情页（2026-09-21 主人定案：重排为左右分栏） ---- */
.jd-page { padding: 30px 0 70px; background: var(--bg-alt); min-height: 60vh; }
.jd-crumb { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.jd-crumb a { color: var(--ink-soft); text-decoration: none; }
.jd-crumb a:hover { color: var(--brand-1); }
#jdBox { max-width: 1000px; margin: 0 auto; }
.jd-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 28px 32px; }

/* 头部卡：标题 + 薪资 + 标签行 */
.jd-head { padding-bottom: 22px; }
.jd-head-main { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.jd-title { font-size: clamp(22px, 3vw, 28px); letter-spacing: .5px; }
.jd-salary { font-size: clamp(22px, 2.8vw, 30px); font-weight: 700; color: var(--accent); }
.jd-unit { font-size: 14px; font-weight: 500; margin-left: 3px; }
.jd-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.jd-chip {
  font-size: 13px; color: var(--ink-soft); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 11px;
}
.jd-chip-cat { color: #2f56d6; background: rgba(74, 108, 247, 0.1); border-color: rgba(74, 108, 247, 0.25); }

/* 左右分栏：左主栏 + 右侧栏（报名/企业卡，下滑吸顶） */
.jd-layout { display: grid; grid-template-columns: 1fr 300px; gap: 16px; margin-top: 16px; align-items: start; }
.jd-main { padding-bottom: 24px; }
.jd-side { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 16px; }

.jd-block { margin-bottom: 28px; }
.jd-block:last-child { margin-bottom: 0; }
.jd-block h2 { font-size: 18px; margin-bottom: 12px; padding-left: 12px; border-left: 4px solid var(--brand-1); }
.jd-text { color: var(--ink-soft); font-size: 15.5px; line-height: 2; }
.jd-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; }
.jd-dl-row { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.jd-dl-row dt { flex: none; width: 76px; color: var(--ink-soft); }
.jd-dl-row dd { color: var(--ink); }
.jd-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; }
.jd-tags li { font-size: 13px; color: var(--brand-1); background: rgba(74, 108, 247, 0.08); border-radius: 6px; padding: 3px 11px; }

/* 右侧报名卡 */
.jd-apply { background: linear-gradient(135deg, rgba(74, 108, 247, 0.06), rgba(157, 92, 240, 0.06)); border-color: rgba(74, 108, 247, 0.22); }
.jd-apply-label { font-size: 12.5px; letter-spacing: 2px; color: var(--ink-soft); }
.jd-apply-phone { font-size: 26px; font-weight: 700; color: var(--brand-1); letter-spacing: 1px; margin-top: 4px; }
.jd-apply-co { font-size: 13.5px; margin-top: 2px; }
.jd-apply-tip { font-size: 12.5px; color: var(--ink-soft); line-height: 1.8; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); }
.jd-apply-btn {
  display: block; text-align: center; margin-top: 14px; padding: 10px 0;
  border-radius: 999px; background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-size: 14.5px; text-decoration: none; transition: opacity .2s;
}
.jd-apply-btn:hover { opacity: .92; }

/* 右侧企业卡 */
.jd-ent-head { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding-left: 10px; border-left: 4px solid var(--accent); }
.jd-ent-name { font-size: 15.5px; font-weight: 600; }
.jd-ent-desc { color: var(--ink-soft); font-size: 13.5px; line-height: 1.8; margin-top: 8px; }
.jd-ent-label { display: inline-block; margin-top: 10px; font-size: 12.5px; color: #c8770a; background: rgba(255, 159, 46, 0.14); border-radius: 999px; padding: 3px 12px; }

/* 同公司在招岗位（底部通栏卡） */
.jd-rec-card { margin-top: 16px; }
.jd-rec-title { font-size: 17.5px; margin-bottom: 14px; padding-left: 12px; border-left: 4px solid var(--brand-1); }
.jd-rec { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.jd-rec-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  text-decoration: none; color: inherit; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: 10px; padding: 13px 16px; transition: border-color .2s;
}
.jd-rec-item:hover { border-color: rgba(74, 108, 247, 0.4); }
.jd-rec-title-text { font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jd-rec-salary { flex: none; font-size: 14px; font-weight: 600; color: var(--accent); }
.jd-loading { padding: 60px 0; text-align: center; color: var(--ink-soft); }
.jd-err { padding: 50px 0; text-align: center; }
.jd-err-title { font-size: 18px; font-weight: 600; }
.jd-err-tip { color: var(--ink-soft); font-size: 14.5px; margin: 10px 0 22px; }
.jd-err-actions .btn { padding: 11px 28px; font-size: 15px; }

/* ---- 注册引导弹窗 ---- */
.guide-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.guide-modal[hidden] { display: none; }
.gm-mask { position: absolute; inset: 0; background: rgba(20, 24, 35, 0.55); backdrop-filter: blur(2px); }
.gm-box {
  position: relative; width: min(360px, 88vw); background: #fff; border-radius: 18px;
  padding: 32px 28px 26px; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  animation: gmin .22s ease-out;
}
@keyframes gmin { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.gm-close {
  position: absolute; top: 10px; right: 14px; border: none; background: none;
  font-size: 24px; line-height: 1; color: #9aa3b5; cursor: pointer;
}
.gm-close:hover { color: var(--ink); }
.gm-box h3 { font-size: 19px; margin-bottom: 10px; }
.gm-box p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.75; }
.gm-qr { width: 180px; height: 180px; margin: 18px auto 14px; border: 1px solid var(--line); border-radius: 12px; }
.gm-tip { font-size: 13px; color: var(--ink-soft); }
.gm-tip strong { color: var(--brand-1); }
body.modal-open { overflow: hidden; }

/* ===== 响应式 ===== */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 28px 0 32px; }
  .site-nav { gap: 10px; }
  .site-nav > a:not(.nav-btn):not(.nav-cta) { display: none; }
  .site-nav .nav-btn, .site-nav .nav-cta { padding: 6px 12px; font-size: 13px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .job-list { grid-template-columns: 1fr; }
  .jd-layout { grid-template-columns: 1fr; }
  .jd-side { position: static; }
  .jd-card { padding: 22px 20px; }
  .jd-dl, .jd-rec { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .qual-list { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; gap: 12px; padding: 18px 20px; }
  .hero-search { flex-wrap: wrap; padding: 10px 12px 10px 16px; border-radius: 18px; }
  .hs-input { flex: 1 1 100%; order: 3; padding: 8px 0 2px; border-top: 1px solid var(--line); margin-top: 6px; }
  .hs-btn { padding: 9px 22px; }
  .header-inner { flex-direction: column; height: auto; padding: 12px 0 10px; gap: 10px; }
  .jc-top { flex-wrap: wrap; gap: 4px; }
  .jc-salary { font-size: 16px; }
  .gm-qr { width: 156px; height: 156px; }
}

/* ===== 资质公示页（2026-09-28 网络招聘服务管理规定第13条） ===== */
.cert-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 22px; margin-bottom: 26px;
}
.cert-img {
  display: block; max-width: 640px; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 8px; margin-bottom: 16px;
}
.cert-info { list-style: none; }
.cert-info li { font-size: 14px; color: var(--ink-soft); padding: 3px 0; }
.cert-info strong { color: var(--ink); font-weight: 600; }

/* ===== 企业入驻指南（agreement.html，2026-09-29） ===== */
.guide-divider {
  height: 1px; background: var(--line); margin: 46px 0 10px;
  position: relative;
}
.guide-divider::after {
  content: "企业入驻指南"; position: absolute; left: 50%; top: 0;
  transform: translate(-50%, -50%); background: var(--bg);
  color: var(--ink-soft); font-size: 12px; letter-spacing: 4px;
  padding: 0 14px; white-space: nowrap;
}
.guide-title {
  border-left-color: var(--accent) !important;
}
.guide-steps { list-style: none; counter-reset: step; margin: 14px 0 8px; }
.guide-steps li {
  counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand-1);
  border-radius: 10px; padding: 14px 16px 12px 58px; margin-bottom: 12px;
}
.guide-steps li::before {
  content: counter(step); position: absolute; left: 14px; top: 14px;
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.guide-steps li strong { display: block; font-size: 15px; margin-bottom: 2px; }
.guide-steps li span { color: var(--ink-soft); font-size: 13.5px; }
.guide-fee {
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: 10px; padding: 16px 18px; margin: 12px 0 8px;
}
.guide-fee p { color: var(--ink-soft); font-size: 14px; margin-bottom: 6px; }
.guide-fee p:first-child { color: var(--ink); font-weight: 600; }
