/* ============================================================
   德业教育官网 · 香槟金高端商务主题
   主色：#C9A96E / #D4AF37 / #E8D5A3
   辅色：#2C2C2C（深灰） / #F5F0EB（米白）
   ============================================================ */

:root {
  --gold: #C9A96E;
  --gold-deep: #D4AF37;
  --gold-light: #E8D5A3;
  --gold-pale: #F3EAD8;
  --dark: #2C2C2C;
  --dark-soft: #3A3A3A;
  --cream: #F5F0EB;
  --white: #FFFFFF;
  --gray-text: #666666;
  --gray-light: #CCCCCC;
  --gray-faint: #999999;
  --serif: "Noto Serif SC", "Georgia", "STSong", serif;
  --sans: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow-sm: 0 2px 12px rgba(44, 44, 44, 0.06);
  --shadow-md: 0 8px 30px rgba(44, 44, 44, 0.10);
  --shadow-gold: 0 8px 24px rgba(201, 169, 110, 0.25);
  --radius: 12px;
  --header-h: 76px;
  --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--dark);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.35; }

/* ============ 通用板块标题 ============ */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow {
  display: block;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: 36px;
  color: var(--dark);
  position: relative;
  display: block;
}
/* 第15条：大标题下装饰线美化——两条渐隐长线 + 中央菱形点缀 */
.head-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.head-divider .hd-line {
  width: 96px;
  height: 2px;
  border-radius: 2px;
}
.head-divider .hd-line:first-child {
  background: linear-gradient(90deg, transparent, var(--gold));
}
.head-divider .hd-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}
.head-divider .hd-dot {
  width: 9px; height: 9px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  transform: rotate(45deg);
  border-radius: 2px;
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18);
}

/* ============ 顶部导航 ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(245, 240, 235, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(245, 240, 235, 0.98); }

/* 顶部通栏：Logo 靠左缘、导航与电话靠右缘（按框架图拉开左右间距） */
.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
  max-width: none;
  padding: 0 48px;
}

.logo { display: flex; flex-direction: column; line-height: 1.2; flex-shrink: 0; }
.logo-text {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 6px;
  background: linear-gradient(120deg, var(--gold) 20%, var(--gold-deep) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.logo-sub { font-size: 10px; letter-spacing: 3.5px; color: var(--gray-faint); }

.main-nav { display: flex; gap: 30px; margin-left: auto; }
.main-nav a {
  font-size: 15px;
  color: var(--dark);
  padding: 6px 2px;
  position: relative;
  transition: var(--transition);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  flex-shrink: 0;
  transition: var(--transition);
}
.header-phone:hover { color: var(--gold-deep); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.app-main { min-height: 60vh; padding-top: var(--header-h); }
.page-home .app-main, #app:has(.hero) { padding-top: 0; }

/* ============ 首页 Banner 轮播 ============ */
.hero {
  position: relative;
  height: 600px;
  margin-top: var(--header-h);
  overflow: hidden;
  background: var(--dark);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,44,44,0.25) 0%, rgba(44,44,44,0.55) 100%);
}
.hero-caption {
  position: absolute;
  left: 6%;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  color: var(--white);
  width: auto;
  max-width: 88%;
}
.hero-caption h1 {
  font-size: 44px;
  letter-spacing: 3px;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.35);
  white-space: pre-line; /* 同一行长度不限：只在手动换行处断行 */
}
.hero-caption p {
  font-size: 17px;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 32px;
  white-space: pre-line;
}
/* 第3条：Banner 两个矩形立体按钮 */
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}
.hero-dots button {
  width: 32px; height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  transition: var(--transition);
}
.hero-dots button.active { background: var(--gold); width: 48px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  font-size: 15px;
  letter-spacing: 2px;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-gold {
  background: linear-gradient(120deg, var(--gold), var(--gold-deep));
  color: var(--white);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,169,110,0.4); }
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ============ 服务类别卡片 ============ */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,169,110,0.12);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 72px; height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gold-pale), var(--gold-light));
  color: var(--gold);
}
.service-card h3 { font-size: 22px; margin-bottom: 14px; }
.service-card p { font-size: 14px; color: var(--gray-text); }

/* ============ 核心优势徽章 ============ */
.advantage-row { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.advantage-item {
  text-align: center;
  width: 200px;
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 10px;
  padding: 30px 18px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.advantage-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.advantage-badge {
  width: 96px; height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gold-light);
  color: var(--gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.advantage-item:hover .advantage-badge {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--white);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}
.advantage-item h3 { font-size: 17px; margin-bottom: 6px; }
.advantage-item p { font-size: 13px; color: var(--gray-text); }

/* ============ 师资 Banner ============ */
.faculty-banner { position: relative; height: 400px; overflow: hidden; }
.faculty-banner img { width: 100%; height: 100%; object-fit: cover; }
.faculty-banner .mask {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(44,44,44,0.72) 0%, rgba(44,44,44,0.25) 100%);
}
.faculty-banner .caption {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  max-width: 520px;
}
.faculty-banner .caption h2 { font-size: 34px; letter-spacing: 3px; margin-bottom: 14px; }
.faculty-banner .caption p { color: var(--gold-light); font-size: 15px; }

/* ============ 学员见证 ============ */
.story-grid, .voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.story-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.story-card .thumb { height: 200px; overflow: hidden; }
.story-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.story-card:hover .thumb img { transform: scale(1.05); }
.story-card .body { padding: 26px; }
.story-card h3 { font-size: 18px; margin-bottom: 10px; }
.story-card p { font-size: 14px; color: var(--gray-text); }
.story-card .video-link { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--gold); }
.voice-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.voice-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.voice-card .quote { font-size: 15px; color: var(--dark); font-style: italic; margin-bottom: 20px; }
.voice-card .who { display: flex; align-items: center; gap: 12px; }
.voice-card .who img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.voice-card .who .name { font-weight: 600; font-size: 14px; }
.voice-card .who .title { font-size: 12px; color: var(--gray-faint); }

/* ============ 关于我们 ============ */
.about-text { max-width: 860px; margin: 0 auto 64px; }
.about-text p { margin-bottom: 18px; color: var(--gray-text); font-size: 15px; text-align: justify; }
.env-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.env-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.env-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* ============ 分类长条选项卡（第10/12条：矩形立体、占满一行、大字体） ============ */
.tab-bar {
  display: flex;
  width: 100%;
  gap: 0;
  margin-bottom: 48px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(44, 44, 44, 0.10), inset 0 1px 0 rgba(255,255,255,0.6);
  border: 1px solid var(--gold-light);
}
.tab-bar button {
  flex: 1;
  padding: 20px 12px;
  font-size: 19px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--dark);
  background: linear-gradient(180deg, #FFFFFF 0%, #F1EADD 100%);
  border-right: 1px solid var(--gold-light);
  transition: var(--transition);
  position: relative;
}
.tab-bar button:last-child { border-right: none; }
.tab-bar button:hover { color: var(--gold); background: #FFFFFF; }
.tab-bar button.active {
  background: linear-gradient(180deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: var(--white);
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.course-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.course-grid.cols-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; }
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}
.course-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.course-card .thumb { height: 170px; overflow: hidden; position: relative; }
.course-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.course-card:hover .thumb img { transform: scale(1.06); }
.course-card .body { padding: 24px; }
.course-card h3 { font-size: 19px; margin-bottom: 14px; color: var(--dark); }
.course-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.course-tags span {
  font-size: 12px;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 4px 12px;
  border-radius: 999px;
}

/* 课程详情 */
.detail-hero { background: var(--dark); color: var(--white); padding: 72px 0; }
.detail-hero h1 { font-size: 38px; letter-spacing: 3px; margin-bottom: 16px; color: var(--gold-light); }
.detail-hero p { color: var(--gray-light); max-width: 720px; }
.detail-body { padding: 72px 0; max-width: 860px; margin: 0 auto; }
.detail-body h2 { font-size: 26px; margin: 36px 0 16px; }
.detail-body p { color: var(--gray-text); margin-bottom: 14px; }

/* ============ 师资团队 ============ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.teacher-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.teacher-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.teacher-card .avatar { aspect-ratio: 1 / 1; overflow: hidden; }
.teacher-card .avatar img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.teacher-card:hover .avatar img { transform: scale(1.05); }
.teacher-card .info { padding: 20px 16px 26px; }
.teacher-card .name { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.teacher-card .title { font-size: 13px; color: var(--gold); margin-top: 6px; }

/* ============ 案例 / 资讯 / 讲堂 ============ */

.article-list { max-width: 900px; margin: 0 auto; }
.article-item {
  display: flex;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid rgba(201,169,110,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.article-item:hover { background: var(--white); padding-left: 20px; padding-right: 20px; border-radius: var(--radius); }
.article-item .date-box {
  flex-shrink: 0;
  width: 84px;
  text-align: center;
  border-right: 1px solid var(--gold-light);
  padding-right: 20px;
}
.article-item .date-box .day { font-family: var(--serif); font-size: 30px; color: var(--gold); font-weight: 700; line-height: 1.1; }
.article-item .date-box .ym { font-size: 12px; color: var(--gray-faint); }
.article-item .txt h3 { font-size: 18px; margin-bottom: 8px; transition: var(--transition); }
.article-item:hover .txt h3 { color: var(--gold); }
.article-item .txt p { font-size: 14px; color: var(--gray-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.article-detail { max-width: 820px; margin: 0 auto; padding: 72px 0; }
.article-detail h1 { font-size: 32px; margin-bottom: 16px; }
.article-detail .meta { font-size: 13px; color: var(--gray-faint); margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--gold-light); }
.article-detail .content p { margin-bottom: 16px; color: var(--gray-text); text-align: justify; }

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h3 { font-size: 24px; margin-bottom: 24px; }
.contact-line { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-line svg { color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.contact-line .label { font-weight: 600; font-size: 15px; }
.contact-line .value { color: var(--gray-text); font-size: 15px; }
.map-box { margin-top: 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-box iframe, .map-box img { width: 100%; height: 280px; border: 0; object-fit: cover; display: block; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}
.form-card h3 { font-size: 24px; margin-bottom: 8px; }
.form-card .form-sub { font-size: 14px; color: var(--gray-text); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.form-group label .req { color: #C0392B; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  font-family: inherit;
  border: 1px solid #E2D9CC;
  border-radius: 8px;
  background: #FDFBF8;
  transition: var(--transition);
  color: var(--dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.15);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group .hint { display: block; font-size: 12px; color: var(--gray-faint); margin-top: 6px; }
.form-group .error-msg { display: none; font-size: 12px; color: #C0392B; margin-top: 6px; }
.form-group.invalid input { border-color: #C0392B; }
.form-group.invalid .error-msg { display: block; }

.privacy-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--gray-text); margin: 8px 0 24px; }
.privacy-check input { width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.privacy-check a { color: var(--gold); }
.privacy-check a:hover { text-decoration: underline; }
.form-submit { width: 100%; }
.form-toast {
  display: none;
  margin-top: 16px;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}
.form-toast.success { display: block; background: #F0F7EE; color: #2E7D32; border: 1px solid #C8E6C9; }
.form-toast.fail { display: block; background: #FDF0EF; color: #C0392B; border: 1px solid #F5C6C0; }

/* ============ 右侧悬浮按钮 ============ */
.float-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-item {
  width: 62px;
  padding: 12px 0;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--gold-light);
  color: var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
/* 第2条：悬浮按钮文字颜色加深 */
.float-item span { color: var(--dark); font-weight: 500; }
.float-item:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  transform: translateX(-4px);
  box-shadow: var(--shadow-gold);
}
.float-item:hover span, .float-item:hover svg { color: var(--white); }

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(44,44,44,0.55);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}
.modal-box {
  background: var(--white);
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-box.qr-box { max-width: 360px; padding: 44px 32px 36px; text-align: center; }
.modal-box .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 20px;
  color: var(--gray-faint);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  z-index: 2;
}
.modal-box .modal-close:hover { background: var(--cream); color: var(--dark); }
.modal-box .form-card { box-shadow: none; border-top: none; padding: 40px 36px; }
.qr-box img { width: 240px; height: 240px; margin: 18px auto 10px; border-radius: 8px; }
.qr-box h3 { font-size: 20px; }
.qr-box p { font-size: 13px; color: var(--gray-faint); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

/* ============ 页脚 ============ */
.site-footer { background: var(--dark); color: var(--gray-light); }
.footer-grid {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 64px;
  padding-top: 64px;
  padding-bottom: 48px;
  align-items: start;
}
.footer-qr { display: flex; gap: 28px; }
.qr-item img { border-radius: 8px; background: var(--white); padding: 4px; }
.qr-item p { font-size: 12px; color: var(--gray-faint); text-align: center; margin-top: 10px; }
.footer-col h4 { color: var(--gold-light); font-size: 17px; margin-bottom: 20px; letter-spacing: 2px; }
/* 页脚导航（第19条：三行编排，首页单独一行，整体居中工整） */
.footer-nav { text-align: center; }
.footer-nav nav { line-height: 2.4; }
.footer-nav .fn-row { display: block; }
.footer-nav a { color: var(--gray-light); font-size: 15px; transition: var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-nav .sep { color: #555; margin: 0 14px; }
.footer-contact p { font-size: 15px; margin-bottom: 14px; color: var(--gray-light); }
/* 第20条：页脚电话与"咨询热线"标签同字号同颜色 */
.footer-contact .footer-phone { color: var(--gray-light); font-size: 15px; font-weight: 400; }
.footer-contact .footer-phone:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #444;
  padding: 18px 0;
  font-size: 12px;
  color: var(--gray-faint);
  text-align: center;
}
.footer-bottom .container { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; }
.footer-bottom a { color: var(--gray-faint); transition: var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .sep { margin: 0 12px; color: #555; }
.police-beian { display: inline-flex; align-items: center; gap: 6px; }

/* 面包屑页头（内页通用） */
.page-hero {
  background: linear-gradient(120deg, var(--dark) 0%, var(--dark-soft) 100%);
  padding: 72px 0 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(201,169,110,0.18), transparent 60%);
}
.page-hero h1 { color: var(--white); font-size: 36px; letter-spacing: 4px; position: relative; z-index: 1; }
.page-hero .crumb { color: var(--gold); font-size: 13px; letter-spacing: 2px; margin-top: 12px; position: relative; z-index: 1; }

/* 返回链接 */
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--gold); font-size: 14px; margin-bottom: 24px; }
.back-link:hover { text-decoration: underline; }

/* CTA 横条（第18条：与导航电话同色 #C9A96E 纯色） */
.cta-band {
  background: var(--gold);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}
.cta-band h2 { color: var(--white); font-size: 30px; letter-spacing: 3px; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }
.cta-band .btn { background: var(--white); color: var(--gold); box-shadow: none; }
.cta-band .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-qr { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 27px; }
  .header-phone span { display: none; }
  .header-phone { font-size: 16px; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--gold-light);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    box-shadow: var(--shadow-md);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid rgba(201,169,110,0.15); font-size: 16px; }
  .main-nav a::after { display: none; }

  .hero { height: 420px; }
  .hero-caption h1 { font-size: 28px; letter-spacing: 2px; }
  .hero-caption p { font-size: 14px; }
  .service-grid, .story-grid, .voice-grid { grid-template-columns: 1fr; }
  .env-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .course-grid, .course-grid.cols-3 { grid-template-columns: 1fr; }
  .advantage-row { gap: 24px; }
  .advantage-item { width: 42%; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-item { flex-direction: row; gap: 16px; }
  .article-item .date-box { width: 64px; padding-right: 12px; }
  .article-item .date-box .day { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-qr { justify-content: center; }
  .float-bar { right: 10px; gap: 8px; }
  .float-item { width: 54px; font-size: 11px; padding: 10px 0; }
  .page-hero h1 { font-size: 26px; }
  .detail-hero h1 { font-size: 28px; }
  .form-card { padding: 32px 24px; }
}

@media (max-width: 420px) {
  .env-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .advantage-item { width: 100%; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
  .footer-bottom .sep { display: none; }
}

/* ============================================================
   2026-08-13 改版新增样式（第2-20条修改意见）
   ============================================================ */

/* ---------- 内页细线页头（第9/11条：替代深色大背景块） ---------- */
.page-head-lite {
  padding: 44px 0 0;
  background: transparent;
}
.page-head-lite h1 {
  font-size: 30px;
  letter-spacing: 4px;
  color: var(--dark);
  text-align: center;
}
.page-head-lite .lite-line {
  margin: 20px auto 0;
  max-width: 1152px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold) 70%, transparent);
}

/* ---------- Banner 矩形立体按钮（第3条） ---------- */
.btn-rect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 42px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 3px;
  border-radius: 8px;
  transition: var(--transition);
}
.btn-rect-gold {
  background: linear-gradient(180deg, var(--gold-deep) 0%, var(--gold) 100%);
  color: var(--white);
  box-shadow: 0 5px 0 #A8874B, 0 10px 22px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255,255,255,0.35);
  text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.btn-rect-gold:hover { transform: translateY(2px); box-shadow: 0 3px 0 #A8874B, 0 6px 16px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.35); }
.btn-rect-gold:active { transform: translateY(5px); box-shadow: 0 0 0 #A8874B, 0 3px 8px rgba(0,0,0,0.2); }
.btn-rect-line {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid var(--gold-light);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.35), 0 10px 22px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-rect-line:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(2px); box-shadow: 0 3px 0 rgba(0,0,0,0.35), 0 6px 16px rgba(0,0,0,0.2); }
.btn-rect-line:active { transform: translateY(5px); box-shadow: 0 0 0 rgba(0,0,0,0.35); }

/* ---------- 服务类别（框架图2：居中文字选项卡 + 红色下划线；面板左标题+2×2模块、右配图） ---------- */
.svc-section .container { max-width: none; padding: 0; }
.svc-bar {
  display: flex;
  justify-content: center;
  gap: 72px;
  width: 100%;
}
.svc-btn {
  padding: 10px 4px 14px;
  font-size: 20px;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 4px;
  color: #777;
  background: none;
  position: relative;
  transition: var(--transition);
}
.svc-btn:hover { color: var(--dark); }
.svc-btn.active { color: var(--dark); }
.svc-btn.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: #C0392B;
  border-radius: 2px;
}
.svc-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  max-width: 1152px;
  margin: 40px auto 0;
  padding: 0 24px;
  align-items: center;
  animation: fadeIn 0.35s ease;
}
.svc-panel-title {
  font-size: 28px;
  color: var(--dark);
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.svc-panel-sub { font-size: 14px; color: var(--gray-text); margin-bottom: 26px; }
.svc-modules { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: start; }
.svc-module {
  background: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.svc-module:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.svc-module h4 { font-size: 16.5px; color: var(--dark); letter-spacing: 1px; }
.svc-module .svc-sub { font-size: 12.5px; color: #C0392B; margin-top: 6px; letter-spacing: 0.5px; }
.svc-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

/* ---------- 核心优势多行简介（第6条） ---------- */
.adv-desc { white-space: pre-line; min-height: 44px; }

/* ---------- 师资团队合影与简介（第7条） ---------- */
.faculty-photo {
  max-width: 1152px;
  margin: 0 auto 32px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.faculty-photo img { width: 100%; max-height: 480px; object-fit: cover; }
.faculty-intro { max-width: 860px; margin: 0 auto; text-align: center; color: var(--gray-text); font-size: 15px; }

/* ---------- 课程体系横版双列卡片（第10条） ---------- */
.course-grid-h { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.course-card-h {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.course-card-h:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.course-card-h .cc-thumb { width: 42%; flex-shrink: 0; overflow: hidden; }
.course-card-h .cc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.course-card-h:hover .cc-thumb img { transform: scale(1.06); }
.course-card-h .cc-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.course-card-h .cc-body h3 { font-size: 20px; color: var(--dark); }
.course-card-h .cc-desc {
  font-size: 14px; color: var(--gray-text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.empty-tip { text-align: center; color: var(--gray-faint); padding: 48px 0; font-size: 15px; }

/* ---------- 师资简介（第11条：多行、深色） ---------- */
.teacher-intro {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--dark);
  line-height: 1.8;
  text-align: left;
  white-space: pre-line;
}

/* ---------- 资讯/讲堂 左图右文双列 + 翻页（第13/14条） ---------- */
.article-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.article-card {
  display: flex;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-light); }
.article-card .ac-thumb { width: 38%; flex-shrink: 0; overflow: hidden; }
.article-card .ac-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.article-card:hover .ac-thumb img { transform: scale(1.05); }
.article-card .ac-body { padding: 22px 24px; display: flex; flex-direction: column; }
.article-card .ac-body h3 {
  font-size: 17px; color: var(--dark); line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .ac-summary {
  margin-top: 10px; font-size: 13.5px; color: var(--gray-text); flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card .ac-date { margin-top: 12px; font-size: 12.5px; color: var(--gray-faint); }
.pager { display: flex; justify-content: flex-end; gap: 8px; margin-top: 36px; }
.pager button {
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--gold-light);
  background: var(--white);
  color: var(--dark);
  font-size: 14px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.pager button:hover { border-color: var(--gold); color: var(--gold); }
.pager button.active {
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 0 #A8874B;
}

/* ---------- 成长故事"阅读全文"（第12条） ---------- */
.story-card .read-more { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--gold); font-weight: 500; }
.story-card:hover .read-more { text-decoration: underline; }

/* ---------- 详情页封面与富文本正文（第16条） ---------- */
.detail-title { font-size: 32px; letter-spacing: 2px; }
.detail-cover { width: 100%; max-height: 460px; object-fit: cover; border-radius: 10px; margin-bottom: 28px; box-shadow: var(--shadow-sm); }
.rich-content { color: var(--dark); font-size: 15px; line-height: 1.9; }
.rich-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 12px 0; }
.rich-content table { border-collapse: collapse; width: 100%; margin: 16px 0; }
.rich-content td, .rich-content th { border: 1px solid var(--gold-light); padding: 8px 12px; font-size: 14px; }
.rich-content ul, .rich-content ol { padding-left: 24px; margin: 12px 0; list-style: disc; }
.rich-content ol { list-style: decimal; }
.rich-content p, .article-detail .content p { margin-bottom: 14px; }
.article-detail .content p.blank-line { margin-bottom: 0; min-height: 1.2em; }

/* ---------- 响应式补充 ---------- */
@media (max-width: 1024px) {
  .course-grid-h { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .page-head-lite h1 { font-size: 24px; }
  .hero-caption { width: 88%; left: 6%; }
  .hero-caption h1 { font-size: 26px; letter-spacing: 2px; }
  .hero-caption p { font-size: 14px; }
  .btn-rect { padding: 13px 28px; font-size: 14px; }
  .svc-bar { flex-direction: column; }
  .svc-btn { border-radius: 0 !important; border-left: 1px solid var(--gold-light); font-size: 19px; letter-spacing: 4px; padding: 18px 12px; }
  .svc-panel { grid-template-columns: 1fr; gap: 28px; }
  .tab-bar { flex-direction: column; border-radius: 10px; }
  .tab-bar button { border-right: none; border-bottom: 1px solid var(--gold-light); font-size: 17px; padding: 16px 12px; }
  .tab-bar button:last-child { border-bottom: none; }
  .article-grid { grid-template-columns: 1fr; }
  .article-card .ac-thumb { width: 34%; }
  .head-divider .hd-line { width: 56px; }
  .detail-title { font-size: 24px; }
}

/* ---------- 2026-08-13 晚·首页框架微调响应式补充 ---------- */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .svc-modules { grid-template-columns: 1fr; }
  .hero-caption { max-width: 92%; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .header-inner { padding: 0 24px; }
}

/* ============================================================
   2026-08-14 凌晨·按首页框架图2 调整
   ============================================================ */

/* Logo 右移至红框位置（桌面端） */
@media (min-width: 769px) {
  .logo { margin-left: 56px; }
}

/* 隐藏工具类（查看更多展开用） */
.is-hidden { display: none !important; }

/* 核心优势：五个方块柔和区分底色 */
.advantage-item:nth-child(5n+1) { background: #FBF4E4; }
.advantage-item:nth-child(5n+2) { background: #F3EDE2; }
.advantage-item:nth-child(5n+3) { background: #F9EFE8; }
.advantage-item:nth-child(5n+4) { background: #F0EEE7; }
.advantage-item:nth-child(5n+5) { background: #F7F1E1; }

/* 成长故事：双列横版卡片，固定展示框大小，正文只显示摘要 */
.story-grid { grid-template-columns: repeat(2, 1fr); }
.story-card {
  display: flex;
  height: 172px;
  overflow: hidden;
}
.story-card .thumb {
  width: 40%;
  height: 100%;
  flex-shrink: 0;
}
.story-card .body { padding: 18px 22px; overflow: hidden; }
.story-card .body h3 {
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-card .body p {
  margin-top: 8px;
  font-size: 13.5px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 学习感言：固定展示框大小，长文截断 */
.voice-card {
  height: 220px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.voice-card .quote {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 服务选项卡移动端适配（新版居中文字选项卡） */
@media (max-width: 768px) {
  .svc-bar { flex-direction: row; gap: 28px; flex-wrap: wrap; }
  .svc-btn { font-size: 17px; letter-spacing: 2px; }
  .svc-panel-title { font-size: 22px; }
}
@media (max-width: 640px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-card { height: 150px; }
}

/* ============================================================
   2026-08-14 晚·17条修改意见样式
   ============================================================ */

/* 1. Banner 文字与按钮整体右移60px，主标题/副标题/按钮间距各+11px */
.hero-caption { left: calc(6% + 60px); }
.hero-caption h1 { margin-bottom: 27px; }
.hero-caption p { margin-bottom: 43px; }

/* 2. 服务选项卡字体放大一号、加粗、整体上移44px */
.svc-section { padding-top: 44px; }
.svc-btn { font-size: 22px; font-weight: 700; }

/* 3. 服务模块：主标题1行+副标题1行+摘要2行；每个模块加宽100px，间距加大 */
.svc-panel {
  max-width: 1280px;
  grid-template-columns: 786px 1fr;
  gap: 56px;
  margin-top: 48px;
}
.svc-modules { gap: 22px; }
.svc-module { padding: 20px 22px; }
.svc-module h4 {
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-module .svc-sub {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-module .svc-desc {
  margin-top: 8px;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 1330px) {
  .svc-panel { grid-template-columns: 1.15fr 1fr; }
}
@media (max-width: 768px) {
  .svc-panel { grid-template-columns: 1fr; }
}

/* 4. 核心优势：底色加深 + 立体感；图标改立体金币风 */
.advantage-item { box-shadow: 0 8px 20px rgba(44,44,44,0.10), inset 0 1px 0 rgba(255,255,255,0.7); }
.advantage-item:nth-child(5n+1) { background: #F0DFC0; }
.advantage-item:nth-child(5n+2) { background: #E8D7B8; }
.advantage-item:nth-child(5n+3) { background: #EFDCC2; }
.advantage-item:nth-child(5n+4) { background: #E4D4B4; }
.advantage-item:nth-child(5n+5) { background: #EBD9BA; }
.advantage-badge {
  background: radial-gradient(circle at 32% 28%, #F3E3B8 0%, var(--gold) 55%, #A8874B 100%);
  border: none;
  color: #FFFFFF;
  box-shadow: 0 6px 14px rgba(168, 135, 75, 0.45), inset 0 2px 3px rgba(255,255,255,0.55), inset 0 -3px 6px rgba(120, 90, 40, 0.35);
  text-shadow: 0 1px 2px rgba(120, 90, 40, 0.5);
}
.advantage-item:hover .advantage-badge {
  background: radial-gradient(circle at 32% 28%, #F7EAC6 0%, var(--gold-deep) 55%, #96763C 100%);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(168, 135, 75, 0.5), inset 0 2px 3px rgba(255,255,255,0.6), inset 0 -3px 6px rgba(120, 90, 40, 0.35);
}
.adv-desc { min-height: 66px; /* 预留3行文字说明 */ }

/* 5. 专业导师团队合影 1280×525 */
.faculty-photo { max-width: 1280px; }
.faculty-photo img { height: 525px; max-height: none; object-fit: cover; }
@media (max-width: 1330px) { .faculty-photo img { height: auto; aspect-ratio: 1280 / 525; } }

/* 6. 成长故事卡：整体加宽110px（图+80/文+30），黑体标题+备注+3行摘要+右对齐日期 */
.container-wide { max-width: 1420px; }
.story-card .thumb { width: 45%; }
.story-card .body h3 {
  font-family: var(--sans);
  font-weight: 700;
  color: #1A1A1A;
  font-size: 16.5px;
}
.story-card .story-note {
  margin-top: 5px;
  font-size: 12.5px;
  color: var(--gold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.story-card .story-summary {
  margin-top: 6px;
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-card .story-date {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--gray-faint);
  text-align: right;
}
@media (max-width: 1470px) { .container-wide { max-width: 1200px; } .story-card .thumb { width: 40%; } }

/* 7. 学习感言卡：头像姓名在上、感言在下（框架图布局） */
.voice-card .who { margin-bottom: 14px; }
.voice-card .quote {
  flex: none;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 8. 底部二维码整体左移100px，两码间距+16px（28→44） */
/* 10. 底部"联系我们"整体右移100px */
@media (min-width: 1025px) {
  .footer-qr { margin-left: -100px; gap: 44px; }
  .footer-contact { margin-right: -100px; }
}

/* 11. CTA 横条背景加深 */
.cta-band { background: #B48F4E; }

/* 12. 关于我们：顶部 Banner 1920×400；正文字体+1号、行宽+298px */
.inner-banner { width: 100%; overflow: hidden; }
.inner-banner img { width: 100%; height: 400px; object-fit: cover; display: block; }
.about-text { max-width: 1158px; font-size: 16.5px; }
.about-text p, .about-text .rich-content { font-size: 16.5px; }
@media (max-width: 768px) { .inner-banner img { height: 220px; } }

/* 13. 师资团队：顶部 Banner 1920×640 + 左侧人物文字简介 */
.team-banner { position: relative; }
.team-banner img { height: 640px; }
.team-hero-text {
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  text-align: left;
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
  max-width: 460px;
}
.team-hero-text .th-name {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 6px;
  margin-bottom: 18px;
}
.team-hero-text .th-titles {
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.9;
  color: #F3E3B8;
  margin-bottom: 16px;
}
.team-hero-text .th-intro {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
}
@media (max-width: 768px) {
  .team-banner img { height: 380px; }
  .team-hero-text { left: 6%; max-width: 84%; }
  .team-hero-text .th-name { font-size: 30px; }
  .team-hero-text .th-titles { font-size: 15px; }
}

/* 14. 师资卡片：姓名+职称（3行），模块统一大小 */
.teacher-card .info { min-height: 148px; }
.teacher-card .title {
  white-space: pre-line;
  min-height: 66px;
  line-height: 1.7;
}

/* 15/16/17. 内页深色贯穿分隔线（新闻资讯/口才讲堂/联系我们） */
.page-divider-dark {
  width: 100%;
  height: 3px;
  background: var(--dark);
}

/* 17. 联系我们：地图方块底部与在线留言方块底部对齐 */
.contact-grid { align-items: stretch; }
.contact-info { display: flex; flex-direction: column; }
.contact-info .map-box { flex: 1; display: flex; margin-top: 28px; }
.contact-info .map-box iframe,
.contact-info .map-box img { flex: 1; height: 100%; min-height: 200px; }

/* 8/10. 页脚位移分档：宽屏足量位移，中等屏减半防裁切 */
@media (min-width: 1440px) {
  .footer-qr { margin-left: -100px; gap: 44px; }
  .footer-contact { margin-right: -100px; }
}
@media (min-width: 1025px) and (max-width: 1439px) {
  .footer-qr { margin-left: -48px; gap: 44px; }
  .footer-contact { margin-right: -48px; }
}
