/* ============================
   鸿芯智谷企业官网 - 主样式表
   设计参考：千锋·黑马风格
   配色：科技蓝 + 白 + 金点缀
   ============================ */

/* ---------- CSS 自定义属性 ---------- */
:root {
  --primary: #1e40af;
  --primary-dark: #1a3a6b;
  --primary-light: #2563eb;
  --accent: #2563eb;
  --accent-light: #60a5fa;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --bg-gray: #f8fafc;
  --bg-dark: #0a1628;
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all .3s ease;
  --max-width: 1280px;
  --topbar-height: 32px;
}

/* ---------- 全局重置 ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select { font-family: inherit; }

/* ---------- 容器 ---------- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; border-radius: 8px; transition: var(--transition); white-space: nowrap; cursor: pointer; }
.btn:active { transform: scale(.97); }
.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 14px 36px; font-size: 16px; border-radius: 30px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; box-shadow: 0 4px 16px rgba(37,99,235,.4); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn-white { background: #fff; color: var(--accent); border: 2px solid #fff; }
.btn-white:hover { background: #f0f7ff; box-shadow: 0 4px 16px rgba(255,255,255,.3); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
button[type="submit"].btn-block { padding: 10px 24px; font-size: 17px; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ---------- 通用区块 ---------- */
.section { padding: 40px 0; }
.section-alt { background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; padding: 4px 16px; background: #eff6ff; border-radius: 20px; }
.section-title { font-size: 36px; font-weight: 800; color: var(--primary-dark); margin-bottom: 8px; }
.section-divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); margin: 16px auto 0; border-radius: 2px; }
.section-subtitle { font-size: 15px; color: var(--text-muted); margin-top: 12px; }
.text-accent { color: var(--accent); }
.text-gold { color: var(--gold); }
.img-rounded { border-radius: var(--radius-lg); }

/* ==================== 顶部通栏 ==================== */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; background: rgb(238, 240, 244); color: rgb(151, 151, 151); font-size: 13px; line-height: 1.5; height: var(--topbar-height); display: flex; align-items: center; }
.topbar a { color: rgb(151, 151, 151); transition: var(--transition); }
.topbar a:hover { color: var(--accent); }
.topbar .inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; width: 100%; }
.topbar .top_l p, .topbar .top_r p { margin: 0; }
.topbar .slogan { color: #1e1f23; font-weight: 600; }

/* ==================== 顶部导航 ==================== */
.header { position: fixed; top: var(--topbar-height); left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,.95); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: var(--transition); }
.header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--primary-dark); }
.logo-bar { width: 6px; height: 22px; background: var(--primary-dark); border-radius: 3px; flex-shrink: 0; }
.logo-sub { font-size: 12px; color: var(--text-muted); font-weight: 400; letter-spacing: 1px; }
.nav { display: flex; gap: 32px; }
.nav-link { font-size: 15px; color: var(--text-light); font-weight: 500; position: relative; transition: var(--transition); }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%) scaleX(0); width: 20px; height: 2px; background: var(--accent); border-radius: 1px; transition: var(--transition); }
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link.active::after, .nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.cons-btn { padding: 9px 22px; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; padding: 4px; cursor: pointer; flex-shrink: 0; z-index: 10; }
.menu-toggle span { width: 26px; height: 2px; background: var(--primary-dark); border-radius: 2px; transition: var(--transition); display: block; }

/* ==================== 主视觉轮播 ==================== */
.hero { position: relative; height: 420px; overflow: hidden; margin-top: calc(72px + var(--topbar-height)); }
.hero-slider { height: 100%; position: relative; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .8s ease; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,.85) 0%, rgba(26,58,107,.7) 50%, rgba(37,99,235,.55) 100%); }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: 2; width: 90%; max-width: 800px; }
.hero-title { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.25; margin-bottom: 20px; letter-spacing: 2px; text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.hero-title .text-accent { color: var(--accent-light); }
.hero-desc { font-size: 18px; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; transition: var(--transition); }
.dot.active { background: #fff; width: 32px; border-radius: 6px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,.15); color: #fff; font-size: 22px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(6px); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.hero-arrow:hover { background: rgba(255,255,255,.25); }
.hero-arrow-left { left: 24px; }
.hero-arrow-right { right: 24px; }

/* ==================== 数据条 ==================== */
.stats-bar { padding: 32px 0; background: #fff; box-shadow: var(--shadow); position: relative; z-index: 5; }
.stats-grid { display: flex; justify-content: space-around; }
.stat-item { text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.stat-num .counter { font-size: 36px; }
.stat-num span { font-size: 16px; color: var(--text-muted); font-weight: 400; }
.stat-label { font-size: 14px; color: var(--text-light); margin-top: 4px; }

/* ==================== 关于鸿芯 ==================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-badge { position: absolute; bottom: 24px; right: -20px; background: var(--accent); color: #fff; padding: 14px 22px; border-radius: 8px; text-align: center; box-shadow: 0 8px 24px rgba(37,99,235,.3); }
.badge-num { display: block; font-size: 28px; font-weight: 800; }
.badge-text { font-size: 13px; opacity: .9; }
.about-lead { font-size: 16px; line-height: 2; color: var(--text); margin-bottom: 28px; }
.about-lead strong { color: var(--accent); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; padding: 14px 18px; background: var(--bg-gray); border-radius: 10px; border-left: 3px solid var(--accent); transition: var(--transition); }
.about-feature:hover { background: #eff6ff; }
.about-feature h4 { font-size: 15px; color: var(--primary-dark); margin-bottom: 4px; }
.about-feature p { font-size: 14px; color: var(--text-light); }
@media (max-width: 768px) { .about-features { grid-template-columns: 1fr; } }
.af-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); flex-shrink: 0; position: relative; }
.af-icon::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: bold; }
.af-icon-mission::after { content: '🚀'; font-size: 20px; }      /* 火箭-使命启航 */
.af-icon-purpose::after { content: '🌱'; font-size: 20px; }      /* 萌芽-育人成长 */
.af-icon-vision::after { content: '⛰️'; font-size: 20px; }       /* 山峰-攀登愿景 */
.af-icon-values::after { content: '⚖️'; font-size: 20px; }       /* 天平-诚信共赢 */
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.about-tags span { padding: 6px 16px; background: #eff6ff; color: var(--accent); border-radius: 20px; font-size: 13px; font-weight: 500; }

/* ==================== 课程体系 ==================== */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.course-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-card-img { height: 200px; background-size: cover; background-position: center; position: relative; }
.course-badge { position: absolute; top: 16px; right: 16px; background: linear-gradient(135deg, var(--accent), #1d4ed8); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.course-badge-hot { background: linear-gradient(135deg, #dc2626, #f87171); }
.course-card-body { padding: 24px; }
.course-name { font-size: 20px; font-weight: 700; color: var(--primary-dark); margin-bottom: 10px; }
.course-desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 14px; }
.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.course-tags span { padding: 3px 12px; background: #f0f7ff; color: var(--accent); border-radius: 14px; font-size: 12px; }
.course-meta { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.course-meta-item { display: flex; justify-content: space-between; font-size: 13px; }
.meta-label { color: var(--text-muted); }
.meta-val { color: var(--text); font-weight: 500; }

/* 教学特色 */
.teaching-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.teaching-item { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.teaching-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.teaching-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; position: relative; }
.teaching-item h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 6px; }
.teaching-item p { font-size: 13px; color: var(--text-muted); }

/* 教学特色图标 */
.ti-project::after { content: '📚'; font-size: 26px; line-height: 1; }
.ti-smallclass::after { content: '📈'; font-size: 26px; line-height: 1; }
.ti-guarantee::after { content: '🛡️'; font-size: 26px; line-height: 1; }
.ti-zero::after { content: '🚀'; font-size: 26px; line-height: 1; }
.ti-cert::after { content: '🎓'; font-size: 26px; line-height: 1; }
.ti-contract::after { content: '📝'; font-size: 26px; line-height: 1; }
.ti-coach::after { content: '💼'; font-size: 26px; line-height: 1; }
.ti-match::after { content: '🤝'; font-size: 26px; line-height: 1; }
.ti-after::after { content: '🔄'; font-size: 26px; line-height: 1; }

/* ==================== 师资力量 ==================== */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.teacher-card { text-align: center; background: #fff; border-radius: var(--radius); padding: 32px 20px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.teacher-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.teacher-avatar { width: 90px; height: 90px; border-radius: 50%; margin: 0 auto 18px; border: 3px solid var(--accent-light); background: var(--bg-gray); }
.teacher-info h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 4px; }
.teacher-role { display: block; font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.teacher-info p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ==================== 产教融合 ==================== */
.integration-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.integration-card { background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border); }
.integration-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent-light); }
.ic-icon { width: 60px; height: 60px; border-radius: 14px; margin: 0 auto 18px; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); display: flex; align-items: center; justify-content: center; position: relative; }
.ic-icon::after { font-size: 28px; line-height: 1; }
.ic-build::after { content: '🏗️'; }
.ic-college::after { content: '🏛️'; }
.ic-lab::after { content: '🔬'; }
.ic-program::after { content: '🎯'; }
.ic-resume::after { content: '📄'; }
.ic-interview::after { content: '🗣️'; }
.ic-referral::after { content: '📤'; }
.ic-jobfair::after { content: '🏢'; }
.ic-softskill::after { content: '⭐'; }
.ic-lifelong::after { content: '🔁'; }
.ic-track::after { content: '📊'; }
.ic-techqa::after { content: '💬'; }
.ic-rdteam::after { content: '🔧'; }
.ic-hwsw::after { content: '💻'; }
.ic-solution::after { content: '📐'; }
.ic-industry::after { content: '🏗️'; }
.ti-device::after { content: '📡'; font-size: 26px; line-height: 1; }
.ti-market::after { content: '📊'; font-size: 26px; line-height: 1; }
.ti-trend::after { content: '🚀'; font-size: 26px; line-height: 1; }
.ti-future::after { content: '🌐'; font-size: 26px; line-height: 1; }
.integration-card h4 { font-size: 17px; color: var(--primary-dark); margin-bottom: 10px; }
.integration-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* 合作高校滚动 */
.partners-wrap { background: #fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.partners-header { text-align: center; margin-bottom: 24px; }
.partners-header h3 { font-size: 22px; color: var(--primary-dark); }
.partners-header p { font-size: 14px; color: var(--text-muted); margin-top: 6px; }
.partner-scroll { overflow: hidden; margin-bottom: 24px; }
.partner-track { display: flex; gap: 16px; animation: scrollLeft 25s linear infinite; width: max-content; }
.partner-track:hover { animation-play-state: paused; }
.partner-item { flex-shrink: 0; padding: 10px 24px; background: var(--bg-gray); border: 1px solid var(--border); border-radius: 8px; font-size: 13px; color: var(--text); font-weight: 500; white-space: nowrap; transition: var(--transition); }
.partner-item:hover { background: #eff6ff; border-color: var(--accent-light); color: var(--accent); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 合作企业 */
.partner-logos { display: flex; justify-content: center; gap: 30px; margin-top: 16px; flex-wrap: wrap; }
.partner-logo-card { display: flex; align-items: center; gap: 12px; padding: 16px 28px; background: var(--bg-gray); border-radius: 10px; font-size: 15px; color: var(--primary-dark); font-weight: 600; transition: var(--transition); border: 1px solid var(--border); }
.partner-logo-card:hover { background: #eff6ff; border-color: var(--accent-light); }
.plc-icon { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); }

/* ==================== 智能科技 ==================== */
.smart-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.smart-title { font-size: 26px; color: var(--primary-dark); margin-bottom: 16px; }
.smart-desc { font-size: 15px; color: var(--text); line-height: 2; margin-bottom: 20px; }
.smart-desc strong { color: var(--accent); }
.smart-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.smart-tags span { padding: 7px 18px; background: #eff6ff; color: var(--accent); border-radius: 20px; font-size: 13px; font-weight: 500; }
.smart-points { display: flex; flex-direction: column; gap: 12px; }
.smart-point { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text); }
.sp-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #dcfce7; color: #16a34a; border-radius: 50%; font-size: 13px; font-weight: bold; }

/* ==================== 就业服务 ==================== */
.emp-steps { display: flex; justify-content: space-between; position: relative; padding: 0 60px; margin-bottom: 56px; }
.emp-steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); z-index: 0; }
.emp-step { text-align: center; position: relative; z-index: 1; flex: 1; }
.emp-step-num { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary-dark), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin: 0 auto 16px; box-shadow: 0 4px 16px rgba(37,99,235,.25); position: relative; z-index: 1; }
.emp-step h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 8px; }
.emp-step p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.emp-step-circle { display: none; }

/* 就业横幅 */
.emp-banner { border-radius: var(--radius-lg); overflow: hidden; position: relative; background-size: cover; background-position: center; min-height: 200px; display: flex; align-items: center; }
.emp-banner-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,.88), rgba(37,99,235,.7)); }
.emp-banner-content { position: relative; z-index: 1; padding: 40px 48px; display: flex; gap: 48px; align-items: center; justify-content: center; width: 100%; }
.emp-banner-item { display: flex; align-items: flex-start; gap: 14px; }
.ebi-icon { width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); position: relative; }
.ebi-icon::after { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px; }
.ebi-icon.lc::after { content: '📍'; }
.ebi-icon.sal::after { content: '💰'; }
.emp-banner-item h4 { font-size: 17px; color: #fff; margin-bottom: 4px; }
.emp-banner-item p { font-size: 14px; color: rgba(255,255,255,.8); }

/* ==================== 产教融合 ==================== */
.ie-grid { display: flex; flex-direction: column; gap: 20px; }
.ie-photos-wrap { background: rgba(255,255,255,.6); backdrop-filter: blur(10px); border-radius: 16px; padding: 24px; box-shadow: 0 4px 24px rgba(0,0,0,.05); border: 1px solid rgba(255,255,255,.9); }
.ie-photos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ie-photo { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 2px 12px rgba(0,0,0,.1); border: 4px solid #fff; background: #fff; transition: transform .3s, box-shadow .3s; }
.ie-photo:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(37,99,235,.15); z-index: 1; }
.ie-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1024px) { .ie-photos { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .ie-photos { grid-template-columns: repeat(3, 1fr); } }

/* ==================== 学费价格 ==================== */
.tuition-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tuition-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); position: relative; text-align: center; }
.tuition-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tuition-card-featured { border-color: var(--accent); transform: scale(1.04); box-shadow: 0 8px 32px rgba(37,99,235,.15); }
.tuition-card-featured:hover { transform: scale(1.04) translateY(-5px); }
.tuition-badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 700; z-index: 1; }
.tuition-card-header { padding: 28px 20px 16px; background: var(--bg-gray); }
.tuition-card-header h4 { font-size: 18px; color: var(--primary-dark); }
.tuition-card-body { padding: 24px 20px; }
.tuition-price { font-size: 28px; font-weight: 800; color: var(--accent); margin-bottom: 20px; }
.tuition-list { display: flex; flex-direction: column; gap: 10px; }
.tuition-list li { font-size: 14px; color: var(--text-light); padding: 6px 0; border-bottom: 1px dashed var(--border); }
.tuition-list li:last-child { border-bottom: none; }
.tuition-list li::before { content: '✓ '; color: #16a34a; font-weight: bold; }
.tuition-card-footer { padding: 0 20px 28px; }
.tuition-note { text-align: center; margin-top: 28px; font-size: 13px; color: var(--text-muted); }

/* ==================== 校区环境 ==================== */
.campus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.campus-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); position: relative; transition: var(--transition); }
.campus-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.campus-card-img { height: 300px; background-size: cover; background-position: center; position: relative; }
.campus-card-tag { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.campus-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.campus-card-overlay h4 { font-size: 20px; margin-bottom: 6px; }
.campus-card-overlay p { font-size: 14px; opacity: .9; margin-bottom: 4px; }
.campus-card-overlay span { font-size: 12px; opacity: .7; }

/* ==================== CTA ==================== */
.cta { background: linear-gradient(135deg, var(--bg-dark), var(--primary-dark), var(--accent)); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 50%, rgba(96,165,250,.2), transparent 50%), radial-gradient(circle at 70% 50%, rgba(37,99,235,.15), transparent 50%); }
.cta-content { position: relative; z-index: 1; }
.cta h2 { font-size: 36px; color: #fff; font-weight: 800; margin-bottom: 14px; }
.cta p { font-size: 17px; color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; }

/* ==================== 页脚 ==================== */
.footer { background: var(--bg-dark); color: #fff; padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; margin-bottom: 16px; }

.footer-col-about p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.8; margin-top: 8px; }
.footer-col h4 { font-size: 16px; margin-bottom: 18px; color: #fff; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.5); line-height: 2.2; transition: var(--transition); }
.footer-col a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 12px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 44px; padding-top: 22px; text-align: center; font-size: 13px; color: rgba(255,255,255,.35); }

/* ==================== 咨询弹窗 ==================== */
.modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: var(--radius-lg); padding: 40px; width: 90%; max-width: 460px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.2); }
.modal-close { position: absolute; top: 14px; right: 18px; font-size: 28px; background: none; color: var(--text-muted); transition: var(--transition); cursor: pointer; border: none; }
.modal-close:hover { color: var(--text); }
.modal-header { margin-bottom: 24px; }
.modal-header h3 { font-size: 22px; color: var(--primary-dark); margin-bottom: 8px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.header-phone { font-size: 17px; color: var(--accent); font-weight: 700; white-space: nowrap; }
.modal-header p { font-size: 14px; color: var(--text-muted); }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; transition: var(--transition); outline: none; background: var(--bg-gray); }
.form-group input:focus, .form-group select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

/* ---------- 咨询Tab切换 ---------- */
.consult-tabs { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 28px; }
.consult-tab { flex: 1; padding: 12px 0; text-align: center; font-size: 16px; font-weight: 600; color: var(--text-light); background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -2px; cursor: pointer; transition: var(--transition); }
.consult-tab:hover { color: var(--accent); }
.consult-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Tab面板 ---------- */
.consult-panel { display: none; }
.consult-panel.active { display: block; }

/* ---------- 微信咨询 - 二维码 ---------- */
.qrcode-wrap { text-align: center; padding: 10px 0 20px; }
.qrcode-wrap img { width: 200px; height: 200px; border-radius: var(--radius); border: 1px solid var(--border); display: block; margin: 0 auto 16px; object-fit: contain; }
.qrcode-wrap p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

/* ==================== 右侧浮动咨询按钮 ==================== */
.float-consult { position: fixed; right: -4px; top: 55%; transform: translateY(-50%); z-index: 998; display: flex; flex-direction: column; align-items: center; background: linear-gradient(180deg, #3b9eff, #1a7ae8); color: #fff; padding: 14px 10px; border-radius: 24px 0 0 24px; cursor: pointer; box-shadow: -2px 2px 14px rgba(26,122,232,.45); transition: var(--transition); gap: 4px; user-select: none; width: 52px; }
.float-consult:hover { right: 0; background: linear-gradient(180deg, #2b8eef, #156bd5); box-shadow: -4px 4px 20px rgba(26,122,232,.6); }
.float-consult-icon { font-size: 22px; line-height: 1; }
.float-consult-text { font-size: 12px; font-weight: 600; white-space: nowrap; letter-spacing: 2px; writing-mode: vertical-rl; }

/* ==================== 回到顶部 ==================== */
.back-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 20px; box-shadow: 0 4px 16px rgba(37,99,235,.35); z-index: 999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); }
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: #1d4ed8; transform: translateY(-3px); }

/* ==================== 热门课程模块 ==================== */
.ag-row { display: grid; grid-template-columns:280px 380px 1fr; border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0; box-shadow:0 2px 12px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.02); transition: transform .3s,box-shadow .3s; min-height: 240px; }
.ag-row:hover { transform: translateY(-3px); box-shadow:0 6px 28px rgba(37,99,235,.12), 0 0 0 1px rgba(37,99,235,.06); }

.ag-left { color: #fff; padding: 32px 28px; display: flex; align-items: center; }
.ag-inner { width: 100%; }
.ag-badge { display: inline-block; font-size: 11px; background: rgba(255,255,255,.2); padding: 3px 12px; border-radius: 10px; margin-bottom: 14px; letter-spacing: 1px; }
.ag-left h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; line-height: 1.3; }
.ag-left p { font-size: 13px; opacity: .88; line-height: 1.7; margin-bottom: 16px; }
.ag-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ag-tags span { font-size: 11px; background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 8px; }

.ag-mid { background: #f8fafc; display: flex; flex-direction: column; padding: 20px; }
.ag-mid-head { padding: 10px 0; font-size: 14px; font-weight: 700; color: #fff; background: #5b8ff9; text-align: center; border-radius: 8px 8px 0 0; }
.ag-mid-body { flex: 1; background: #fff; border-radius: 0 0 8px 8px; padding: 16px; box-shadow: 0 2px 8px rgba(0,0,0,.06); display: flex; flex-direction: column; gap: 12px; }
.ag-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; padding: 10px 0; border-bottom: 1px dashed #e8ecf1; }
.ag-item:last-child { border-bottom: none; }
.ag-city { font-weight: 600; color: #1f2937; font-size: 15px; }
.ag-date { color: #6b7280; font-size: 13px; white-space: nowrap; }
.ag-btn { padding: 5px 12px; border: 1.5px solid #5b8ff9; color: #5b8ff9; background: transparent; border-radius: 6px; font-size: 12px; font-weight: 500; text-decoration: none; transition: all .2s; white-space: nowrap; }
.ag-btn:hover { background: #5b8ff9; color: #fff; }

.ag-right { display: flex; flex-wrap: wrap; gap: 8px; background: #f8fafc; padding: 20px; align-content: center; align-self: stretch; }
.ag-img { width: calc(50% - 4px); aspect-ratio: 16/9; overflow: hidden; background: #e2e8f0; border-radius: 6px; flex-shrink: 0; }
.ag-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1024px) {
  .ag-row { grid-template-columns: 1fr; grid-template-rows: auto; }
  .ag-left, .ag-mid, .ag-right { grid-column: auto; }
  .ag-left { padding: 24px; }
  .ag-mid { max-width: 440px; margin: 0 auto; width: 100%; }
  .ag-right { justify-content: center; max-height: none; flex-direction: row; }
  .ag-img { width: calc(25% - 6px); }
}
@media (max-width: 768px) {
  .ag-mid { max-width: 100%; }
  .ag-img { width: calc(50% - 4px); }
}

/* ==================== 响应式 ==================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 38px; }
  .hero { height: 340px; }
  .course-grid { grid-template-columns: 1fr; }
  .tuition-grid { grid-template-columns: repeat(2, 1fr); }
  .tuition-card-featured { transform: none; }
  .tuition-card-featured:hover { transform: translateY(-5px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .emp-steps { padding: 0 20px; }
}

@media (max-width: 768px) {
  .topbar .top_l { display: none; }
  .topbar .inner { justify-content: center; }
  .section { padding: 30px 0; }
  .section-title { font-size: 28px; }
  .hero { height: 280px; margin-top: calc(60px + var(--topbar-height)); }
  .hero-title { font-size: 22px; }
  .hero-desc { font-size: 15px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { padding: 8px 22px; font-size: 13px; }
  .hero-dots { display: none; }
  .header .container { height: 60px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; gap: 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .cons-btn { display: none; }
  .menu-toggle { display: flex !important; z-index: 10; }
  .about-grid, .smart-grid { grid-template-columns: 1fr; }
  .about-badge { right: 0; }
  .stats-grid { flex-wrap: wrap; gap: 24px; }
  .stat-item { width: 45%; }
  .integration-grid, .teacher-grid { grid-template-columns: repeat(2, 1fr); }
  .teaching-features { grid-template-columns: repeat(2, 1fr); }
  .emp-steps { flex-direction: column; gap: 24px; padding: 0; }
  .emp-steps::before { display: none; }
  .emp-banner-content { flex-direction: column; padding: 28px; }
  .tuition-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .cta h2 { font-size: 26px; }
}

@media (max-width: 480px) {
  .integration-grid, .teacher-grid { grid-template-columns: 1fr; }
  .teaching-features { grid-template-columns: 1fr; }
  .stats-grid { flex-direction: column; }
  .stat-item { width: 100%; }
}

/* ==================== 学生风采 ==================== */
.students-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.students-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  background: var(--bg-gray);
}
.students-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.students-item:hover img { transform: scale(1.08); }
.students-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,58,107,.75), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity .4s ease;
}
.students-item:hover .students-overlay { opacity: 1; }
.students-overlay span {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* 图片灯箱 */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-overlay .lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}
.lightbox-overlay .lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

@media (max-width: 1024px) {
  .students-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .students-grid { grid-template-columns: 1fr; gap: 12px; }
}
