/* ============================================================
   ZENMAT v1.8 新增样式层
   - 新闻中心顶部：图片背景 + 遮罩
   - 招聘中心：深色「投递与联系」双栏 + 表单
   - 联系我们：浅色「公司信息 + 技术咨询」双栏 + 表单
   - 通用表单控件（纯静态，不发送数据）
   本文件在 nav-unified.css 之后加载，同权重覆盖。
   ============================================================ */

/* ---------- 0. 通用：表单控件 ---------- */
.zf-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.zf-field > label {
  font-size: 13px; letter-spacing: .02em; font-weight: 600; color: inherit; opacity: .78;
}
.zf-field > label .req { color: #E0662F; margin-left: 2px; }
.zf-field input[type="text"],
.zf-field input[type="email"],
.zf-field input[type="tel"],
.zf-field select,
.zf-field textarea {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; line-height: 1.5;
  padding: 13px 15px; border-radius: 3px; transition: border-color .15s, box-shadow .15s;
}
.zf-field textarea { min-height: 132px; resize: vertical; }
.zf-field input::placeholder, .zf-field textarea::placeholder { opacity: .55; }

/* ---------- 1. 新闻中心：顶部图片背景 ---------- */
/* 背景图直接写在这里（相对本 CSS 文件解析）。
   编辑器换背景时改 section 的内联 background-image 即可覆盖。 */
.page-head.z-head-img {
  position: relative; overflow: hidden;
  background-color: #0A1512;
  background-image: url(../img/photos/wafer-hands.jpg);
  background-size: cover; background-position: center 42%; background-repeat: no-repeat;
}
/* 不能用负 z-index —— 元素自身的 background 会盖住它。靠文档顺序层叠即可。 */
.page-head.z-head-img::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(63, 224, 197, .10), transparent 60%),
    repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(255, 255, 255, .04) 8.333%);
}
.page-head.z-head-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 120% at 92% 10%, rgba(63, 224, 197, .10), transparent 58%),
    linear-gradient(100deg, rgba(6, 20, 17, .90) 0%, rgba(8, 30, 25, .72) 40%, rgba(9, 36, 30, .34) 100%);
}
.page-head.z-head-img .wrap { position: relative; z-index: 1; }
.page-head.z-head-img .crumb, .page-head.z-head-img .crumb a { color: rgba(233, 245, 241, .72); }
.page-head.z-head-img h1 { color: #fff; }
.page-head.z-head-img .lead { color: rgba(233, 245, 241, .86); }
@media (max-width: 800px) {
  .page-head.z-head-img::after {
    background: linear-gradient(180deg, rgba(6, 20, 17, .9), rgba(8, 30, 25, .78));
  }
}

/* ---------- 2. 招聘中心：深色「投递与联系」 ---------- */
.z-apply { background: #0F2A22; color: #E9F5F1; padding: 76px 0 82px; }
.z-apply .z-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 64px; align-items: start; }
.z-apply .z-kicker {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: #3FE0C5; margin: 0 0 18px; font-weight: 700;
}
.z-apply h2 {
  font-size: clamp(30px, 3.8vw, 50px); line-height: 1.16; letter-spacing: .01em;
  margin: 0 0 20px; color: #fff; font-weight: 800;
}
.z-apply .z-lead { font-size: 16px; line-height: 1.95; color: rgba(233, 245, 241, .78); margin: 0 0 34px; max-width: 46ch; }
.z-apply .z-tipbox {
  border-left: 3px solid #3FE0C5; background: rgba(255, 255, 255, .045);
  padding: 18px 22px; max-width: 46ch;
}
.z-apply .z-tipbox b { display: block; font-size: 14.5px; color: #8CF0DA; margin-bottom: 6px; letter-spacing: .02em; }
.z-apply .z-tipbox p { margin: 0; font-size: 13.5px; line-height: 1.85; color: rgba(233, 245, 241, .66); }

.z-apply .z-card {
  background: #14342B; border: 1px solid rgba(63, 224, 197, .18);
  padding: 34px 34px 26px; border-radius: 3px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .32);
}
.z-apply .z-card h3 { margin: 0 0 26px; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: .01em; }
.z-apply .zf-field > label { color: rgba(233, 245, 241, .72); opacity: 1; }
.z-apply .zf-field input, .z-apply .zf-field select, .z-apply .zf-field textarea {
  background: #0E2A22; border: 1px solid rgba(120, 200, 180, .26); color: #E9F5F1;
}
.z-apply .zf-field input::placeholder, .z-apply .zf-field textarea::placeholder { color: rgba(233, 245, 241, .38); }
.z-apply .zf-field input:focus, .z-apply .zf-field select:focus, .z-apply .zf-field textarea:focus {
  outline: 0; border-color: #3FE0C5; box-shadow: 0 0 0 3px rgba(63, 224, 197, .16);
}
.z-apply .zf-field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #6FCFB8 50%), linear-gradient(135deg, #6FCFB8 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.z-apply .z-submit {
  display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 700;
  padding: 15px 30px; border: 0; border-radius: 3px; background: #F2F7F5; color: #0F2A22; cursor: pointer;
  transition: transform .15s, background .15s;
}
.z-apply .z-submit:hover { background: #fff; transform: translateY(-1px); }
.z-apply .z-note { margin: 22px 0 0; font-size: 12.5px; line-height: 1.85; color: rgba(233, 245, 241, .52); }

/* ---------- 3. 联系我们：浅色双栏 ---------- */
.z-contact { padding: 74px 0 84px; }
.z-contact .z-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: start; }
.z-contact .z-info { border-top: 1px solid var(--line, #DCE6E2); }
.z-contact .z-row { padding: 22px 0 20px; border-bottom: 1px solid var(--line, #DCE6E2); }
.z-contact .z-row > span {
  display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted, #6B7C77); margin-bottom: 8px; font-weight: 600;
}
.z-contact .z-row > b { display: block; font-size: 19px; font-weight: 800; letter-spacing: .01em; color: var(--ink1, #0A1512); }
.z-contact .z-row > p { margin: 7px 0 0; font-size: 14px; line-height: 1.8; color: var(--muted, #6B7C77); }
.z-contact .z-row > a { display: inline-block; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: var(--deep, #0E6B5C); text-decoration: none; }
.z-contact .z-row > a:hover { text-decoration: underline; }
.z-contact .z-tip {
  margin-top: 30px; background: #F1F6F4; border-left: 3px solid var(--deep, #0E6B5C);
  padding: 20px 24px;
}
.z-contact .z-tip b { display: block; font-size: 14px; color: var(--ink1, #0A1512); margin-bottom: 8px; }
.z-contact .z-tip p { margin: 0; font-size: 13px; line-height: 1.9; color: var(--muted, #6B7C77); }

.z-contact .z-card {
  background: #fff; border: 1px solid var(--line, #DCE6E2); padding: 36px 36px 28px; border-radius: 3px;
  box-shadow: 0 16px 44px rgba(16, 36, 31, .06);
}
.z-contact .z-card h3 { margin: 0 0 26px; font-size: 22px; font-weight: 800; color: var(--ink1, #0A1512); }
.z-contact .zf-field > label { color: #4C605A; }
.z-contact .zf-field input, .z-contact .zf-field select, .z-contact .zf-field textarea {
  background: #F7FAF9; border: 1px solid #D9E4E1; color: #10241F;
}
.z-contact .zf-field input:focus, .z-contact .zf-field textarea:focus, .z-contact .zf-field select:focus {
  outline: 0; border-color: #0E6B5C; box-shadow: 0 0 0 3px rgba(14, 107, 92, .12); background: #fff;
}
.z-contact .z-submit {
  display: inline-flex; align-items: center; gap: 10px; font: inherit; font-size: 15px; font-weight: 700;
  padding: 15px 30px; border: 0; border-radius: 3px; background: #12604F; color: #fff; cursor: pointer;
  transition: transform .15s, background .15s;
}
.z-contact .z-submit:hover { background: #0E6B5C; transform: translateY(-1px); }
.z-contact .z-note { margin: 20px 0 0; font-size: 12.5px; line-height: 1.85; color: #7A8B86; }

/* ---------- 4. 响应式 ---------- */
@media (max-width: 980px) {
  .z-apply { padding: 56px 0 62px; }
  .z-apply .z-grid, .z-contact .z-grid { grid-template-columns: 1fr; gap: 40px; }
  .z-apply .z-card, .z-contact .z-card { padding: 26px 22px 22px; }
  .z-contact { padding: 54px 0 62px; }
}

/* ---------- 5. 打印/正式浏览时：表单不提交，仅作视觉 ---------- */
.zf-field input, .zf-field textarea, .zf-field select { -webkit-appearance: none; appearance: none; }

/* ---------- 6. 模块库通用区块（两套模板页面都能用） ---------- */
.z-blk { padding: 64px 0; }
.z-blk .z-in { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.z-blk .z-k2 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #0E6B5C; font-weight: 700; margin: 0 0 14px; }
.z-blk h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; margin: 0 0 18px; color: #0A1512; font-weight: 800; letter-spacing: .01em; }
.z-blk .z-p p { font-size: 16px; line-height: 1.95; color: #46584F; margin: 0 0 14px; }
.z-blk .z-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.z-blk .z-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.z-card3 { border: 1px solid #DCE6E2; border-radius: 4px; padding: 26px 24px; background: #fff; }
.z-card3 .z-num { font-size: 12px; letter-spacing: .14em; color: #0E6B5C; font-weight: 700; }
.z-card3 h3 { font-size: 18px; margin: 10px 0 8px; color: #0A1512; font-weight: 700; }
.z-card3 p { font-size: 14px; line-height: 1.85; color: #6B7C77; margin: 0; }
.z-notice { background: #F1F6F4; border-left: 3px solid #0E6B5C; padding: 22px 26px; }
.z-notice b { display: block; font-size: 15px; color: #0A1512; margin-bottom: 8px; }
.z-notice p { margin: 0; font-size: 14px; line-height: 1.9; color: #4C605A; }
@media (max-width: 900px) {
  .z-blk { padding: 44px 0; }
  .z-blk .z-2col, .z-blk .z-3col { grid-template-columns: 1fr; gap: 26px; }
}
