/* ============================================================
   猎人职业技能培训学校官网 · 2026 改版
   风格：编辑式学院派 —— 米白纸感 / 墨绿主色 / 细线网格 / 大留白
   ============================================================ */
:root {
  --paper: #F7F6F1;
  --paper-2: #EFEEE6;
  --card: #FFFFFF;
  --ink: #1D241E;
  --ink-2: #4C554C;
  --muted: #8B9187;
  --line: #DCDACE;
  --forest: #16382B;
  --forest-2: #0F2A1F;
  --accent: #8FA335;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong", serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 15.5px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol, li { list-style: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); font-weight: 500; }

/* ===== 顶部信息条 ===== */
.topbar { background: var(--forest-2); color: rgba(255, 255, 255, .78); font-size: 12px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 36px; gap: 16px; }
.topbar-left { letter-spacing: .08em; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.topbar-right i { width: 1px; height: 12px; background: rgba(255, 255, 255, .28); }
.topbar-right a { color: rgba(255, 255, 255, .92); letter-spacing: .04em; transition: color .2s; }
.topbar-right a:hover { color: #C7D67A; }

/* ===== 主导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 246, 241, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 28px rgba(23, 40, 30, .05); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-text strong { display: block; font-size: 16px; letter-spacing: .14em; color: var(--forest); font-weight: 700; }
.brand-text em { display: block; font-style: normal; font-family: var(--mono); font-size: 9.5px; letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.menu > a { font-size: 14.5px; color: var(--ink-2); position: relative; padding: 6px 0; letter-spacing: .02em; }
.menu > a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--forest); transition: right .3s;
}
.menu > a:hover { color: var(--forest); }
.menu > a:hover::after { right: 0; }
.menu-cta {
  color: var(--forest) !important; font-weight: 600; font-size: 14.5px !important;
  border-bottom: 1.5px solid var(--forest); padding-bottom: 4px !important;
}
.menu-cta::after { display: none !important; }
.menu-cta .arr { font-family: var(--mono); margin-left: 3px; }
.menu-cta:hover { color: var(--accent) !important; border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 1.8px; background: var(--forest); margin: 5px 0; transition: .25s; }

/* ===== 首屏 ===== */
.hero { padding-top: 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 60px; align-items: end; }
.kicker { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.kicker .mono { font-size: 11px; letter-spacing: .2em; color: var(--accent); }
.kicker i { width: 44px; height: 1px; background: var(--line); }
.kicker span:last-child { font-size: 12.5px; letter-spacing: .18em; }
.hero h1 {
  font-size: clamp(46px, 5.8vw, 80px);
  line-height: 1.08; font-weight: 700; letter-spacing: .04em;
  color: var(--ink); margin: 30px 0 14px;
}
.hero-en { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--muted); letter-spacing: .02em; }
.hero-lede { margin-top: 26px; font-size: 15.5px; line-height: 2; color: var(--ink-2); max-width: 34em; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; font-size: 14.5px; letter-spacing: .12em; font-weight: 600;
  border-radius: 2px; transition: background .25s, color .25s, transform .25s;
}
.btn-solid { background: var(--forest); color: #fff; }
.btn-solid:hover { background: var(--forest-2); transform: translateY(-2px); }
.link-arrow { font-size: 14.5px; font-weight: 600; color: var(--forest); border-bottom: 1.5px solid var(--forest); padding-bottom: 4px; transition: color .2s, border-color .2s; }
.link-arrow span { font-family: var(--mono); }
.link-arrow:hover { color: var(--accent); border-bottom-color: var(--accent); }

.hero-media { position: relative; padding-bottom: 46px; padding-right: 30px; }
.hero-fig {
  background: var(--card); border: 1px solid var(--line); padding: 10px 10px 0;
  margin-left: 34px;
}
.hero-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-fig figcaption, .hero-fig-sub figcaption, .about-fig figcaption {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--muted); padding: 10px 2px;
}
figcaption .mono { font-size: 9.5px; letter-spacing: .16em; color: var(--accent); }
.hero-fig-sub {
  position: absolute; right: 0; bottom: 0; width: 44%;
  background: var(--card); border: 1px solid var(--line); padding: 8px 8px 0;
  box-shadow: 0 18px 40px rgba(23, 40, 30, .10);
}
.hero-fig-sub img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-side {
  position: absolute; left: 6px; top: 0;
  writing-mode: vertical-rl; font-size: 10px; letter-spacing: .34em;
  color: var(--muted);
}

/* ===== 数据带 ===== */
.stats {
  margin-top: 84px; padding-top: 8px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.stat { padding: 30px 12px 28px; text-align: left; display: flex; align-items: baseline; gap: 16px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 34px; }
.stat strong {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(40px, 4.6vw, 58px); line-height: 1; color: var(--forest);
}
.stat span { font-size: 13px; color: var(--ink-2); letter-spacing: .1em; }

/* ===== 区块通用 ===== */
.section { padding: 108px 0; }
.section-tint { background: var(--paper-2); }
.sec-grid { display: grid; grid-template-columns: 300px 1fr; gap: 72px; align-items: start; }
.sec-grid-top { grid-template-columns: 300px 1fr; }
.sec-side { position: sticky; top: 130px; }
.sec-no { font-size: 11px; letter-spacing: .22em; color: var(--accent); display: block; }
.sec-side h2 { font-size: clamp(32px, 3.4vw, 44px); font-weight: 700; letter-spacing: .06em; color: var(--ink); margin-top: 16px; }
.sec-en { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--muted); margin-top: 10px; }
.sec-main .lede, .sec-main-tight .lede {
  font-size: 18px; line-height: 1.95; color: var(--ink-2); max-width: 62ch;
}
.sec-main p + p { margin-top: 18px; font-size: 15px; line-height: 2; color: var(--ink-2); max-width: 62ch; }
.motto {
  margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line);
  font-size: 19px; font-weight: 600; letter-spacing: .3em; color: var(--forest);
}

/* ===== 简介图组 ===== */
.about-media { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; margin-top: 48px; align-items: start; }
.about-fig { background: var(--card); border: 1px solid var(--line); padding: 8px 8px 0; }
.about-fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-fig-s { margin-top: 44px; }

/* ===== 教学方式（深绿块） ===== */
.section-forest { background: var(--forest); color: #fff; padding: 96px 0; }
.sec-head-forest { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sec-head-forest .sec-no { color: #C7D67A; }
.sec-head-forest h2 { font-size: clamp(30px, 3.2vw, 42px); font-weight: 700; letter-spacing: .06em; margin-top: 16px; }
.sec-desc { font-size: 14.5px; color: rgba(255, 255, 255, .72); max-width: 30em; line-height: 1.9; }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 64px; }
.method-steps li { border-top: 1px solid rgba(255, 255, 255, .22); padding-top: 24px; }
.step-no { font-family: var(--serif); font-style: italic; font-size: 30px; color: #C7D67A; line-height: 1; }
.method-steps h3 { font-size: 18.5px; font-weight: 600; letter-spacing: .12em; margin: 14px 0 10px; }
.method-steps p { font-size: 13.5px; line-height: 1.9; color: rgba(255, 255, 255, .70); }
.projects { margin-top: 72px; }
.projects-label { font-size: 11px; letter-spacing: .24em; color: rgba(255, 255, 255, .55); }
.projects-list { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.projects-list span {
  border: 1px solid rgba(255, 255, 255, .30); color: rgba(255, 255, 255, .92);
  padding: 11px 24px; font-size: 14px; letter-spacing: .08em; border-radius: 2px;
  transition: background .25s, border-color .25s;
}
.projects-list span:hover { background: rgba(255, 255, 255, .08); border-color: #C7D67A; }

/* ===== 培训工种 ===== */
.group { margin-top: 84px; }
.group:first-of-type { margin-top: 72px; }
.group-bar {
  display: flex; align-items: baseline; gap: 18px;
  border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 40px;
}
.group-bar > .mono { font-size: 11px; letter-spacing: .22em; color: var(--accent); }
.group-bar h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: .08em; }
.group-count { margin-left: auto; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--muted); }
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.course figure { position: relative; overflow: hidden; }
.course figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .6, .2, 1);
}
.course:hover figure img { transform: scale(1.045); }
.course-no {
  position: absolute; left: 0; top: 0; z-index: 2;
  background: rgba(15, 42, 31, .82); color: #fff;
  font-size: 10.5px; letter-spacing: .16em; padding: 6px 10px;
}
.course h4 { font-size: 18px; font-weight: 600; letter-spacing: .06em; margin: 18px 0 10px; transition: color .2s; }
.course:hover h4 { color: var(--forest); }
.course p { font-size: 13.5px; line-height: 1.9; color: var(--ink-2); text-align: justify;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.course-tags { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.course-tags em {
  font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: .2em;
  color: var(--muted); margin-right: 10px;
}
.course-tags { font-size: 12.5px; color: var(--ink-2); letter-spacing: .04em; }
.course-flat {
  aspect-ratio: 4 / 3; background: var(--forest); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
}
.course-flat > span:first-child { font-family: var(--serif); font-style: italic; font-size: 46px; letter-spacing: .08em; }
.course-flat-sub { font-size: 12px; letter-spacing: .3em; color: rgba(255, 255, 255, .68); }

/* ===== 办学优势 ===== */
.adv-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 72px; margin-top: 64px; }
.adv-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.adv-list .adv-no { grid-row: 1 / span 2; }
.adv-list p { grid-column: 2; }
.adv-no { font-family: var(--serif); font-style: italic; font-size: 34px; line-height: 1; color: var(--accent); }
.adv-list h3 { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.adv-list p { font-size: 14px; line-height: 1.9; color: var(--ink-2); margin-top: 8px; }

/* ===== 办学资质 ===== */
.qual-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 64px; }
.qual-list li { border-top: 1px solid var(--line); padding-top: 26px; }
.qual-no { font-size: 11px; letter-spacing: .24em; color: var(--accent); }
.qual-list h3 { font-size: 17.5px; font-weight: 600; letter-spacing: .06em; margin: 16px 0 10px; }
.qual-list p { font-size: 14px; line-height: 1.9; color: var(--ink-2); }

/* ===== 联系我们 ===== */
.section-contact { background: var(--forest); color: #fff; padding: 116px 0; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 80px; align-items: start; }
.contact-no { color: #C7D67A; }
.contact-copy h2 {
  font-size: clamp(40px, 4.6vw, 62px); line-height: 1.18; font-weight: 700;
  letter-spacing: .05em; margin-top: 22px;
}
.contact-sub { margin: 26px 0 44px; font-size: 15px; color: rgba(255, 255, 255, .75); letter-spacing: .06em; }
.btn-paper { background: var(--paper); color: var(--forest); }
.btn-paper:hover { background: #fff; transform: translateY(-2px); }
.contact-info li { padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.contact-info li:first-child { padding-top: 6px; }
.contact-info .mono { font-size: 11px; letter-spacing: .3em; color: #C7D67A; }
.contact-info p { margin-top: 10px; font-size: 16px; letter-spacing: .04em; }
.contact-info a { border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s, color .2s; }
.contact-info a:hover { color: #C7D67A; border-bottom-color: #C7D67A; }

/* ===== 页脚 ===== */
.footer { background: var(--forest-2); color: rgba(255, 255, 255, .75); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 46px 0 26px; border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 46px; height: 46px; object-fit: contain; }
.footer-brand strong { display: block; font-size: 15px; color: #fff; letter-spacing: .14em; }
.footer-brand em { display: block; font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .5); letter-spacing: .14em; margin-top: 4px; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer-nav a:hover { color: #C7D67A; }
.footer-copy { padding: 20px 0 34px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .42); }
.footer-copy p + p { margin-top: 6px; }
.footer-copy a { color: rgba(255, 255, 255, .55); transition: color .2s; }
.footer-copy a:hover { color: #fff; }

/* ===== 返回顶部 ===== */
.to-top {
  position: fixed; right: 26px; bottom: 30px; z-index: 90;
  width: 44px; height: 44px; border: 1px solid var(--line); background: var(--paper);
  color: var(--forest); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .25s, color .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--forest); color: #fff; }
.to-top svg { width: 18px; height: 18px; }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; align-items: start; }
  .hero-media { padding-right: 0; max-width: 640px; }
  .hero-side { display: none; }
  .method-steps { grid-template-columns: repeat(2, 1fr); }
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-grid, .sec-grid-top { grid-template-columns: 1fr; gap: 34px; }
  .sec-side { position: static; }
  .qual-list { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 820px) {
  html { scroll-padding-top: 76px; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-inner { height: 64px; }
  .brand-text strong { font-size: 14px; letter-spacing: .1em; }
  .menu {
    position: fixed; top: 100px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(23, 40, 30, .10);
    padding: 6px 24px 18px; display: none;
  }
  .menu.open { display: flex; }
  .menu > a { padding: 14px 2px; border-bottom: 1px solid var(--line); }
  .menu > a::after { display: none; }
  .menu-cta { margin-top: 16px; border-bottom: 1.5px solid var(--forest) !important; text-align: left; }
  .nav-toggle { display: block; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: clamp(38px, 9.4vw, 52px); }
  .stats { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .stat { padding: 20px 4px 18px; gap: 12px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 4px; }
  .stat:nth-child(n) { padding-left: 4px; }
  .section { padding: 72px 0; }
  .section-forest, .section-contact { padding: 68px 0; }
  .method-steps { grid-template-columns: 1fr; gap: 26px; margin-top: 44px; }
  .adv-list { grid-template-columns: 1fr; gap: 0; margin-top: 36px; }
  .course-grid { grid-template-columns: 1fr; gap: 40px; }
  .group { margin-top: 56px; }
  .group-bar { flex-wrap: wrap; gap: 12px; }
  .hero-fig { margin-left: 0; }
  .hero-fig-sub { width: 52%; }
  .about-media { grid-template-columns: 1fr; }
  .about-fig-s { margin-top: 0; }
  .motto { letter-spacing: .18em; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-actions { gap: 20px; }
  .btn { padding: 13px 26px; }
  .stat strong { font-size: 34px; }
  .stat span { font-size: 12px; }
}
