/* ================================================
   沈阳市铁西区中晟职业培训学校 官方网站
   中国风 · 建筑业考证培训
   ================================================ */

:root {
  --c-red: #C8102E;
  --c-red-deep: #6B0F1A;
  --c-red-dark: #8B0A1F;
  --c-red-light: #E8D0D4;
  --c-red-soft: #F5E8EA;
  --c-gold: #D4AF37;
  --c-gold-light: #E8CC6B;
  --c-gold-dark: #B8941F;
  --c-paper: #F9F7F3;
  --c-paper-2: #F3EFE8;
  --c-gray: #EAE6E1;
  --c-gray-2: #D9D4CD;
  --c-ink: #222222;
  --c-ink-2: #444444;
  --c-ink-3: #666666;
  --c-ink-4: #999999;
  --c-white: #FFFFFF;

  --font-display: "Ma Shan Zheng", "STKaiti", "KaiTi", "楷体", "SimSun", serif;
  --font-body: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --font-serif: "Noto Serif SC", "SimSun", "宋体", serif;

  --shadow-sm: 0 2px 8px rgba(107, 15, 26, 0.06);
  --shadow-md: 0 6px 20px rgba(107, 15, 26, 0.08);
  --shadow-lg: 0 12px 40px rgba(107, 15, 26, 0.12);

  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  --container: 1200px;
  --header-h: 80px;
  --topbar-h: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink);
  background: var(--c-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--c-red);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================
   顶部通栏
   ================================================ */
.topbar {
  background: var(--c-red-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  height: var(--topbar-h);
  line-height: var(--topbar-h);
  position: relative;
  overflow: hidden;
  display: none;
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C8102E' stroke-width='0.5'%3E%3Cpath d='M2 2h8v8H2zM14 2h8v8h-8zM2 14h8v8H2zM14 14h8v8h-8zM6 0v4M0 6h4M18 0v4M24 6h-4M6 24v-4M0 18h4M18 24v-4M24 18h-4'/%3E%3C/svg%3E");
  background-size: 24px 24px;
  opacity: 0.3;
  pointer-events: none;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-left .school-name {
  font-weight: 500;
  color: #fff;
}

.topbar-left .qualification {
  opacity: 0.75;
  font-size: 12px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-right a {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-right a:hover {
  color: var(--c-gold);
}

/* ================================================
   导航栏
   ================================================ */
.header {
  background: var(--c-red);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(107, 15, 26, 0.15);
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}

.logo-seal {
  width: 52px;
  height: 52px;
  background: var(--c-white);
  border: 2px solid var(--c-gold);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--c-red);
  font-weight: bold;
  position: relative;
  letter-spacing: -2px;
  line-height: 1;
}

.logo-seal::before,
.logo-seal::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--c-gold);
}

.logo-seal::before {
  top: -4px;
  left: -4px;
  border-right: none;
  border-bottom: none;
}

.logo-seal::after {
  bottom: -4px;
  right: -4px;
  border-left: none;
  border-top: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}

.logo-text .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}

.logo-text .sub {
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li a {
  display: block;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: all 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--c-gold);
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--c-gold);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.25s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header-cta {
  background: transparent;
  border: 1.5px solid var(--c-gold);
  color: var(--c-gold);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.header-cta::before,
.header-cta::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--c-gold);
}

.header-cta::before {
  top: 3px;
  left: 3px;
  border-right: none;
  border-bottom: none;
}

.header-cta::after {
  bottom: 3px;
  right: 3px;
  border-left: none;
  border-top: none;
}

.header-cta:hover {
  background: var(--c-gold);
  color: var(--c-red-deep);
}

.header-cta {
  display: none;
}

.hero-btns {
  display: none !important;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: all 0.3s ease;
}

/* ================================================
   首屏 Banner
   ================================================ */
.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(107, 15, 26, 0.78) 0%,
    rgba(200, 16, 46, 0.55) 45%,
    rgba(107, 15, 26, 0.35) 100%
  );
}

.hero-slide-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80' fill='none' stroke='%23FFFFFF' stroke-width='0.5' opacity='0.06'%3E%3Cpath d='M40 10c-8 0-14 6-14 14s6 14 14 14 14-6 14-14-6-14-14-14zM10 50c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zM70 50c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9z'/%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.hero-slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-text {
  max-width: 620px;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  padding: 4px 16px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  font-size: 13px;
  letter-spacing: 4px;
  margin-bottom: 24px;
  position: relative;
}

.hero-title {
  font-family: "Noto Serif SC", "SimSun", "宋体", serif;
  font-size: 52px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.8;
  letter-spacing: 1px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  border-radius: 2px;
  transition: all 0.25s ease;
  position: relative;
}

.hero-btn-primary {
  background: var(--c-red);
  color: #fff;
  border: 1px solid var(--c-gold);
}

.hero-btn-primary:hover {
  background: var(--c-red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 16, 46, 0.4);
}

.hero-btn-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
}

.hero-btn-outline:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(212, 175, 55, 0.08);
}

.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dot {
  width: 32px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: var(--c-gold);
  width: 48px;
}

.hero-prev,
.hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.7);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.2s ease;
}

.hero-prev:hover,
.hero-next:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
  background: rgba(212, 175, 55, 0.1);
}

.hero-prev {
  left: 32px;
}

.hero-next {
  right: 32px;
}

/* ================================================
   通用区块
   ================================================ */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--c-red-deep);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60' fill='none' stroke='%23C8102E' stroke-width='0.5' opacity='0.4'%3E%3Cpath d='M30 5c-10 0-18 8-18 18s8 18 18 18 18-8 18-18-8-18-18-18zM5 45c-3 0-5 2-5 5s2 5 5 5 5-2 5-5-2-5-5-5zM55 45c-3 0-5 2-5 5s2 5 5 5 5-2 5-5-2-5-5-5z'/%3E%3C/svg%3E");
  background-size: 60px 60px;
  opacity: 0.5;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.section-eyebrow {
  font-size: 13px;
  color: var(--c-red);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-serif);
}

.section-dark .section-eyebrow {
  color: var(--c-gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: 4px;
  display: inline-block;
  position: relative;
  padding: 0 60px;
}

.section-dark .section-title {
  color: #fff;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 48px;
  height: 1px;
  background: var(--c-red);
}

.section-title::before {
  left: 0;
}

.section-title::after {
  right: 0;
}

.section-dark .section-title::before,
.section-dark .section-title::after {
  background: var(--c-gold);
  opacity: 0.6;
}

.section-title .seal {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  background: var(--c-red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transform: rotate(8deg);
  letter-spacing: 0;
}

.section-desc {
  margin-top: 18px;
  color: var(--c-ink-3);
  font-size: 15px;
  letter-spacing: 1px;
}

.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ================================================
   数据统计模块
   ================================================ */
.stats-section {
  padding: 60px 0;
  background: var(--c-paper);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--c-white);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  border: 1px solid var(--c-gray);
  transition: all 0.3s ease;
}

.stat-card::before,
.stat-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--c-gold);
}

.stat-card::before {
  top: 8px;
  left: 8px;
  border-right: none;
  border-bottom: none;
}

.stat-card::after {
  bottom: 8px;
  right: 8px;
  border-left: none;
  border-top: none;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-red-light);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--c-gold-dark);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.stat-number .plus {
  font-size: 28px;
  margin-left: 2px;
}

.stat-label {
  font-size: 15px;
  color: var(--c-ink-2);
  letter-spacing: 2px;
  font-weight: 500;
}

.stat-card:hover .stat-label {
  color: var(--c-red);
}

/* ================================================
   学校简介板块
   ================================================ */
.about-section {
  background: var(--c-paper-2);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border: 1px solid var(--c-gray);
}

.about-image::before {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  right: 40px;
  bottom: 40px;
  border: 2px solid var(--c-red);
  z-index: -1;
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -16px;
  right: -16px;
  left: 40px;
  top: 40px;
  border: 1px solid var(--c-gold);
  z-index: -1;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 28px;
}

.about-content .section-title {
  padding-left: 0;
  padding-right: 60px;
}

.about-content .section-title::before {
  display: none;
}

.about-text {
  color: var(--c-ink-2);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 20px;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-gray);
  transition: all 0.25s ease;
}

.about-feature:hover {
  border-color: var(--c-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--c-red-soft);
  color: var(--c-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-family: var(--font-display);
}

.about-feature-text h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--c-ink);
}

.about-feature-text p {
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.6;
}

.about-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  color: var(--c-red);
  font-weight: 500;
  letter-spacing: 1px;
  transition: gap 0.2s ease;
}

.about-more:hover {
  gap: 14px;
}

/* ================================================
   课程板块
   ================================================ */
.courses-section {
  background: var(--c-paper);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-red-light);
}

.course-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.course-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-card-img img {
  transform: scale(1.08);
}

.course-card-body {
  padding: 22px 24px;
  position: relative;
}

.course-card-body::before,
.course-card-body::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border: 1px solid var(--c-gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card-body::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.course-card-body::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.course-card:hover .course-card-body::before,
.course-card:hover .course-card-body::after {
  opacity: 1;
}

.course-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 10px;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.course-card:hover .course-card-title {
  color: var(--c-red);
}

.course-card-desc {
  font-size: 13.5px;
  color: var(--c-ink-3);
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px dashed var(--c-gray);
}

.course-card-price {
  color: var(--c-red);
  font-size: 16px;
  font-weight: 600;
}

.course-card-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--c-ink-3);
  margin-right: 4px;
}

.course-card-link {
  font-size: 13px;
  color: var(--c-ink-2);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.course-card:hover .course-card-link {
  color: var(--c-red);
}

/* ================================================
   师资力量
   ================================================ */
.teachers-section {
  background: var(--c-paper-2);
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.teacher-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray);
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
}

.teacher-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.teacher-img {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.teacher-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-img img {
  transform: scale(1.05);
}

.teacher-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

.teacher-info {
  padding: 20px 18px 24px;
  position: relative;
}

.teacher-name {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-ink);
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 2px;
}

.teacher-title {
  font-size: 13px;
  color: var(--c-red);
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 500;
}

.teacher-bio {
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.7;
  padding-top: 12px;
  border-top: 1px solid var(--c-gray);
}

/* ================================================
   办学环境
   ================================================ */
.campus-section {
  background: var(--c-paper);
}

.campus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 220px 220px;
  gap: 16px;
}

.campus-item {
  overflow: hidden;
  position: relative;
  border: 1px solid var(--c-gray);
  background: var(--c-white);
  display: flex;
  flex-direction: column;
}

.campus-item-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.campus-item-corridor {
  grid-column: span 2;
}

.campus-item-classroom,
.campus-item-entrance {
  grid-column: span 1;
}

.campus-item img {
  width: 100%;
  min-height: 0;
  flex: 1;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.campus-item:hover img {
  transform: scale(1.08);
}

.campus-item-caption {
  position: static;
  padding: 14px 18px;
  background: var(--c-white);
  border-top: 1px solid var(--c-gray);
  color: var(--c-ink);
  font-size: 14px;
  letter-spacing: 1px;
}

/* ================================================
   新闻动态
   ================================================ */
.news-section {
  background: var(--c-paper-2);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 36px;
}

.news-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--c-gray-2);
  transition: all 0.25s ease;
}

.news-item:hover {
  padding-left: 12px;
  border-bottom-color: var(--c-red-light);
}

.news-date {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  padding: 10px 8px;
  background: var(--c-white);
  border: 1px solid var(--c-gray);
  transition: all 0.25s ease;
  align-self: flex-start;
}

.news-item:hover .news-date {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

.news-date .day {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
}

.news-date .month {
  font-size: 12px;
  margin-top: 4px;
  letter-spacing: 1px;
  opacity: 0.75;
}

.news-content {
  flex: 1;
  min-width: 0;
}

.news-category {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: var(--c-red-soft);
  color: var(--c-red);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.news-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 8px;
  line-height: 1.5;
  transition: color 0.2s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-item:hover .news-title {
  color: var(--c-red);
}

.news-excerpt {
  font-size: 13.5px;
  color: var(--c-ink-3);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ================================================
   学员成果
   ================================================ */
.testimonials-section {
  background: var(--c-paper);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--c-white);
  border: 1px solid var(--c-gray);
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-red-light);
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 60px;
  color: var(--c-red-light);
  line-height: 1;
}

.testimonial-text {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.9;
  margin-bottom: 24px;
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px dashed var(--c-gray);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-red-soft);
  color: var(--c-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
}

.testimonial-info h4 {
  font-size: 15px;
  color: var(--c-ink);
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 12px;
  color: var(--c-ink-3);
}

.testimonial-badge {
  margin-left: auto;
  font-size: 11px;
  padding: 3px 10px;
  background: var(--c-gold);
  color: var(--c-red-deep);
  font-weight: 600;
  letter-spacing: 1px;
}

/* ================================================
   CTA 咨询转化区块
   ================================================ */
.cta-section {
  padding: 70px 0;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-left h2 {
  font-family: var(--font-display);
  font-size: 38px;
  color: #fff;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.cta-left .gold-line {
  width: 60px;
  height: 2px;
  background: var(--c-gold);
  margin-bottom: 24px;
}

.cta-left p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 10px;
}

.cta-contact {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.cta-contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cta-contact-item strong {
  color: #fff;
  font-size: 18px;
  font-family: var(--font-display);
  letter-spacing: 1px;
}

.cta-form {
  background: var(--c-white);
  padding: 36px 32px;
  border: 1px solid var(--c-gold);
  position: relative;
}

.cta-form::before,
.cta-form::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--c-red);
}

.cta-form::before {
  top: -8px;
  left: -8px;
  border-right: none;
  border-bottom: none;
}

.cta-form::after {
  bottom: -8px;
  right: -8px;
  border-left: none;
  border-top: none;
}

.cta-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--c-ink);
  text-align: center;
  margin-bottom: 6px;
  letter-spacing: 2px;
}

.cta-form-subtitle {
  text-align: center;
  font-size: 13px;
  color: var(--c-ink-3);
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--c-gray);
  background: var(--c-paper);
  font-size: 14px;
  color: var(--c-ink);
  outline: none;
  transition: all 0.2s ease;
  border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-red);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--c-red);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.btn-submit:hover {
  background: var(--c-red-dark);
  letter-spacing: 6px;
}

/* ================================================
   页脚
   ================================================ */
.footer {
  background: #171717;
  color: #7f8a9a;
  padding: 22px 0;
}

.footer-bottom {
  padding: 0;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0;
  line-height: 2;
}

.footer-bottom a {
  color: #7f8a9a;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--c-gold);
}

/* ================================================
   右侧悬浮组件
   ================================================ */
.floating-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 99;
}

.float-btn {
  width: 56px;
  height: 56px;
  background: var(--c-red);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
}

.float-btn:first-child {
  border-radius: 4px 4px 0 0;
}

.float-btn:last-child {
  border-radius: 0 0 4px 4px;
}

.float-btn:hover {
  background: var(--c-red-dark);
  width: 64px;
}

.float-btn svg {
  width: 20px;
  height: 20px;
}

.float-btn-tip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-red-deep);
  color: #fff;
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  margin-right: 10px;
  border: 1px solid var(--c-gold);
  letter-spacing: 1px;
}

.float-btn:hover .float-btn-tip {
  opacity: 1;
  visibility: visible;
  margin-right: 14px;
}

.float-back-top {
  background: var(--c-gold);
  color: var(--c-red-deep);
}

.float-back-top:hover {
  background: var(--c-gold-light);
}

/* ================================================
   内页通用 - 页面头部
   ================================================ */
.page-hero {
  height: 340px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: center;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(107, 15, 26, 0.85) 0%,
    rgba(200, 16, 46, 0.6) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: 42px;
  color: #fff;
  letter-spacing: 8px;
  margin-bottom: 12px;
}

.page-hero-en {
  font-size: 13px;
  color: var(--c-gold);
  letter-spacing: 6px;
  text-transform: uppercase;
}

.breadcrumb {
  background: var(--c-paper-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-gray);
  font-size: 13.5px;
  color: var(--c-ink-3);
}

.breadcrumb a:hover {
  color: var(--c-red);
}

.breadcrumb .sep {
  margin: 0 8px;
  opacity: 0.5;
}

.breadcrumb .current {
  color: var(--c-ink-2);
}

/* ================================================
   课程筛选栏
   ================================================ */
.course-filter {
  background: #fff;
  border: 1px solid var(--c-gray);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.filter-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-gray);
}

.filter-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-label {
  flex-shrink: 0;
  width: 80px;
  font-weight: 600;
  color: var(--c-ink-2);
  font-size: 14px;
  padding-top: 2px;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.filter-option {
  padding: 4px 14px;
  font-size: 13.5px;
  color: var(--c-ink-3);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.filter-option:hover {
  color: var(--c-red);
}

.filter-option.active {
  color: var(--c-red);
  background: var(--c-red-soft);
  border-color: var(--c-red-light);
}

/* ================================================
   课程详情页
   ================================================ */
.course-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
}

.course-main-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 32px;
  border: 1px solid var(--c-gray);
}

.course-main h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--c-ink);
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.course-main .meta {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--c-ink-3);
  font-size: 13.5px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-gray);
}

.course-main .meta span strong {
  color: var(--c-ink-2);
  margin-right: 4px;
}

.course-section {
  margin-bottom: 36px;
}

.course-section h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-ink);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-red-light);
  letter-spacing: 2px;
  font-weight: 500;
}

.course-section p {
  color: var(--c-ink-2);
  line-height: 2;
  font-size: 14.5px;
  margin-bottom: 12px;
}

.course-section ul {
  color: var(--c-ink-2);
  line-height: 2;
  font-size: 14.5px;
}

.course-section ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.course-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--c-red);
  transform: rotate(45deg);
}

.course-outline-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--c-paper);
  margin-bottom: 10px;
  border: 1px solid var(--c-gray);
  transition: all 0.2s ease;
}

.course-outline-item:hover {
  background: var(--c-red-soft);
  border-color: var(--c-red-light);
}

.course-outline-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--c-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
}

.course-outline-content h4 {
  font-size: 15px;
  color: var(--c-ink);
  margin-bottom: 4px;
}

.course-outline-content p {
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.6;
}

.course-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}

.course-sidebar-card {
  background: #fff;
  border: 1px solid var(--c-gray);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.course-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--c-ink);
  margin-bottom: 18px;
  letter-spacing: 2px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-gray);
  text-align: center;
  font-weight: 500;
}

.course-price-big {
  text-align: center;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--c-red);
  font-weight: 500;
  margin-bottom: 4px;
}

.course-price-big small {
  font-size: 16px;
}

.course-price-note {
  text-align: center;
  font-size: 12px;
  color: var(--c-ink-3);
  margin-bottom: 20px;
}

.course-info-list {
  margin-bottom: 20px;
}

.course-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-gray);
  font-size: 13.5px;
}

.course-info-list li span:first-child {
  color: var(--c-ink-3);
}

.course-info-list li span:last-child {
  color: var(--c-ink-2);
  font-weight: 500;
}

.course-enroll-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--c-red);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-bottom: 10px;
}

.course-enroll-btn:hover {
  background: var(--c-red-dark);
  color: #fff;
  letter-spacing: 6px;
}

.teacher-simple {
  display: flex;
  gap: 14px;
  align-items: center;
}

.teacher-simple-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--c-red-light);
}

.teacher-simple-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-simple-info h4 {
  font-size: 16px;
  color: var(--c-ink);
  margin-bottom: 2px;
}

.teacher-simple-info p {
  font-size: 12.5px;
  color: var(--c-ink-3);
}

/* ================================================
   新闻列表页
   ================================================ */
.news-list-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-list-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-gray);
  transition: all 0.2s ease;
}

.news-list-item:hover {
  padding-left: 12px;
}

.news-list-img {
  width: 220px;
  height: 150px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--c-gray);
}

.news-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-list-item:hover .news-list-img img {
  transform: scale(1.08);
}

.news-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-list-content h3 {
  font-size: 19px;
  color: var(--c-ink);
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: 600;
  transition: color 0.2s ease;
}

.news-list-item:hover .news-list-content h3 {
  color: var(--c-red);
}

.news-list-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--c-ink-3);
}

.news-list-excerpt {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-sidebar-card {
  background: #fff;
  border: 1px solid var(--c-gray);
  margin-bottom: 20px;
}

.news-sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--c-ink);
  padding: 16px 20px;
  letter-spacing: 2px;
  border-bottom: 2px solid var(--c-red);
  font-weight: 500;
  position: relative;
}

.news-sidebar-card h3::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.news-sidebar-card:hover h3::after {
  transform: scaleX(1);
}

.news-sidebar-body {
  padding: 16px 20px;
}

.hot-news li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--c-gray);
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hot-news li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-news-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--c-gray);
  color: var(--c-ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.hot-news li:first-child .hot-news-num,
.hot-news li:nth-child(2) .hot-news-num,
.hot-news li:nth-child(3) .hot-news-num {
  background: var(--c-red);
  color: #fff;
}

.hot-news-title {
  font-size: 13.5px;
  color: var(--c-ink-2);
  line-height: 1.6;
  transition: color 0.2s ease;
}

.hot-news a.hot-news-title:hover {
  color: var(--c-red);
}

.hot-news-title.is-active {
  color: var(--c-red);
  font-weight: 600;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.pagination a,
.pagination span {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--c-gray);
  background: #fff;
  font-size: 13.5px;
  color: var(--c-ink-2);
  transition: all 0.2s ease;
}

.pagination a:hover,
.pagination .current {
  background: var(--c-red);
  border-color: var(--c-red);
  color: #fff;
}

.pagination .pagination-disabled {
  color: var(--c-ink-3);
  background: var(--c-paper-2);
  cursor: default;
}

/* ================================================
   新闻详情页
   ================================================ */
.news-detail-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.news-article {
  background: #fff;
  padding: 40px 48px;
  border: 1px solid var(--c-gray);
}

.news-article-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-gray);
  position: relative;
}

.news-article-header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--c-red);
}

.news-article-header h1 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--c-ink);
  margin-bottom: 16px;
  line-height: 1.5;
  letter-spacing: 1px;
  font-weight: 500;
}

.news-article-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 13.5px;
  color: var(--c-ink-3);
}

.news-article-body {
  font-size: 15px;
  color: var(--c-ink-2);
  line-height: 2;
}

.news-article-body p {
  margin-bottom: 18px;
  text-indent: 2em;
}

.news-article-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--c-red);
  margin: 28px 0 14px;
  font-weight: 500;
  letter-spacing: 1px;
}

.news-article-body img {
  margin: 20px auto;
  max-width: 100%;
  border: 1px solid var(--c-gray);
}

.news-article-body blockquote {
  padding: 16px 24px;
  margin: 20px 0;
  background: var(--c-red-soft);
  border: 1px solid var(--c-red-light);
  font-style: italic;
  color: var(--c-ink-2);
}

.news-article-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--c-gray);
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--c-ink-3);
}

/* ================================================
   联系我们页
   ================================================ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-page-section {
  background: var(--c-paper);
}

.contact-intro {
  max-width: 860px;
  margin: -18px auto 36px;
  color: var(--c-ink-2);
  line-height: 2;
  text-align: center;
}

.contact-intro p {
  margin-bottom: 12px;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.contact-info-card-compact {
  padding: 28px 32px;
}

.contact-detail-content small {
  display: block;
  margin-top: 6px;
  color: var(--c-ink-3);
  font-size: 12px;
  line-height: 1.7;
}

.contact-map-heading {
  display: block;
  margin-top: 48px;
  margin-bottom: 16px;
}

.contact-map-heading .section-eyebrow {
  margin-bottom: 4px;
}

.contact-map-heading h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
}

.contact-map {
  height: 380px;
  margin-top: 0;
  display: block;
  background: var(--c-gray);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-note {
  margin-top: 28px;
  padding: 24px 28px;
  border: 1px solid var(--c-red-light);
  background: var(--c-red-soft);
}

.contact-note h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin-bottom: 8px;
}

.contact-note p {
  color: var(--c-ink-2);
  line-height: 1.9;
}

.contact-info-card {
  background: #fff;
  border: 1px solid var(--c-gray);
  padding: 40px;
}

.contact-info-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--c-ink);
  margin-bottom: 24px;
  letter-spacing: 2px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-red);
  font-weight: 500;
}

.contact-detail-item {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--c-gray);
}

.contact-detail-item:last-child {
  border-bottom: none;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background: var(--c-red-soft);
  color: var(--c-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 15px;
  color: var(--c-ink);
  margin-bottom: 6px;
}

.contact-detail-content p {
  font-size: 14px;
  color: var(--c-ink-2);
  line-height: 1.7;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--c-gray);
  padding: 40px;
}

.contact-form-card h2 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--c-ink);
  margin-bottom: 24px;
  letter-spacing: 2px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--c-red);
  font-weight: 500;
}

.contact-action-list {
  display: grid;
  gap: 14px;
}

.contact-action {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--c-gray);
  background: var(--c-paper);
  color: var(--c-ink);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-action:hover {
  border-color: var(--c-red);
  background: var(--c-red-soft);
}

.contact-action strong {
  display: block;
  margin-bottom: 5px;
  color: var(--c-red);
  font-size: 16px;
}

.contact-action span {
  display: block;
  color: var(--c-ink-3);
  font-size: 13px;
  line-height: 1.7;
}

.contact-map {
  width: 100%;
  height: 360px;
  background: var(--c-gray);
  margin-top: 40px;
  border: 1px solid var(--c-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-3);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.contact-map-placeholder {
  text-align: center;
}

.contact-map-placeholder .pin {
  font-size: 40px;
  margin-bottom: 10px;
  color: var(--c-red);
}

/* ================================================
   学校概况页
   ================================================ */
.about-page-section {
  padding: 70px 0;
}

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-page-intro-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--c-gray);
  background: var(--c-paper-2);
}

.about-page-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border: 0;
}

.about-page-intro-img::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--c-red);
  z-index: 1;
  pointer-events: none;
}

.about-page-intro h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--c-ink);
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 500;
}

.about-page-intro .accent-line {
  width: 50px;
  height: 3px;
  background: var(--c-red);
  margin-bottom: 24px;
}

.about-page-intro p {
  font-size: 15px;
  color: var(--c-ink-2);
  line-height: 2;
  margin-bottom: 14px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.philosophy-card {
  background: #fff;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--c-gray);
  transition: all 0.3s ease;
  position: relative;
}

.philosophy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  height: 3px;
  background: var(--c-red);
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.35s ease;
}

.philosophy-card:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.philosophy-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.philosophy-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--c-red-soft);
  color: var(--c-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  border-radius: 50%;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 10px;
  letter-spacing: 4px;
  font-weight: 500;
}

.philosophy-card p {
  font-size: 13.5px;
  color: var(--c-ink-3);
  line-height: 1.8;
}

.qualification-section {
  background: var(--c-paper-2);
}

.qualification-content {
  background: #fff;
  border: 1px solid var(--c-gray);
  padding: 48px;
  position: relative;
}

.qualification-content::before,
.qualification-content::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--c-gold);
}

.qualification-content::before {
  top: 12px;
  left: 12px;
  border-right: none;
  border-bottom: none;
}

.qualification-content::after {
  bottom: 12px;
  right: 12px;
  border-left: none;
  border-top: none;
}

.qualification-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
}

.qualification-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--c-gray);
}

.qualification-item-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--c-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
}

.qualification-item-text h4 {
  font-size: 15px;
  color: var(--c-ink);
  margin-bottom: 4px;
}

.qualification-item-text p {
  font-size: 13px;
  color: var(--c-ink-3);
  line-height: 1.6;
}

/* ================================================
   响应式
   ================================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-detail-wrap,
  .news-list-wrap,
  .news-detail-wrap {
    grid-template-columns: 1fr;
  }

  .course-sidebar {
    position: static;
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 300px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
    --topbar-h: 0px;
  }

  .topbar {
    display: none;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-red);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 8px 16px rgba(107, 15, 26, 0.2);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 24px;
  }

  .header-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-text .name {
    font-size: 17px;
  }

  .logo-text .sub {
    font-size: 10px;
  }

  .logo-seal {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .hero {
    height: 400px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-prev,
  .hero-next {
    display: none;
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    font-size: 26px;
    padding: 0 40px;
    letter-spacing: 2px;
  }

  .section-title::before,
  .section-title::after {
    width: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 24px 16px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 13px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-image img {
    height: 280px;
  }

  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .teacher-img {
    height: 200px;
  }

  .teacher-name {
    font-size: 17px;
  }

  .campus-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .campus-item {
    height: 140px;
  }

  .campus-item-feature,
  .campus-item-corridor {
    grid-column: span 2;
  }

  .campus-item-feature {
    height: 240px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-left h2 {
    font-size: 28px;
  }

  .cta-form {
    padding: 24px 20px;
  }

  .floating-bar {
    right: 10px;
  }

  .float-btn {
    width: 44px;
    height: 44px;
    font-size: 10px;
  }

  .page-hero {
    height: 220px;
  }

  .page-hero-title {
    font-size: 28px;
    letter-spacing: 4px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .news-list-item {
    flex-direction: column;
    gap: 14px;
  }

  .news-list-img {
    width: 100%;
    height: 200px;
  }

  .news-article {
    padding: 24px 20px;
  }

  .news-article-header h1 {
    font-size: 22px;
  }

  .about-page-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-page-intro-img {
    aspect-ratio: 4 / 3;
  }

  .qualification-list {
    grid-template-columns: 1fr;
  }

  .qualification-content {
    padding: 28px 20px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 24px 20px;
  }

  .course-filter {
    padding: 14px 16px;
  }

  .filter-item {
    flex-direction: column;
    gap: 8px;
  }

  .filter-label {
    width: auto;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .course-main-img {
    height: 240px;
  }

  .course-main h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    gap: 10px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .philosophy-grid {
    grid-template-columns: 1fr 1fr;
  }

  .campus-grid {
    grid-template-columns: 1fr;
  }

  .campus-item {
    grid-column: span 1;
    height: 180px;
  }
}
