/* =========================================================
   居爱劳务 · 港澳招聘平台  样式表
   设计基调：深海蓝 + 香槟金，大留白，PC / 移动端响应式
   ========================================================= */

:root {
    --navy: #0A2540;
    --navy-2: #123A5E;
    --navy-3: #1C4B77;
    --gold: #C9A55C;
    --gold-2: #E3C88C;
    --gold-soft: #F6EFDF;
    --ink: #16202B;
    --muted: #64748B;
    --muted-2: #94A3B8;
    --bg: #FFFFFF;
    --soft: #F5F7FA;
    --soft-2: #EEF2F7;
    --line: #E3E9F0;
    --danger: #D9483B;
    --success: #2E9E6B;
    --radius: 14px;
    --radius-sm: 9px;
    --shadow: 0 18px 46px rgba(10, 37, 64, .10);
    --shadow-sm: 0 6px 20px rgba(10, 37, 64, .07);
    --shadow-gold: 0 14px 34px rgba(201, 165, 92, .28);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

html {
    /* 禁止 iOS 横竖屏切换时自动放大字号 */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    font-size: 15px;
    /* 长串（超长薪资、英文、URL）一律允许折行，避免撑出横向滚动 */
    overflow-wrap: break-word;
    word-break: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------------- 顶部导航 ---------------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s;
}
.navbar.scrolled { box-shadow: 0 6px 24px rgba(10, 37, 64, .08); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 60%, var(--gold) 140%);
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .5px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-cn { font-size: 19px; font-weight: 700; color: var(--navy); letter-spacing: 2px; }
.logo-en { font-size: 10px; color: var(--muted-2); letter-spacing: 2.4px; text-transform: uppercase; }

.nav-menu { display: flex; align-items: center; gap: 34px; }
.nav-menu a {
    font-size: 15px;
    color: var(--ink);
    position: relative;
    padding: 6px 0;
    transition: color .2s;
}
.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    transition: right .28s ease;
}
.nav-menu a:hover { color: var(--navy-3); }
.nav-menu a:hover::after, .nav-menu a.active::after { right: 0; }
.nav-menu a.active { color: var(--navy); font-weight: 600; }

.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff !important;
    font-size: 14px;
    letter-spacing: .5px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.nav-phone:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.nav-phone::after { display: none; }
.nav-phone strong { color: var(--gold-2); font-weight: 700; }

.nav-toggle {
    display: none;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 9px;
    cursor: pointer;
    padding: 0;
    place-items: center;
}
.nav-toggle span {
    display: block; width: 18px; height: 2px; background: var(--navy);
    margin: 3px auto; border-radius: 2px;
    transition: transform .25s, opacity .2s;
}

/* ---------------- 按钮 ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .5px;
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
    background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%);
    color: #2A1E05;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(201, 165, 92, .4); }
.btn-navy {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-navy:hover { transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, .38);
    color: #fff;
}
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-outline {
    background: #fff;
    border-color: var(--line);
    color: var(--navy);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #C23B2F; }
.btn-sm { padding: 7px 16px; font-size: 13px; border-radius: 8px; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ---------------- 首屏 Hero ---------------- */
.hero {
    position: relative;
    background:
        radial-gradient(1200px 520px at 82% 8%, rgba(201, 165, 92, .22), transparent 62%),
        radial-gradient(900px 460px at 6% 92%, rgba(28, 75, 119, .55), transparent 60%),
        linear-gradient(150deg, #08203A 0%, #0A2540 42%, #123A5E 100%);
    color: #fff;
    padding: 104px 0 92px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 10%, transparent 78%);
    pointer-events: none;
}
.hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 110px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, .96) 78%, #fff);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 6px 16px 6px 8px;
    border-radius: 999px;
    background: rgba(201, 165, 92, .14);
    border: 1px solid rgba(201, 165, 92, .42);
    color: var(--gold-2);
    font-size: 13px;
    letter-spacing: 1.4px;
    margin-bottom: 26px;
}
.hero-badge i {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--gold-2);
    box-shadow: 0 0 0 4px rgba(201, 165, 92, .22);
    display: inline-block;
}

.hero h1 {
    margin: 0 0 10px;
    font-size: 60px;
    line-height: 1.14;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(100deg, #FFFFFF 8%, var(--gold-2) 58%, var(--gold) 96%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-slogan {
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 9px;
    color: #fff;
    margin: 6px 0 22px;
}
.hero-slogan span { color: var(--gold-2); }
.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, .76);
    max-width: 560px;
    margin: 0 0 34px;
    line-height: 1.95;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 46px;
    max-width: 560px;
}
.hero-stat {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 18px 16px;
    backdrop-filter: blur(6px);
}
.hero-stat b {
    display: block;
    font-size: 26px;
    color: var(--gold-2);
    font-weight: 800;
    line-height: 1.2;
}
.hero-stat small { color: rgba(255, 255, 255, .62); font-size: 12.5px; letter-spacing: .6px; }

/* Hero 右侧卡片 */
.hero-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(12px);
    box-shadow: 0 26px 60px rgba(0, 0, 0, .28);
}
.hero-card h3 {
    margin: 0 0 4px;
    font-size: 19px;
    color: #fff;
    letter-spacing: 1px;
}
.hero-card > p {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}
.hero-list { list-style: none; margin: 0 0 24px; padding: 0; }
.hero-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 11px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .86);
    font-size: 14px;
}
.hero-list li:last-child { border-bottom: none; }
.hero-list em {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 6px;
    background: rgba(201, 165, 92, .2);
    color: var(--gold-2);
    font-style: normal;
    font-size: 12px;
    display: grid;
    place-items: center;
    margin-top: 2px;
    font-weight: 700;
}
.hero-card .btn { width: 100%; }

/* ---------------- 通用区块 ---------------- */
.section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.section-head h2 {
    margin: 0 0 14px;
    font-size: 34px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: 1.5px;
}
.section-head p {
    margin: 0 auto;
    max-width: 680px;
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.9;
}
.gold-line {
    width: 56px; height: 3px;
    margin: 0 auto 18px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

/* ---------------- 公司简介 ---------------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.about-text h2 {
    font-size: 32px;
    color: var(--navy);
    margin: 12px 0 18px;
    font-weight: 800;
    letter-spacing: 1.2px;
}
.about-text p { color: #4A5A6B; line-height: 2.05; margin: 0 0 16px; }
.about-text .lead { font-size: 16px; color: var(--ink); }

.about-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(150deg, #08203A, #123A5E 70%, #1C4B77);
    padding: 40px;
    color: #fff;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow);
}
.about-visual::before {
    content: "";
    position: absolute;
    right: -70px; top: -70px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 165, 92, .38), transparent 68%);
}
.about-visual h3 {
    position: relative;
    margin: 0 0 22px;
    font-size: 24px;
    letter-spacing: 3px;
}
.about-visual ul { list-style: none; margin: 0; padding: 0; position: relative; }
.about-visual li {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 14.5px;
    color: rgba(255, 255, 255, .82);
}
.about-visual li b { color: var(--gold-2); font-size: 16px; }

/* ---------------- 业务范围 ---------------- */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.biz-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 30px 32px;
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.biz-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s;
}
.biz-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }

.biz-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    background: linear-gradient(140deg, var(--gold-soft), #FBF7EE);
    color: var(--gold);
    font-size: 26px;
    font-weight: 700;
}
.biz-card h3 {
    margin: 0 0 10px;
    font-size: 21px;
    color: var(--navy);
    letter-spacing: 1.5px;
    font-weight: 700;
}
.biz-card > p {
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.95;
    margin: 0 0 20px;
    min-height: 84px;
}
.biz-card ul { list-style: none; margin: 0; padding: 0; }
.biz-card li {
    font-size: 13.5px;
    color: #55677B;
    padding: 7px 0 7px 20px;
    position: relative;
}
.biz-card li::before {
    content: "";
    position: absolute;
    left: 0; top: 15px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gold);
}

/* ---------------- 服务流程 ---------------- */
.flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.flow-item { text-align: center; position: relative; }
.flow-item::after {
    content: "";
    position: absolute;
    right: -12px; top: 26px;
    width: 22px; height: 1px;
    background: var(--line);
}
.flow-item:last-child::after { display: none; }
.flow-num {
    width: 54px; height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    border: 2px solid var(--gold-soft);
    color: var(--gold);
    font-size: 18px;
    font-weight: 800;
    box-shadow: var(--shadow-sm);
}
.flow-item h4 { margin: 0 0 8px; font-size: 16.5px; color: var(--navy); letter-spacing: .8px; }
.flow-item p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.85; }

/* ---------------- 优势 ---------------- */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow .3s, transform .3s;
}
.adv-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.adv-item b {
    display: block;
    font-size: 30px;
    color: var(--navy);
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.1;
}
.adv-item b i { font-style: normal; color: var(--gold); }
.adv-item p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* ---------------- CTA ---------------- */
.cta {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 68%, var(--navy-3) 100%);
    color: #fff;
    padding: 62px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    right: -100px; top: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 165, 92, .3), transparent 66%);
}
.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
}
.cta h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: 2px; font-weight: 800; }
.cta p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }
.cta-contact {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}
.cta-phone {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: 14px 26px;
}
.cta-phone small { display: block; color: rgba(255, 255, 255, .6); font-size: 12px; letter-spacing: 1px; }
.cta-phone b { font-size: 24px; color: var(--gold-2); letter-spacing: 1.5px; font-weight: 800; }

/* ---------------- 页脚 ---------------- */
.footer { background: #071B2E; color: rgba(255, 255, 255, .6); padding: 56px 0 26px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 16px; letter-spacing: 1.4px; }
.footer p { font-size: 13.5px; line-height: 2; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { font-size: 13.5px; padding: 6px 0; }
.footer li:hover { color: var(--gold-2); }
.footer .logo-cn { color: #fff; }
.footer .logo-en { color: rgba(255, 255, 255, .45); }
.footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .42);
}

/* ---------------- 内页页头 ---------------- */
.page-head {
    background: linear-gradient(150deg, #08203A 0%, #0A2540 45%, #123A5E 100%);
    color: #fff;
    padding: 62px 0 54px;
    position: relative;
    overflow: hidden;
}
.page-head::before {
    content: "";
    position: absolute;
    left: 10%; top: -60px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 165, 92, .26), transparent 66%);
}
.page-head-inner { position: relative; }
.crumb { font-size: 13px; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.crumb a:hover { color: var(--gold-2); }
.page-head h1 { margin: 0 0 10px; font-size: 34px; font-weight: 800; letter-spacing: 2px; }
.page-head p { margin: 0; color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ---------------- 岗位列表 ---------------- */
.filter-bar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: var(--shadow-sm);
    margin-top: -30px;
    position: relative;
    z-index: 5;
}
.filter-bar .grow { flex: 1; min-width: 220px; }
.field {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 92, .14); }
select.field { cursor: pointer; min-width: 150px; width: auto; }

.jobs-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 34px 0 18px;
    flex-wrap: wrap;
    gap: 12px;
}
.jobs-meta h2 { margin: 0; font-size: 22px; color: var(--navy); font-weight: 700; letter-spacing: 1px; }
.jobs-meta span { color: var(--muted); font-size: 14px; }
.jobs-meta b { color: var(--gold); }

.job-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.job-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 20px;
    display: flex;
    flex-direction: column;
    transition: transform .28s, box-shadow .28s, border-color .28s;
    position: relative;
    overflow: hidden;
}
.job-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(201, 165, 92, .55);
}
.job-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.job-card h3 {
    margin: 0;
    font-size: 19px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: .8px;
    line-height: 1.45;
}
.job-salary {
    font-size: 17px;
    font-weight: 800;
    color: #C0392B;
    /* 不锁 nowrap：超长薪资自动折行，避免把卡片/页面撑出横向滚动条 */
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
    text-align: right;
    flex: 0 1 auto;
    max-width: 46%;
}
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tag {
    font-size: 12px;
    padding: 3px 11px;
    border-radius: 999px;
    background: var(--soft-2);
    color: #4A5A6B;
    letter-spacing: .5px;
    white-space: nowrap;
}
.tag-gold { background: var(--gold-soft); color: #8A6C21; }
.tag-navy { background: rgba(10, 37, 64, .07); color: var(--navy); }
.tag-green { background: rgba(46, 158, 107, .1); color: var(--success); }

.job-brief {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.9;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 76px;
}
.job-card-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--muted-2);
}
.job-card-foot a { color: var(--navy); font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.job-card-foot a:hover { color: var(--gold); }

.empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
    background: #fff;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
}
.empty h3 { color: var(--navy); margin: 0 0 10px; font-size: 20px; }

.pager { display: flex; justify-content: center; gap: 8px; margin: 40px 0 0; flex-wrap: wrap; }
.pager button {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: var(--radius-sm);
    color: var(--ink);
    cursor: pointer;
    transition: all .2s;
}
.pager button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold); }
.pager button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager button:disabled { opacity: .45; cursor: not-allowed; }

/* ---------------- 岗位详情 ---------------- */
.detail-wrap { padding: 42px 0 84px; }
.detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; }
.detail-main {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 40px;
}
.detail-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
}
.detail-title h1 {
    margin: 0 0 12px;
    font-size: 30px;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: 1.2px;
}
.detail-salary {
    font-size: 27px;
    font-weight: 800;
    color: #C0392B;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
    text-align: right;
    max-width: 100%;
}
.detail-salary small { display: block; font-size: 12px; color: var(--muted-2); font-weight: 400; letter-spacing: 1px; }

.info-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 34px;
}
.info-cell { background: #fff; padding: 16px 20px; }
.info-cell label {
    display: block;
    font-size: 12.5px;
    color: var(--muted-2);
    letter-spacing: 1px;
    margin-bottom: 5px;
}
.info-cell span { font-size: 15px; color: var(--ink); font-weight: 500; word-break: break-all; }

.detail-block { margin-bottom: 32px; }
.detail-block h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 18px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 1px;
}
.detail-block h3::before {
    content: "";
    width: 4px; height: 17px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
}
.detail-block p {
    margin: 0;
    color: #4A5A6B;
    line-height: 2.1;
    white-space: pre-wrap;
    font-size: 14.8px;
}

.detail-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; }
.contact-card {
    background: linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow);
}
.contact-card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: 1.5px; }
.contact-card > p { margin: 0 0 22px; color: rgba(255, 255, 255, .62); font-size: 13px; }
.contact-name {
    font-size: 15px;
    color: rgba(255, 255, 255, .8);
    margin-bottom: 4px;
}
.contact-phone {
    font-size: 27px;
    font-weight: 800;
    color: var(--gold-2);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    word-break: break-all;
}
.contact-card .btn { width: 100%; margin-bottom: 10px; }
.contact-tip {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .55);
    line-height: 1.9;
}

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
}
.side-card h4 { margin: 0 0 16px; font-size: 16px; color: var(--navy); letter-spacing: 1px; }
.side-list { list-style: none; margin: 0; padding: 0; }
.side-list li {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    font-size: 13.5px;
    color: #55677B;
    border-bottom: 1px dashed var(--line);
    line-height: 1.7;
}
.side-list li:last-child { border-bottom: none; }
.side-list em {
    flex-shrink: 0;
    width: 20px; height: 20px;
    border-radius: 5px;
    background: var(--gold-soft);
    color: #8A6C21;
    font-style: normal;
    font-size: 11.5px;
    display: grid;
    place-items: center;
    font-weight: 700;
    margin-top: 2px;
}

/* ---------------- 后台管理 ---------------- */
.admin-body { background: var(--soft); min-height: 100vh; }
.admin-login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #08203A, #0A2540 45%, #123A5E);
    padding: 24px;
}
.login-box {
    width: 100%;
    max-width: 402px;
    background: #fff;
    border-radius: 18px;
    padding: 42px 38px 36px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.login-box h2 { margin: 0 0 6px; font-size: 25px; color: var(--navy); letter-spacing: 1.5px; text-align: center; }
.login-box > p { margin: 0 0 30px; text-align: center; color: var(--muted); font-size: 13.5px; }
.login-box .logo { justify-content: center; margin-bottom: 22px; }
.form-item { margin-bottom: 18px; }
.form-item label {
    display: block;
    font-size: 13px;
    color: #4A5A6B;
    margin-bottom: 7px;
    font-weight: 500;
}
.login-box .btn { width: 100%; margin-top: 8px; }
.login-err {
    background: rgba(217, 72, 59, .08);
    color: var(--danger);
    border: 1px solid rgba(217, 72, 59, .25);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}
.login-hint {
    margin-top: 18px;
    text-align: center;
    font-size: 12px;
    color: var(--muted-2);
    line-height: 1.9;
}

.admin-top {
    background: linear-gradient(120deg, var(--navy), var(--navy-2));
    color: #fff;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}
.admin-brand { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 700; letter-spacing: 1.5px; }
.admin-brand small { font-size: 11px; color: var(--gold-2); letter-spacing: 2px; font-weight: 400; }
.admin-user { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.admin-user a { color: #fff; font-size: 13px; opacity: .8; }
.admin-user a:hover { opacity: 1; color: var(--gold-2); }
.btn-logout {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 13px;
}
.btn-logout:hover { background: rgba(255, 255, 255, .2); }

.admin-main { max-width: 1280px; margin: 0 auto; padding: 28px 24px 60px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
.stat-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 24px;
}
.stat-box small { display: block; font-size: 12.5px; color: var(--muted-2); letter-spacing: 1px; margin-bottom: 8px; }
.stat-box b { font-size: 30px; color: var(--navy); font-weight: 800; line-height: 1.1; }
.stat-box.warn b { color: var(--danger); }
.stat-box.gold b { color: var(--gold); }

.toolbar {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.toolbar .spacer { flex: 1; }

.table-wrap {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.table-scroll { overflow-x: auto; }
table.jobs-table { width: 100%; border-collapse: collapse; min-width: 900px; }
table.jobs-table th, table.jobs-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 13.8px;
    vertical-align: middle;
}
table.jobs-table th {
    background: var(--soft);
    color: #4A5A6B;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .6px;
    white-space: nowrap;
}
table.jobs-table tbody tr:hover { background: #FAFCFE; }
table.jobs-table td.title-cell { color: var(--navy); font-weight: 600; max-width: 260px; }
table.jobs-table td.salary-cell {
    color: #C0392B;
    font-weight: 700;
    white-space: normal;
    overflow-wrap: anywhere;
    min-width: 108px;
}
.checkbox-cell { width: 44px; text-align: center !important; }
input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; }
.ops { display: flex; gap: 8px; white-space: nowrap; }
.link-btn {
    background: none;
    border: none;
    color: var(--navy-3);
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    border-bottom: 1px solid transparent;
}
.link-btn:hover { color: var(--gold); border-bottom-color: var(--gold); }
.link-btn.danger { color: var(--danger); }
.link-btn.danger:hover { border-bottom-color: var(--danger); color: var(--danger); }

.status-pill {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.status-on { background: rgba(46, 158, 107, .11); color: var(--success); }
.status-off { background: rgba(148, 163, 184, .16); color: #64748B; }
.status-exp { background: rgba(217, 72, 59, .1); color: var(--danger); }

/* 弹窗 */
.modal-mask {
    position: fixed;
    inset: 0;
    background: rgba(10, 26, 43, .55);
    backdrop-filter: blur(3px);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 16px;
    overflow-y: auto;
}
.modal-mask.show { display: flex; }
.modal {
    width: 100%;
    max-width: 860px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .3);
    animation: pop .22s ease;
}
@keyframes pop { from { transform: translateY(-14px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 26px;
    border-bottom: 1px solid var(--line);
}
.modal-head h3 { margin: 0; font-size: 18px; color: var(--navy); letter-spacing: 1px; }
.modal-close {
    border: none; background: none; font-size: 22px; color: var(--muted-2);
    cursor: pointer; line-height: 1; padding: 0 4px;
}
.modal-close:hover { color: var(--ink); }
.modal-body { padding: 24px 26px; }
.modal-foot {
    padding: 16px 26px 22px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--line);
}

/* 智能粘贴区 */
.paste-zone {
    background: linear-gradient(135deg, #FBFAF6, var(--gold-soft));
    border: 1px dashed rgba(201, 165, 92, .6);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin-bottom: 24px;
}
.paste-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.paste-head h4 { margin: 0; font-size: 15px; color: #8A6C21; letter-spacing: .8px; display: flex; align-items: center; gap: 8px; }
.paste-head p { margin: 0; font-size: 12.5px; color: #9A8455; }
.paste-zone textarea {
    width: 100%;
    min-height: 150px;
    border: 1px solid rgba(201, 165, 92, .45);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    resize: vertical;
    outline: none;
    background: #fff;
    line-height: 1.8;
    font-size: 13.5px;
}
.paste-zone textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 165, 92, .15); }
.paste-actions { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; align-items: center; }
.paste-msg { font-size: 12.5px; color: var(--success); }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { min-height: 110px; resize: vertical; }
.form-hint { font-size: 12px; color: var(--muted-2); margin-top: 5px; }

.toast {
    position: fixed;
    left: 50%;
    top: 28px;
    transform: translateX(-50%) translateY(-16px);
    background: var(--navy);
    color: #fff;
    padding: 11px 26px;
    border-radius: 999px;
    font-size: 14px;
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
    box-shadow: var(--shadow);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.err { background: var(--danger); }
.toast.ok { background: var(--success); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero { padding: 76px 0 70px; }
    .hero h1 { font-size: 46px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-side { position: static; }
    .biz-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .job-grid { grid-template-columns: repeat(2, 1fr); }
    .flow { grid-template-columns: repeat(2, 1fr); gap: 26px; }
    .flow-item::after { display: none; }
    .adv-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .nav-menu {
        position: fixed;
        left: 0; right: 0; top: 74px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 24px 18px;
        box-shadow: 0 16px 30px rgba(10, 37, 64, .12);
        display: none;
    }
    .nav-menu.open { display: flex; }
    .nav-menu a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
    .nav-menu a::after { display: none; }
    .nav-phone { justify-content: center; margin-top: 12px; }
    .nav-toggle { display: grid; }
    .nav-phone.desktop-only { display: none; }
    .section { padding: 62px 0; }
    .section-head h2 { font-size: 27px; }
    .container { padding: 0 18px; }
    .page-head h1 { font-size: 26px; }
    .job-grid { grid-template-columns: 1fr; }
    .info-table { grid-template-columns: 1fr; }
    .detail-main { padding: 26px 20px; }
    .detail-title h1 { font-size: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .hero h1 { font-size: 36px; letter-spacing: 1px; }
    .hero-slogan { font-size: 21px; letter-spacing: 5px; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 9px; }
    .hero-stat { padding: 12px 10px; }
    .hero-stat b { font-size: 20px; }
    .hero-stat small { font-size: 11px; }
    .admin-main { padding: 20px 16px 50px; }
    .filter-bar { margin-top: -22px; padding: 16px; }
    .filter-bar .grow { min-width: 100%; }
    select.field { width: 100%; }
    .modal-body { padding: 18px; }
    .modal-head, .modal-foot { padding: 16px 18px; }
}

@media (max-width: 460px) {
    .hero-actions .btn { width: 100%; }
    .stat-row { grid-template-columns: 1fr; }
    .job-card { padding: 20px 18px; }
}

/* =========================================================
   岗位分享：入口按钮 + 弹窗 + 海报
   ========================================================= */
.detail-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border: 1px solid rgba(201, 165, 92, .55);
    border-radius: 999px;
    background: linear-gradient(135deg, #FBFAF6 0%, var(--gold-soft) 100%);
    color: #8A6C21;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .5px;
    cursor: pointer;
    transition: box-shadow .2s, transform .2s;
}
.btn-share:hover {
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
}
.btn-share::before {
    content: "";
    width: 15px; height: 15px;
    background: currentColor;
    -webkit-mask: no-repeat center / contain;
    mask: no-repeat center / contain;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 16.1c-.8 0-1.5.3-2 .8l-7.1-4.2c.1-.3.1-.5.1-.8s0-.5-.1-.8L16 7.2c.5.5 1.2.8 2 .8 1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3c0 .3 0 .5.1.8L8 9.9c-.5-.5-1.2-.8-2-.8-1.7 0-3 1.3-3 3s1.3 3 3 3c.8 0 1.5-.3 2-.8l7.1 4.2c-.1.3-.1.5-.1.8 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-2.9-3-2.9z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 16.1c-.8 0-1.5.3-2 .8l-7.1-4.2c.1-.3.1-.5.1-.8s0-.5-.1-.8L16 7.2c.5.5 1.2.8 2 .8 1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3c0 .3 0 .5.1.8L8 9.9c-.5-.5-1.2-.8-2-.8-1.7 0-3 1.3-3 3s1.3 3 3 3c.8 0 1.5-.3 2-.8l7.1 4.2c-.1.3-.1.5-.1.8 0 1.7 1.3 3 3 3s3-1.3 3-3-1.3-2.9-3-2.9z'/%3E%3C/svg%3E");
}

/* ---------------- 分享弹窗 ---------------- */
.share-mask {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(10, 37, 64, .55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.share-mask.open { opacity: 1; pointer-events: auto; }

.share-modal {
    width: 100%;
    max-width: 480px;
    max-height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(10, 37, 64, .28);
    transform: translateY(12px) scale(.98);
    transition: transform .22s;
}
.share-mask.open .share-modal { transform: translateY(0) scale(1); }

.share-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
}
.share-head h3 {
    margin: 0;
    font-size: 17px;
    color: var(--navy);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 9px;
}
.share-head h3::before {
    content: "";
    width: 4px; height: 16px; border-radius: 3px;
    background: linear-gradient(180deg, var(--gold), var(--gold-2));
}
.share-close {
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: var(--muted-2);
    cursor: pointer;
    padding: 0 4px;
}
.share-close:hover { color: var(--navy); }

.share-body { padding: 20px 22px 24px; }
.share-section + .share-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.share-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.share-link-row { display: flex; gap: 10px; }
.share-link-input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--soft);
    color: var(--muted);
    font-size: 13px;
    outline: none;
}
.share-link-input:focus { border-color: var(--gold); }
.share-link-row .btn { height: 42px; padding: 0 18px; white-space: nowrap; }
.share-tip { margin: 9px 0 0; font-size: 12px; color: var(--muted-2); }

.share-poster {
    background: var(--soft);
    border: 1px dashed var(--line);
    border-radius: var(--radius-sm);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}
.share-poster-img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(10, 37, 64, .14);
    -webkit-touch-callout: default;
}
.share-poster-loading { font-size: 13px; color: var(--muted-2); }

.share-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.share-actions .btn { flex: 1; min-width: 130px; justify-content: center; }

body.no-scroll { overflow: hidden; }

@media (max-width: 560px) {
    .share-mask { padding: 12px; align-items: flex-end; }
    .share-modal { max-width: 100%; border-radius: 16px 16px 0 0; max-height: 92vh; }
    .detail-right { align-items: stretch; width: 100%; }
    .btn-share { justify-content: center; }
    .share-actions .btn { min-width: 0; }
    .share-link-row { flex-direction: column; }
    .share-link-row .btn { width: 100%; height: 44px; }
    /* 海报按比例缩放并限制高度，保证「保存海报」按钮不用滚动就能看到 */
    .share-poster { min-height: 0; padding: 8px; }
    .share-poster-img { max-width: 100%; max-height: 44vh; width: auto; margin: 0 auto; }
}

/* =========================================================
   移动端适配增强（追加在最后，覆盖前面的桌面规则）
   目标：窄屏下不出现横向滚动、不挤压、单手可操作
   ========================================================= */

/* ---------- 导航：更紧凑 + 汉堡按钮变叉 ---------- */
@media (max-width: 860px) {
    .nav-inner { height: 58px; }
    .nav-menu {
        top: 58px;
        padding: 4px 18px 16px;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .nav-menu a { padding: 14px 0; font-size: 16px; }
    .logo-mark { width: 36px; height: 36px; font-size: 15px; border-radius: 9px; }
    .logo-cn { font-size: 17px; letter-spacing: 1.5px; }
    .logo { gap: 10px; }
    .nav-phone { padding: 10px 16px; font-size: 14px; }

    /* 用 flex + gap 精确控制三条线的位置，展开时才能准确叠成 ✕ */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .nav-toggle span { margin: 0; }
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 380px) {
    .logo-en { display: none; }
    .nav-phone strong { letter-spacing: 0; }
}

/* ---------- 首屏 ---------- */
@media (max-width: 860px) {
    .hero { padding: 52px 0 54px; }
    .hero h1 { font-size: 33px; letter-spacing: 1px; }
    .hero-slogan { font-size: 19px; letter-spacing: 4px; margin: 4px 0 16px; }
    .hero-desc { font-size: 14.5px; line-height: 1.85; margin-bottom: 26px; }
    .hero-badge { font-size: 12px; letter-spacing: 1px; margin-bottom: 18px; padding: 5px 12px 5px 6px; }
    .hero-stats { margin-top: 28px; gap: 8px; }
    .hero-actions { gap: 10px; }
    .hero-card { padding: 22px 18px; border-radius: 16px; }
    .hero-card h3 { font-size: 17px; }
    .hero-card > p { margin-bottom: 16px; }
    .hero-list li { font-size: 13.5px; padding: 10px 0; }
}
@media (max-width: 400px) {
    .hero h1 { font-size: 28px; }
    .hero-slogan { font-size: 17px; letter-spacing: 2.5px; }
    .hero-stats { gap: 6px; }
    .hero-stat { padding: 10px 6px; border-radius: 10px; }
    .hero-stat b { font-size: 17px; }
    .hero-stat small { font-size: 10.5px; letter-spacing: 0; }
}

/* ---------- 通用区块 / 页脚 / CTA ---------- */
@media (max-width: 860px) {
    .section { padding: 46px 0; }
    .section-head { margin-bottom: 32px; }
    .section-head h2 { font-size: 24px; letter-spacing: 1px; }
    .section-head p { font-size: 14.5px; line-height: 1.85; }

    .about-text h2 { font-size: 25px; }
    .about-text p { font-size: 14.5px; line-height: 1.95; }
    .about-visual { padding: 24px 20px; min-height: 0; border-radius: 16px; }
    .about-visual h3 { font-size: 20px; letter-spacing: 2px; margin-bottom: 16px; }

    .biz-card { padding: 26px 20px 22px; }
    .biz-card > p { min-height: 0; margin-bottom: 14px; font-size: 14px; line-height: 1.9; }
    .biz-icon { width: 46px; height: 46px; font-size: 22px; margin-bottom: 16px; }
    .biz-card h3 { font-size: 19px; }

    .flow { gap: 22px 14px; }
    .flow-num { width: 46px; height: 46px; font-size: 16px; margin-bottom: 10px; }
    .flow-item h4 { font-size: 15.5px; }
    .flow-item p { font-size: 13px; }

    .adv-item { padding: 20px 18px; }
    .adv-item b { font-size: 25px; }

    .page-head { padding: 38px 0 32px; }
    .page-head h1 { font-size: 23px; letter-spacing: 1px; }
    .page-head p { font-size: 13.5px; line-height: 1.8; }
    .crumb { font-size: 12px; margin-bottom: 10px; }

    .cta { padding: 42px 0; }
    .cta h2 { font-size: 23px; letter-spacing: 1px; }
    .cta p { font-size: 13.5px; }
    .cta-contact { width: 100%; gap: 12px; }
    .cta-phone { flex: 1 1 auto; padding: 12px 16px; text-align: center; }
    .cta-phone b { font-size: 21px; letter-spacing: 1px; }
    .cta-contact .btn { flex: 1 1 auto; justify-content: center; }

    .footer { padding: 40px 0 20px; }
    .footer-grid { gap: 24px; padding-bottom: 24px; }
    .footer p { font-size: 13px; line-height: 1.9; }
    .footer-bottom { font-size: 11.5px; gap: 6px; }

    .empty { padding: 46px 16px; }

    /* 单列卡片时简介不再需要撑高度，避免大片留白 */
    .job-brief { min-height: 0; }
}

/* ---------- 筛选栏 ---------- */
@media (max-width: 860px) {
    .filter-bar { margin-top: -20px; padding: 14px; gap: 10px; }
    .filter-bar .grow { min-width: 100%; flex: 1 1 100%; }
    .filter-bar select.field { flex: 1 1 calc(50% - 5px); width: auto; min-width: 0; }
    .filter-bar .btn { flex: 1 1 calc(50% - 5px); padding: 11px 10px; font-size: 14px; }
}

/* ---------- 岗位卡片：薪资独占一行，彻底告别右侧被撑长 ---------- */
@media (max-width: 700px) {
    .job-card { padding: 20px 18px 16px; }
    .job-card-top { flex-direction: column; align-items: flex-start; gap: 7px; margin-bottom: 12px; }
    .job-card-top h3 { font-size: 18px; line-height: 1.4; }
    .job-salary { max-width: 100%; text-align: left; font-size: 16.5px; }
    .job-tags { margin-bottom: 12px; gap: 6px; }
    .job-brief { min-height: 0; margin-bottom: 14px; font-size: 13px; line-height: 1.85; }
    .job-card-foot { padding-top: 12px; font-size: 12.5px; }
    .jobs-meta { margin: 24px 0 14px; gap: 6px; }
    .jobs-meta h2 { font-size: 19px; }
    .jobs-meta span { font-size: 12.5px; }
}

/* ---------- 岗位详情 ---------- */
@media (max-width: 700px) {
    .detail-wrap { padding: 24px 0 52px; }
    .detail-main { padding: 20px 16px; border-radius: 12px; }
    .detail-title { padding-bottom: 18px; margin-bottom: 20px; gap: 14px; }
    /* 页头已有同名大标题，卡片内不再重复，省下一屏的第一屏空间 */
    .detail-title h1 { display: none; }
    .detail-right { width: 100%; align-items: flex-start; gap: 10px; }
    .detail-salary { font-size: 20px; text-align: left; line-height: 1.45; }
    .btn-share { width: 100%; justify-content: center; }

    /* 信息表：手机上改为「标签 | 值」单行，10 项也不占屏 */
    .info-table { grid-template-columns: 1fr; margin-bottom: 24px; }
    .info-cell { display: flex; align-items: baseline; gap: 12px; padding: 11px 14px; }
    .info-cell label { flex: 0 0 64px; margin-bottom: 0; font-size: 13px; color: var(--muted); }
    .info-cell span { flex: 1; min-width: 0; font-size: 14.5px; }

    .detail-block { margin-bottom: 24px; }
    .detail-block h3 { font-size: 16.5px; margin-bottom: 12px; }
    .detail-block p { font-size: 14px; line-height: 1.95; }

    .contact-card { padding: 22px 18px; }
    .contact-card h3 { font-size: 17px; }
    .contact-phone { font-size: 24px; margin-bottom: 16px; }
    .side-card { padding: 18px 16px; }
    .side-list li { font-size: 13px; }

    /* 手机上侧栏联系卡紧跟在正文之后，此处再放一块联系方式会重复，直接省略 */
    .contact-final { display: none; }
}

/* ---------- 分页 ---------- */
@media (max-width: 560px) {
    .pager { gap: 6px; margin: 26px 0 0; }
    .pager button { min-width: 34px; height: 34px; padding: 0 9px; font-size: 13px; }
}

/* ---------- 移动端底部联系条 ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
    .mobile-bar {
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 120;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, .96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        box-shadow: 0 -6px 22px rgba(10, 37, 64, .1);
    }
    body.has-mobile-bar { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
    .mobile-bar-info { min-width: 0; line-height: 1.25; }
    .mobile-bar-info small { display: block; font-size: 11.5px; color: var(--muted-2); letter-spacing: .5px; }
    .mobile-bar-info b {
        display: block;
        font-size: 19px;
        color: var(--navy);
        font-weight: 800;
        letter-spacing: .5px;
        word-break: break-all;
    }
    .mobile-bar-actions { display: flex; gap: 8px; flex-shrink: 0; }
    .mobile-bar-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        padding: 0 16px;
        border-radius: 999px;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .5px;
        border: 1px solid transparent;
        cursor: pointer;
        white-space: nowrap;
        transition: transform .15s;
    }
    .mobile-bar-btn:active { transform: translateY(1px); }
    .mobile-bar-btn.primary {
        background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%);
        color: #2A1E05;
        box-shadow: var(--shadow-gold);
    }
    .mobile-bar-btn.ghost { background: #fff; border-color: var(--line); color: var(--navy); }
}
@media (max-width: 380px) {
    .mobile-bar-info b { font-size: 17px; }
    .mobile-bar-btn { padding: 0 12px; font-size: 13px; }
}

/* ---------- 后台：顶栏 / 统计 / 工具条 ---------- */
@media (max-width: 860px) {
    .admin-top { padding: 0 14px; height: 56px; }
    .admin-brand { font-size: 15px; gap: 8px; letter-spacing: 1px; }
    .admin-brand small { font-size: 10px; letter-spacing: 1.5px; }
    .admin-user { gap: 10px; font-size: 12.5px; }
    .admin-main { padding: 16px 12px 40px; }
    .stat-row { gap: 10px; margin-bottom: 14px; }
    .stat-box { padding: 14px; border-radius: 11px; }
    .stat-box b { font-size: 24px; }
    .toolbar { padding: 12px; gap: 10px; margin-bottom: 14px; }
    .toolbar .spacer { display: none; }
    .toolbar .field { width: 100% !important; min-width: 0; }
    .toolbar select.field { flex: 1 1 auto; width: auto !important; }
    .toolbar .btn { flex: 1 1 auto; }
    .login-box { padding: 32px 22px 26px; border-radius: 14px; }
    .login-box h2 { font-size: 22px; }
}
@media (max-width: 560px) {
    .admin-user a { display: none; }
    .admin-user #adminUser { display: none; }
    /* 4 个统计卡保持 2×2，避免单列占掉一屏 */
    .stat-row { grid-template-columns: repeat(2, 1fr); }
    .stat-box { padding: 12px 12px; }
    .stat-box small { font-size: 11.5px; letter-spacing: .5px; }
    .stat-box b { font-size: 22px; }
}

/* ---------- 后台表格：窄屏由横向滚动改为卡片列表 ---------- */
@media (max-width: 760px) {
    .table-scroll { overflow-x: visible; }
    table.jobs-table { min-width: 0; }
    table.jobs-table thead { display: none; }
    table.jobs-table,
    table.jobs-table tbody,
    table.jobs-table tr,
    table.jobs-table td { display: block; width: 100%; }
    table.jobs-table tr {
        position: relative;
        padding: 12px 14px 10px;
        border-bottom: 1px solid var(--line);
    }
    table.jobs-table tr:last-child { border-bottom: none; }
    /* 标签固定一列、值左对齐：长薪资会自动换行，不会挤在右边 */
    table.jobs-table td {
        border-bottom: none;
        padding: 4px 0;
        display: grid;
        grid-template-columns: 76px minmax(0, 1fr);
        align-items: baseline;
        gap: 10px;
        text-align: left;
        font-size: 13.5px;
    }
    table.jobs-table td::before {
        content: attr(data-label);
        color: var(--muted-2);
        font-size: 12.5px;
        text-align: left;
    }
    table.jobs-table td.title-cell {
        display: block;
        font-size: 16px;
        font-weight: 700;
        padding: 0 44px 6px 0;
        text-align: left;
        max-width: none;
    }
    table.jobs-table td.title-cell::before,
    table.jobs-table td.checkbox-cell::before { display: none; }
    table.jobs-table td.checkbox-cell {
        position: absolute;
        right: 12px; top: 12px;
        width: auto;
        padding: 0;
        text-align: center;
    }
    table.jobs-table td.checkbox-cell input { width: 18px; height: 18px; }
    /* grid 子项默认被拉伸，状态胶囊需回到内容宽度 */
    table.jobs-table td .status-pill { justify-self: start; }
    table.jobs-table td .ops { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
    table.jobs-table td .ops .link-btn {
        padding: 6px 12px;
        border: 1px solid var(--line);
        border-radius: 8px;
        font-size: 13px;
    }
}

/* ---------- 后台弹窗：窄屏近乎全屏，底部按钮吸底 ---------- */
@media (max-width: 760px) {
    .modal-mask { padding: 0; align-items: stretch; }
    .modal {
        max-width: 100%;
        border-radius: 0;
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
    .modal-body { flex: 1; padding: 16px 14px 20px; }
    .modal-head { padding: 16px 16px; position: sticky; top: 0; background: #fff; z-index: 2; }
    .modal-foot {
        position: sticky;
        bottom: 0;
        background: #fff;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }
    .modal-foot .btn { flex: 1 1 0; min-width: 0; padding: 12px 10px; }
    .paste-zone { padding: 14px 14px; margin-bottom: 18px; }
    .paste-zone textarea { min-height: 120px; }
    .paste-actions .btn { flex: 1 1 auto; }
    .form-grid { gap: 14px; }
}

/* ---------- 移动端输入控件统一 16px，避免 iOS 聚焦时页面自动放大 ---------- */
@media (max-width: 860px) {
    .field,
    input.field,
    select.field,
    textarea.field,
    input[type="search"],
    input[type="text"],
    input[type="date"],
    select,
    textarea { font-size: 16px; }
}
