/* ============================================================
   大成高考 · 本地新模板 PC 样式（第三套：墨绿 + 米金）
   类名前缀 nt-，版本号随资源引用
   ============================================================ */
:root {
  --nt-green: #1f5c4d;
  --nt-green-d: #143f35;
  --nt-green-l: #2e7a66;
  --nt-gold: #d9a441;
  --nt-gold-d: #b9862e;
  --nt-bg: #f6f8f7;
  --nt-card: #ffffff;
  --nt-text: #26302c;
  --nt-mut: #68756f;
  --nt-line: #e3ebe7;
  --nt-shadow: 0 8px 24px rgba(20, 63, 53, .10);
  --nt-radius: 14px;
  --nt-wrap: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--nt-text);
  background: var(--nt-bg);
  line-height: 1.7;
  font-size: 15px;
}

img { max-width: 100%; display: block; border: 0; }
a { color: var(--nt-text); text-decoration: none; }
a:hover { color: var(--nt-green); }
ul, ol { list-style: none; }

.nt-wrap { max-width: var(--nt-wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- 顶部公告横幅 ---------- */
.nt-top-ad { background: var(--nt-green-l); color: #eaf5f1; font-size: 13px; }
.nt-top-ad__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.nt-top-ad__close { font-size: 18px; line-height: 1; }

/* ---------- 顶部细条 ---------- */
.nt-topbar {
  background: var(--nt-green-d);
  color: #eaf2ef;
  font-size: 13px;
}
.nt-topbar__inner {
  display: flex; justify-content: space-between; align-items: center;
  height: 38px;
}
.nt-topbar__brand { letter-spacing: 1px; }
.nt-topbar__phone a { color: var(--nt-gold); font-weight: 600; }
.nt-topbar__phone a:hover { color: #fff; }

/* ---------- 主导航 ---------- */
.nt-header {
  background: var(--nt-card);
  box-shadow: 0 2px 12px rgba(20, 63, 53, .08);
  position: sticky; top: 0; z-index: 100;
}
.nt-nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.nt-logo img { height: 46px; width: auto; }
.nt-menu { display: flex; align-items: center; gap: 2px; }
.nt-menu__item a {
  display: block; padding: 10px 11px; font-size: 14.5px; font-weight: 500;
  border-radius: 8px; color: var(--nt-text); white-space: nowrap;
}
.nt-menu__item a:hover,
.nt-menu__item.is-active a { color: var(--nt-green); background: #eef5f2; }
.nt-menu__cta {
  margin-left: 8px;
}
.nt-menu__cta a {
  display: inline-block; padding: 10px 20px; border-radius: 999px;
  background: var(--nt-gold); color: #fff; font-weight: 600; white-space: nowrap;
}
.nt-menu__cta a:hover { background: var(--nt-gold-d); color: #fff; }

/* ---------- Hero ---------- */
.nt-hero {
  position: relative;
  background: linear-gradient(135deg, var(--nt-green-d) 0%, var(--nt-green) 60%, var(--nt-green-l) 100%);
  color: #fff;
  overflow: hidden;
}
.nt-hero__inner {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
  align-items: center; padding: 64px 20px;
}
.nt-hero__eyebrow {
  display: inline-block; padding: 6px 14px; border: 1px solid rgba(217,164,65,.6);
  border-radius: 999px; color: var(--nt-gold); font-size: 13px; letter-spacing: 1px;
  margin-bottom: 20px;
}
.nt-hero h1 { font-size: 38px; line-height: 1.3; margin-bottom: 18px; font-weight: 700; }
.nt-hero__slogan { font-size: 17px; color: #dcebe5; margin-bottom: 12px; }
.nt-hero__info { font-size: 14.5px; color: #b9d3ca; margin-bottom: 24px; }
.nt-hero__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.nt-hero__tag {
  padding: 7px 16px; background: rgba(255,255,255,.12); border-radius: 8px; font-size: 13.5px;
}
.nt-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.nt-btn {
  display: inline-block; padding: 13px 28px; border-radius: 10px; font-weight: 600; font-size: 15.5px;
}
.nt-btn--gold { background: var(--nt-gold); color: #fff; }
.nt-btn--gold:hover { background: var(--nt-gold-d); color: #fff; }
.nt-btn--ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.nt-btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.nt-hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.nt-stat {
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--nt-radius); padding: 22px;
}
.nt-stat__num { font-size: 30px; font-weight: 700; color: var(--nt-gold); }
.nt-stat__label { font-size: 15px; margin: 4px 0; }
.nt-stat__desc { font-size: 13px; color: #b9d3ca; }

/* ---------- 通用区块 ---------- */
.nt-section { padding: 56px 0; }
.nt-section--alt { background: var(--nt-card); }
.nt-section-head { text-align: center; margin-bottom: 36px; }
.nt-section-head h2 { font-size: 28px; color: var(--nt-green-d); margin-bottom: 10px; }
.nt-section-head p { color: var(--nt-mut); max-width: 640px; margin: 0 auto; }
.nt-section-head .nt-more {
  display: inline-block; margin-top: 12px; color: var(--nt-green); font-weight: 500;
}
.nt-section-head .nt-more:hover { color: var(--nt-gold-d); }

/* ---------- 班型 / 卡片网格 ---------- */
.nt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nt-card {
  background: var(--nt-card); border-radius: var(--nt-radius); overflow: hidden;
  box-shadow: var(--nt-shadow); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.nt-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(20,63,53,.16); }
.nt-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--nt-line); }
.nt-card__img img { width: 100%; height: 100%; object-fit: cover; }
.nt-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nt-card__body h3 { font-size: 17px; }
.nt-card__body h3 a { color: var(--nt-text); }
.nt-card__body h3 a:hover { color: var(--nt-green); }
.nt-card__meta { font-size: 13.5px; color: var(--nt-mut); }
.nt-card__desc { font-size: 14px; color: var(--nt-mut); flex: 1; }
.nt-card__link { margin-top: 8px; color: var(--nt-green); font-weight: 500; font-size: 14px; }

/* ---------- 关于双栏 ---------- */
.nt-about { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.nt-about__photo { border-radius: var(--nt-radius); overflow: hidden; box-shadow: var(--nt-shadow); }
.nt-about__copy h3 { font-size: 22px; color: var(--nt-green-d); margin-bottom: 14px; }
.nt-about__copy p { color: var(--nt-mut); margin-bottom: 14px; }
.nt-about__hotline { font-size: 16px; font-weight: 600; }
.nt-about__hotline a { color: var(--nt-green); }

/* ---------- 内容 tab 切换 ---------- */
.nt-tabs {
  display: flex; gap: 6px; margin-bottom: 30px;
  border-bottom: 1px solid var(--nt-line);
}
.nt-tab {
  padding: 12px 22px; font-size: 16px; font-weight: 600;
  color: var(--nt-mut); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.nt-tab:hover { color: var(--nt-green); }
.nt-tab.is-active { color: var(--nt-green); border-bottom-color: var(--nt-gold); }
.nt-tab-pane.is-hide { display: none; }
.nt-tab-block { margin-top: 42px; }
.nt-tab-block .nt-section-head { margin-bottom: 24px; }
.nt-tab-col .nt-grid { grid-template-columns: repeat(2, 1fr); }

/* ---------- 列表页 ---------- */
.nt-page-head {
  background: linear-gradient(135deg, var(--nt-green-d), var(--nt-green));
  color: #fff; padding: 40px 0;
}
.nt-page-head h1 { font-size: 28px; margin-bottom: 8px; }
.nt-breadcrumb { font-size: 13.5px; color: #cfe3dc; }
.nt-breadcrumb a { color: #cfe3dc; }
.nt-breadcrumb a:hover { color: var(--nt-gold); }

.nt-layout { display: grid; grid-template-columns: 1fr 320px; gap: 30px; padding: 40px 0; }
.nt-layout--single { grid-template-columns: 1fr; }

.nt-news-list { display: flex; flex-direction: column; gap: 18px; }
.nt-news-item {
  display: grid; grid-template-columns: 1fr;
  background: var(--nt-card); border-radius: var(--nt-radius); overflow: hidden;
  box-shadow: var(--nt-shadow);
}
.nt-news-item__body { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.nt-news-item__body h3 { font-size: 18px; }
.nt-news-item__body h3 a { color: var(--nt-text); }
.nt-news-item__body h3 a:hover { color: var(--nt-green); }
.nt-news-item__meta { font-size: 13px; color: var(--nt-mut); display: flex; gap: 16px; }
.nt-news-item__desc { font-size: 14px; color: var(--nt-mut); }

/* 纯文字列表（无图栏目） */
.nt-text-list { display: flex; flex-direction: column; }
.nt-text-list li { border-bottom: 1px solid var(--nt-line); }
.nt-text-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px;
}
.nt-text-list a:hover h3 { color: var(--nt-green); }
.nt-text-list h3 { font-size: 16px; font-weight: 500; }
.nt-text-list .nt-date { font-size: 13px; color: var(--nt-mut); white-space: nowrap; }

/* ---------- 分页 ---------- */
.nt-pager { margin-top: 30px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; }
.nt-pager a, .nt-pager span {
  display: inline-block; min-width: 38px; padding: 8px 12px; text-align: center;
  border: 1px solid var(--nt-line); border-radius: 8px; background: var(--nt-card); font-size: 14px;
}
.nt-pager .current, .nt-pager .on, .nt-pager .page-num-current { background: var(--nt-green); color: #fff; border-color: var(--nt-green); }
.nt-pager .page-status { border: 0; background: transparent; color: var(--nt-mut); font-size: 13px; }
.nt-pager a[href="javascript:;"] { color: var(--nt-mut); pointer-events: none; }

/* ---------- 侧栏 ---------- */
.nt-side { display: flex; flex-direction: column; gap: 24px; }
.nt-side__box { background: var(--nt-card); border-radius: var(--nt-radius); padding: 22px; box-shadow: var(--nt-shadow); }
.nt-side__box h3 {
  font-size: 17px; color: var(--nt-green-d); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: 2px solid var(--nt-line);
}
.nt-side__hotline { font-size: 20px; font-weight: 700; color: var(--nt-green); }
.nt-side__hotline small { display: block; font-size: 13px; color: var(--nt-mut); font-weight: 400; margin-top: 4px; }
.nt-side__link { display: block; padding: 10px 0; border-bottom: 1px dashed var(--nt-line); font-size: 14.5px; }
.nt-side__link:last-child { border-bottom: 0; }
.nt-side__link:hover { color: var(--nt-green); }

/* ---------- 详情页 ---------- */
.nt-article { background: var(--nt-card); border-radius: var(--nt-radius); padding: 36px 40px; box-shadow: var(--nt-shadow); }
.nt-article h1 { font-size: 26px; color: var(--nt-green-d); margin-bottom: 14px; line-height: 1.4; }
.nt-article__meta { font-size: 13.5px; color: var(--nt-mut); display: flex; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--nt-line); margin-bottom: 24px; }
.nt-article__content { font-size: 15.5px; line-height: 1.9; }
.nt-article__content img { margin: 14px auto; border-radius: 10px; }
.nt-article__content p { margin-bottom: 14px; }
.nt-article__content h2, .nt-article__content h3 { margin: 20px 0 10px; color: var(--nt-green-d); }
.nt-article__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--nt-line); font-size: 14px; }
.nt-article__nav a { color: var(--nt-mut); max-width: 48%; }
.nt-article__nav a:hover { color: var(--nt-green); }

/* ---------- FAQ ---------- */
.nt-faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.nt-faq__item { background: var(--nt-card); border-radius: var(--nt-radius); padding: 22px 26px; box-shadow: var(--nt-shadow); }
.nt-faq__item h3 { font-size: 16.5px; color: var(--nt-green-d); margin-bottom: 8px; }
.nt-faq__item p { font-size: 14.5px; color: var(--nt-mut); }

/* ---------- 案例 ---------- */
.nt-cases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.nt-case { background: var(--nt-card); border-left: 4px solid var(--nt-gold); border-radius: var(--nt-radius); padding: 22px; box-shadow: var(--nt-shadow); }
.nt-case p { font-size: 14.5px; color: var(--nt-text); }

/* ---------- 页脚 ---------- */
.nt-footer { background: var(--nt-green-d); color: #cfe3dc; margin-top: 56px; }
.nt-footer__inner { padding: 44px 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.nt-footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.nt-footer__nav a { display: inline-block; color: #cfe3dc; margin: 0 14px 10px 0; font-size: 14px; }
.nt-footer__nav a:hover { color: var(--nt-gold); }
.nt-footer__contact { font-size: 14.5px; }
.nt-footer__contact a { color: var(--nt-gold); }
.nt-footer__hotline { font-size: 22px; font-weight: 700; color: var(--nt-gold); margin-bottom: 10px; }
.nt-footer__copy {
  border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; text-align: center;
  font-size: 13px; color: #9fb9b0;
}
.nt-footer__copy a { color: #9fb9b0; }

/* ---------- 浮动咨询 ---------- */
.nt-float {
  position: fixed; right: 24px; bottom: 80px; z-index: 90; display: flex; flex-direction: column; gap: 12px;
}
.nt-float a {
  width: 52px; height: 52px; border-radius: 50%; background: var(--nt-green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; text-align: center;
  box-shadow: var(--nt-shadow);
}
.nt-float a:hover { background: var(--nt-green-l); color: #fff; }

/* ---------- 响应式（PC 收尾，移动端见 wap 样式） ---------- */
@media (max-width: 1080px) {
  .nt-grid { grid-template-columns: repeat(2, 1fr); }
  .nt-cases { grid-template-columns: repeat(2, 1fr); }
  .nt-hero__inner { grid-template-columns: 1fr; }
  .nt-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nt-menu { display: none; }
}
