/* C&B Talent（池贝人力咨询）官网样式 */
:root {
  --ink: #1a2420;
  --ink-soft: #44514b;
  --brand: #0e4b43;
  --brand-deep: #0a3833;
  --accent: #b98a2f;
  --paper: #fbfaf7;
  --card: #ffffff;
  --line: #e3e0d8;
  --max: 1060px;
  --serif: "Songti SC", "Noto Serif SC", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Noto Sans SC", "Microsoft YaHei", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--brand-deep);
  white-space: nowrap;
}
.brand-mark:hover { text-decoration: none; }
.brand-mark .brand-logo { height: 32px; width: auto; display: block; }
.brand-mark .en { font-size: 19px; letter-spacing: 0.02em; }
.brand-mark .zh { font-size: 14px; color: var(--ink-soft); font-weight: 500; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--brand-deep);
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 15px;
}
.site-nav a:hover { color: var(--brand-deep); background: #f0eee7; text-decoration: none; }
.site-nav a.active { color: var(--brand-deep); font-weight: 600; }
.site-nav a.lang {
  border: 1px solid var(--line);
  margin-left: 8px;
  font-size: 13px;
  color: var(--brand);
}

/* ---------- 主体 ---------- */
main { max-width: var(--max); margin: 0 auto; padding: 0 24px 80px; }

.hero {
  padding: 96px 0 64px;
  max-width: 780px;
}
.hero .kicker {
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 18px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.3;
  margin: 0 0 20px;
  color: var(--brand-deep);
  font-weight: 700;
  /* 平衡换行，避免末行只剩"才。"等零星字 */
  text-wrap: balance;
}
/* 不允许断行的片段（如标题末尾"核心人才。"），避免孤字成行 */
.keep { white-space: nowrap; }
.hero .tagline-en {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.hero .lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 36px; }

.page-head { padding: 72px 0 40px; max-width: 780px; }
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.4vw, 40px);
  color: var(--brand-deep);
  margin: 0 0 16px;
  line-height: 1.3;
}
.page-head .lead { font-size: 17px; color: var(--ink-soft); margin: 0; }

section { margin: 0 0 64px; }
h2 {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--brand-deep);
  margin: 0 0 20px;
  padding-top: 8px;
}
h3 { font-size: 18px; color: var(--brand-deep); margin: 0 0 10px; }
p { margin: 0 0 16px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid var(--brand);
  transition: background 0.15s ease;
}
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); text-decoration: none; }
.btn.ghost { color: var(--brand); }
.btn.ghost:hover { background: #eef3f1; text-decoration: none; }

.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px;
}
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.card.highlight { border-left: 4px solid var(--accent); }
.card.scope-partner { background: #f6f4ee; }

.plain-list { padding-left: 1.2em; margin: 0 0 16px; }
.plain-list li { margin-bottom: 8px; }

.num-list { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.num-list li {
  counter-increment: step;
  position: relative;
  padding: 18px 0 18px 58px;
  border-bottom: 1px solid var(--line);
}
.num-list li:last-child { border-bottom: none; }
.num-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fact-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 12px; overflow: hidden; }
.fact-table th, .fact-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  vertical-align: top;
}
.fact-table th { background: #f0eee7; color: var(--brand-deep); font-weight: 600; white-space: nowrap; }
.fact-table tr:last-child td { border-bottom: none; }

.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; padding: 0; list-style: none; }
.tag-row li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.note {
  background: #f4f1e8;
  border: 1px solid #e6dfc8;
  border-radius: 12px;
  padding: 18px 22px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.note p:last-child { margin-bottom: 0; }

.stage-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.stage-onboarded { background: #e2efe7; color: #1e6b41; }
.stage-offer { background: #fbeeda; color: #96580f; }

/* ---------- 关于页：品牌标识 ---------- */
.brand-intro {
  margin: 0 0 28px;
  padding: 32px 34px;
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(14, 75, 67, 0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7f5ef 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.brand-lockup-logo {
  width: 108px;
  height: auto;
  flex-shrink: 0;
  display: block;
}
.brand-lockup-text { min-width: 0; }
.brand-lockup-en {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.01em;
  line-height: 1.15;
}
.brand-lockup-zh {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.12em;
}
.brand-lockup-tag {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.brand-names { margin: 8px 0 20px; }
.brand-name-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
}
.brand-name-card .label {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.brand-name-card .name {
  margin: 0;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-deep);
  line-height: 1.3;
}
.brand-name-card .name.en-name {
  letter-spacing: 0.02em;
}
.brand-name-card .hint {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.brand-name-card .mark-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.brand-name-card .mark-row img {
  width: 40px;
  height: auto;
  display: block;
}

@media (max-width: 640px) {
  .brand-intro { padding: 24px 20px; }
  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .brand-lockup-logo { width: 88px; }
}

.faq-item { border-bottom: 1px solid var(--line); padding: 26px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h2 { font-size: 19px; font-family: var(--sans); font-weight: 700; margin: 0 0 12px; padding: 0; }

.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
  text-align: center;
  max-width: 640px;
}
/* ---------- 联系表单 ---------- */
.contact-form-box { text-align: left; }
.contact-form-box .field { margin: 0 0 18px; }
.contact-form-box label { display: block; font-size: 14px; font-weight: 600; color: var(--brand-deep); margin: 0 0 6px; }
.contact-form-box .req { color: #b3372f; }
.contact-form-box input[type="text"],
.contact-form-box input[type="email"],
.contact-form-box textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
}
.contact-form-box input:focus,
.contact-form-box textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.contact-form-box textarea { resize: vertical; }
.contact-form-box .botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form-box button[type="submit"] { width: 100%; cursor: pointer; }
.contact-form-box button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
.form-status { margin: 14px 0 0; font-size: 15px; }
.form-status.ok { color: var(--brand); }
.form-status.err { color: #b3372f; }

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #f3f1ea;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 24px 56px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.footer-inner .meta { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.footer-inner nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; margin: 0 0 18px; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 2px; }
  .site-nav a.lang { margin-left: 0; margin-top: 8px; text-align: center; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .hero { padding: 64px 0 48px; }
  .fact-table { display: block; overflow-x: auto; }
}

/* 小屏手机：收窄页眉，保证品牌区与菜单按钮不溢出 */
@media (max-width: 560px) {
  .header-inner { padding: 0 16px; }
  .brand-mark { gap: 8px; }
  .brand-mark .brand-logo { height: 28px; }
  .brand-mark .en { font-size: 17px; }
  .brand-mark .zh { display: none; }
}

/* 兜底：任何元素都不允许把页面撑出横向滚动（clip 不破坏 sticky 页眉） */
body { overflow-x: clip; }
