/* ============================================================
   恩大斯美术 — 整站设计系统 v2.0
   风格：浅色明亮 · 哑金 · 匹配斯恩升学主站
   ============================================================ */

:root {
  /* 品牌强调色（不变） */
  --gold:      #c9a84c;
  --gold-lt:   #b8942f;
  --gold-50:   #fdf8ed;
  --gold-100:  #f7e8c4;
  --rose:      #e04671;
  --rose-dk:   #c23360;
  --rose-50:   #fef1f5;
  --rose-100:  #fdd4e0;
  --teal:      #2ec4b6;
  --teal-dk:   #1fa89b;
  --teal-50:   #eafaf8;
  --teal-100:  #c5f0eb;
  --amber:     #f59e0b;
  --amber-dk:  #d97706;
  --amber-50:  #fff7ed;
  --amber-100: #fed7aa;
  --sky:       #38bdf8;
  --sky-50:    #eff6ff;
  --sky-100:   #dbeafe;

  /* 基础色（匹配主站） */
  --navy:      #2d3748;
  --navy-lt:   #4a5568;
  --gray-50:   #f7fafc;
  --gray-100:  #edf2f7;
  --gray-200:  #e2e8f0;
  --gray-300:  #cbd5e0;
  --gray-400:  #a0aec0;
  --gray-500:  #718096;
  --gray-600:  #4a5568;
  --gray-700:  #2d3748;
  --gray-800:  #1a202c;
  --white:     #ffffff;

  /* 字体 */
  --ff: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* 阴影 */
  --shadow-sm:  0 2px 12px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,.1);
  --shadow-lg:  0 16px 36px rgba(0,0,0,.12);

  /* 圆角 */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  background: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── Nav ── */
.nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 200;
  transition: box-shadow .3s;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 64px;
  gap: 24px;
}
.nav-logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -.3px;
}
.nav-logo em {
  font-style: normal;
  color: var(--gold-lt);
}
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links a {
  font-size: 13.5px;
  color: var(--gray-500);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold-lt); background: var(--gold-50); }
.nav-links a.active { color: var(--gold-lt); background: var(--gold-50); font-weight: 700; }
.nav-cta {
  background: var(--rose) !important;
  color: #fff !important;
  padding: 8px 22px !important;
  border-radius: 30px !important;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: var(--rose-dk) !important; transform: translateY(-1px); color: #fff !important; }

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 28px 64px;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--sky-50) 0%, var(--rose-50) 30%, var(--white) 70%);
}
.hero-bg::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { position: relative; max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  padding: 5px 18px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--navy);
}
.hero h1 em { font-style: normal; color: var(--gold-lt); }
.hero p {
  font-size: 16px;
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.85;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin: 36px 0;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.hero-stat .num {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.hero-stat .num small { font-size: .45em; font-weight: 600; color: var(--rose); }
.hero-stat .lbl {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 4px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--rose);
  color: #fff;
  padding: 13px 34px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(224,70,113,.3);
}
.btn-primary:hover {
  background: var(--rose-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224,70,113,.4);
}
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  padding: 13px 34px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s, box-shadow .2s;
  box-shadow: 0 4px 16px rgba(201,168,76,.3);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}
.btn-outline {
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  padding: 12px 32px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gold-lt); color: var(--gold-lt); }

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 28px;
  font-size: 12.5px;
  color: var(--gray-400);
  border-bottom: 1px solid var(--gray-200);
  background: var(--white);
}
.breadcrumb a { color: var(--gold-lt); }
.breadcrumb a:hover { color: var(--gold); }

/* ── Container ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 960px; margin: 0 auto; padding: 0 28px; }

/* ── Section ── */
.section { padding: 56px 0; }
.section-white { background: var(--white); }
.section-header {
  text-align: center;
  margin-bottom: 44px;
}
.section-header h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.section-header p { font-size: 15px; color: var(--gray-500); }
.section-header .bar {
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--rose));
  margin: 14px auto 0;
  border-radius: 2px;
}
.section-label {
  display: inline-block;
  background: var(--gold-50);
  color: var(--gold-lt);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ── Card ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px 36px;
  margin-bottom: 24px;
  transition: box-shadow .25s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.card h2::before {
  content: '';
  display: inline-block;
  width: 4px; height: 20px;
  background: linear-gradient(180deg, var(--gold), var(--rose));
  border-radius: 2px;
}
.card h3 { font-size: 16px; color: var(--gold-lt); margin: 22px 0 12px; font-weight: 700; }
.card p { font-size: 14.5px; color: var(--gray-600); margin-bottom: 14px; line-height: 1.85; }

/* ── Feature List ── */
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  padding: 10px 0 10px 32px;
  position: relative;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14.5px;
  color: var(--gray-600);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  border-radius: 50%;
}
.feature-list.check li::before {
  content: '✓'; font-size: 11px; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding-top: 1px;
}

/* ── Table ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th {
  background: var(--gray-100);
  color: var(--navy);
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  border-bottom: 2px solid var(--gold);
  font-size: 13px;
  letter-spacing: .3px;
}
.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.data-table tr:hover td { background: var(--gold-50); }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .2s;
}
.faq-q:hover { color: var(--gold-lt); }
.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--gold);
  transition: transform .3s;
  flex-shrink: 0;
  line-height: 1;
}
.faq-q.open::after { transform: rotate(45deg); }
.faq-q.open { color: var(--gold-lt); }
.faq-a {
  display: none;
  padding: 0 0 18px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.9;
}
.faq-a.open { display: block; }

/* ── Footer ── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
  padding: 48px 28px 24px;
  margin-top: 64px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}
.footer p { font-size: 13px; color: var(--gray-500); line-height: 1.9; margin-bottom: 8px; }
.footer a { color: var(--gray-500); font-size: 13px; display: block; margin-bottom: 8px; transition: color .2s; }
.footer a:hover { color: var(--gold-lt); }
.footer-brand { font-size: 22px; font-weight: 900; margin-bottom: 12px; color: var(--navy); }
.footer-brand em { font-style: normal; color: var(--gold-lt); }
.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
}
.footer-bottom a { color: var(--gray-400); font-size: 12px; display: inline; }
.footer-bottom a:hover { color: var(--gold-lt); }

/* ── Course Grid（主站风格白色卡片） ── */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 28px 24px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.course-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--stripe-color, var(--gold));
  border-radius: var(--r-md) var(--r-md) 0 0;
  opacity: .75;
  transition: opacity .25s;
}
.course-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.course-card:hover::after { opacity: 1; }
.course-card.featured {
  border-color: rgba(201,168,76,.35);
}
.course-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--rose);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}
.course-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
  background: var(--gold-50);
}
.course-card h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.course-card .desc { font-size: 13.5px; color: var(--gray-500); flex: 1; line-height: 1.7; }
.course-tags { display: flex; gap: 6px; margin-top: 16px; flex-wrap: wrap; }
.course-tag {
  font-size: 11.5px;
  padding: 3px 9px;
  border-radius: 4px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-500);
}
.course-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 9px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 700;
  background: var(--gold-50);
  color: var(--gold-lt);
  border: 1px solid var(--gold-100);
  transition: background .2s, color .2s;
}
.course-link:hover { background: var(--gold); color: #fff; }

/* ── Course stripe colors ── */
.stripe-gold  { --stripe-color: var(--gold); }
.stripe-rose  { --stripe-color: var(--rose); }
.stripe-teal  { --stripe-color: var(--teal); }
.stripe-amber { --stripe-color: var(--amber); }
.stripe-sky   { --stripe-color: var(--sky); }

/* ── Advantage Grid ── */
.adv-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.adv-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: 28px 20px;
  text-align: center;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.adv-card:hover { border-color: var(--gold-100); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.adv-card .icon { font-size: 34px; margin-bottom: 12px; }
.adv-card h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.adv-card p { font-size: 13px; color: var(--gray-500); line-height: 1.7; }

/* ── Stats Bar ── */
.stats-bar {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 24px;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 20px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--gold-lt);
  line-height: 1.1;
}
.stat-item .lbl { font-size: 12px; color: var(--gray-500); margin-top: 4px; }

/* ── Info Grid (2-col / 3-col) ── */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }

/* ── Step / Timeline ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 20px; position: relative; padding-bottom: 32px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px; top: 42px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gray-200) 100%);
}
.step-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--gray-500); line-height: 1.8; }

/* ── Highlight Banner ── */
.highlight-banner {
  background: linear-gradient(135deg, var(--gold-50), var(--rose-50));
  border: 1px solid var(--gold-100);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  text-align: center;
}
.highlight-banner h3 { font-size: 20px; color: var(--gold-lt); margin-bottom: 10px; }
.highlight-banner p { color: var(--gray-600); font-size: 15px; }

/* ── Location Card ── */
.location-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}
.location-info h3 { font-size: 18px; color: var(--gold-lt); margin-bottom: 14px; font-weight: 800; }
.location-info p { font-size: 14px; color: var(--gray-500); margin-bottom: 10px; display: flex; gap: 8px; align-items: flex-start; }
.location-cta { text-align: center; }
.location-cta .big-tel {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--gold-lt);
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.location-cta p { font-size: 13px; color: var(--gray-500); margin-bottom: 16px; }

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--sky-50), var(--rose-50));
  border-top: 1px solid var(--gray-200);
  padding: 56px 28px;
  text-align: center;
}
.cta-strip h2 { font-size: 26px; color: var(--navy); margin-bottom: 10px; font-weight: 800; }
.cta-strip p { font-size: 15px; color: var(--gray-500); margin-bottom: 24px; }
.cta-strip .hero-eyebrow {
  margin-bottom: 18px;
  display: inline-flex;
}

/* ── Chip Tags ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}
.chip-gold { background: var(--gold-50); color: var(--gold-lt); border-color: var(--gold-100); }
.chip-rose { background: var(--rose-50); color: var(--rose); border-color: var(--rose-100); }
.chip-teal { background: var(--teal-50); color: var(--teal-dk); border-color: var(--teal-100); }
.chip-amber { background: var(--amber-50); color: var(--amber-dk); border-color: var(--amber-100); }

/* ── Hero accent per page（浅色版：柔和色调） ── */
.hero-rose .hero-bg { background: linear-gradient(135deg, var(--rose-50) 0%, var(--white) 60%) !important; }
.hero-blue .hero-bg { background: linear-gradient(135deg, var(--sky-50) 0%, var(--white) 60%) !important; }
.hero-teal .hero-bg { background: linear-gradient(135deg, var(--teal-50) 0%, var(--white) 60%) !important; }
.hero-amber .hero-bg { background: linear-gradient(135deg, var(--amber-50) 0%, var(--white) 60%) !important; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .adv-grid { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid-3 { grid-template-columns: 1fr 1fr; }
  .location-card { grid-template-columns: 1fr; }
  .course-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 56px 20px 48px; }
  .hero h1 { font-size: 24px; }
  .nav-links { display: none; }
  .adv-grid { grid-template-columns: 1fr 1fr; }
  .course-grid { grid-template-columns: 1fr; }
  .info-grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 24px; }
  .footer-inner { grid-template-columns: 1fr; }
  .container, .container-narrow { padding: 0 18px; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s ease both; }
.fade-up-2 { animation: fadeUp .6s .15s ease both; }
.fade-up-3 { animation: fadeUp .6s .3s ease both; }

/* ── Misc ── */
.gold-text { color: var(--gold-lt); }
.rose-text { color: var(--rose); }
.teal-text { color: var(--teal); }
.divider { height: 1px; background: var(--gray-200); margin: 32px 0; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
