/* ============================================
   希禾书法 · 张店
   Mobile-first · 现代留白 + 东方意蕴
   ============================================ */

:root {
  --c-ink: #1a1a1a;
  --c-paper: #faf6f0;
  --c-paper-2: #f5ede0;
  --c-green: #2d5e3e;
  --c-green-light: #4a7c5b;
  --c-red: #b7322f;
  --c-muted: #6b6b6b;
  --c-line: #e8dcc4;
  --c-white: #ffffff;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "STSong", "SimSun", serif;
  --font-sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;

  --shadow-sm: 0 2px 8px rgba(26, 26, 26, 0.06);
  --shadow-md: 0 6px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(26, 26, 26, 0.12);

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --max-w: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-paper);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 移动端底部 CTA 占位 */
  padding-bottom: 70px;
}

@media (min-width: 769px) {
  body { padding-bottom: 0; }
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--c-green); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-ink);
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 20px;
  height: 1px;
  background: var(--c-green);
}

.section-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 16px;
  color: var(--c-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 60px;
}

/* ============================================
   按钮
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all 0.25s ease;
  white-space: nowrap;
  letter-spacing: 0.05em;
  min-height: 48px;
}

.btn-primary {
  background: var(--c-ink);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-green);
  color: var(--c-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border: 1px solid var(--c-ink);
}
.btn-ghost:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn-block {
  width: 100%;
}

/* ============================================
   顶部公告条
   ============================================ */
.topbar {
  background: var(--c-green);
  color: var(--c-white);
  text-align: center;
  padding: 8px 20px;
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* ============================================
   导航
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 100;
  border-bottom: 1px solid var(--c-line);
  transition: all 0.3s;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--c-green);
  color: var(--c-white);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 0;
}

.logo-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-ink);
  line-height: 1.1;
  letter-spacing: 0.05em;
}

.logo-text em {
  display: block;
  font-style: normal;
  font-size: 10px;
  color: var(--c-muted);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.nav-links {
  display: none;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--c-green);
  transition: width 0.3s;
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  background: var(--c-ink);
  color: var(--c-white) !important;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
}

.nav-cta:hover {
  background: var(--c-green);
  color: var(--c-white) !important;
}

@media (min-width: 769px) {
  .nav-links { display: flex; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--c-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(0.9);
  transform: scale(1.05);
  animation: heroZoom 30s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 100px 0 80px;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.2em;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  margin-bottom: 28px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(40px, 9vw, 84px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-white);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title-em {
  color: #a8d5b3;
  position: relative;
  display: inline-block;
}

.hero-title-em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.3em;
  background: rgba(168, 213, 179, 0.25);
  z-index: -1;
  border-radius: 2px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero .btn-ghost {
  color: var(--c-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.hero .btn-ghost:hover {
  background: var(--c-white);
  color: var(--c-ink);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.3em;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ============================================
   信任栏
   ============================================ */
.trust {
  background: var(--c-paper-2);
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

.trust-item {
  padding: 8px;
}

.trust-num {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1.1;
  margin-bottom: 4px;
}
.trust-num small {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-green);
  margin-left: 2px;
}

.trust-label {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

@media (min-width: 769px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-num { font-size: 42px; }
}

/* ============================================
   通用 Section
   ============================================ */
.story, .method, .courses, .works, .faq, .contact {
  padding: 80px 0;
}

@media (min-width: 769px) {
  .story, .method, .courses, .works, .faq, .contact {
    padding: 120px 0;
  }
}

/* ============================================
   品牌故事
   ============================================ */
.story {
  background: var(--c-paper);
}

.story-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

@media (min-width: 769px) {
  .story-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.story-text p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-ink);
  margin-bottom: 18px;
}

.story-quote {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--c-paper-2);
  border-left: 3px solid var(--c-green);
  font-style: italic;
  color: var(--c-muted);
}

.story-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.story-card {
  aspect-ratio: 1;
  background: var(--c-paper-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  position: relative;
  transition: all 0.3s;
}

.story-card:hover {
  background: var(--c-ink);
  color: var(--c-white);
  transform: translateY(-4px);
}

.story-card:hover .story-card-label {
  color: rgba(255, 255, 255, 0.7);
}

.story-card-1 { background: var(--c-ink); color: var(--c-white); }
.story-card-1 .story-card-label { color: rgba(255, 255, 255, 0.7); }

.story-card-num {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}
.story-card-num small {
  font-size: 14px;
  font-weight: 500;
}

.story-card-label {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.05em;
}

/* ============================================
   教学法
   ============================================ */
.method {
  background: var(--c-paper-2);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .method-grid { grid-template-columns: repeat(4, 1fr); }
}

.method-step {
  background: var(--c-paper);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  position: relative;
  transition: all 0.3s;
}

.method-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-green);
}

.method-num {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--c-green);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.method-step h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--c-ink);
}

.method-step p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.method-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: 100px;
  font-weight: 500;
}

/* ============================================
   课程
   ============================================ */
.course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 600px) {
  .course-grid { grid-template-columns: repeat(2, 1fr); }
}

.course-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}

.course-card:hover {
  border-color: var(--c-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.course-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  padding: 3px 10px;
  background: var(--c-red);
  color: var(--c-white);
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.course-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.course-target {
  font-size: 13px;
  color: var(--c-green);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.course-list {
  list-style: none;
  margin-bottom: 24px;
}

.course-list li {
  font-size: 14px;
  color: var(--c-ink);
  padding: 6px 0 6px 22px;
  position: relative;
  border-bottom: 1px dashed var(--c-line);
}

.course-list li:last-child { border-bottom: 0; }

.course-list li::before {
  content: '·';
  position: absolute;
  left: 8px;
  top: 6px;
  color: var(--c-green);
  font-weight: 700;
}

.course-cta {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink);
  padding-bottom: 2px;
  transition: all 0.2s;
}

.course-cta:hover {
  color: var(--c-green);
  border-color: var(--c-green);
}

/* ============================================
   师资
   ============================================ */
.teacher {
  background: var(--c-paper-2);
}

.teacher-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 769px) {
  .teacher-inner {
    grid-template-columns: 380px 1fr;
    gap: 80px;
  }
}

.teacher-photo-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--c-green) 0%, #1a3d28 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
  color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.teacher-photo-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { transform: translate(-30%, -30%); }
  50% { transform: translate(30%, 30%); }
}

.teacher-title {
  font-size: 14px;
  color: var(--c-green);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.teacher-list {
  list-style: none;
  margin: 20px 0 28px;
}

.teacher-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  color: var(--c-ink);
  border-bottom: 1px dashed var(--c-line);
}

.teacher-list li:last-child { border-bottom: 0; }

.teacher-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--c-green);
  font-weight: 700;
  font-size: 14px;
}

.teacher-quote {
  padding: 20px 24px;
  background: var(--c-paper);
  border-left: 3px solid var(--c-green);
  font-style: italic;
  color: var(--c-muted);
  margin-bottom: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================
   学员作品
   ============================================ */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-item-tall {
    grid-row: span 2;
  }
}

@media (min-width: 1024px) {
  .works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.work-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  aspect-ratio: 3/4;
  background: var(--c-paper-2);
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.work-item:hover img {
  transform: scale(1.05);
}

.work-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  color: var(--c-white);
  font-size: 13px;
  letter-spacing: 0.05em;
}

/* ============================================
   校区环境
   ============================================ */
.space {
  background: var(--c-paper-2);
  padding: 80px 0;
}

.space-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 769px) {
  .space-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }
}

.space-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.space-info p {
  font-size: 16px;
  color: var(--c-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.space-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.space-list li {
  padding: 10px 0;
  font-size: 15px;
  color: var(--c-ink);
  border-bottom: 1px dashed var(--c-line);
}

.space-list li:last-child { border-bottom: 0; }

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item[open] {
  border-color: var(--c-green);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 50px;
  font-family: var(--font-serif);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--c-green);
  transition: transform 0.3s;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--c-muted);
  line-height: 1.8;
}

/* ============================================
   希禾笔记（持续更新内容板块）
   ============================================ */
.blog {
  background: var(--c-paper);
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

@media (min-width: 600px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.blog-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-green);
}

.blog-card-link {
  display: block;
  color: inherit;
}

.blog-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-paper-2) 0%, var(--c-line) 100%);
  position: relative;
  overflow: hidden;
}

.blog-cover-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: 100px;
  letter-spacing: 0.1em;
  z-index: 2;
}

/* 6 种不同的封面配色（用 CSS 生成，无需图片） */
.blog-cover-1 { background: linear-gradient(135deg, #2d5e3e 0%, #1a3d28 100%); }
.blog-cover-1::after { content: '握'; color: rgba(255,255,255,0.12); }
.blog-cover-2 { background: linear-gradient(135deg, #b7322f 0%, #7a1f1c 100%); }
.blog-cover-2::after { content: '考'; color: rgba(255,255,255,0.12); }
.blog-cover-3 { background: linear-gradient(135deg, #c9a961 0%, #8a7236 100%); }
.blog-cover-3::after { content: '成'; color: rgba(255,255,255,0.12); }
.blog-cover-4 { background: linear-gradient(135deg, #4a7c5b 0%, #2d5e3e 100%); }
.blog-cover-4::after { content: '弈'; color: rgba(255,255,255,0.12); }
.blog-cover-5 { background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%); }
.blog-cover-5::after { content: '永'; color: rgba(255,255,255,0.12); }
.blog-cover-6 { background: linear-gradient(135deg, #8a6d3b 0%, #5a4628 100%); }
.blog-cover-6::after { content: '选'; color: rgba(255,255,255,0.12); }

.blog-cover::after {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-serif);
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 8px;
  font-size: 12px;
  color: var(--c-muted);
}

.blog-cat {
  padding: 2px 8px;
  background: var(--c-paper-2);
  border-radius: 3px;
  color: var(--c-green);
  font-weight: 500;
}

.blog-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 20px;
  margin-bottom: 12px;
  color: var(--c-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
  padding: 0 20px 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-more {
  text-align: center;
  padding-top: 24px;
  border-top: 1px dashed var(--c-line);
}

.blog-update-tip {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 16px;
  letter-spacing: 0.05em;
}

/* ============================================
   GEO 知识库 + 教研深度内容
   AI 引擎最爱抓的"长尾答案"模块
   ============================================ */
.knowledge {
  background: var(--c-paper);
  padding: 80px 0;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

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

.knowledge-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-left: 3px solid var(--c-green);
  border-radius: var(--radius);
  padding: 24px 28px;
  transition: all 0.3s;
}

.knowledge-card:hover {
  box-shadow: var(--shadow-md);
  border-left-width: 5px;
}

.knowledge-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 12px;
  line-height: 1.4;
}

.knowledge-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.85;
}

/* 教研深度内容 */
.expertise {
  background: var(--c-paper-2);
  padding: 80px 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .expertise-grid { grid-template-columns: repeat(3, 1fr); }
}

.expertise-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: all 0.3s;
  position: relative;
}

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

.expertise-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  background: var(--c-green);
  color: var(--c-white);
  border-radius: 100px;
  font-weight: 500;
  margin-bottom: 16px;
}

.expertise-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--c-ink);
  margin-bottom: 14px;
  line-height: 1.4;
}

.expertise-card p {
  font-size: 14px;
  color: var(--c-muted);
  line-height: 1.85;
}

/* ============================================
   Contact / 报名
   ============================================ */
.contact {
  background: var(--c-ink);
  color: var(--c-white);
}

.contact .section-eyebrow { color: #a8d5b3; }
.contact .section-eyebrow::before { background: #a8d5b3; }

.contact .section-title { color: var(--c-white); }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 769px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }
}

.contact-info p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: flex-start;
}

.contact-list li:last-child { border-bottom: 0; }

.contact-list li > span {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-list li small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-list li strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: var(--c-white);
  letter-spacing: 0.02em;
}

.contact-list li em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* 表单 */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  backdrop-filter: blur(20px);
}

.contact-form h3 {
  font-size: 22px;
  color: var(--c-white);
  margin-bottom: 24px;
  font-weight: 700;
}

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

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.contact-form label {
  display: block;
  margin-bottom: 16px;
}

.contact-form label > span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  color: var(--c-white);
  transition: all 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #a8d5b3;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form select option {
  background: var(--c-ink);
  color: var(--c-white);
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}

.chip input {
  width: auto !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  margin: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  width: 14px !important;
  height: 14px;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  border-radius: 3px;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  cursor: pointer;
}

.chip:has(input:checked) {
  background: #a8d5b3;
  color: var(--c-ink);
  border-color: #a8d5b3;
}

.chip:has(input:checked) input {
  border-color: var(--c-ink) !important;
}

.chip:has(input:checked) input::after {
  content: '✓';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: var(--c-ink);
  font-size: 10px;
  font-weight: 700;
}

.contact-form textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.contact-form .btn-primary {
  background: var(--c-white);
  color: var(--c-ink);
  margin-top: 8px;
}

.contact-form .btn-primary:hover {
  background: #a8d5b3;
  color: var(--c-ink);
}

.form-tip {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  margin-top: 16px;
  letter-spacing: 0.05em;
}

/* 表单提交反馈 */
.form-success {
  display: none;
  padding: 40px 20px;
  text-align: center;
}

.form-success.is-active {
  display: block;
}

.form-success .check {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #a8d5b3;
  color: var(--c-ink);
  font-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.form-success h4 {
  color: var(--c-white);
  font-size: 20px;
  margin-bottom: 8px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: #0d0d0d;
  color: rgba(255, 255, 255, 0.5);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

@media (min-width: 769px) {
  .footer-inner {
    grid-template-columns: 1.5fr 2fr;
    gap: 80px;
  }
}

.footer-brand .logo { margin-bottom: 20px; }

.footer-brand .logo-text strong { color: var(--c-white); }
.footer-brand .logo-text em { color: rgba(255, 255, 255, 0.4); }

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

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

@media (min-width: 600px) {
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}

.footer-cols h4 {
  font-size: 14px;
  color: var(--c-white);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}

.footer-cols a,
.footer-cols p {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-cols a:hover {
  color: #a8d5b3;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

@media (min-width: 769px) {
  .footer-bottom .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ============================================
   移动端底部固定 CTA
   ============================================ */
.mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 99;
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
  padding: 8px;
  gap: 8px;
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
}

.mobile-cta-call {
  background: var(--c-paper-2);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}

.mobile-cta-form {
  background: var(--c-ink);
  color: var(--c-white);
}

@media (min-width: 769px) {
  .mobile-cta { display: none; }
}

/* ============================================
   滚动平滑、动效
   ============================================ */
/* 渐入动效已禁用 —— 之前在某些环境会导致元素永久隐藏
   所有元素默认直接可见，避免滚动问题 */

/* 表单字段聚焦动效 */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(168, 213, 179, 0.15);
}
