/* ============================================================
   pipateacher.com — 纽约琵琶音乐学校 主样式
   调色板: 米白 · 深棕 · 金色 · 墨绿
   ============================================================ */

/* ---------- 自定义变量 ---------- */
:root {
  --ivory:       #F8F5EE;
  --cream:       #EDE8DC;
  --gold:        #C4922A;
  --gold-light:  #D9AA45;
  --gold-pale:   #F5EDD5;
  --brown-dark:  #2A1A0A;
  --brown-mid:   #5C3A1E;
  --brown-light: #8B5E3C;
  --green:       #2D5A3D;
  --green-light: #3D7A55;
  --charcoal:    #2C2C2C;
  --gray:        #6B6B6B;
  --gray-light:  #C8C4BB;
  --border:      #DDD8CD;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(42,26,10,0.08);
  --shadow-md:   0 4px 20px rgba(42,26,10,0.12);
  --shadow-lg:   0 8px 40px rgba(42,26,10,0.16);
  --radius:      12px;
  --radius-sm:   6px;
  --transition:  0.3s ease;
}

/* ---------- 重置 & 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif SC', 'SimSun', Georgia, serif;
  color: var(--brown-dark);
  line-height: 1.3;
}

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

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

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---------- 导航栏 ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(248, 245, 238, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--brown-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 18px;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  flex-shrink: 0;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo .logo-cn {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--brown-dark);
}

.nav-logo .logo-en {
  font-size: 10px;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 13.5px;
  color: var(--brown-mid);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--gold-pale);
  color: var(--gold);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 20px !important;
  padding: 7px 18px !important;
  font-weight: 500;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--gold-light) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity 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); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  padding: 12px 24px 20px;
  gap: 2px;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  color: var(--brown-mid);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.mobile-menu a:hover { background: var(--gold-pale); color: var(--gold); }

.mobile-menu .mobile-cta {
  margin-top: 10px;
  background: var(--gold);
  color: var(--white) !important;
  text-align: center;
  border-radius: 20px;
  padding: 12px !important;
  font-weight: 500;
}

/* ---------- 页面主体留白（导航遮挡补偿） ---------- */
.page-body { padding-top: 70px; }

/* ---------- Hero 首屏 ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3C2414 40%, #2D5A3D 100%);
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(196,146,42,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(45,90,61,0.2) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  padding: 60px 24px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(196,146,42,0.25);
  border: 1px solid rgba(196,146,42,0.5);
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.15em;
  padding: 6px 20px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.hero h1 {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 12px;
}

.hero-courses {
  color: var(--gold-light);
  font-size: 14px;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 28px;
  border-radius: 28px;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,146,42,0.4); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover { background: var(--green-light); border-color: var(--green-light); }

.btn-sm {
  padding: 9px 20px;
  font-size: 13.5px;
}

/* ---------- 分区标题 ---------- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title .label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.section-title p {
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
}

.divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 14px auto;
  border-radius: 2px;
}

/* ---------- 卡片 ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* 课程卡 */
.course-card .card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--cream), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  overflow: hidden;
}

.course-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.course-card .card-body {
  padding: 20px;
}

.course-card .card-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.course-card h3 {
  font-size: 16.5px;
  margin-bottom: 8px;
}

.course-card p {
  color: var(--gray);
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* 老师卡 */
.teacher-card {
  text-align: center;
  padding: 28px 20px;
}

.teacher-card .avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--cream), var(--border));
  overflow: hidden;
  border: 3px solid var(--gold-pale);
}

.teacher-card .avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.teacher-card .avatar-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--brown-light);
}

.teacher-card h3 {
  font-size: 17px;
  margin-bottom: 4px;
}

.teacher-card .instrument {
  color: var(--gold);
  font-size: 13px;
  margin-bottom: 8px;
}

.teacher-card .experience {
  display: inline-block;
  background: var(--cream);
  color: var(--brown-mid);
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.teacher-card .bio {
  color: var(--gray);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}

/* 资讯卡 */
.news-card .card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--cream), var(--border));
  overflow: hidden;
}

.news-card .card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

.news-card:hover .card-img img { transform: scale(1.05); }

.news-card .card-body {
  padding: 20px;
}

.news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.news-card .tag {
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
}

.news-card .date {
  color: var(--gray-light);
  font-size: 12px;
}

.news-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card p {
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ---------- 优势区块 ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.feature-item h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--gray);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ---------- 统计数字 ---------- */
.stats-bar {
  background: var(--brown-dark);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .number {
  font-family: 'Noto Serif SC', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .label {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

/* ---------- CTA 区块 ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, #1E4A30 100%);
  padding: 80px 24px;
  text-align: center;
  color: var(--white);
}

.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 12px;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--brown-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand .logo-cn {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.footer-brand .logo-en {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer h4 {
  font-family: 'Noto Serif SC', serif;
  color: var(--white);
  font-size: 14px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13.5px;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-contact .icon { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}

/* ---------- 页面 Hero（内页）---------- */
.page-hero {
  background: linear-gradient(135deg, var(--brown-dark) 0%, #3C2414 100%);
  padding: 60px 24px;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { opacity: 0.4; }

/* ---------- 收费表格 ---------- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-table th {
  background: var(--brown-dark);
  color: var(--white);
  padding: 14px 20px;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
}

.pricing-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: var(--ivory); }

.pricing-table .price {
  color: var(--gold);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.pricing-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.pricing-card.featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold-pale), var(--shadow-md);
}

.pricing-card h3 {
  font-size: 16px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.pricing-card .price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.pricing-card .price-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Noto Serif SC', serif;
}

.pricing-card .price-unit {
  font-size: 13px;
  color: var(--gray);
}

.pricing-card .note {
  font-size: 12.5px;
  color: var(--gray-light);
  margin-bottom: 16px;
}

/* ---------- 课程安排表格 ---------- */
.schedule-section { background: var(--white); padding: 80px 0; }

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-table th {
  background: var(--brown-dark);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-size: 13.5px;
}

.schedule-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  vertical-align: middle;
}

.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--ivory); }

.trial-badge {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
}

/* ---------- 相册 ---------- */
.gallery-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 7px 20px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  font-size: 13.5px;
  color: var(--gray);
  background: var(--white);
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--cream);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cream), var(--border));
  color: var(--gray-light);
  font-size: 40px;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(42,26,10,0.55);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.gallery-item:hover .overlay { opacity: 1; }
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item .caption {
  color: var(--white);
  font-size: 13px;
  line-height: 1.4;
}

/* 灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-inner img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: 28px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover { opacity: 1; }

/* ---------- 联系表单 ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: var(--brown-mid);
  margin-bottom: 7px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  color: var(--charcoal);
  background: var(--ivory);
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
  display: none;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #2E7D32;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}

/* ---------- 联系信息块 ---------- */
.contact-info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-item .text strong {
  display: block;
  font-size: 14px;
  color: var(--brown-dark);
  margin-bottom: 3px;
}

.contact-info-item .text span {
  font-size: 13.5px;
  color: var(--gray);
}

/* ---------- 标签/徽章 ---------- */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.badge-gold { background: var(--gold-pale); color: var(--gold); }
.badge-green { background: #E8F5EE; color: var(--green); }
.badge-brown { background: var(--cream); color: var(--brown-mid); }

/* ---------- 返回顶部 ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover { transform: translateY(-2px); }

/* ---------- 通用辅助 ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green); }
.text-gray { color: var(--gray); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

.bg-ivory { background: var(--ivory); }
.bg-white { background: var(--white); }
.bg-cream { background: var(--cream); }

/* ---------- 招生简章 ---------- */
.admissions-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}

.admissions-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 0;
}

.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--brown-dark);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 auto 14px;
  border: 3px solid var(--ivory);
}

.step-item h4 { font-size: 14px; margin-bottom: 6px; }
.step-item p { font-size: 12.5px; color: var(--gray); line-height: 1.5; }

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--brown-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--ivory); }

.faq-question .icon {
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.open .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 16px;
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
  border-top: 1px solid var(--border);
}

.faq-item.open .faq-answer { display: block; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-links { gap: 2px; }
  .nav-links a { font-size: 12.5px; padding: 6px 7px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .admissions-steps { grid-template-columns: repeat(3, 1fr); }
  .admissions-steps::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 56px 0; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 1.8rem; }
  .schedule-table { font-size: 12.5px; }
  .schedule-table th, .schedule-table td { padding: 10px 10px; }
  .admissions-steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .admissions-steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
