/* ============================================
   诚道智未来 官网公共样式
   品牌色：深蓝基 #0B1E47 / 橙红强调 #EA580C
   传统写法兼容 360 浏览器，不使用 CSS Grid / CSS 变量
   ============================================ */

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #1E293B;
  background: #FFFFFF;
  line-height: 1.65;
  font-size: 15px;
}
a { text-decoration: none; color: inherit; transition: color .2s; }
a:hover { color: #EA580C; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: #0B1E47; }

/* ---------- 颜色常量（仅注释，不使用 CSS 变量） ---------- */
/* 主色 #0B1E47  深蓝基
   次色 #1E3A8A  辅助深蓝
   强调 #EA580C  橙红
   背景 #F8FAFC  浅蓝灰底
   文字 #1E293B  深灰
   次文 #64748B  次要文字  */

/* ---------- 容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid #E2E8F0;
  height: 68px;
}
.navbar .container {
  height: 68px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
}
.nav-brand {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  gap: 12px;
}
.nav-brand img { height: 52px; }

.nav-menu {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  gap: 32px;
}
.nav-menu a {
  font-size: 15px; font-weight: 500; color: #1E293B;
  position: relative; padding: 4px 0;
}
.nav-menu a.active { color: #0B1E47; font-weight: 600; }
.nav-menu a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: #EA580C; border-radius: 1px;
}

.nav-cta { display: -webkit-box; display: -webkit-flex; display: flex; -webkit-box-align: center; -webkit-align-items: center; align-items: center; gap: 16px; }

.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: #0B1E47; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; text-align: center;
  border: none; line-height: 1.4; transition: all .2s;
}
.btn-primary { background: #EA580C; color: #fff; }
.btn-primary:hover { background: #C2410C; color: #fff; }
.btn-outline { border: 2px solid #0B1E47; color: #0B1E47; background: transparent; padding: 10px 26px; }
.btn-outline:hover { background: #0B1E47; color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 16px; }
.btn-sm { padding: 8px 18px; font-size: 14px; }
.btn-white { background: #fff; color: #EA580C; }
.btn-white:hover { background: #F1F5F9; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0B1E47 0%, #1E3A8A 100%);
  color: #fff; padding: 140px 0 100px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(234,88,12,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: ""; position: absolute; bottom: -30%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero .container { position: relative; z-index: 2; }
.hero-badge {
  display: inline-block; padding: 6px 16px; background: rgba(234,88,12,.2);
  border: 1px solid rgba(234,88,12,.5); color: #FB923C; border-radius: 100px;
  font-size: 13px; margin-bottom: 24px; font-weight: 500;
}
.hero h1 { color: #fff; font-size: 52px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.hero h1 .highlight { color: #FB923C; }
.hero p { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 600px; }
.hero-cta { display: -webkit-box; display: -webkit-flex; display: flex; gap: 16px; -webkit-box-align: center; -webkit-align-items: center; align-items: center; }
.hero-stats {
  margin-top: 60px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.15);
  display: -webkit-box; display: -webkit-flex; display: flex; gap: 48px; flex-wrap: wrap;
}
.hero-stat .num { font-size: 40px; font-weight: 800; color: #FB923C; }
.hero-stat .label { font-size: 14px; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-alt { background: #F8FAFC; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header .tag {
  display: inline-block; color: #EA580C; font-size: 14px; font-weight: 600;
  padding: 4px 0; position: relative; padding-left: 18px;
}
.section-header .tag::before {
  content: ""; position: absolute; left: 0; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%);
  width: 12px; height: 3px; background: #EA580C; border-radius: 2px;
}
.section-header h2 { font-size: 36px; margin-top: 12px; }
.section-header p { font-size: 15px; color: #64748B; margin-top: 10px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---------- 卡片网格 ---------- */
.cards-row {
  overflow: hidden; /* float 清除 */
}
.card {
  float: left; width: calc(25% - 18px); margin-right: 24px; margin-bottom: 24px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 28px;
  transition: all .25s; cursor: pointer;
}
.card:nth-child(4n) { margin-right: 0; }
.card:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(11,30,71,.1); border-color: #EA580C; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #F1F5F9; display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  font-size: 24px; margin-bottom: 18px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14px; color: #64748B; line-height: 1.6; }
.card .arrow {
  margin-top: 16px; color: #EA580C; font-size: 14px; font-weight: 500;
  display: inline-block;
}

/* ---------- 两列布局 ---------- */
.two-col { overflow: hidden; }
.two-col .col-left, .two-col .col-right { float: left; width: 50%; padding: 12px; }
.two-col .col-inner { padding: 24px; }

/* ---------- 三步流程 ---------- */
.steps { display: -webkit-box; display: -webkit-flex; display: flex; gap: 32px; flex-wrap: wrap; }
.step {
  -webkit-box-flex: 1; -webkit-flex: 1; flex: 1; min-width: 240px;
  padding: 28px; background: #fff; border-radius: 14px; text-align: center;
  border: 1px solid #E2E8F0;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: #EA580C; color: #fff;
  font-size: 20px; font-weight: 800; margin: 0 auto 16px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 14px; color: #64748B; }

/* ---------- 就业案例网格 ---------- */
.cases-grid { overflow: hidden; }
.case-card {
  float: left; width: calc(33.333% - 16px); margin-right: 24px; margin-bottom: 24px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden;
  padding: 20px;
}
.case-card:nth-child(3n) { margin-right: 0; }
.case-card-head {
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: justify; -webkit-justify-content: space-between; justify-content: space-between;
  margin-bottom: 10px;
}
.case-card .name { font-weight: 700; color: #0B1E47; font-size: 16px; }
.case-card .salary { color: #EA580C; font-weight: 800; font-size: 18px; }
.case-card .direction-tag {
  display: inline-block; padding: 2px 10px; background: #F1F5F9; border-radius: 100px;
  font-size: 12px; color: #64748B; margin-right: 6px;
}
.case-card .company { font-size: 13px; color: #64748B; margin-top: 6px; }

/* ---------- 表单 ---------- */
.form { max-width: 500px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 14px; font-weight: 600; color: #0B1E47; margin-bottom: 8px; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 16px; border: 1px solid #E2E8F0; border-radius: 8px;
  font-size: 15px; outline: none; background: #fff; font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: #EA580C; box-shadow: 0 0 0 3px rgba(234,88,12,.12);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row .error { color: #EF4444; font-size: 13px; margin-top: 6px; }
.form-submit { margin-top: 8px; }

/* ---------- 页脚 ---------- */
.footer { background: #0B1E47; color: rgba(255,255,255,.75); padding: 60px 0 30px; }
.footer .container { overflow: hidden; }
.footer-col { float: left; width: 25%; padding: 0 16px; margin-bottom: 32px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col a { color: rgba(255,255,255,.7); font-size: 14px; display: block; padding: 4px 0; }
.footer-col a:hover { color: #FB923C; }
.footer-col p { font-size: 14px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; margin-top: 20px;
  font-size: 13px; color: rgba(255,255,255,.5); text-align: center;
}

/* ---------- 页面标题区 ---------- */
.page-hero {
  background: linear-gradient(135deg, #0B1E47 0%, #1E3A8A 100%);
  color: #fff; padding: 120px 0 70px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: 40px; font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.8); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: #FB923C; }

/* ---------- 合作伙伴条 ---------- */
.partners-bar {
  padding: 56px 0; background: #F8FAFC; text-align: center;
}
.partners-bar h3 { font-size: 14px; color: #64748B; margin-bottom: 28px; font-weight: 500; letter-spacing: 2px; }
.partners-list {
  display: -webkit-box; display: -webkit-flex; display: flex; gap: 24px;
  -webkit-box-align: stretch; -webkit-align-items: stretch; align-items: stretch;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
  flex-wrap: wrap; max-width: 860px; margin: 0 auto;
}
.partner-item {
  -webkit-box-flex: 1; -webkit-flex: 1 1 320px; flex: 1 1 320px; max-width: 400px;
  padding: 24px 28px; background: #fff; border: 1px solid #E2E8F0;
  border-radius: 12px; text-align: left;
  -webkit-box-shadow: 0 2px 8px rgba(11,30,71,.04); box-shadow: 0 2px 8px rgba(11,30,71,.04);
}
.partner-name {
  font-weight: 700; color: #0B1E47; font-size: 17px; margin-bottom: 8px;
  padding-left: 12px; border-left: 3px solid #EA580C;
}
.partner-desc { font-size: 13px; color: #64748B; line-height: 1.7; }

/* ---------- 胶片装饰（PDF 视觉元素） ---------- */
.film-strip {
  position: relative; height: 36px; background: #0B1E47;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  overflow: hidden;
}
.film-strip::before, .film-strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background-image: radial-gradient(circle, #F8FAFC 3px, transparent 3px);
  background-size: 20px 10px; background-repeat: repeat-x;
}
.film-strip::before { top: 0; }
.film-strip::after { bottom: 0; }

/* ---------- 就业承诺条 ---------- */
.promise-bar {
  background: linear-gradient(90deg, #EA580C 0%, #FB923C 100%);
  color: #fff; padding: 28px 0; text-align: center;
}
.promise-bar h3 { color: #fff; font-size: 24px; margin-bottom: 8px; font-weight: 800; }
.promise-bar p { font-size: 14px; opacity: .9; }

/* ---------- 预约表单区 ---------- */
.trial-section { background: #F8FAFC; padding: 60px 0; }
.trial-box {
  max-width: 600px; margin: 0 auto; background: #fff; border-radius: 16px;
  padding: 40px; border: 1px solid #E2E8F0;
}
.trial-box h3 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.trial-box .sub { text-align: center; color: #64748B; font-size: 14px; margin-bottom: 24px; }

/* ---------- 联系区 ---------- */
.contact-grid { overflow: hidden; }
.contact-card {
  float: left; width: calc(33.333% - 16px); margin-right: 24px; margin-bottom: 24px;
  text-align: center; padding: 32px 24px; background: #fff; border: 1px solid #E2E8F0; border-radius: 14px;
}
.contact-card:nth-child(3n) { margin-right: 0; }
.contact-card .ci-icon {
  width: 56px; height: 56px; border-radius: 50%; background: #FEF3C7; color: #EA580C;
  font-size: 26px; margin: 0 auto 16px;
  display: -webkit-box; display: -webkit-flex; display: flex;
  -webkit-box-align: center; -webkit-align-items: center; align-items: center;
  -webkit-box-pack: center; -webkit-justify-content: center; justify-content: center;
}
.contact-card h4 { font-size: 16px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; color: #64748B; }
.contact-card .qr-wrap { margin-top: 16px; }
.contact-card .qr-wrap img { max-width: 160px; margin: 0 auto; border: 6px solid #fff; box-shadow: 0 4px 20px rgba(0,0,0,.08); border-radius: 8px; }

/* ---------- 资讯列表 ---------- */
.news-list { overflow: hidden; }
.news-item {
  float: left; width: calc(33.333% - 16px); margin-right: 24px; margin-bottom: 24px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden;
  transition: all .25s;
}
.news-item:nth-child(3n) { margin-right: 0; }
.news-item:hover { -webkit-transform: translateY(-3px); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(11,30,71,.08); }
.news-item .cover { width: 100%; height: 180px; background: linear-gradient(135deg, #0B1E47, #1E3A8A); }
.news-item .body { padding: 20px; }
.news-item .cat-tag {
  display: inline-block; padding: 2px 10px; background: #FEF3C7; color: #EA580C;
  border-radius: 100px; font-size: 12px; font-weight: 500; margin-bottom: 10px;
}
.news-item h4 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.news-item p { font-size: 14px; color: #64748B; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- 详情页 ---------- */
.detail-article {
  max-width: 760px; margin: 0 auto; padding: 48px 24px;
}
.detail-article .meta { font-size: 13px; color: #64748B; margin-bottom: 24px; }
.detail-article .meta span { margin-right: 16px; }
.detail-article .content h2 { font-size: 22px; margin: 32px 0 14px; }
.detail-article .content h3 { font-size: 18px; margin: 24px 0 12px; }
.detail-article .content p { margin-bottom: 14px; line-height: 1.8; }
.detail-article .content ul { margin: 14px 0; }
.detail-article .content ul li { padding: 4px 0 4px 20px; position: relative; }
.detail-article .content ul li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px;
  background: #EA580C; border-radius: 50%;
}
.detail-article .content img { border-radius: 8px; margin: 16px 0; }

/* ---------- 动画 ---------- */
@keyframes fadeUp {
  from { opacity: 0; -webkit-transform: translateY(20px); transform: translateY(20px); }
  to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); }
}
.fade-up { -webkit-animation: fadeUp .6s ease forwards; animation: fadeUp .6s ease forwards; }

/* ---------- 响应式 ---------- */
@media screen and (max-width: 1024px) {
  .hero h1 { font-size: 42px; }
  .card { width: calc(33.333% - 16px); margin-right: 24px; }
  .card:nth-child(4n) { margin-right: 24px; }
  .card:nth-child(3n) { margin-right: 0; }
  .footer-col { width: 50%; }
}
@media screen and (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
  .nav-menu.open {
    display: block; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid #E2E8F0; padding: 16px 24px;
  }
  .nav-menu.open a { display: block; padding: 12px 0; border-bottom: 1px solid #F1F5F9; }

  .hero { padding: 120px 0 70px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 32px; }

  .section { padding: 56px 0; }
  .section-header h2 { font-size: 26px; }

  .card { width: 100%; margin-right: 0; }
  .cases-grid .case-card { width: 100%; margin-right: 0; }
  .news-list .news-item { width: 100%; margin-right: 0; }
  .two-col .col-left, .two-col .col-right { width: 100%; }
  .footer-col { width: 100%; padding: 0; }
  .contact-grid .contact-card { width: 100%; margin-right: 0; }

  .page-hero { padding: 100px 0 50px; }
  .page-hero h1 { font-size: 30px; }
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%; background: #0B1E47;
  color: #fff; border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.15);
  font-size: 18px; display: none;
}
.back-top.show { display: block; }
.back-top:hover { background: #EA580C; }
