/* ========== 基础重置 ========== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue-900: #002b58;
  --blue-800: #003d7c;
  --blue-700: #0b4f97;
  --blue-500: #1e6fd9;
  --blue-50: #edf3fb;
  --gold: #e8a33d;
  --gold-600: #c8861f;
  --gray-50: #f5f6fa;
  --gray-100: #edeff5;
  --gray-200: #e2e6ee;
  --gray-300: #c9cfda;
  --gray-400: #a8b0bf;
  --gray-600: #5b6472;
  --gray-800: #2c3240;
  --gray-900: #1f2430;
  --radius: 12px;
  --shadow-sm: 0 2px 10px rgba(0, 43, 88, 0.06);
  --shadow-md: 0 10px 30px rgba(0, 43, 88, 0.1);
  --shadow-lg: 0 20px 48px rgba(0, 43, 88, 0.18);
  --max: 1240px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Source Han Sans SC",
    "Noto Sans SC",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--gray-800);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  background: var(--blue-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ========== 站头：自定义 Logo + 搜索 + 两类联系电话 ========== */
.site-header {
  background: #fff;
  padding: 15px 0;
  border-bottom: 1px solid var(--gray-100);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

/* 左侧 logo */
.brand {
  flex: 0 1 520px;
  min-width: 0;
  display: block;
}

.brand-logo {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-900);
  /* background: var(--gray-50); */
  /* 图片未加载时的占位底色 */
}

/* 右侧工具区 */
.header-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

/* 搜索框 */
.header-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 9px 18px;
  transition: 0.22s;
}

.header-search:focus-within {
  background: #fff;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(30, 111, 217, 0.1);
}

.header-search svg {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  flex: none;
  transition: color 0.2s;
}

.header-search:focus-within svg {
  color: var(--blue-700);
}

.header-search input {
  background: none;
  border: none;
  outline: none;
  font-size: 14px;
  width: 150px;
  color: var(--gray-800);
}

.header-search input::placeholder {
  color: var(--gray-400);
}

/* 两类联系电话 */
.header-phones {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-left: 22px;
  border-left: 1px solid var(--gray-200);
}

.phone-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.phone-item em {
  font-style: normal;
  font-size: 11.5px;
  color: var(--gray-400);
  letter-spacing: 0.6px;
  line-height: 1.2;
  white-space: nowrap;
}

.phone-item > a,
.phone-group {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue-900);
  letter-spacing: 0.2px;
  line-height: 1.45;
  white-space: nowrap;
}

.phone-item > a {
  transition: color 0.2s;
}

.phone-item > a:hover {
  color: var(--blue-500);
}

.phone-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.phone-group a {
  font-weight: 600;
  color: inherit;
  transition: color 0.2s;
}

.phone-group a:hover {
  color: var(--blue-500);
}

.phone-group .sep {
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  color: var(--gray-300);
}

/* ========== 主导航 ========== */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.25s;
  background-color: #f5f6fa;
}

.main-nav.scrolled {
  box-shadow: 0 6px 24px rgba(0, 43, 88, 0.09);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: 19px 21px;
  font-size: 17px;
  font-weight: 500;
  color: var(--gray-800);
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 21px;
  right: 21px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover > .nav-link,
.nav-item.active > .nav-link {
  color: var(--blue-800);
}

.nav-item:hover > .nav-link::after,
.nav-item.active > .nav-link::after {
  transform: scaleX(1);
}

.sub-toggle {
  display: none;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 40px rgba(0, 43, 88, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.22s,
    transform 0.22s,
    visibility 0.22s;
  border-top: 3px solid var(--blue-800);
}

.dropdown.wide {
  min-width: 430px;
}

.dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 16px;
  color: var(--gray-600);
  transition: 0.18s;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--blue-50);
  color: var(--blue-800);
  padding-left: 22px;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gray-50);
  position: relative;
  z-index: 90;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  margin: 4px auto;
  transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========== 主视觉轮播 ========== */
.hero {
  position: relative;
  height: clamp(430px, 62vh, 570px);
  overflow: hidden;
  background: var(--blue-900);
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
}

.slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.slide::after {
  z-index: 1;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* background:
    radial-gradient(
      circle at 80% 18%,
      rgba(232, 163, 61, 0.28),
      transparent 46%
    ),
    radial-gradient(
      circle at 12% 88%,
      rgba(30, 111, 217, 0.38),
      transparent 50%
    ); */
}

.slide-1 {
  background: linear-gradient(115deg, #001f40 0%, #003d7c 46%, #0b4f97 100%);
}

.slide-2 {
  background: linear-gradient(115deg, #062338 0%, #0f4472 52%, #1e6fd9 100%);
}

.slide-3 {
  background: linear-gradient(115deg, #1b2436 0%, #3b4a63 40%, #8a6520 100%);
}

.slide .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.slide-content {
  max-width: 640px;
  color: #fff;
}

.slide-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 1px;
  background: rgba(232, 163, 61, 0.18);
  border: 1px solid rgba(232, 163, 61, 0.45);
  color: #f5c87a;
  margin-bottom: 20px;
}

.slide-content h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.slide-content p {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  max-width: 520px;
}

.slide-actions {
  position: absolute;
  left: 24px;
  bottom: 72px;
  z-index: 3;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  transition: 0.25s;
}

.btn-gold {
  background: linear-gradient(135deg, #e8a33d, #c8861f);
  color: #fff;
  box-shadow: 0 10px 24px rgba(200, 134, 31, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(200, 134, 31, 0.45);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.72);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 5;
  transition: 0.25s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

.hero-arrow svg {
  width: 20px;
  height: 20px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.35);
  transition: 0.3s;
}

.hero-dot.active {
  background: var(--gold);
  width: 44px;
}

/* ========== 快捷服务入口 ========== */
.quick-wrap {
  position: relative;
  z-index: 10;
  margin-bottom: 30px;
  margin-top: -34px;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(0, 43, 88, 0.12);
  padding: 26px 14px;
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px;
  border-radius: 14px;
  text-align: center;
  transition: 0.25s;
}

.quick-item:hover {
  background: var(--blue-50);
  transform: translateY(-4px);
}

.quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #edf3fb, #dce8f8);
  color: var(--blue-700);
  transition: 0.25s;
}

.quick-icon svg {
  width: 24px;
  height: 24px;
}

.quick-item:hover .quick-icon {
  background: linear-gradient(140deg, var(--blue-800), var(--blue-500));
  color: #fff;
  box-shadow: 0 10px 20px rgba(0, 61, 124, 0.25);
}

.quick-item span {
  font-size: 15px;
  color: var(--gray-800);
  line-height: 1.5;
}

/* ========== 通用区块 ========== */
.section {
  padding: 72px 0;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-title {
  position: relative;
  padding-left: 18px;
  font-size: 30px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-600));
}

.section-title small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--gray-600);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  transition: 0.22s;
  white-space: nowrap;
}

.more-link:hover {
  color: #fff;
  background: var(--blue-800);
  border-color: var(--blue-800);
}

.more-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.22s;
}

.more-link:hover svg {
  transform: translateX(3px);
}

/* ========== 三栏资讯（学院要闻 / 通知公告 / 培训动态） ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.news-panel {
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
  margin-bottom: 4px;
}

.panel-head h2 {
  position: relative;
  padding-left: 16px;
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.2px;
}

.panel-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-600));
}

.panel-head .panel-more {
  font-size: 14px;
  color: var(--gray-400);
  transition: 0.2s;
  white-space: nowrap;
}

.panel-head .panel-more:hover {
  color: var(--blue-800);
}

/* 学院要闻列表 */
.news-list {
  display: grid;
}

.news-list li {
  border-bottom: 1px dashed var(--gray-200);
}

.news-link {
  display: flex;
  gap: 14px;
  padding: 14px 6px;
  border-radius: 10px;
  transition: 0.22s;
}

.news-link:hover {
  background: var(--blue-50);
}

.news-thumb {
  width: 86px;
  height: 60px;
  border-radius: 9px;
  flex: none;
  overflow: hidden;
  background: linear-gradient(135deg, #dce8f8, #b9d2f2);
}

.news-list li:nth-child(2) .news-thumb {
  background: linear-gradient(135deg, #f3e4c8, #e5c58c);
}

.news-list li:nth-child(3) .news-thumb {
  background: linear-gradient(135deg, #d7e7e4, #a9cfc8);
}

.news-list li:nth-child(4) .news-thumb {
  background: linear-gradient(135deg, #e4ddf2, #c9bce8);
}

.news-info {
  min-width: 0;
  flex: 1;
}

.news-info strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15.5px;
  font-weight: 400;
  color: var(--gray-800);
  line-height: 1.55;
  transition: color 0.2s;
}

.news-link:hover .news-info strong {
  color: var(--blue-800);
}

.news-info time {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 6px;
}

/* 通知公告列表 */
.notice-list {
  display: grid;
}

.notice-list li {
  border-bottom: 1px dashed var(--gray-200);
}

.notice-list li a {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 6px;
  border-radius: 10px;
  transition: 0.22s;
}

.notice-list li a:hover {
  background: var(--blue-50);
}

.notice-day {
  flex: none;
  min-width: 64px;
  text-align: center;
  border-right: 1px solid var(--gray-200);
  padding-right: 14px;
}

.notice-day b {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-800);
  line-height: 1.3;
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.notice-day i {
  font-style: normal;
  font-size: 12px;
  color: var(--gray-400);
  white-space: nowrap;
}

.notice-text {
  flex: 1;
  min-width: 0;
  font-size: 15.5px;
  color: var(--gray-800);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.notice-list li a:hover .notice-text {
  color: var(--blue-800);
}

/* 培训动态列表 */
.trend-list {
  display: grid;
}

.trend-list li {
  border-bottom: 1px dashed var(--gray-200);
}

.trend-link {
  display: block;
  padding: 14px 6px;
  border-radius: 10px;
  transition: 0.22s;
}

.trend-link:hover {
  background: var(--blue-50);
}

.trend-tag {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-700);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.trend-list li:nth-child(2n) .trend-tag {
  background: #fbf1de;
  color: var(--gold-600);
}

.trend-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15.5px;
  color: var(--gray-800);
  line-height: 1.6;
  transition: color 0.2s;
}

.trend-link:hover .trend-title {
  color: var(--blue-800);
}

.trend-meta {
  display: block;
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 8px;
}

/* ========== 精品培训项目 ========== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.course-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.28s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(0, 43, 88, 0.13);
  transform: translateY(-5px);
}

.course-cover {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--gray-100);
  display: block;
}

.course-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 78% 24%,
    rgba(255, 255, 255, 0.2),
    transparent 62%
  );
}

.course-cover svg {
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.88);
  position: relative;
  z-index: 2;
}

.course-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-card:hover .course-cover-img {
  transform: scale(1.06);
}

.course-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 190px;
  overflow: hidden;
}

.course-body h3 {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.5;
  transition: color 0.2s;
}

.course-card:hover .course-body h3 {
  color: var(--blue-800);
}

.course-body p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
}

.course-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 13px;
  border-top: 1px dashed var(--gray-200);
  font-size: 13.5px;
  color: var(--gray-400);
}

.course-foot .go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-700);
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}

.course-card:hover .course-foot .go {
  color: var(--gold-600);
}

.course-foot .go svg {
  width: 13px;
  height: 13px;
  transition: transform 0.22s;
}

.course-card:hover .course-foot .go svg {
  transform: translateX(3px);
}

/* ========== 数据条 ========== */
.stats {
  background: linear-gradient(120deg, #002b58, #0b4f97);
  color: #fff;
  padding: 62px 0;
  position: relative;
  overflow: hidden;
}

.stats::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 86% 50%,
    rgba(232, 163, 61, 0.22),
    transparent 46%
  );
}

.stats-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: clamp(34px, 4.2vw, 48px);
  font-weight: 700;
  color: #f5c87a;
  line-height: 1.2;
  letter-spacing: -1px;
}

.stat b em {
  font-style: normal;
  font-size: 0.5em;
  margin-left: 2px;
}

.stat span {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 8px;
}

/* ========== 页脚 ========== */
.site-footer {
  background: #0b1a2e;
  color: rgba(255, 255, 255, 0.66);
  padding-top: 60px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.35fr 1fr 0.9fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h4 {
  font-size: 17px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--gold);
}

.footer-col p {
  line-height: 2;
}

.footer-links li a {
  display: inline-block;
  line-height: 2.2;
  transition: 0.2s;
}

.footer-links li a:hover {
  color: #fff;
  transform: translateX(4px);
}

.qr {
  width: 112px;
  height: 112px;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 4px solid #fff;
  background-color: #fff;
  background-image:
    linear-gradient(
      45deg,
      #0b1a2e 25%,
      transparent 25%,
      transparent 75%,
      #0b1a2e 75%
    ),
    linear-gradient(
      45deg,
      #0b1a2e 25%,
      transparent 25%,
      transparent 75%,
      #0b1a2e 75%
    );
  background-size: 14px 14px;
  background-position:
    0 0,
    7px 7px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== 返回顶部 ========== */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-800);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 43, 88, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.3s;
  z-index: 70;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  background: var(--blue-500);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ========== 响应式 ========== */
@media (max-width: 1180px) {
  .brand {
    flex-basis: 360px;
  }

  .header-search input {
    width: 124px;
  }

  .header-phones {
    gap: 16px;
    padding-left: 18px;
  }

  .phone-item > a,
  .phone-group {
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  .nav-link {
    padding: 19px 14px;
    font-size: 15px;
  }

  .nav-link::after {
    left: 14px;
    right: 14px;
  }

  .quick-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-cover {
    height: 150px;
  }
}

@media (max-width: 1024px) {
  /* 页头折成两行：logo 一行，搜索 + 电话一行 */
  .site-header .container {
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand {
    flex: 0 1 380px;
  }

  .header-right {
    flex: 1 1 100%;
    justify-content: flex-start;
    gap: 20px;
  }

  .header-search {
    flex: 0 1 300px;
  }

  .header-search input {
    width: 100%;
  }

  .header-phones {
    padding-left: 20px;
  }
}

@media (max-width: 980px) {
  .nav-list {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(84vw, 340px);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 84px 22px 40px;
    transform: translateX(105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: -10px 0 40px rgba(0, 43, 88, 0.16);
    z-index: 85;
  }

  .nav-list.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: block;
  }

  .nav-item {
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link {
    padding: 15px 0;
    font-size: 16px;
  }

  .nav-link::after {
    display: none;
  }

  .sub-toggle {
    display: grid;
    place-items: center;
    position: absolute;
    right: -6px;
    top: 7px;
    width: 40px;
    height: 40px;
    color: var(--gray-400);
    transition: transform 0.25s;
  }

  .nav-item.open .sub-toggle {
    transform: rotate(180deg);
  }

  .dropdown {
    position: static;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0;
    display: none;
    background: transparent;
  }

  .nav-item.open > .dropdown {
    display: block;
  }

  .dropdown.wide {
    min-width: 0;
  }

  .dropdown-grid {
    grid-template-columns: 1fr;
  }

  .dropdown a {
    padding: 10px 0 10px 14px;
    font-size: 14.5px;
    white-space: normal;
  }

  .dropdown a:hover {
    padding-left: 14px;
    background: transparent;
    color: var(--blue-800);
  }

  .hero-arrow {
    display: none;
  }

  .slide-actions {
    left: 20px;
    bottom: 60px;
    gap: 12px;
  }

  .slide-actions .btn {
    padding: 11px 24px;
    font-size: 14px;
  }
}

@media (max-width: 760px) {
  .quick-wrap {
    margin-top: -36px;
  }

  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px 10px;
  }

  .news-grid,
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section {
    padding: 52px 0;
  }

  .section-title {
    font-size: 23px;
  }

  .panel-head h2 {
    font-size: 19px;
  }

  .container {
    padding: 0 18px;
  }

  /* 页头：搜索与电话上下排列 */
  .site-header {
    padding: 13px 0;
  }

  .brand {
    flex: 0 1 320px;
  }

  .header-right {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .header-search {
    flex: 1 1 auto;
    max-width: none;
  }

  .header-phones {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--gray-200);
    padding-top: 12px;
    gap: 26px;
  }

  .course-cover {
    height: 190px;
  }
}

@media (max-width: 560px) {
  .slide-actions {
    left: 16px;
    right: 16px;
    bottom: 44px;
    gap: 8px;
  }

  .slide-actions .btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand {
    flex: 1 1 100%;
  }

  .header-phones {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .course-cover {
    height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}