/* ============================================================
   GISLEON hk-talent 模块 — 公共样式
   适用于 /hk-talent/ 及其子页面，与首页/评估页视觉体系一致
   品牌蓝 #1a56db · 资源路径使用绝对路径（多层级目录通用）
   ============================================================ */
:root {
  --blue: #1a56db;
  --blue-dark: #1240a8;
  --blue-light: #e8f0fd;
  --blue-mid: #3b82f6;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(26,86,219,0.10);
  --shadow-lg: 0 8px 40px rgba(26,86,219,0.16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PingFang SC','Noto Sans SC','Microsoft YaHei',sans-serif;
  color: var(--gray-800); background: var(--white); line-height: 1.7;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }

/* ── NAV（与首页一致）── 注意：必须用 #top 限定顶部主导航，
   不能用裸 nav 或 body > nav（底部 <nav class="cross-nav"> 也是 body 直接子元素，
   否则会被一并 fixed 到视口顶部盖住菜单） */
nav#top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; height: 88px;
  box-shadow: 0 2px 12px rgba(26,86,219,0.06);
}
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { height: 64px; width: auto; flex-shrink: 0; background: none; }
.logo-icon img { height: 64px; width: auto; display: block; object-fit: contain; }
.logo-text { font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: 0.5px; white-space: nowrap; }
.logo-sub { font-size: 15px; font-weight: 600; white-space: nowrap; color: var(--gray-600); letter-spacing: 0.5px; }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray-600); font-size: 16px; font-weight: 600; transition: color .2s; white-space: nowrap; }
.nav-links a:hover { color: var(--blue); }
.nav-links a.active { color: var(--blue); }
/* ── NAV DROPDOWN（多页面导航下拉） ── */
.nav-drop { position: relative; }
.nav-drop-toggle { cursor: pointer; display: inline-flex; align-items: center; gap: 5px; user-select: none; }
.nav-drop-toggle.active { color: var(--blue); }
.nav-drop-toggle .caret { font-size: 10px; transition: transform .2s; }
.nav-drop.open .nav-drop-toggle .caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: white; min-width: 176px; padding: 6px;
  border: 1px solid var(--gray-200); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15,23,42,.12);
  list-style: none; display: none; z-index: 120;
}
.nav-drop-menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop.open .nav-drop-menu { display: block; }
@media (hover: hover) {
  .nav-drop:hover .nav-drop-menu { display: block; }
  .nav-drop:hover .nav-drop-toggle .caret { transform: rotate(180deg); }
}
.nav-drop-menu a { display: block; padding: 9px 12px; font-size: 14px; font-weight: 500; color: var(--gray-600); text-decoration: none; border-radius: 6px; white-space: nowrap; }
.nav-drop-menu a:hover { background: var(--gray-100); color: var(--blue); }
.nav-drop-menu .soon { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; font-size: 14px; font-weight: 500; color: #94a3b8; cursor: default; white-space: nowrap; }
.nav-drop-menu .soon em { font-style: normal; font-size: 11px; color: #cbd5e1; }
.nav-cta {
  background: var(--blue); color: white; border: none;
  padding: 9px 22px; border-radius: 8px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background .2s; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); }
.lang-switcher {
  display: flex; align-items: center; gap: 2px;
  background: var(--gray-100); border-radius: 8px; padding: 3px; flex-shrink: 0;
}
.lang-btn {
  border: none; background: none; cursor: pointer;
  padding: 5px 10px; border-radius: 6px;
  font-size: 13px; font-weight: 600; color: var(--gray-600);
  transition: all .18s; white-space: nowrap;
}
.lang-btn.active { background: white; color: var(--blue); box-shadow: 0 1px 4px rgba(0,0,0,0.12); }
.lang-btn:hover:not(.active) { color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: .3s; }

/* ── PAGE HERO（城市图 + 蓝色蒙版，与首页/评估页一致） ── */
.page-hero {
  padding: 170px 6vw 64px;
  background:
    linear-gradient(155deg, rgba(10,30,90,0.78) 0%, rgba(18,64,168,0.66) 45%, rgba(30,80,180,0.55) 100%),
    url('/src/HK01.png') center/cover no-repeat;
  position: relative; overflow: hidden; text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(10,20,60,0.35) 100%);
  pointer-events: none;
}
.page-hero-inner { max-width: 760px; margin: 0 auto; position: relative; }
.page-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.14); color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 18px; border-radius: 20px;
  font-size: 13px; font-weight: 700; margin-bottom: 18px;
}
.page-badge::before { content: '✦'; font-size: 10px; }
.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800; color: #ffffff;
  line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.5px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.page-hero h1 em { font-style: normal; color: #93c5fd; }
.page-hero p { color: rgba(255,255,255,0.92); font-size: 16px; text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

/* ── 面包屑 ── */
.breadcrumb {
  max-width: 1080px; margin: 0 auto; padding: 18px 6vw 0;
  font-size: 13px; color: var(--gray-400);
}
.breadcrumb a { color: var(--gray-400); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb .bc-sep { margin: 0 8px; }
.breadcrumb .bc-here { color: var(--blue); font-weight: 600; }

/* ── 内容区 ── */
.content-section { max-width: 1080px; margin: 0 auto; padding: 40px 6vw 0; }
.content-section:last-of-type { padding-bottom: 72px; }
.section-title { font-size: 24px; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.section-sub { color: var(--gray-600); font-size: 15px; margin-bottom: 26px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card {
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 26px 24px;
  transition: box-shadow .2s, border-color .2s;
}
.info-card:hover { box-shadow: var(--shadow); border-color: #d0e1fb; }
.info-card .ic-icon { font-size: 26px; margin-bottom: 12px; }
.info-card h3 { font-size: 16px; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--gray-600); line-height: 1.7; }

/* 指南目录卡片（带编号、可点击跳转子页） */
.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.link-card {
  display: block; background: white; text-decoration: none;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 26px 24px; transition: box-shadow .2s, border-color .2s, transform .2s;
}
.link-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); transform: translateY(-3px); }
.link-card .lc-no { font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: 1px; margin-bottom: 10px; }
.link-card h3 { font-size: 17px; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.link-card p { font-size: 13.5px; color: var(--gray-600); line-height: 1.7; margin-bottom: 14px; }
.link-card .lc-go { font-size: 13px; font-weight: 700; color: var(--blue); }

/* 加分方向列表 */
.plus-list { display: flex; flex-direction: column; gap: 12px; }
.plus-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 16px 20px;
}
.plus-item .pi-icon { flex-shrink: 0; font-size: 18px; line-height: 1.6; }
.plus-item .pi-body h3 { font-size: 15px; font-weight: 700; color: var(--gray-800); }
.plus-item .pi-body p { font-size: 13.5px; color: var(--gray-600); }

/* 概览正文 */
.prose { max-width: 820px; }
.prose p { font-size: 15px; color: var(--gray-600); line-height: 1.9; margin-bottom: 14px; }

/* CTA 横幅 */
.cta-banner {
  max-width: 1080px; margin: 0 auto; padding: 0 6vw 72px;
}
.cta-banner-inner {
  text-align: center;
  background: linear-gradient(160deg, #f4f8ff 0%, #eaf1fd 100%);
  border: 1px solid var(--blue-light);
  border-radius: 20px; padding: 44px 28px;
}
.cta-banner-inner h3 { font-size: 20px; font-weight: 800; color: var(--gray-800); margin-bottom: 8px; }
.cta-banner-inner p { color: var(--gray-600); font-size: 14px; margin-bottom: 24px; }
.cta-banner-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue); color: white;
  border: none; border-radius: 9px;
  padding: 12px 30px; font-size: 15px; font-weight: 700;
  cursor: pointer; transition: background .2s; font-family: inherit;
  box-shadow: 0 4px 14px rgba(26,86,219,0.25);
  text-decoration: none; display: inline-block;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost {
  background: white; color: var(--gray-600);
  border: 2px solid var(--gray-200); border-radius: 9px;
  padding: 12px 26px; font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: inherit;
  text-decoration: none; display: inline-block;
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* 免责声明 */
.section-note {
  max-width: 1080px; margin: 0 auto; padding: 0 6vw 40px;
}
.section-note-inner {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 16px 20px;
  font-size: 13px; color: var(--gray-600); line-height: 1.8;
}

/* 上/下一页导航 */
.cross-nav {
  max-width: 1080px; margin: 0 auto; padding: 0 6vw 56px;
  display: flex; justify-content: space-between; gap: 14px;
}
.cross-nav a {
  flex: 1; text-decoration: none;
  background: white; border: 1px solid var(--gray-200);
  border-radius: var(--radius); padding: 16px 20px;
  transition: border-color .2s, box-shadow .2s;
}
.cross-nav a:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.cross-nav a.cn-next { text-align: right; }
.cross-nav .cn-label { font-size: 12px; color: var(--gray-400); font-weight: 600; margin-bottom: 4px; }
.cross-nav .cn-title { font-size: 15px; font-weight: 700; color: var(--blue); }

/* ── FOOTER（与首页一致风格） ── */
footer {
  background: var(--gray-800); color: rgba(255,255,255,0.75);
  padding: 48px 6vw 28px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.footer-brand .logo-text { color: var(--blue); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 10px; line-height: 1.7; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; transition: color .2s; }
.footer-col ul li a:hover { color: #93c5fd; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px;
}

/* ── STICKY ── */
.sticky-cta {
  position: fixed; right: 24px; bottom: 32px; z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.sticky-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform .2s;
}
.sticky-btn:hover { transform: scale(1.1); }
.sticky-wechat { background: #07C160; }
.sticky-home { background: var(--blue); }

/* ── MOBILE ── */
/* 桌面导航紧凑档：防止 7 项菜单在 1024–1180px 宽度溢出把"身份评估"挤出屏幕 */
@media (min-width: 901px) and (max-width: 1200px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 15px; }
  .nav-right { gap: 14px; }
  .lang-btn { padding: 5px 7px; }
  .nav-cta { padding: 9px 16px; }
}
@media (min-width: 901px) and (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .lang-switcher { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .lang-switcher { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .page-hero { padding: 150px 6vw 44px; }
  .card-grid, .card-grid.two, .card-grid.four, .link-cards { grid-template-columns: 1fr; }
  .cross-nav { flex-direction: column; }
  .cross-nav a.cn-next { text-align: left; }
  .section-title { font-size: 20px; }
}
