/* ===== 基础变量与重置 ===== */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --ink: #0f172a;
  --ink-2: #475569;
  --ink-3: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f1f5f9;
  --line: #e2e8f0;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 14px 40px rgba(37, 99, 235, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
}

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

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

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

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

.container { width: min(1160px, 92%); margin: 0 auto; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-ghost { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== 顶部信息条 ===== */
.topbar {
  background: #1e293b;
  color: #cbd5e1;
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; }
.topbar-contact { color: var(--accent-light); font-weight: 600; }

/* ===== 导航 ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { display: inline-flex; filter: drop-shadow(0 4px 10px rgba(37, 99, 235, .35)); }
.brand-text { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: 1px; display: flex; flex-direction: column; line-height: 1.15; }
.brand-text em { font-style: normal; font-size: 11px; font-weight: 500; color: var(--ink-3); letter-spacing: 2px; }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  padding: 6px 2px;
  transition: color .25s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary);
  transition: right .3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 78%);
  overflow: hidden;
  padding: 72px 0 140px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }

.hero-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.18; font-weight: 800; letter-spacing: 1px; }
.hero h1 .hl {
  position: relative;
  color: var(--primary);
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 6px;
  height: 12px;
  background: rgba(245, 158, 11, .35);
  border-radius: 6px;
  z-index: -1;
}
.hero-sub { margin: 22px 0 30px; color: var(--ink-2); font-size: 16.5px; max-width: 34em; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 34px; padding-top: 24px; border-top: 1px dashed var(--line); }
.hero-points li { position: relative; font-size: 14px; color: var(--ink-2); font-weight: 500; padding-left: 22px; }
.hero-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 13px; height: 13px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--accent);
}

.hero-art { position: relative; display: flex; justify-content: center; }
.art-card-main {
  width: min(380px, 88%);
  background: #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: rotate(2deg);
  border: 1px solid #f0f4ff;
}
.art-card-main svg { margin: 0 auto; }
.art-chip {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.art-chip strong { font-size: 15px; color: var(--ink); }
.art-chip span { font-size: 12px; color: var(--ink-3); }
.art-chip-1 { top: 6%; right: -2%; }
.art-chip-2 { bottom: 8%; left: -2%; }

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ===== Section 通用 ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; margin-bottom: 12px; }
.section-head p { color: var(--ink-2); font-size: 16px; }

/* ===== 卡片网格 ===== */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
  margin-bottom: 20px;
}
.card:nth-child(2) .card-icon { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.card:nth-child(3) .card-icon { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.card:nth-child(4) .card-icon { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); }

/* ===== 课程体系 ===== */
.course-ladder { max-width: 820px; margin: 0 auto; display: grid; gap: 18px; }
.course-step {
  display: flex;
  align-items: center;
  gap: 26px;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  transition: transform .3s ease, box-shadow .3s ease;
}
.course-step:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.course-step:nth-child(2) { border-left-color: var(--accent); }
.course-step:nth-child(3) { border-left-color: #0d9488; }
.course-step:nth-child(4) { border-left-color: #8b5cf6; }

.course-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  width: 56px;
  flex-shrink: 0;
  -webkit-text-stroke: 1px var(--primary);
}
.course-body { flex: 1; }
.course-body h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.course-age { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent); background: #fef3c7; padding: 2px 12px; border-radius: 999px; margin-bottom: 8px; }
.course-body p:last-child { font-size: 14.5px; color: var(--ink-2); }
.course-badge {
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 8px 18px;
  border-radius: 999px;
}

/* ===== 关于我们 ===== */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-photo {
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.about-photo svg { width: 100%; height: auto; }
.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat strong { display: block; font-size: 24px; font-weight: 800; color: var(--primary); }
.stat span { font-size: 12.5px; color: var(--ink-2); }

.about-content h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; line-height: 1.3; margin-bottom: 20px; }
.about-content p { color: var(--ink-2); margin-bottom: 16px; font-size: 15.5px; }
.about-content .btn { margin-top: 12px; }

/* ===== 联系 / 表单 ===== */
.section-contact { background: linear-gradient(135deg, #1d4ed8, #2563eb); color: #fff; }
.section-tag-light { background: rgba(255, 255, 255, .18); color: #fff; }
.section-contact h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; margin-bottom: 16px; }
.section-contact .contact-info p { color: #dbeafe; font-size: 15.5px; margin-bottom: 26px; max-width: 30em; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: #e0e7ff; font-size: 15px; }
.contact-list svg { flex-shrink: 0; color: var(--accent-light); }
.contact-list strong { color: #fff; }
.contact-note { margin-top: 26px; font-size: 13px; color: #bfdbfe; }

.contact-form {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink);
  background: #f8fafc;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
  appearance: none;
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group input.error, .form-group select.error { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239, 68, 68, .1); }
.form-tip { font-size: 12px; color: var(--ink-3); margin-top: 12px; text-align: center; }
.form-success {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-size: 14px;
  font-weight: 500;
}

/* ===== Footer ===== */
.footer { background: #0f172a; color: #94a3b8; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.footer-brand-text { font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: 14px; line-height: 1.9; }
.footer-title { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ===== 滚动渐入动画 ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-art { margin-top: 24px; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .topbar-contact { display: none; }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--line);
    padding: 12px 6%;
    display: none;
    max-height: calc(100vh - 74px);
    overflow: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 4px; border-bottom: 1px solid #f1f5f9; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .section { padding: 72px 0; }
  .hero { padding-bottom: 110px; }
  .art-chip-1 { right: 0; }
  .art-chip-2 { left: 0; }
  .course-step { flex-wrap: wrap; gap: 14px; padding: 22px; }
  .course-num { width: auto; }
  .course-badge { margin-left: auto; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .grid-4 { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .hero h1 { font-size: 36px; }
  .brand-text { font-size: 19px; }
  .brand-text em { font-size: 10px; }
}

/* ===== 二级页面公共样式 ===== */

/* 页面横幅 */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, #1e40af 0%, #2563eb 55%, #3b82f6 100%);
  color: #fff;
  padding: 86px 0 96px;
  overflow: hidden;
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
.page-hero::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.page-hero::after { width: 220px; height: 220px; bottom: -100px; left: 8%; }
.page-hero-inner { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #bfdbfe;
  margin-bottom: 20px;
}
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .6; }
.breadcrumb .current { color: #fff; font-weight: 600; }
.page-hero h1 { font-size: clamp(32px, 4.5vw, 46px); font-weight: 800; letter-spacing: 1px; margin-bottom: 14px; }
.page-hero .page-sub { font-size: 16.5px; color: #dbeafe; max-width: 42em; }

/* 通用网格 */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* 特色卡片（优势详情） */
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .card-icon { margin-bottom: 22px; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--ink-2); }
.feature-card ul { margin-top: 14px; display: grid; gap: 8px; }
.feature-card ul li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); }
.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  opacity: .75;
}

/* 数据统计条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 38px 30px;
  border: 1px solid var(--line);
}
.stats-bar .stat-item { text-align: center; }
.stats-bar .stat-item + .stat-item { border-left: 1px solid var(--line); }
.stats-bar strong { display: block; font-size: 38px; font-weight: 800; color: var(--primary); line-height: 1.2; }
.stats-bar strong em { font-style: normal; font-size: 22px; }
.stats-bar span { font-size: 14px; color: var(--ink-2); }

/* 时间线（发展历程） */
.timeline { max-width: 780px; margin: 0 auto; position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 8px; bottom: 8px;
  width: 2.5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  border-radius: 2px;
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px; top: 5px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .15);
}
.timeline-item .tl-year { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 1px; }
.timeline-item h3 { font-size: 18px; font-weight: 700; margin: 4px 0 8px; }
.timeline-item p { font-size: 14.5px; color: var(--ink-2); }

/* 家长评价 */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .3s ease, box-shadow .3s ease;
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial .stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 14.5px; color: var(--ink-2); font-style: normal; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
  flex-shrink: 0;
}
.testimonial figcaption strong { font-size: 14.5px; }
.testimonial figcaption span { display: block; font-size: 12.5px; color: var(--ink-3); }

/* CTA 大横幅 */
.cta-banner {
  background: linear-gradient(120deg, #1e40af, #2563eb);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
}
.cta-banner::before { width: 220px; height: 220px; top: -90px; right: -40px; }
.cta-banner::after { width: 160px; height: 160px; bottom: -70px; left: -30px; }
.cta-banner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 12px; }
.cta-banner p { color: #dbeafe; margin-bottom: 26px; font-size: 15.5px; }
.cta-banner .btn-primary { background: #fff; color: var(--primary-dark); }
.cta-banner .btn-primary:hover { background: var(--accent-light); color: #78350f; }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,.8); color: #fff; }
.cta-banner .btn-ghost:hover { background: #fff; color: var(--primary-dark); }

/* 课程详情页 */
.course-detail {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.course-detail:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.course-detail .cd-head {
  padding: 30px 32px 24px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.course-detail .cd-num { font-size: 44px; font-weight: 800; color: rgba(37, 99, 235, .18); line-height: 1; }
.course-detail .cd-tag {
  font-size: 12.5px; font-weight: 600;
  color: var(--primary);
  background: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.course-detail .cd-body { padding: 24px 32px 32px; }
.course-detail .cd-age { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent); background: #fef3c7; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.course-detail h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.course-detail .cd-desc { font-size: 14.5px; color: var(--ink-2); margin-bottom: 16px; }
.course-detail .cd-list { display: grid; gap: 9px; }
.course-detail .cd-list li { position: relative; padding-left: 22px; font-size: 14px; color: var(--ink); }
.course-detail .cd-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

/* 排课时间表 */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.schedule-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
}
.schedule-table td {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink-2);
  border-bottom: 1px solid #f1f5f9;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table .sched-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 10px;
  border-radius: 999px;
}

/* 品牌价值卡 */
.value-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 34px 28px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .card-icon { margin-bottom: 18px; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 14px; color: var(--ink-2); }

/* 团队卡片 */
.team-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 30px 24px;
  text-align: center;
  transition: transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card .avatar-lg {
  width: 84px; height: 84px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), #3b82f6);
}
.team-card:nth-child(2) .avatar-lg { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.team-card:nth-child(3) .avatar-lg { background: linear-gradient(135deg, #0d9488, #14b8a6); }
.team-card:nth-child(4) .avatar-lg { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.team-card h3 { font-size: 17px; font-weight: 700; }
.team-card .role { display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 3px 12px; border-radius: 999px; margin: 8px 0 10px; }
.team-card p { font-size: 13.5px; color: var(--ink-2); }

/* 联系页 */
.info-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform .3s ease, box-shadow .3s ease;
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.info-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.info-card a:hover { color: var(--primary); }

.hours-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}
.hours-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.hours-card .hours-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.hours-card .hours-row:last-child { border-bottom: none; }
.hours-card .hours-row span { color: var(--ink-3); }
.hours-card .hours-row strong { color: var(--ink); font-weight: 600; }
.hours-card .hours-row.closed strong { color: #ef4444; }

/* 二级页面响应式 */
@media (max-width: 992px) {
  .grid-3, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stats-bar .stat-item:nth-child(3) { border-left: none; }
}
@media (max-width: 768px) {
  .page-hero { padding: 64px 0 72px; }
  .grid-2, .grid-3, .testimonial-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 28px; }
  .course-detail .cd-head { flex-direction: column; }
}
@media (max-width: 520px) {
  .stats-bar { grid-template-columns: 1fr; gap: 26px; }
  .stats-bar .stat-item + .stat-item { border-left: none; padding-top: 22px; border-top: 1px solid var(--line); }
}
