:root {
  --cream: #FAF6EF;
  --surface: #FFFFFF;
  --soft: #F3EDE3;
  --sage: #6E8B74;
  --sage-deep: #4F6B57;
  --gold: #C2A36B;
  --gold-soft: #E8D9B8;
  --ink: #2E3A33;
  --ink-soft: #5E6B62;
  --line: #E4DCCC;
  --shadow: 0 18px 50px rgba(46, 58, 51, 0.08);
  --shadow-lg: 0 26px 60px rgba(46, 58, 51, 0.12);
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand__text, .section__title {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ===== 导航 ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  color: #fff; display: grid; place-items: center;
  font-family: "Noto Serif SC", serif; font-weight: 700;
}
.brand__text { font-size: 1.15rem; color: var(--ink); }
.nav__links { display: flex; gap: 32px; }
.nav__links a {
  position: relative; color: var(--ink-soft); font-size: 0.98rem; padding: 4px 0;
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--sage); transition: width .25s;
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* ===== 按钮 ===== */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-size: 0.98rem; transition: transform .2s, box-shadow .2s, background .2s; cursor: pointer; border: none;
}
.btn--primary { background: var(--sage); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--sage); color: var(--sage-deep); }
.btn--ghost:hover { background: rgba(110,139,116,0.10); transform: translateY(-2px); }

/* ===== 通用区块 ===== */
.section { padding: 80px 0; }
.section--soft { background: var(--soft); }
.section--white { background: #fff; }
.section__head { text-align: center; margin-bottom: 50px; }
.tag {
  display: inline-block; padding: 5px 16px; border-radius: 999px;
  background: rgba(110,139,116,0.14); color: var(--sage-deep);
  font-size: 0.8rem; letter-spacing: 0.15em; margin-bottom: 16px;
}
.section__title { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--ink); }
.section__lead { margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 78vh; display: grid; place-items: center;
  text-align: center; overflow: hidden; padding: 80px 24px;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 60% at 20% 20%, rgba(110,139,116,0.22), transparent 60%),
    radial-gradient(55% 55% at 85% 30%, rgba(194,163,107,0.20), transparent 60%),
    radial-gradient(70% 70% at 50% 100%, rgba(110,139,116,0.16), transparent 60%),
    var(--cream);
}
.hero__content { position: relative; z-index: 1; max-width: 780px; }
.hero__eyebrow { display: inline-block; letter-spacing: 0.3em; font-size: 0.8rem; color: var(--sage-deep); margin-bottom: 22px; }
.hero__title { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.15; color: var(--ink); }
.hero__title span { display: block; color: var(--sage-deep); }
.hero__sub { margin: 26px auto 36px; max-width: 600px; font-size: 1.05rem; color: var(--ink-soft); }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== 创始人 ===== */
.founder {
  display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow);
}
.founder__photo {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
}
.founder__photo img { width: 100%; height: auto; display: block; }
.founder__title { font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.founder__subtitle { color: var(--sage-deep); font-weight: 500; margin-bottom: 20px; }
.founder__body p { color: var(--ink-soft); font-size: 1.04rem; margin-bottom: 14px; }
.founder__body p:last-child { margin-bottom: 0; }

/* ===== 课程 + 证书 ===== */
.courses__intro { max-width: 800px; margin: 0 auto 48px; text-align: center; color: var(--ink-soft); font-size: 1.05rem; }
.courses__intro p { margin-bottom: 14px; }
.courses__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.course-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-card h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 16px; }
.course-card .cert {
  width: 100%; max-width: 360px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--gold-soft); box-shadow: 0 10px 28px rgba(194,163,107,0.18);
  margin-bottom: 16px;
}
.course-card .cert img { width: 100%; height: auto; }
.course-card .cert-caption { color: var(--sage-deep); font-size: 0.92rem; font-weight: 500; }

/* ===== 学员反馈图片墙 ===== */
.feedback-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feedback-item {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow); transition: transform .25s;
}
.feedback-item:hover { transform: translateY(-4px); }
.feedback-item img { width: 100%; height: auto; display: block; }

/* ===== 轮播 ===== */
.carousel { position: relative; max-width: 880px; margin: 0 auto; }
.carousel__viewport { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.carousel__track { display: flex; transition: transform .6s cubic-bezier(.22,.61,.36,1); }
.slide { min-width: 100%; }
.slide img { width: 100%; height: auto; display: block; background: var(--soft); }
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--sage); color: #fff; font-size: 1.6rem; line-height: 1;
  box-shadow: var(--shadow); transition: background .2s;
}
.carousel__btn:hover { background: var(--sage-deep); }
.carousel__btn--prev { left: -24px; }
.carousel__btn--next { right: -24px; }
.carousel__dots { display: flex; gap: 10px; justify-content: center; margin-top: 24px; }
.carousel__dots button {
  width: 10px; height: 10px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--line); transition: background .2s, transform .2s;
}
.carousel__dots button.active { background: var(--sage); transform: scale(1.25); }
.carousel__caption { text-align: center; margin-top: 18px; color: var(--sage-deep); font-size: 0.98rem; font-weight: 500; }

/* ===== 文案块 (作品介绍) ===== */
.copy-block {
  max-width: 820px; margin: 0 auto; background: var(--surface);
  border-left: 4px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 40px 48px; box-shadow: var(--shadow);
}
.copy-block h3 { color: var(--sage-deep); font-size: 1.3rem; margin-bottom: 18px; }
.copy-block p { color: var(--ink-soft); margin-bottom: 14px; font-size: 1.04rem; }
.copy-block p:last-child { margin-bottom: 0; }

/* ===== 案例 ===== */
.case {
  max-width: 880px; margin: 0 auto; background: linear-gradient(135deg, #fff, #f3ede3);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px 52px; box-shadow: var(--shadow);
}
.case__label { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.2em; margin-bottom: 14px; }
.case p { color: var(--ink-soft); margin-bottom: 16px; font-size: 1.05rem; }
.case p:last-child { margin-bottom: 0; }
.case strong { color: var(--sage-deep); }

/* ===== 学员反馈分类 ===== */
.feedback-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feedback-type {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow);
}
.feedback-type h3 {
  color: var(--sage-deep); font-size: 1.15rem; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.feedback-type h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.feedback-type p { color: var(--ink-soft); font-size: 1rem; }

/* ===== 联系我们 ===== */
.contact-hero { padding: 100px 24px 60px; text-align: center; background: var(--cream); }
.contact-hero h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--ink); }
.contact-hero p { color: var(--ink-soft); max-width: 600px; margin: 16px auto 0; font-size: 1.05rem; }

.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 880px; margin: 0 auto; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 36px; text-align: center; box-shadow: var(--shadow);
}
.contact-card__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  color: #fff; display: grid; place-items: center; font-size: 1.5rem;
  font-family: "Noto Serif SC", serif; font-weight: 700;
}
.contact-card h2 { font-size: 1.4rem; color: var(--ink); margin-bottom: 16px; }
.contact-card p { color: var(--ink-soft); }
.contact-card .qr {
  width: 200px; height: 200px; margin: 8px auto 16px;
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background: #fff; padding: 6px;
}
.contact-card .qr img { width: 100%; height: 100%; object-fit: contain; }
.contact-card .phone {
  display: inline-block; font-size: 1.6rem; font-weight: 700; color: var(--sage-deep);
  letter-spacing: 0.04em; margin-top: 8px;
}
.contact-card .hint { color: var(--ink-soft); font-size: 0.92rem; margin-top: 10px; }

/* ===== 免责声明 ===== */
.disclaimer {
  background: var(--soft); border-top: 1px solid var(--line);
  padding: 36px 24px; color: var(--ink-soft); font-size: 0.92rem; line-height: 1.9;
}
.disclaimer__inner { max-width: 880px; margin: 0 auto; }
.disclaimer strong { color: var(--sage-deep); }

/* ===== 页脚 ===== */
.footer { background: var(--ink); color: #fff; padding: 44px 0; text-align: center; }
.footer__inner .brand__text { color: #fff; font-size: 1.2rem; }
.footer__inner p { color: rgba(255,255,255,0.7); margin-top: 10px; }
.footer__copy { font-size: 0.85rem; margin-top: 16px !important; color: rgba(255,255,255,0.45) !important; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .founder { grid-template-columns: 240px 1fr; gap: 32px; padding: 32px; }
  .feedback-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: 14px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); padding: 18px 24px; border-bottom: 1px solid var(--line);
  }
  .founder { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 30px 22px; }
  .founder__photo { max-width: 280px; }
  .courses__grid, .feedback-types, .contact-grid { grid-template-columns: 1fr; }
  .feedback-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .copy-block, .case { padding: 32px 24px; }
  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }
}
@media (max-width: 480px) {
  .feedback-grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; padding: 60px 20px; }
}
