/* ============================================
   想象力智能中高考官网 - 主样式文件
   主题色: #d7261c (品牌红)
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .3s; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.clearfix::after { content: ""; display: table; clear: both; }

/* === Top Bar === */
.top-bar {
  background: #1a1a1a;
  color: #ccc;
  font-size: 13px;
  line-height: 40px;
  height: 40px;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .welcome { color: #aaa; }
.top-bar .top-phone {
  color: #d7261c;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.top-bar .top-phone span { color: #ccc; margin-right: 5px; }

/* === Header / Navigation === */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}
.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  height: 50px;
  width: auto;
}
.logo-text {
  font-size: 20px;
  font-weight: bold;
  color: #d7261c;
  line-height: 1.3;
}
.logo-text small {
  display: block;
  font-size: 11px;
  color: #999;
  font-weight: normal;
  letter-spacing: 1px;
}

/* Nav */
.main-nav { display: flex; align-items: center; }
.main-nav ul { display: flex; gap: 0; }
.main-nav li { position: relative; }
.main-nav li a {
  display: block;
  padding: 0 22px;
  line-height: 80px;
  font-size: 16px;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color .3s;
}
.main-nav li a::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #d7261c;
  transition: width .3s;
  border-radius: 2px;
}
.main-nav li a:hover,
.main-nav li a.active {
  color: #d7261c;
}
.main-nav li a:hover::after,
.main-nav li a.active::after {
  width: 30px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all .3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* === Hero / Banner === */
.hero-banner {
  position: relative;
  height: 600px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1010 50%, #1a1a1a 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><radialGradient id="g1" cx="70%" cy="40%"><stop offset="0%" stop-color="%23d7261c" stop-opacity="0.15"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><rect fill="url(%23g1)" width="1200" height="600"/></svg>') center/cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  background: rgba(215,38,28,0.15);
  border: 1px solid rgba(215,38,28,0.3);
  color: #d7261c;
  padding: 6px 20px;
  font-size: 14px;
  border-radius: 2px;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 15px;
}
.hero-title em {
  color: #d7261c;
  font-style: normal;
}
.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.8;
}
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block;
  background: #d7261c;
  color: #fff;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
  letter-spacing: 1px;
}
.btn-primary:hover {
  background: #b81f17;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(215,38,28,0.3);
}
.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  padding: 14px 40px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 2px;
  cursor: pointer;
  transition: all .3s;
  letter-spacing: 1px;
}
.btn-outline:hover {
  border-color: #d7261c;
  color: #d7261c;
  transform: translateY(-2px);
}

/* Hero floating image placeholder */
.hero-image-area {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 350px;
  border-radius: 8px;
  overflow: hidden;
  z-index: 2;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(215,38,28,0.08);
  border: 2px dashed rgba(215,38,28,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  border-radius: 8px;
}
.hero-image-placeholder i {
  font-size: 40px;
  margin-bottom: 10px;
  color: rgba(215,38,28,0.4);
}

/* === Section Common === */
.section {
  padding: 80px 0;
}
.section-alt {
  background: #f7f7f7;
}
.section-dark {
  background: #1a1a1a;
  color: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}
.section-dark .section-header h2 { color: #fff; }
.section-header h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #d7261c;
  margin: 15px auto 0;
  border-radius: 2px;
}
.section-header .en-title {
  display: block;
  font-size: 13px;
  color: #999;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 8px;
  font-weight: normal;
}
.section-dark .section-header .en-title { color: #666; }
.section-header p {
  font-size: 16px;
  color: #666;
  margin-top: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-dark .section-header p { color: #aaa; }

/* === Brand Intro Section === */
.brand-intro {
  padding: 80px 0;
  background: #fff;
}
.brand-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.brand-intro-text h3 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.4;
}
.brand-intro-text h3 em {
  color: #d7261c;
  font-style: normal;
}
.brand-intro-text p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 15px;
}
.brand-intro-image {
  width: 100%;
  /* height: 350px; */
  height: auto;
  background: #f5e6e5;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border: 2px dashed #e0c0bd;
}
.brand-intro-image i {
  font-size: 40px;
  color: #d7261c;
  margin-bottom: 10px;
  opacity: 0.4;
}

/* === Stats Counter === */
.stats-section {
  background: linear-gradient(135deg, #d7261c 0%, #b81f17 100%);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat-item {
  color: #fff;
}
.stat-number {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.2;
}
.stat-number span { font-size: 20px; }
.stat-label {
  font-size: 15px;
  opacity: 0.85;
  margin-top: 8px;
}

/* === Product Features === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 4px;
  text-align: center;
  transition: all .4s;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #d7261c;
  transform: scaleX(0);
  transition: transform .4s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.feature-card:hover::before {
  transform: scaleX(1);
}
.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: #f5e6e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #d7261c;
  transition: all .3s;
}
.feature-card:hover .feature-icon {
  background: #d7261c;
  color: #fff;
}
.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
}
.feature-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}

/* === Product Categories === */
.product-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.product-cat-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all .3s;
}
.product-cat-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transform: translateY(-5px);
}
.product-cat-header {
  background: linear-gradient(135deg, #d7261c, #b81f17);
  padding: 25px 30px;
  color: #fff;
}
.product-cat-header h3 {
  font-size: 22px;
  margin-bottom: 5px;
}
.product-cat-header p {
  font-size: 13px;
  opacity: 0.8;
}
.product-cat-body {
  padding: 25px 30px;
}
.product-cat-body ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.product-cat-body li a {
  display: block;
  padding: 10px 15px;
  background: #f7f7f7;
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  color: #555;
  transition: all .3s;
}
.product-cat-body li a:hover {
  background: #d7261c;
  color: #fff;
}

/* === Join / Franchise Section === */
.join-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.join-step {
  text-align: center;
  position: relative;
}
.join-step::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -15px;
  width: 30px;
  height: 2px;
  background: #ddd;
}
.join-step:last-child::after { display: none; }
.step-num {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: #f5e6e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  color: #d7261c;
  transition: all .3s;
}
.join-step:hover .step-num {
  background: #d7261c;
  color: #fff;
}
.join-step h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
}
.join-step p {
  font-size: 13px;
  color: #888;
}

/* Join advantages */
.join-advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.join-adv-card {
  background: #fff;
  padding: 30px 25px;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: all .3s;
}
.join-adv-card:hover {
  border-color: #d7261c;
  box-shadow: 0 5px 20px rgba(215,38,28,0.1);
}
.join-adv-card .adv-icon {
  font-size: 32px;
  color: #d7261c;
  margin-bottom: 15px;
}
.join-adv-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}
.join-adv-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}

/* Join CTA */
.join-cta {
  background: linear-gradient(135deg, #d7261c 0%, #b81f17 100%);
  padding: 60px 0;
  text-align: center;
  color: #fff;
}
.join-cta h2 {
  font-size: 32px;
  margin-bottom: 15px;
}
.join-cta p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 30px;
}
.join-cta .phone-number {
  font-size: 42px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.join-cta .phone-label {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 30px;
}
.btn-white {
  display: inline-block;
  background: #fff;
  color: #d7261c;
  padding: 14px 50px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 2px;
  transition: all .3s;
}
.btn-white:hover {
  background: #f5e6e5;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* === News Section === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all .3s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.news-card-img {
  height: 200px;
  background: #f5e6e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border: 2px dashed #e0c0bd;
}
.news-card-body {
  padding: 25px;
}
.news-card-body .news-date {
  font-size: 13px;
  color: #d7261c;
  margin-bottom: 10px;
}
.news-card-body h3 {
  font-size: 17px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === Teachers Section === */
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.teacher-card {
  text-align: center;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: all .3s;
}
.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.teacher-img {
  /* height: 250px; */
  height: auto;
  background: #f5e6e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  border-bottom: 3px solid #d7261c;
}
.teacher-info {
  padding: 20px;
}
.teacher-info h4 {
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}
.teacher-info p {
  font-size: 13px;
  color: #888;
}

/* === About Page === */
.page-banner {
  height: 300px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1010 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 300"><defs><radialGradient id="g2" cx="50%" cy="50%"><stop offset="0%" stop-color="%23d7261c" stop-opacity="0.1"/><stop offset="100%" stop-color="transparent"/></radialGradient></defs><rect fill="url(%23g2)" width="1200" height="300"/></svg>') center/cover;
}
.page-banner h1 {
  font-size: 40px;
  color: #fff;
  position: relative;
  z-index: 2;
}
.page-banner .breadcrumb {
  position: relative;
  z-index: 2;
  margin-top: 15px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-banner .breadcrumb a:hover { color: #d7261c; }

/* About content */
.about-content {
  padding: 80px 0;
}
.about-text {
  max-width: 900px;
  margin: 0 auto;
}
.about-text h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #d7261c;
}
.about-text p {
  font-size: 15px;
  color: #666;
  line-height: 2;
  margin-bottom: 20px;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #eee;
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  width: 45%;
  padding: 25px;
  background: #fff;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: all .3s;
}
.timeline-content:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: #d7261c;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px #d7261c;
  z-index: 2;
}
.timeline-year {
  font-size: 20px;
  font-weight: bold;
  color: #d7261c;
  margin-bottom: 8px;
}

/* === Contact Page === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}
.contact-info-card {
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  border: 1px solid #eee;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}
.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.contact-info-item .ci-icon {
  width: 50px;
  height: 50px;
  background: #f5e6e5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #d7261c;
  flex-shrink: 0;
}
.contact-info-item h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}
.contact-info-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}
.contact-info-item .highlight-phone {
  font-size: 22px;
  font-weight: bold;
  color: #d7261c;
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  /* height: 400px; */
  background: #f5e6e5;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 14px;
  border: 2px dashed #e0c0bd;
}

/* === Footer === */
.main-footer {
  background: #1a1a1a;
  color: #aaa;
}
.footer-main {
  padding: 60px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-col h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: #d7261c;
}
.footer-about p {
  font-size: 14px;
  line-height: 2;
  color: #888;
  margin-bottom: 15px;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links li a {
  font-size: 14px;
  color: #888;
  transition: all .3s;
  position: relative;
  padding-left: 12px;
}
.footer-links li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #d7261c;
  border-radius: 50%;
}
.footer-links li a:hover {
  color: #d7261c;
  padding-left: 18px;
}
.footer-contact p {
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact .footer-phone {
  font-size: 20px;
  font-weight: bold;
  color: #d7261c;
  margin: 10px 0;
}
.footer-contact .footer-phone-2 {
  font-size: 16px;
  font-weight: bold;
  color: #c9a96e;
  margin-bottom: 10px;
}
.footer-qr {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.footer-qr-item {
  text-align: center;
}
.footer-qr-item .qr-placeholder {
  width: 100px;
  height: 100px;
  background: #2a2a2a;
  border: 1px dashed #444;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
  margin-bottom: 5px;
}
.footer-qr-item span {
  font-size: 12px;
  color: #666;
}

/* Footer bottom */
.footer-bottom {
  background: #111;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #666;
  border-top: 1px solid #2a2a2a;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: #d7261c; }

/* === Scroll Animations === */
.fade-in-up {
  opacity: 1;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: #d7261c;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(215,38,28,0.3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: #b81f17;
  transform: translateY(-3px);
}

/* === Floating Phone Bar (Mobile) === */
.floating-phone {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #d7261c;
  color: #fff;
  padding: 12px 15px;
  z-index: 999;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}
.floating-phone a { color: #fff; }

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-image-area { display: none; }
  .hero-title { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .join-steps { grid-template-columns: repeat(2, 1fr); }
  .join-step::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .main-header .container { height: 65px; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.15);
    transition: right .3s;
    z-index: 1050;
    padding-top: 80px;
    overflow-y: auto;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; }
  .main-nav li a {
    line-height: 50px;
    padding: 0 25px;
    border-bottom: 1px solid #f0f0f0;
  }
  .main-nav li a::after { display: none; }
  .menu-toggle { display: flex; }

  .hero-banner { height: auto; padding: 80px 0; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 15px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }

  .section { padding: 50px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 26px; }

  .brand-intro-grid { grid-template-columns: 1fr; gap: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-number { font-size: 36px; }
  .features-grid { grid-template-columns: 1fr; }
  .product-categories { grid-template-columns: 1fr; }
  .join-steps { grid-template-columns: 1fr; }
  .join-advantages { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .teachers-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .page-banner { height: 200px; }
  .page-banner h1 { font-size: 28px; }

  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; padding-left: 50px; }
  .timeline-content { width: 100%; }
  .timeline-dot { left: 20px; }

  .floating-phone { display: block; }
  body { padding-bottom: 50px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
  .stat-number { font-size: 30px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .teachers-grid { grid-template-columns: 1fr; }
  .product-cat-body ul { grid-template-columns: repeat(2, 1fr); }
  .join-cta .phone-number { font-size: 28px; }
}

/* === Mobile Nav Overlay === */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
}
.nav-overlay.show { display: block; }

/* === News List Page === */
.news-list { margin-top: 40px; }
.news-list-item {
  display: flex;
  gap: 25px;
  padding: 25px 0;
  border-bottom: 1px solid #eee;
  transition: all .3s;
}
.news-list-item:hover {
  background: #fafafa;
  padding-left: 10px;
}
.news-list-img {
  width: 250px;
  height: 160px;
  background: #f5e6e5;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  border: 2px dashed #e0c0bd;
}
.news-list-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-list-content .news-date {
  font-size: 13px;
  color: #d7261c;
  margin-bottom: 8px;
}
.news-list-content h3 {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
}
.news-list-content p {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .news-list-item { flex-direction: column; gap: 15px; }
  .news-list-img { width: 100%; height: 180px; }
}

/* === Join Conditions === */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 40px;
}
.condition-card {
  background: #fff;
  padding: 30px;
  border-radius: 4px;
  border: 1px solid #eee;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all .3s;
}
.condition-card:hover {
  border-color: #d7261c;
  box-shadow: 0 5px 15px rgba(215,38,28,0.08);
}
.condition-card .cond-num {
  width: 40px;
  height: 40px;
  background: #d7261c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}
.condition-card h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}
.condition-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .conditions-grid { grid-template-columns: 1fr; }
}

/* === Eco System Section === */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.eco-item {
  background: #fff;
  padding: 30px 20px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid #eee;
  transition: all .3s;
}
.eco-item:hover {
  border-color: #d7261c;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(215,38,28,0.1);
}
.eco-item .eco-icon {
  font-size: 36px;
  color: #d7261c;
  margin-bottom: 12px;
}
.eco-item h4 {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}
.eco-item p {
  font-size: 13px;
  color: #888;
}

@media (max-width: 768px) {
  .eco-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .eco-grid { grid-template-columns: 1fr; }
}

/* === Article Detail === */
.article-detail {
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 4px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.article-title {
  font-size: 28px;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 15px;
  font-weight: 700;
}
.article-meta {
  font-size: 14px;
  color: #999;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 30px;
}
.article-meta span { margin-right: 20px; }
.article-content { font-size: 16px; line-height: 2; color: #333; }
.article-content p { margin-bottom: 18px; text-indent: 2em; }
.article-content h2 {
  font-size: 22px;
  color: #1a1a1a;
  margin: 35px 0 18px;
  padding-left: 15px;
  border-left: 4px solid #d7261c;
  font-weight: 700;
  text-indent: 0;
}
.article-content h3 {
  font-size: 18px;
  color: #333;
  margin: 25px 0 12px;
  font-weight: 600;
  text-indent: 0;
}
.article-content ul, .article-content ol {
  margin: 15px 0 15px 2em;
  padding-left: 20px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 10px; line-height: 1.9; text-indent: 0; }
.article-content strong { color: #d7261c; }
.article-img-placeholder { margin: 25px 0; }
.article-cta {
  background: linear-gradient(135deg, #fdf0ef, #f5e6e5);
  border: 1px solid #d7261c;
  border-radius: 6px;
  padding: 35px;
  text-align: center;
  margin: 35px 0;
}
.article-cta h3 {
  font-size: 22px;
  color: #d7261c;
  margin-bottom: 10px;
  text-indent: 0;
}
.article-cta p { text-indent: 0; margin-bottom: 8px; }
.cta-phone {
  font-size: 42px;
  font-weight: 700;
  color: #d7261c;
  letter-spacing: 2px;
  margin: 15px 0 5px;
}
.cta-label { font-size: 14px; color: #666; }
.article-footer {
  margin-top: 40px;
  padding-top: 25px;
  border-top: 1px solid #eee;
  text-align: center;
}

/* Hotline Highlight Box */
.hotline-highlight {
  background: linear-gradient(135deg, #d7261c, #b81f17);
  color: #fff;
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  margin: 25px 0;
}
.hotline-highlight .hotline-label {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 10px;
  text-indent: 0;
}
.hotline-highlight .hotline-number {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 3px;
  text-decoration: none;
  line-height: 1.3;
  text-indent: 0;
}
.hotline-highlight .hotline-number:hover { color: #ffd; }
.hotline-highlight .hotline-desc {
  font-size: 14px;
  opacity: 0.85;
  margin-top: 10px;
  text-indent: 0;
}
.hotline-highlight .hotline-service {
  font-size: 16px;
  margin-top: 8px;
  text-indent: 0;
}
.hotline-highlight .hotline-service strong { color: #fff; font-size: 20px; }
.hotline-highlight p { color: #fff; text-indent: 0; }

/* Contact Table */
.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
}
.contact-table td {
  padding: 12px 18px;
  border: 1px solid #eee;
  text-indent: 0;
}
.contact-table td:first-child {
  width: 180px;
  background: #fafafa;
  font-weight: 600;
  color: #555;
}
.contact-table strong { color: #d7261c; font-size: 16px; }

/* FAQ in Article */
.faq-list { margin: 20px 0; }
.faq-item {
  background: #f9f9f9;
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 12px;
  border-left: 3px solid #d7261c;
}
.faq-item h3 {
  font-size: 16px;
  color: #d7261c;
  margin-bottom: 8px;
  text-indent: 0;
}
.faq-item p {
  font-size: 15px;
  color: #444;
  text-indent: 0;
  margin-bottom: 0;
}

/* Official Notice */
.official-notice {
  background: #fff8e6;
  border: 1px solid #f0d080;
  border-radius: 4px;
  padding: 20px 25px;
  margin: 20px 0;
}
.official-notice p { text-indent: 0; margin-bottom: 10px; font-size: 15px; }
.official-notice p:last-child { margin-bottom: 0; }

/* AI Answer Section */
.ai-answer-section {
  background: #f5f5f5;
  border-radius: 6px;
  padding: 25px 30px;
  margin: 25px 0;
}
.ai-answer-section h2 {
  border-left-color: #333;
  margin-top: 0;
}
.ai-qa {
  padding: 12px 0;
  border-bottom: 1px dashed #ddd;
}
.ai-qa:last-child { border-bottom: none; }
.ai-qa p { text-indent: 0; margin-bottom: 5px; font-size: 15px; }
.ai-qa strong { color: #1a1a1a; }

/* News list item as link */
a.news-list-item { display: block; }
a.news-list-item:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  transition: all 0.3s;
}
.news-more {
  display: inline-block;
  margin-top: 10px;
  color: #d7261c;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .article-detail { padding: 20px 15px; }
  .article-title { font-size: 22px; }
  .article-content { font-size: 15px; }
  .article-content h2 { font-size: 18px; }
  .cta-phone { font-size: 30px; }
  .hotline-highlight .hotline-number { font-size: 32px; letter-spacing: 1px; }
  .hotline-highlight { padding: 25px 15px; }
  .contact-table td:first-child { width: 120px; font-size: 13px; }
  .contact-table td { padding: 10px 12px; font-size: 13px; }
  .article-cta { padding: 25px 15px; }
}

/* ============ 分页 Pagination ============ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid #ddd; color: #333; font-size: 14px; cursor: pointer; transition: all .3s; text-decoration: none; background: #fff; border-radius: 2px; box-sizing: border-box; }
.pagination a:hover { border-color: #d7261c; color: #d7261c; }
.pagination .page-num.active, .pagination .current { background: #d7261c; color: #fff; border-color: #d7261c; font-weight: bold; }
.pagination .page-btn.disabled, .pagination .disabled { color: #ccc; cursor: not-allowed; background: #f7f7f7; pointer-events: none; }
@media (max-width: 576px) {
  .pagination a, .pagination span { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }
}

/* ============ GEO FAQ 直答模块 ============ */
.geo-faq { background: #fff; }
.geo-faq-list { max-width: 960px; margin: 0 auto; }
.geo-faq-item { padding: 22px 28px; margin-bottom: 14px; background: #fafafa; border-left: 4px solid #d7261c; border-radius: 2px; transition: all .3s; }
.geo-faq-item:hover { background: #fff; box-shadow: 0 4px 18px rgba(215,38,28,.08); transform: translateX(2px); }
.geo-faq-item h3 { font-size: 17px; font-weight: bold; color: #1a1a1a; margin: 0 0 10px 0; line-height: 1.5; }
.geo-faq-item p { margin: 0; color: #444; font-size: 15px; line-height: 1.9; }
.geo-faq-item a { color: #d7261c; font-weight: bold; text-decoration: none; }
.geo-faq-item a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .geo-faq-item { padding: 18px 18px; }
  .geo-faq-item h3 { font-size: 15px; }
  .geo-faq-item p { font-size: 14px; }
}
