/* ============================================================
   jixieyuan.css —— 机械员岗位页
   设计：双起伏弧 hero + 顶饰条五步流程 + 三列对照行 + 错位网格 + 墨黑带 + 墨色键帽卡 + 角标卡
   ============================================================ */

/* ---------- Hero：双起伏弧 ---------- */
.hero{
  margin-top:var(--nav-h);
  background:
    linear-gradient(115deg, rgba(28,26,23,.8), rgba(90,65,40,.6)),
    url("../images/banner-gangwei.jpg") center/cover no-repeat,
    var(--ink);
  color:var(--cream);
  padding:96px 0 140px;
  clip-path:path("M0,0 H100% V70% Q75% 95%,50% 83% Q25% 71%,0 88% Z");
}
.hero-inner{ position:relative; }
.crumb{ color:rgba(242,232,213,.72); margin-bottom:26px; }
.crumb a{ color:rgba(242,232,213,.72); }
.crumb a:hover{ color:var(--tan); }
.hero-key{ margin-bottom:18px; }
.hero-title{ font-size:clamp(34px,5vw,56px); color:var(--cream); max-width:740px; line-height:1.18; }
.hero-sub{ margin-top:20px; max-width:660px; font-size:16.5px; color:rgba(242,232,213,.86); }
.hero-cta{ margin-top:34px; display:flex; flex-wrap:wrap; gap:14px; }
.btn-ghost.light{ color:var(--cream); border-color:rgba(242,232,213,.5); }
.btn-ghost.light:hover{ color:var(--paper); border-color:var(--cream); }

/* ---------- 通用 ---------- */
.sec{ padding:78px 0; }
.sec-tag{ font-family:var(--font-mono); font-size:13px; letter-spacing:3px; color:var(--brown-3); margin-bottom:12px; }
.sec-tag.center{ text-align:center; }
.sec h2{ font-size:clamp(24px,3vw,34px); color:var(--ink); margin-bottom:16px; }
h2.center{ text-align:center; }
.lead{ max-width:780px; margin:0 auto; color:var(--ink-3); }
.lead.center{ text-align:center; }
.sec p{ margin-bottom:14px; }
.sec p b{ color:var(--brown-2); }

/* ---------- 板块 2：五步流程 ---------- */
.proc-row{
  margin-top:36px; list-style:none;
  display:grid; grid-template-columns:repeat(5,1fr); gap:14px;
  counter-reset:proc;
}
.proc{
  border-top:3px solid var(--brown); background:var(--paper);
  border-right:1px solid var(--line); border-bottom:1px solid var(--line); border-left:1px solid var(--line);
  padding:18px 14px; border-radius:0 0 10px 10px;
}
.p-num{
  display:block; font-family:var(--font-mono); font-size:11px; letter-spacing:1px;
  color:var(--tan); margin-bottom:10px;
}
.proc h3{ font-size:16px; color:var(--brown-2); margin-bottom:6px; }
.proc p{ font-size:13px; margin:0; }

/* ---------- 板块 3：三列对照行 ---------- */
.sec-split{ background:var(--paper-2); }
.split-table{
  margin-top:32px; border:1px solid var(--line-2); border-radius:14px; overflow:hidden;
  background:var(--paper);
}
.split-head,.split-row{
  display:grid; grid-template-columns:1fr 1.4fr 1.4fr;
}
.split-head{ background:var(--ink); color:var(--cream); font-family:var(--font-head); font-weight:700; }
.split-head span{ padding:14px 18px; }
.split-row{ border-top:1px solid var(--line); }
.split-row span{ padding:14px 18px; font-size:14px; }
.split-row span:first-child{ font-weight:700; color:var(--brown-2); background:var(--paper-2); }
.policy-note{
  margin-top:26px; font-size:13.5px; color:var(--brown-3);
  border-left:3px solid var(--tan); padding:10px 16px; background:var(--paper);
}
.policy-note b{ color:var(--brown-2); }
.policy-note a{ color:var(--brown-2); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 4：错位网格 ---------- */
.offset-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.offset-media img{
  border-radius:var(--r-m); box-shadow:var(--shadow);
  clip-path:polygon(0 0,100% 4%,96% 96%,4% 100%);
}
.offset-media figcaption{ margin-top:10px; font-size:12.5px; color:var(--brown-3); font-family:var(--font-mono); }

/* ---------- 板块 5：职责表 ---------- */
.sec-table{ background:var(--paper-2); }
.table-wrap{ margin-top:30px; overflow-x:auto; }
.jx-table{ background:var(--paper); }
.jx-table th{ background:var(--ink); color:var(--cream); border-color:var(--ink-3); }
.jx-table tbody tr:nth-child(even){ background:var(--paper-2); }
.jx-table td{ font-size:14.5px; }

/* ---------- 板块 6：墨黑深色带 ---------- */
.sec-dark{
  background:var(--ink); color:rgba(242,232,213,.86);
  padding:90px 0; clip-path:polygon(0 5%,100% 0,100% 95%,0 100%);
}
.sec-dark h2{ color:var(--cream); }
.sec-tag.light{ color:var(--tan); }
.dark-cols{ margin-top:26px; display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.dark-cols p{ font-size:14.5px; color:rgba(242,232,213,.8); margin:0; }
.dark-cols a{ color:var(--tan); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 7：墨色键帽卡 ---------- */
.ink-row{ margin-top:34px; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.ink-card{
  background:var(--ink); color:rgba(242,232,213,.85); border-radius:14px;
  padding:26px 22px; box-shadow:0 6px 0 #000;
}
.ink-k{
  display:inline-block; font-family:var(--font-mono); font-weight:700;
  background:var(--tan); color:var(--ink); padding:4px 12px; border-radius:6px;
  margin-bottom:14px;
}
.ink-card h3{ color:var(--cream); font-size:18px; margin-bottom:8px; }
.ink-card p{ font-size:14px; margin:0; color:rgba(242,232,213,.75); }

/* ---------- 板块 8：角标卡 ---------- */
.sec-tagcard{ background:var(--paper-2); }
.tag-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.tag-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--r-m);
  padding:30px 26px; position:relative; box-shadow:var(--shadow-sm);
}
.tag-corner{
  position:absolute; top:0; right:24px;
  background:var(--brown); color:var(--cream); font-family:var(--font-mono);
  font-size:12px; padding:4px 12px; border-radius:0 0 8px 8px;
}
.tag-card h3{ font-size:18px; color:var(--ink); margin-bottom:10px; }
.tag-card p{ font-size:14.5px; margin:0; }

/* ---------- 板块 9：FAQ ---------- */
.sec-faq{ padding-top:60px; }
.faq-wrap{ max-width:820px; }
h2.more-q{ margin-top:44px; }
.faq-item{
  background:var(--paper); border:1px solid var(--line); border-radius:12px;
  margin-bottom:14px; overflow:hidden;
}
.faq-item summary{
  cursor:pointer; padding:16px 20px; font-weight:700; color:var(--ink);
  list-style:none; position:relative; padding-right:44px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{
  content:"+"; position:absolute; right:18px; top:50%; transform:translateY(-50%);
  font-family:var(--font-mono); font-size:20px; color:var(--brown-3);
}
.faq-item[open] summary::after{ transform:translateY(-50%) rotate(45deg); }
.faq-item p{ padding:0 20px 18px; font-size:14.5px; color:var(--ink-3); margin:0; }
.faq-item a{ color:var(--brown-2); text-decoration:underline; text-underline-offset:3px; }

/* ---------- 板块 10：CTA ---------- */
.cta-box{
  background:var(--brown); color:var(--cream); text-align:center;
  border-radius:var(--r-l); padding:56px 30px;
  clip-path:polygon(0 4%,100% 0,100% 96%,96% 100%,0 96%);
}
.cta-box h2{ color:var(--cream); font-size:clamp(22px,3vw,32px); }
.cta-box p{ color:rgba(242,232,213,.85); max-width:620px; margin:12px auto 0; }
.cta-tel{ font-family:var(--font-mono); font-size:16px; }
.cta-tel a{ color:var(--cream); text-decoration:underline; text-underline-offset:3px; }
.cta-box .hero-cta{ justify-content:center; }
.cta-box .btn-ghost{ color:var(--cream); border-color:rgba(242,232,213,.5); }
.cta-box .btn-ghost:hover{ color:var(--paper); border-color:var(--cream); }

/* ---------- 响应式 ---------- */
@media (max-width:1080px){
  .proc-row{ grid-template-columns:repeat(2,1fr); }
  .offset-grid{ grid-template-columns:1fr; gap:30px; }
  .ink-row,.tag-grid{ grid-template-columns:1fr; }
  .dark-cols{ grid-template-columns:1fr; gap:18px; }
}
@media (max-width:640px){
  .hero{ padding:70px 0 110px; }
  .sec{ padding:56px 0; }
  .proc-row{ grid-template-columns:1fr; }
  .split-head{ display:none; }
  .split-row{ grid-template-columns:1fr; }
  .split-row span:first-child{ border-bottom:1px dashed var(--line); }
  .sec-dark{ clip-path:none; }
}

/* ---------- table-layout fixed 列宽（由 colgroup 迁移） ---------- */
.jx-table{ table-layout:fixed; }
.jx-table col:nth-child(1){ width:22%; }
.jx-table col:nth-child(2){ width:50%; }
.jx-table col:nth-child(3){ width:28%; }

/* ---------- 自检修复补丁（防拉伸 / 移动端间距） ---------- */
main img{ width:100%; height:auto; }
@media (max-width:640px){ .hero{ padding-top:100px; } }

/* ===== 迭代新增板块（EXTRA 要点卡） ===== */
.sec-extra{ position:relative; clip-path:polygon(0 5%,100% 0,100% 96%,2% 100%); background:#EAE0CB; padding:64px 0; }
.extra-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-top:28px; }
.extra-4{ grid-template-columns:repeat(4,1fr); }
.extra-card{ background:var(--paper); border:1px solid var(--line); border-radius:6px;
  padding:18px; box-shadow:var(--shadow-sm); }
.extra-card b{ display:block; color:var(--brown); margin-bottom:8px; font-family:var(--font-head); }
.extra-card p{ margin:0; font-size:14px; line-height:1.8; }
@media (max-width:640px){ .extra-grid,.extra-4{ grid-template-columns:1fr; } }
