/* ==========================================================================
   Technician Network 介绍页与申请流程（Story 4.2 / FR-35…FR-40）
   对齐 Figma technician Network(135:1355)；主色 --bess-green。
   ========================================================================== */

.tn-container { max-width: 1496px; margin: 0 auto; padding: 0 24px; }

/* ---------- Hero ---------- */
.tn-hero {
    position: relative; color: #fff; overflow: hidden;
    background: #1a2418 url("../img/home/hero-bg.ffbb540aaa8e.jpg") center/cover no-repeat;
}
.tn-hero::before { content: ""; position: absolute; inset: 0; background: rgba(12, 20, 10, .72); }
.tn-hero__inner { position: relative; max-width: 1496px; margin: 0 auto; padding: 96px 24px 140px; }
.tn-hero__bar { width: 56px; height: 3px; background: var(--bess-green); margin-bottom: 24px; }
.tn-hero__title { margin: 0; font-size: 48px; font-weight: 600; line-height: 1.15; }
.tn-hero__sub { margin: 24px 0 0; max-width: 672px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.92); }
.tn-hero__actions { display: flex; gap: 16px; margin-top: 40px; }

.tn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 36px; border-radius: 6px; font-size: 16px; font-weight: 500;
    text-decoration: none; cursor: pointer; border: 1px solid transparent;
}
.tn-btn--primary { background: var(--bess-green); color: #fff; }
.tn-btn--primary:hover { background: #4d7d2b; }
.tn-btn--outline { background: #fff; color: var(--bess-green); border-color: #fff; }
.tn-btn--outline:hover { background: #f3f7ef; }

/* ---------- 三步路径 ---------- */
.tn-steps { margin-top: -72px; position: relative; z-index: 2; }
.tn-steps__card {
    background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(17,24,39,.08);
    display: grid; grid-template-columns: repeat(3, 1fr);
}
.tn-step { display: flex; gap: 20px; padding: 40px 32px; }
.tn-step + .tn-step { border-left: 1px solid #f0f2ee; }
.tn-step__num { font-size: 12px; font-weight: 600; color: var(--bess-green); }
.tn-step__title { margin: 0; font-size: 20px; font-weight: 600; color: #1a1a1a; }
.tn-step__desc { margin: 8px 0 0; font-size: 14px; color: #666; line-height: 1.55; }

/* ---------- 通用区块头 ---------- */
.tn-section { padding: 96px 0 0; }
.tn-section__bar { width: 56px; height: 2px; background: var(--bess-green); margin: 16px 0 0; }
.tn-section__title { margin: 0; font-size: 40px; font-weight: 600; color: #1a1a1a; }
.tn-section__title--center { text-align: center; }
.tn-section__bar--center { margin-left: auto; margin-right: auto; }

/* ---------- Case Studies ---------- */
.tn-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.tn-case {
    display: flex; background: rgba(243,247,239,.2); border: 1px solid #eef1ea;
    border-radius: 8px; overflow: hidden;
}
.tn-case__photo { width: 175px; flex: none; background: #e8ece3; }
.tn-case__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-case__body { padding: 20px; min-width: 0; }
.tn-case__name { margin: 0; font-size: 18px; font-weight: 600; color: #1a1a1a; }
.tn-case__country { margin: 4px 0 0; font-size: 12px; color: #666; }
.tn-case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tn-case__tag {
    padding: 4px 10px; background: #fff; border: 1px solid #e3e8dd; border-radius: 4px;
    font-size: 10px; color: #41661f;
}
.tn-case__quote { margin: 14px 0 0; font-size: 14px; color: #444; line-height: 1.55; }
/* View Story 详情页为 P1（Out of Scope），入口默认隐藏 */

/* ---------- Field Work 配图 ---------- */
.tn-field { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.tn-field__video { position: relative; border-radius: 12px; overflow: hidden; background: #0d130b; }
.tn-field__video img { display: block; width: 100%; height: auto; }
.tn-field__quote { margin: 24px 0 0; font-size: 18px; color: #666; line-height: 1.6; }
.tn-field__cite { margin: 16px 0 0; font-size: 14px; color: #666; }
.tn-field__actions { margin-top: 32px; }

/* Technician Network 地图与首页 capmap 同一套；精简：无副标题、无底部统计 */
.tn-capmap .section-heading h2 { margin-bottom: 0; }

/* ---------- Global Project Opportunities ---------- */
.tn-map { position: relative; margin-top: 40px; }
.tn-map img { display: block; width: 100%; height: auto; }
.tn-map__marker {
    position: absolute; transform: translate(-50%, -120%);
    padding: 5px 12px; background: #fff; border-radius: 4px;
    box-shadow: 0 2px 10px rgba(17,24,39,.15);
    font-size: 13px; color: #41661f; white-space: nowrap;
}
.tn-map__marker::after {
    content: ""; position: absolute; left: 50%; bottom: -4px; transform: translateX(-50%);
    width: 8px; height: 8px; background: var(--bess-green); border-radius: 9999px;
}
.tn-map__legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; margin-top: 24px; }
.tn-map__legend-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #8a918a; }
.tn-map__legend-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--bess-green); }
.tn-map__disclaimer { margin: 24px auto 0; max-width: 720px; text-align: center; font-size: 13px; color: #8a918a; line-height: 1.6; }

/* ---------- CTA ---------- */
.tn-cta { padding: 96px 0; }
.tn-cta__card {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    background: #f7f9f6; border-radius: 16px; padding: 48px 56px;
}
.tn-cta__title { margin: 0; font-size: 24px; font-weight: 600; color: #1a1a1a; }
.tn-cta__text { margin: 12px 0 0; font-size: 16px; color: #666; line-height: 1.6; max-width: 560px; }
.tn-cta__actions { display: flex; gap: 16px; flex: none; }
.tn-cta .tn-btn--outline { border-color: #d8e0d2; }

/* ---------- Apply 流程页 ---------- */
.tn-apply { max-width: 720px; margin: 0 auto; padding: 72px 24px 120px; text-align: center; }
.tn-apply__icon {
    width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 9999px; background: #f5f9f3;
    display: flex; align-items: center; justify-content: center;
}
.tn-apply__icon svg { width: 36px; height: 36px; }
.tn-apply__title { margin: 0; font-size: 30px; font-weight: 600; color: #111827; }
.tn-apply__text { margin: 16px 0 0; font-size: 16px; color: #6b7280; line-height: 1.7; }
.tn-apply__note {
    margin: 24px 0 0; padding: 16px 20px; background: #f7f9f6; border-radius: 8px;
    font-size: 14px; color: #41661f; line-height: 1.6; text-align: left;
}
.tn-apply__actions { display: flex; justify-content: center; gap: 16px; margin-top: 32px; }

/* ---------- Application Form（Story 4.3，Figma technician Network-apply） ---------- */
.tn-applyform { padding: 72px 0 96px; }
.tn-applyform__grid { display: grid; grid-template-columns: 5fr 8fr; gap: 96px; align-items: start; }
.tn-req__title { margin: 16px 0 0; font-size: 40px; font-weight: 600; color: #1a1a1a; }
.tn-req__intro { margin: 24px 0 0; font-size: 17px; color: #43493c; line-height: 1.65; }
.tn-req__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 24px; }
.tn-req__item { display: flex; gap: 16px; align-items: flex-start; }
.tn-req__icon {
    width: 40px; height: 40px; flex: none; border-radius: 9999px; background: rgba(102, 142, 66, .1);
    display: flex; align-items: center; justify-content: center;
}
.tn-req__icon svg { width: 20px; height: 20px; }
.tn-req__item-title { margin: 0; font-size: 17px; font-weight: 600; color: #1a1c17; }
.tn-req__item-text { margin: 6px 0 0; font-size: 15px; color: #43493c; line-height: 1.55; }

.tn-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.tn-form__row + .tn-form__row, .tn-form__field + .tn-form__field,
.tn-form__row + .tn-form__field, .tn-form__field + .tn-form__row { margin-top: 32px; }
.tn-form__field { border: 0; padding: 0; margin-left: 0; margin-right: 0; min-width: 0; }
.tn-form__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 500; color: #4b5563; }
legend.tn-form__label { padding: 0; }
.tn-form__req-mark { color: #b91c1c; margin-left: 2px; }
.tn-input {
    width: 100%; height: 40px; padding: 8px 12px; border: 1px solid #d8ddd4; border-radius: 6px;
    font-size: 16px; color: #1a1a1a; background: #fff; box-sizing: border-box;
}
.tn-input::placeholder { color: #cccccc; }
.tn-input:focus { outline: none; border-color: var(--bess-green); box-shadow: 0 0 0 3px rgba(92, 148, 52, .15); }
.tn-textarea { height: auto; min-height: 122px; resize: vertical; }
.tn-form .errorlist { margin: 6px 0 0; padding: 0; list-style: none; font-size: 13px; color: #b91c1c; }
.tn-form__nonfield .errorlist { margin: 0 0 16px; }
.tn-form__checks { display: grid; gap: 10px; }
.tn-form__checks--grid { grid-template-columns: repeat(3, 1fr); }
.tn-check {
    display: flex; align-items: center; gap: 8px; font-size: 14px; color: #374151;
    cursor: pointer; line-height: 1.4;
}
.tn-check input { accent-color: var(--bess-green); width: 16px; height: 16px; flex: none; margin: 0; }
.tn-drop {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 144px; border: 1.5px dashed #c9d2c2; border-radius: 10px; background: #fafcf8;
    cursor: pointer; text-align: center; padding: 20px; box-sizing: border-box;
}
.tn-drop:hover, .tn-drop.is-dragover { border-color: var(--bess-green); background: #f3f8ee; }
.tn-drop__icon { width: 36px; height: 36px; }
.tn-drop__text { font-size: 15px; color: #1a1c17; }
.tn-drop__hint { font-size: 13px; color: #73796b; }
.tn-drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.tn-form__note {
    margin: 24px 0 0; padding: 14px 18px; background: #f7f9f6; border-radius: 8px;
    font-size: 13px; color: #41661f; line-height: 1.6;
}
.tn-form__submit {
    margin-top: 24px; min-width: 182px; height: 48px; padding: 0 32px; border: 0; border-radius: 8px;
    background: #5a5a5a; color: #fff; font-size: 16px; font-weight: 500; cursor: pointer;
}
.tn-form__submit:hover { background: #454545; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
    .tn-steps__card, .tn-cases, .tn-field { grid-template-columns: 1fr; }
    .tn-step + .tn-step { border-left: 0; border-top: 1px solid #f0f2ee; }
    .tn-field { gap: 32px; }
    .tn-cta__card { flex-direction: column; text-align: center; }
    .tn-cta__actions { flex-wrap: wrap; justify-content: center; }
    .tn-hero__title { font-size: 34px; }
    .tn-section__title { font-size: 28px; }
    .tn-applyform__grid { grid-template-columns: 1fr; gap: 56px; }
    .tn-req__title { font-size: 28px; }
}
@media (max-width: 640px) {
    .tn-case { flex-direction: column; }
    .tn-case__photo { width: 100%; height: 200px; }
    .tn-map__marker { font-size: 10px; padding: 3px 8px; }
    .tn-form__row { grid-template-columns: 1fr; gap: 0; }
    .tn-form__row .tn-form__field + .tn-form__field { margin-top: 32px; }
    .tn-form__checks--grid { grid-template-columns: 1fr; }
    .tn-form__submit { width: 100%; }
}
