/* =========================================================
   河南济睿 · 消防设施操作员官网 样式表
   设计语言：消防红/橙渐变 + 专业深色 + 大量留白 + 圆角玻璃拟态
   ========================================================= */

:root {
  --red: #e23428;
  --red-deep: #c0241a;
  --orange: #ff7a18;
  --flame: linear-gradient(135deg, #ff7a18 0%, #e23428 100%);
  --flame-soft: linear-gradient(135deg, #ff9a4d 0%, #f0563f 100%);

  --ink: #0f172a;
  --slate: #475569;
  --muted: #7c889b;
  --line: #e9ecf1;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-deep: #0c1424;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(15, 23, 42, .06);
  --shadow: 0 18px 40px rgba(15, 23, 42, .10);
  --shadow-lg: 0 30px 70px rgba(194, 36, 26, .18);

  --container: 1180px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}
.container--narrow { max-width: 860px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .2s ease, box-shadow .25s ease, background .25s ease, color .2s ease;
  white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary {
  background: var(--flame);
  color: #fff;
  box-shadow: 0 12px 26px rgba(226, 52, 40, .28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(226, 52, 40, .36); }
.btn--ghost {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.btn--outline {
  color: var(--red-deep);
  background: rgba(255,255,255,.78);
  border-color: rgba(226,52,40,.34);
  box-shadow: 0 8px 20px rgba(15,23,42,.07);
}
.btn--outline:hover { transform: translateY(-2px); background: #fff; border-color: var(--red); box-shadow: var(--shadow-sm); }
.btn--light {
  background: #fff;
  color: var(--red-deep);
  box-shadow: var(--shadow);
}
.btn--light:hover { transform: translateY(-2px); }

/* ---------- 顶部公告条 ---------- */
.topbar {
  background: #23466b;
  color: #e3ebf4;
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
}
.topbar__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 24, .25);
  flex: none;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.topbar__link { color: var(--orange); font-weight: 700; }
.topbar__link:hover { text-decoration: underline; }
.topbar__phone {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.topbar__phone:hover { color: #ffd9c7; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.nav.is-scrolled {
  box-shadow: var(--shadow-sm);
  border-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; }
.brand__logo-img {
  height: 36px; width: auto;
  object-fit: contain;
}
@media (max-width:680px){
  .brand__logo-img { height: 30px; }
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text strong { font-size: 17px; font-weight: 900; letter-spacing: .5px; }
.brand__text em { font-style: normal; font-size: 11.5px; color: var(--muted); letter-spacing: 1px; }

.nav__menu { display: flex; align-items: center; gap: 2px; }
.nav__menu a {
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--red); background: var(--bg-soft); }
.nav__menu a.active {
  color: var(--red);
  background: rgba(226, 52, 40, .1);
  font-weight: 700;
}
.nav__cta {
  background: var(--flame) !important;
  color: #fff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(226, 52, 40, .25);
}
.nav__cta:hover { transform: translateY(-1px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 70px 0 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(255, 122, 24, .12), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.hero__glow--1 { width: 420px; height: 420px; background: rgba(255, 122, 24, .35); top: -120px; right: 8%; }
.hero__glow--2 { width: 380px; height: 380px; background: rgba(226, 52, 40, .3); bottom: -120px; left: -80px; }
.hero__glow--3 { width: 300px; height: 300px; background: rgba(255, 180, 80, .25); top: 40%; left: 45%; }

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--red-deep);
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: var(--shadow-sm);
}
.hero__title {
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.18;
  font-weight: 900;
  margin: 22px 0 18px;
  letter-spacing: -0.5px;
}
.grad {
  background: var(--flame);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 17px;
  color: var(--slate);
  max-width: 540px;
}
.hero__actions { display: flex; gap: 14px; margin: 28px 0 22px; flex-wrap: wrap; }
.hero__points { display: flex; gap: 22px; flex-wrap: wrap; color: var(--slate); font-size: 14.5px; }
.hero__points li { display: flex; align-items: center; gap: 7px; }
.tick {
  display: inline-grid; place-items: center;
  width: 20px; height: 20px;
  background: var(--flame);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.hero__card { position: relative; }
.hero__img {
  width: 100%;
  height: 100%;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}
.ph--hero {
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
}

/* ---------- 占位图（图片素材标记） ---------- */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  background:
    repeating-linear-gradient(45deg, #eef1f6 0 12px, #e7ebf2 12px 24px);
  border: 2px dashed #c7cfdc;
  border-radius: var(--radius);
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.ph svg { opacity: .55; }
.ph span { font-weight: 700; color: var(--slate); font-size: 14px; }
.ph em { font-style: normal; font-size: 12px; color: var(--muted); }
.ph::after {
  content: "图片占位 · 待替换";
  position: absolute;
  top: 10px; right: 10px;
  font-size: 11px;
  color: #fff;
  background: rgba(15, 23, 42, .55);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: .5px;
}
.ph--g { aspect-ratio: 4 / 3; }
.gallery__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}
.ph--news { aspect-ratio: 16 / 9; border-radius: var(--radius-sm); margin-bottom: 14px; }
.ph--qr { width: 150px; height: 150px; border-radius: var(--radius-sm); margin-top: 14px; }

/* ---------- 数据条 ---------- */
.stats {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.stat { text-align: center; }
.stat__num { font-size: 38px; font-weight: 900; color: var(--red); line-height: 1; }
.stat__suffix { font-size: 22px; font-weight: 800; color: var(--red); }
.stat p { margin-top: 8px; color: var(--slate); font-size: 14px; }

/* ---------- 通用 section ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.25;
  text-wrap: balance;
}
.section__lead { margin-top: 14px; color: var(--slate); font-size: 16px; text-wrap: balance; }

/* ---------- 关于 ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about__text p { font-size: 16px; color: var(--slate); }
.checklist { margin: 20px 0 26px; display: grid; gap: 12px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.about__media { position: relative; }
.about__img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  display: block;
}
.about__chips { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.chip {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--red-deep);
  box-shadow: var(--shadow-sm);
}

/* ---------- 课程 Tabs ---------- */
.tabs {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.tabs__nav { display: flex; gap: 4px; padding: 10px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.tabs__btn {
  flex: 1;
  padding: 14px 10px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  color: var(--slate);
  cursor: pointer;
  transition: .2s;
}
.tabs__btn:hover { color: var(--red); }
.tabs__btn.is-active { background: var(--flame); color: #fff; box-shadow: 0 10px 22px rgba(226,52,40,.28); }

.tabs__panel { display: none; padding: 34px; }
.tabs__panel.is-active { display: block; animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.course { display: grid; grid-template-columns: 1.6fr .8fr; gap: 30px; align-items: start; }
.course__main h3 { font-size: 22px; font-weight: 900; }
.course__desc { color: var(--slate); margin: 12px 0 18px; }
.course__meta { margin-top: 20px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--slate); font-size: 14.5px; font-weight: 600; }
.course__notice {
  margin-top: 18px;
  padding: 12px 14px;
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  background: #fff7f2;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.75;
}
.course__side {
  background: linear-gradient(180deg, #fff7f2, #fff);
  border: 1px solid #ffd9c7;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: sticky;
  top: 90px;
}
.price { margin-bottom: 18px; }
.price__label { display: block; color: var(--muted); font-size: 13px; }
.price__num { display: block; font-size: 34px; font-weight: 900; color: var(--red); margin: 4px 0; }
.price__note { font-size: 12.5px; color: var(--muted); }

.dirgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.dircard {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.dircard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dircard__icon { font-size: 30px; }
.dircard h4 { margin: 10px 0 6px; font-size: 18px; }
.dircard p { color: var(--slate); font-size: 14.5px; }

/* ---------- 优势网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #ffd2c4; }
.feature__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px;
  font-size: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff0e8, #ffe2d4);
  margin: 0 auto 16px;
}
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--slate); font-size: 14.5px; }

/* ---------- 图集 ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.step::before {
  content: "";
  position: absolute;
  top: 38px; right: -12px;
  width: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, #ffb38a 0 5px, transparent 5px 10px);
}
.step:last-child::before { display: none; }
.step__no {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--flame);
  color: #fff;
  font-weight: 900;
  font-size: 17px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 20px rgba(226,52,40,.25);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 14.5px; }

/* ---------- 学员评价 ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s, box-shadow .25s;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.quote blockquote { font-size: 16px; color: var(--ink); line-height: 1.75; position: relative; }
.quote blockquote::before { content: "\201C"; font-size: 46px; color: #ffc7b3; line-height: 0; position: relative; top: 14px; margin-right: 4px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--flame); color: #fff;
  display: grid; place-items: center; font-weight: 800; flex: none;
}
.quote figcaption strong { display: block; font-size: 15px; }
.quote figcaption em { font-style: normal; color: var(--muted); font-size: 13px; }

/* ---------- 新闻 ---------- */
.news {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.news:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news__body { padding: 20px 22px 24px; }
.news__tag {
  display: inline-block;
  background: #fff0e8;
  color: var(--red-deep);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.news__body h3 { font-size: 17px; line-height: 1.45; margin-bottom: 8px; }
.news__body p { color: var(--slate); font-size: 14px; }
.news__body time { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; }
.news-more { text-align: center; margin-top: 38px; }

/* ---------- 内页通用头部 ---------- */
.page-head {
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-head .crumb { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.page-head .crumb a { color: var(--muted); }
.page-head .crumb a:hover { color: var(--red); }
.page-head h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.5px; }
.page-head .lead { margin-top: 10px; color: var(--slate); font-size: 16px; max-width: 720px; }

/* ---------- 文章详情 ---------- */
.article { max-width: 800px; margin: 0 auto; padding: 48px 22px 64px; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 22px; color: var(--red); font-weight: 600; font-size: 14px;
}
.back-link:hover { text-decoration: underline; }
.article__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.article__date { color: var(--muted); font-size: 14px; }
.article h1 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 900; line-height: 1.3; margin-bottom: 16px; }
.article__cover { margin: 8px 0 28px; }
.article__body { font-size: 16.5px; color: #2b3344; line-height: 1.95; }
.article__body p { margin-bottom: 18px; }
.article__body h3 { font-size: 20px; font-weight: 800; margin: 28px 0 12px; }
.article__body ul { padding-left: 22px; list-style: disc; margin-bottom: 18px; }
.article__body li { margin-bottom: 8px; color: var(--slate); }
.related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 30px; }
.related h4 { font-size: 17px; margin-bottom: 18px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq__item.is-open { border-color: #ffc7b3; box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__icon { font-size: 22px; color: var(--red); flex: none; transition: transform .3s; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq__a p { padding: 0 22px 20px; color: var(--slate); font-size: 15px; }

/* ---------- 联系我们 ---------- */
.contact { background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact__list { margin: 22px 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.ci { font-size: 22px; width: 44px; height: 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); flex: none; }
.contact__list strong { display: block; font-size: 15px; }
.contact__list em { font-style: normal; color: var(--muted); font-size: 13.5px; }
.contact__phone {
  display: inline-block; font-size: 17px; font-weight: 700;
  color: var(--red); text-decoration: none; margin-top: 2px;
}
.contact__phone:hover { color: var(--orange); }

.contact__form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
}
.contact__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact__card h3 {
  font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 10px;
}
.contact__card p {
  font-size: 14.5px; color: var(--muted); line-height: 1.7; margin-bottom: 20px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color .2s, background .2s;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.contact__hint { margin-top: 12px; font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- 底部 CTA ---------- */
.cta {
  background: var(--flame);
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta::before, .cta::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.12);
}
.cta::before { width: 320px; height: 320px; top: -120px; left: -80px; }
.cta::after { width: 260px; height: 260px; bottom: -120px; right: -60px; }
.cta__inner { text-align: center; position: relative; z-index: 1; }
.cta__inner h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; }
.cta__inner p { margin: 12px 0 26px; opacity: .95; font-size: 16px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--bg-deep); color: #aab4c5; padding: 56px 0 22px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.brand--light .brand__text strong { color: #fff; }
.brand--light .brand__text em { color: #8a96aa; }
.brand--light .brand__logo-img {
  height: 38px;
  background: #fff;
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
}
.footer__about { margin-top: 14px; font-size: 14px; max-width: 320px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer__col a, .footer__col p { display: block; font-size: 14px; color: #aab4c5; margin-bottom: 9px; transition: color .2s; }
.footer__col a:hover { color: var(--orange); }
.footer__phone { color: var(--orange); text-decoration: none; font-weight: 600; }
.footer__phone:hover { color: #fff; }
  .footer__bottom {
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
    margin-top: 38px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px; color: #7e8aa0;
  }
  .footer__compliance {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .footer__note {
    margin-top: 16px; padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.06);
    font-size: 12px; color: #6e7aa0; line-height: 1.7;
  }

/* ---------- 滚动揭示动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 980px) {
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: #fff;
    padding: 14px 18px 22px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: 13px 14px; font-size: 15px; }
  .nav__toggle { display: flex; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__card { max-width: 460px; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .course { grid-template-columns: 1fr; }
  .course__side { position: static; }
  .contact__grid { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .dirgrid { grid-template-columns: repeat(2, 1fr); }
  .step::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .topbar__inner { font-size: 12px; }
  .topbar__text { display: none; }
  .topbar__dot { display: none; }
  .topbar__phone { font-size: 12.5px; }
  .topbar__link { font-size: 12.5px; }
  .nav__menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 14px 18px 22px;
    box-shadow: var(--shadow);
    border-top: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: 13px 14px; }
  .nav__toggle { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .dirgrid { grid-template-columns: 1fr; }
  .footer { padding: 44px 0 26px; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__col h4 { margin-bottom: 10px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 30px;
    padding-top: 18px;
    line-height: 1.7;
  }
  .footer__note { font-size: 11.5px; line-height: 1.8; }
  .section { padding: 64px 0; }
  .tabs__nav { flex-direction: column; }
  .tabs__panel { padding: 24px 18px; }
  .hero { padding-top: 48px; }
  .hero__title { font-size: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ====== 悬浮工具栏 ====== */
.float-bar {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 999;
  display: none;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,.10), 0 1px 3px rgba(0,0,0,.06);
  overflow: visible;
  border: 1px solid rgba(0,0,0,.06);
}
.fb-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 56px;
  height: 56px;
  color: #666;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  border-bottom: 1px solid #f0f0f0;
}
.fb-item:last-child { border-bottom: none; border-radius: 0 0 14px 14px; }
.fb-item:first-child { border-radius: 14px 14px 0 0; }
.fb-item:hover {
  color: #fff;
  background: var(--red, #c0392b);
}
.fb-icon { transition: transform .2s; }
.fb-item:hover .fb-icon { transform: scale(1.1); }
.fb-label {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  opacity: .8;
}

/* --- 电话悬浮提示（仅PC端显示） --- */
.fb-tip {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
  z-index: 1000;
  letter-spacing: .5px;
}
.fb-tip::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: var(--ink);
  rotate: 45deg;
}
/* PC端悬浮电话图标时显示号码 */
@media (hover: hover) {
  .fb-call:hover .fb-tip {
    opacity: 1;
    visibility: visible;
  }
}

/* ---------- 404 页面 ---------- */
.not-found--fire {
  position: relative;
  min-height: max(620px, calc(100svh - 260px));
  display: grid;
  align-items: center;
  padding: 92px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 13% 20%, rgba(255, 122, 24, .17), transparent 26%),
    linear-gradient(135deg, #fff8f4 0%, #fff 54%, #f2f5f8 100%);
}
.not-found--fire::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .55;
  background: repeating-linear-gradient(135deg, transparent 0 34px, rgba(226,52,40,.035) 34px 68px);
}
.not-found__layout { position: relative; display: grid; grid-template-columns: minmax(290px, .9fr) minmax(370px, 1.1fr); align-items: center; gap: clamp(55px, 8vw, 110px); }
.not-found__signal { position: relative; min-height: 330px; display: grid; place-content: center; text-align: center; color: #fff; border-radius: 34px; background: var(--bg-deep); box-shadow: 28px 28px 0 rgba(226,52,40,.11), var(--shadow); overflow: hidden; }
.not-found__signal::before { content: ""; position: absolute; width: 250px; height: 250px; top: -90px; right: -80px; border-radius: 50%; background: var(--flame); filter: blur(1px); opacity: .72; }
.not-found__signal::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 24px; }
.not-found__signal strong { position: relative; z-index: 1; font-family: Georgia, serif; font-size: clamp(112px, 16vw, 210px); font-weight: 400; line-height: .82; letter-spacing: -.08em; }
.not-found__signal span { position: relative; z-index: 1; margin-top: 25px; color: #ffc4a6; font-size: 10px; font-weight: 800; letter-spacing: .3em; }
.not-found__content { max-width: 590px; }
.not-found__eyebrow { color: var(--red-deep); font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.not-found__content h1 { margin: 20px 0 18px; color: var(--ink); font-size: clamp(44px, 6vw, 72px); line-height: 1.1; letter-spacing: -.045em; }
.not-found__content > p { max-width: 540px; color: var(--slate); font-size: 15px; line-height: 1.95; }
.not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.not-found__secondary { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 27px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: #fff; font-size: 14px; font-weight: 700; transition: transform .2s, border-color .2s; }
.not-found__secondary:hover { transform: translateY(-2px); border-color: var(--orange); }
.not-found__links { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.not-found__links a { color: var(--slate); font-size: 13px; font-weight: 600; }
.not-found__links a::after { content: " ↗"; color: var(--red); }
.not-found__links a:hover { color: var(--red-deep); }
@media (max-width: 820px) {
  .not-found--fire { min-height: 0; padding: 72px 0 92px; }
  .not-found__layout { grid-template-columns: 1fr; gap: 58px; }
  .not-found__signal { min-height: 250px; max-width: 470px; width: 100%; }
}
@media (max-width: 520px) {
  .not-found--fire { padding: 58px 0 78px; }
  .not-found__signal { min-height: 210px; }
  .not-found__content h1 { font-size: 42px; }
  .not-found__actions { display: grid; }
  .not-found__actions a { width: 100%; }
}


/* --- 微信图标：脉冲引导点 + 悬停变色 --- */
.fb-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(226, 52, 40, .6);
  animation: fbPulse 2s ease-in-out infinite;
}
@keyframes fbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 52, 40, .6); }
  50% { box-shadow: 0 0 0 10px rgba(226, 52, 40, 0); }
}
/* 悬停微信时：变绿 + 隐藏脉冲点 */
.fb-wechat:hover { background: #07c160; }
.fb-wechat:hover .fb-dot { animation: none; opacity: 0; }

/* --- 微信引导气泡（首次出现后 6s 消失，点击后也消失） --- */
.fb-wechat::before {
  content: "点此咨询";
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 1000;
  animation: fbGuideIn 0.4s ease 0.8s forwards, fbGuideOut 0.4s ease 5s forwards;
}
.fb-wechat::after {
  content: "";
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--red);
  rotate: 45deg;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1000;
  animation: fbGuideIn 0.4s ease 0.8s forwards, fbGuideOut 0.4s ease 5s forwards;
}
@keyframes fbGuideIn {
  to { opacity: 1; visibility: visible; }
}
@keyframes fbGuideOut {
  to { opacity: 0; visibility: hidden; }
}
/* 移入即隐藏引导提示 */
.fb-wechat:hover::before,
.fb-wechat:hover::after { animation: none; opacity: 0; visibility: hidden; }
@media (max-width:680px) {
  .float-bar { right: 8px; bottom: 40px; border-radius: 12px; }
  .fb-item { width: 46px; height: 46px; }
  .fb-label { font-size: 9px; }
  .fb-tip { right: 52px; font-size: 13px; padding: 6px 12px; }
}

/* ====== 分页 ====== */
.pagination-wrap { display: flex; justify-content: center; align-items: center; gap: 6px; max-width: 100%; margin-top: 32px; flex-wrap: wrap; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 6px; background: #fff; color: #333; text-decoration: none; white-space: nowrap; font-size: 14px; border: 1px solid #ddd; transition: all 0.2s; }
.pg-btn:hover { border-color: #c0392b; color: #c0392b; }
.pg-active { background: #c0392b !important; color: #fff !important; border-color: #c0392b !important; }
.pg-ellipsis { min-width: 28px; padding: 0 4px; color: #888; background: transparent; border-color: transparent; }

@media (max-width: 600px) {
  .pagination-wrap { gap: 4px; margin-top: 24px; }
  .pg-btn { min-width: 32px; height: 32px; padding: 0 7px; font-size: 13px; }
  .pg-nav { width: 32px; padding: 0; font-size: 18px; }
  .pg-nav-label, .pg-ellipsis { display: none; }
}

/* ====== 新闻分类Tab ====== */
.news-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.news-tab { padding: 8px 20px; border-radius: 20px; background: #f5f5f5; color: #555; text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; }
.news-tab:hover, .news-tab.active { background: #c0392b; color: #fff; }

/* ====== 新闻空状态 ====== */
.news-empty { text-align: center; padding: 60px 20px; color: #999; grid-column: 1 / -1; }

/* ====== 新闻封面图 ====== */
.news__cover { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius, 12px); }

/* 无封面时的占位图（与 cover 同尺寸同圆角，保证卡片高度一致） */
.news__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius, 12px);
  background:
    radial-gradient(120px 80px at 78% 18%, rgba(255, 122, 24, .16), transparent 70%),
    linear-gradient(135deg, #fff3ec 0%, #ffe2d4 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  overflow: hidden;
}
.news__placeholder svg {
  width: 40px; height: 40px;
  color: rgba(226, 52, 40, .42);
}
.news__placeholder span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(194, 36, 26, .55);
}

/* ====== 详情页封面 ====== */
.article__cover-img { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--radius, 12px); margin: 16px 0; }

/* =========================================================
   高大上动效升级 v1.0（2026-08-10）
   1. Hero 光晕呼吸  2. 渐变文字流动  3. 按钮流光
   4. 3D 卡片倾斜  5. 图标动效  6. 图片 hover
   7. 导航毛玻璃增强  8. CTA 流动渐变
   尊重 prefers-reduced-motion（全局 animation 已被关闭）
   ========================================================= */

/* 1. Hero 光晕呼吸 */
.hero__glow--1 { animation: glowFloat 9s ease-in-out infinite; }
.hero__glow--2 { animation: glowFloat 12s ease-in-out infinite reverse; }
.hero__glow--3 { animation: glowFloat 15s ease-in-out infinite; }
@keyframes glowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: .45; }
  50% { transform: translate(28px, -22px) scale(1.15); opacity: .75; }
}

/* 2. 渐变文字流动 */
.grad {
  background: linear-gradient(100deg, #ff7a18, #e23428, #ffb25e, #e23428, #ff7a18);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift { to { background-position: 220% center; } }

/* 3. 主按钮流光 */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -75%;
  width: 45%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-22deg);
  pointer-events: none;
}
.btn--primary:hover::after { animation: btnShine .75s ease; }
@keyframes btnShine { to { left: 135%; } }

/* 4. 3D 卡片倾斜（transform 由 main.js 控制，此处提供过渡） */
.feature, .step {
  transition: transform .18s ease-out, box-shadow .3s ease, border-color .3s ease;
}

/* 5. 图标/序号动效 */
.feature:hover .feature__icon,
.dircard:hover .dircard__icon,
.step:hover .step__no { animation: iconWiggle .55s ease; }
@keyframes iconWiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  30% { transform: rotate(-9deg) scale(1.12); }
  65% { transform: rotate(7deg) scale(1.08); }
}

/* 6. 图片 hover 缩放 + 光影 */
.gallery { overflow: hidden; }
.gallery__img, .hero__img, .about__img {
  transition: transform .7s ease, box-shadow .7s ease;
}
.gallery__img:hover { transform: scale(1.06); }
.hero__img:hover { transform: scale(1.04); }
.about__img:hover { transform: scale(1.04); }
.hero__card { overflow: hidden; border-radius: var(--radius-lg); }
.about__media { overflow: hidden; border-radius: var(--radius-lg); }

/* 7. 导航毛玻璃增强（滚动后更通透） */
.nav.is-scrolled {
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(20px) saturate(1.5);
}

/* 8. CTA 深色区流动渐变 */
.cta {
  background: linear-gradient(115deg, #ff8a2a, #ff4d2e, #e23428, #c0241a, #ff8a2a);
  background-size: 300% 100%;
  animation: ctaFlow 14s linear infinite;
}
@keyframes ctaFlow { 0% { background-position: 0% 0; } 100% { background-position: 300% 0; } }

/* 9. 移动端导航防抖：禁用毛玻璃（低端机 backdrop-filter 滚动会掉帧抖动）
   桌面端保留毛玻璃，移动端用接近纯白的实底，保证滚动顺滑 */
@media (max-width: 680px) {
  .nav,
  .nav.is-scrolled {
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* =========================================================
   主导航二级页（2026-08-31）
   ========================================================= */
.section-actions { display: flex; justify-content: center; margin-top: 34px; }
.detail-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px; border: 1px solid #f1c8bf; border-radius: 999px;
  color: var(--red-deep); background: #fff; font-size: 14px; font-weight: 800;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.detail-link span { font-size: 18px; transition: transform .2s; }
.detail-link:hover { transform: translateY(-2px); border-color: #ed9d8d; box-shadow: var(--shadow); }
.detail-link:hover span { transform: translateX(4px); }

.inner-page { min-height: 60vh; }
.inner-hero {
  position: relative; overflow: hidden; padding: 68px 0;
  color: #fff;
  background:
    radial-gradient(720px 420px at 82% 12%, rgba(255,122,24,.26), transparent 65%),
    radial-gradient(620px 380px at 8% 100%, rgba(226,52,40,.18), transparent 70%),
    linear-gradient(135deg, #0b1527 0%, #16263e 56%, #1e304a 100%);
}
.inner-hero--compact { padding: 60px 0; }
.inner-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 54px; }
.inner-hero__content .crumb { margin-bottom: 18px; color: #91a3bd; font-size: 13px; }
.inner-hero__content .crumb a { color: #cbd5e1; }
.inner-hero__content .eyebrow { color: #ffad79; }
.inner-hero__content h1 { max-width: 700px; margin-top: 12px; font-size: clamp(34px, 5vw, 54px); line-height: 1.2; letter-spacing: -1.4px; }
.inner-hero__content > p { max-width: 650px; margin-top: 20px; color: #cbd5e1; font-size: 17px; line-height: 1.9; }
.inner-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.inner-hero__media { position: relative; padding: 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 35px 75px rgba(0,0,0,.3); }
.inner-hero__media::after { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.15); border-radius: 19px; pointer-events: none; }
.inner-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 19px; }

.page-head--rich {
  padding: 62px 0 50px; color: #fff; border: 0;
  background:
    radial-gradient(680px 280px at 80% 0, rgba(255,122,24,.24), transparent 68%),
    linear-gradient(135deg, #0c1729, #1d314c);
}
.page-head--rich .crumb, .page-head--rich .crumb a { color: #9eb0c8; }
.page-head--rich .eyebrow { color: #ffae79; }
.page-head--rich h1 { max-width: 850px; margin-top: 10px; font-size: clamp(32px, 5vw, 48px); line-height: 1.25; }
.page-head--rich .lead { color: #cbd5e1; max-width: 780px; line-height: 1.85; }

.split-story { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; align-items: start; }
.split-story__main h2 { margin: 10px 0 20px; font-size: clamp(27px, 4vw, 40px); line-height: 1.35; }
.split-story__main p { margin-bottom: 16px; color: var(--slate); font-size: 16px; line-height: 1.95; }
.fact-panel { padding: 12px 28px 26px; border-radius: var(--radius-lg); background: #111f34; color: #fff; box-shadow: var(--shadow); }
.fact-panel div { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.fact-panel strong { display: block; color: #ffaf7d; font-size: 19px; }
.fact-panel span { display: block; margin-top: 3px; color: #aebdd0; font-size: 14px; }
.fact-panel a { display: inline-block; margin-top: 22px; color: #fff; font-size: 14px; font-weight: 700; }

.content-grid { display: grid; gap: 20px; }
.content-grid--3 { grid-template-columns: repeat(3, 1fr); }
.content-grid--4 { grid-template-columns: repeat(4, 1fr); }
.content-card { min-height: 100%; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.content-card__no { display: block; margin-bottom: 20px; color: #e7a18e; font-size: 13px; font-weight: 900; letter-spacing: 2px; }
.content-card h3 { margin-bottom: 10px; font-size: 19px; }
.content-card p { color: var(--slate); font-size: 14.5px; line-height: 1.8; }

.journey { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.journey > div { position: relative; padding: 30px 24px; }
.journey > div + div { border-left: 1px solid var(--line); }
.journey b { display: block; color: var(--red); font-size: 13px; letter-spacing: 1px; }
.journey h3 { margin: 11px 0 8px; font-size: 18px; }
.journey p { color: var(--slate); font-size: 14px; }

.policy-alert-section { padding-bottom: 24px; }
.policy-alert { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; padding: 22px 24px; border: 1px solid #ffd1aa; border-radius: var(--radius); background: #fff8f0; }
.policy-alert > span { padding: 6px 11px; border-radius: 999px; background: var(--flame); color: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.policy-alert strong { font-size: 17px; }
.policy-alert p { margin-top: 5px; color: #6b5145; font-size: 14px; }
.policy-alert > a { color: var(--red-deep); font-size: 14px; font-weight: 800; white-space: nowrap; }

.course-detail { display: grid; grid-template-columns: .34fr .66fr; gap: 54px; align-items: start; }
.course-detail--reverse .course-detail__label { background: linear-gradient(145deg, #18283e, #243a58); }
.course-detail__label { position: sticky; top: 96px; padding: 34px; border-radius: var(--radius-lg); background: var(--flame); color: #fff; box-shadow: var(--shadow-lg); }
.course-detail__label span { display: block; font-size: 12px; font-weight: 900; letter-spacing: 2px; opacity: .72; }
.course-detail__label strong { display: block; margin: 12px 0 4px; font-size: 42px; line-height: 1; }
.course-detail__label em { font-style: normal; font-size: 14px; opacity: .85; }
.course-detail__body h2 { font-size: clamp(26px, 4vw, 38px); line-height: 1.35; }
.course-detail__body > p { margin: 16px 0 22px; color: var(--slate); font-size: 16px; line-height: 1.9; }
.course-detail__body h3 { margin: 28px 0 8px; font-size: 18px; }
.skill-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.skill-list span { padding: 13px 15px; border-radius: 11px; background: #fff; border: 1px solid var(--line); color: #334155; font-size: 14px; }
.skill-list span::before { content: "✓"; margin-right: 8px; color: var(--red); font-weight: 900; }

.advantage-stack { display: grid; gap: 22px; max-width: 980px; margin: 0 auto; }
.advantage-row { display: grid; grid-template-columns: 100px 1fr; gap: 30px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.advantage-row > span { align-self: start; color: #f0b5a6; font-size: 44px; font-weight: 900; line-height: 1; }
.advantage-row h2 { font-size: 25px; }
.advantage-row p { margin: 8px 0 14px; color: var(--slate); }
.advantage-row ul { display: flex; gap: 8px; flex-wrap: wrap; }
.advantage-row li { padding: 6px 10px; border-radius: 999px; background: #fff2ed; color: #874033; font-size: 13px; }

.environment-list { display: grid; gap: 68px; }
.environment-item { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.environment-item--reverse img { order: 2; }
.environment-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.environment-item > div > span { color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: 1.5px; }
.environment-item h2 { margin: 8px 0 14px; font-size: 30px; }
.environment-item > div > p { margin-bottom: 20px; color: var(--slate); line-height: 1.9; }

.application-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.application-nav a { padding: 9px 16px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #d7e0ec; font-size: 14px; font-weight: 700; }
.application-nav a:hover, .application-nav a.active { border-color: transparent; background: #fff; color: var(--red-deep); }
.application-categories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 38px; }
.application-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.application-card:hover { transform: translateY(-6px); border-color: #f3b7a8; box-shadow: var(--shadow); }
.application-card > span { color: #edb1a2; font-size: 27px; font-weight: 900; }
.application-card em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 800; letter-spacing: 1.5px; }
.application-card h2 { margin: 7px 0 10px; font-size: 23px; }
.application-card p { color: var(--slate); font-size: 14px; line-height: 1.8; }
.application-card b { display: inline-block; margin-top: 18px; color: var(--red-deep); font-size: 14px; }

.official-links { display: grid; grid-template-columns: 1fr .9fr; gap: 60px; align-items: center; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.official-links h2 { margin: 8px 0 12px; font-size: 28px; }
.official-links p { color: var(--slate); }
.official-links__actions { display: grid; gap: 10px; }
.official-links__actions a { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; font-weight: 700; }
.official-links__actions a:hover { border-color: #f0aa99; color: var(--red-deep); }

.process-timeline { max-width: 980px; }
.process-stage { display: grid; grid-template-columns: 92px 1fr; gap: 28px; position: relative; padding-bottom: 44px; }
.process-stage::before { content: ""; position: absolute; top: 55px; bottom: 0; left: 30px; width: 1px; background: #ead9d5; }
.process-stage:last-child { padding-bottom: 0; }
.process-stage:last-child::before { display: none; }
.process-stage > span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: var(--flame); color: #fff; font-weight: 900; box-shadow: 0 10px 25px rgba(226,52,40,.25); }
.process-stage h2 { font-size: 24px; }
.process-stage p { margin-top: 8px; color: var(--slate); line-height: 1.85; }
.stage-note { margin-top: 14px; padding: 12px 15px; border-left: 3px solid var(--orange); border-radius: 0 10px 10px 0; background: #fff7ef; color: #725246; font-size: 13.5px; }
.text-link { display: inline-block; margin-top: 12px; color: var(--red-deep); font-size: 14px; font-weight: 800; }

.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.download-card { display: flex; flex-direction: column; min-height: 360px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.download-card__type { align-self: flex-start; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: #fff0ea; color: var(--red-deep); font-size: 13px; font-weight: 900; letter-spacing: 1px; }
.download-card > div { display: flex; flex: 1; flex-direction: column; }
.download-card em { margin-top: 24px; color: var(--muted); font-size: 12px; font-style: normal; }
.download-card h2 { margin: 6px 0 10px; font-size: 21px; line-height: 1.45; }
.download-card p { color: var(--slate); font-size: 14px; }
.download-card a { margin-top: auto; padding-top: 22px; color: var(--red-deep); font-size: 14px; font-weight: 900; }
.download-card a span { font-size: 18px; }
.privacy-note { margin-top: 28px; padding: 20px 22px; border-radius: var(--radius); background: #f3f6fa; }
.privacy-note strong { display: block; margin-bottom: 5px; }
.privacy-note p { color: var(--slate); font-size: 14px; }

.exam-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.exam-block { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.exam-block > span { color: #edb1a2; font-size: 34px; font-weight: 900; line-height: 1; }
.exam-block em { color: var(--muted); font-size: 11px; font-style: normal; font-weight: 900; letter-spacing: 1.6px; }
.exam-block h2 { margin: 8px 0 12px; font-size: 25px; }
.exam-block p { color: var(--slate); }
.exam-block ul { display: grid; gap: 7px; margin-top: 18px; }
.exam-block li { position: relative; padding-left: 17px; color: #475569; font-size: 14px; }
.exam-block li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.transition-panel { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.transition-panel > div { min-height: 180px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.transition-panel strong { color: var(--red-deep); font-size: 20px; }
.transition-panel p { margin-top: 10px; color: var(--slate); font-size: 14px; line-height: 1.85; }
.transition-panel > span { color: #e6a692; font-size: 32px; }
.source-note { margin-top: 18px; color: var(--muted); font-size: 13px; }
.source-note a { color: var(--red-deep); font-weight: 700; }

.contact-page-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
.contact-page-main h2 { margin-top: 8px; font-size: 34px; }
.contact-page-address { margin-top: 8px; color: var(--slate); font-size: 17px; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.contact-methods a { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.contact-methods span, .contact-methods em { display: block; color: var(--muted); font-size: 12px; font-style: normal; }
.contact-methods strong { display: block; margin: 7px 0 3px; color: var(--red-deep); font-size: 18px; }
.arrival-note { margin-top: 28px; padding: 26px; border-radius: var(--radius); background: #f6f8fb; }
.arrival-note h3 { margin-bottom: 10px; }
.arrival-note ul { display: grid; gap: 7px; }
.arrival-note li { position: relative; padding-left: 18px; color: var(--slate); font-size: 14px; }
.arrival-note li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 900; }
.contact-page-aside { overflow: hidden; padding: 12px 12px 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.contact-page-aside img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 19px; }
.contact-page-aside > div { padding: 20px 8px; }
.contact-page-aside span { display: block; color: var(--muted); font-size: 12px; }
.contact-page-aside strong { display: block; margin-top: 4px; font-size: 17px; }

@media (max-width: 980px) {
  .inner-hero__grid { grid-template-columns: 1fr; }
  .inner-hero__media { max-width: 640px; }
  .content-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey > div + div { border-left: 0; }
  .journey > div:nth-child(even) { border-left: 1px solid var(--line); }
  .journey > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .application-categories, .download-grid { grid-template-columns: 1fr; }
  .download-card { min-height: 0; }
  .official-links, .contact-page-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .split-story, .course-detail, .environment-item, .exam-overview { grid-template-columns: 1fr; }
  .course-detail__label { position: static; }
  .environment-item--reverse img { order: 0; }
  .content-grid--3 { grid-template-columns: 1fr; }
  .advantage-row { grid-template-columns: 60px 1fr; padding: 26px 22px; gap: 16px; }
  .advantage-row > span { font-size: 30px; }
  .policy-alert { grid-template-columns: 1fr; }
  .policy-alert > span { justify-self: start; }
  .transition-panel { grid-template-columns: 1fr; }
  .transition-panel > span { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 680px) {
  .inner-hero { padding: 44px 0; }
  .inner-hero__content h1 { font-size: 34px; }
  .inner-hero__content > p { font-size: 15px; }
  .inner-hero__media { padding: 8px; border-radius: 20px; }
  .inner-hero__media::after { inset: 8px; border-radius: 14px; }
  .inner-hero__media img { border-radius: 14px; }
  .page-head--rich { padding: 44px 0 36px; }
  .content-grid--4, .journey, .skill-list, .contact-methods { grid-template-columns: 1fr; }
  .journey > div:nth-child(even) { border-left: 0; }
  .journey > div:nth-child(n+2) { border-top: 1px solid var(--line); }
  .application-nav { display: grid; grid-template-columns: repeat(2, 1fr); }
  .application-nav a { text-align: center; }
  .application-card { grid-template-columns: 1fr; }
  .official-links { padding: 25px 20px; gap: 28px; }
  .process-stage { grid-template-columns: 58px 1fr; gap: 14px; }
  .process-stage > span { width: 48px; height: 48px; border-radius: 14px; }
  .process-stage::before { left: 23px; top: 46px; }
  .process-stage h2 { font-size: 20px; }
  .exam-block { grid-template-columns: 1fr; padding: 26px 22px; }
  .advantage-row { grid-template-columns: 1fr; }
  .contact-page-main h2 { font-size: 28px; }
}
