:root {
  --page-width: 1920px;
  --container-width: 1240px;
  --page-frame: #e9ede6;
  --green-900: #1f4d49;
  --green-800: #2b625b;
  --green-700: #5c766f;
  --gold-700: #b88a57;
  --gold-600: #c89d6b;
  --gold-500: #e2c7a0;
  --gold-300: #f5e3c5;
  --cream-100: #fcfaf5;
  --cream-200: #f7f2e9;
  --sand-100: #f4ebdd;
  --sand-200: #eee0cd;
  --sand-300: #e3d0b5;
  --card-border: #ebe0ce;
  --text-900: #274f4c;
  --text-700: #5a706c;
  --shadow-soft: 0 14px 30px rgba(84, 69, 40, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: auto;
  background: var(--page-frame);
  color: var(--text-700);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
}

.page {
  width: var(--page-width);
  overflow: hidden;
  background: var(--cream-100);
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.section {
  position: relative;
}

.section-heading h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section-heading--compact h2 {
  font-size: 54px;
}

.heading-line {
  display: block;
  width: 56px;
  height: 5px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-500));
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.hero {
  height: 640px;
  background: #f4ece1;
}

.hero img {
  width: 1920px;
  height: 640px;
  object-fit: cover;
}

.intro-section {
  min-height: 684px;
  padding: 50px 0 54px;
  background:
    url("./bg1.jpg") center top / 1920px 684px no-repeat,
    linear-gradient(180deg, rgba(252, 250, 245, 0.98), rgba(252, 250, 245, 0.98));
}

.intro-stack {
  width: 684px;
  margin-top: 34px;
  display: grid;
  gap: 18px;
}

.intro-card {
  padding: 26px 30px 18px;
  background: rgba(255, 253, 248, 0.92);
}

.intro-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.intro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, #fffaf0 0%, #f8efd4 100%);
  box-shadow: inset 0 0 0 1px rgba(203, 153, 86, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.intro-icon img {
  width: 26px;
  height: 26px;
}

.intro-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 28px;
  font-weight: 800;
}

.intro-card p {
  margin: 0 0 18px;
  color: #49666c;
  font-size: 18px;
  line-height: 1.72;
}

.intro-card p:last-child {
  margin-bottom: 0;
}

.intro-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 151, 100, 0.34);
  box-shadow: 0 18px 36px rgba(84, 69, 40, 0.1);
}

.intro-card:hover .intro-icon {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    inset 0 0 0 1px rgba(203, 153, 86, 0.12),
    0 10px 18px rgba(205, 160, 97, 0.18);
}

.advantages-section {
  padding: 86px 0 92px;
  background: #faf6ee;
}

.benefit-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 38px;
}

.benefit-card {
  min-height: 506px;
  padding: 28px 34px 30px;
  text-align: center;
  background: rgba(255, 252, 247, 0.96);
}

.benefit-card__icon {
  width: 132px;
  height: 130px;
  margin: 0 auto 18px;
  transition: transform 240ms ease, filter 240ms ease;
}

.benefit-card h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 31px;
  font-weight: 800;
  line-height: 1.1;
}

.benefit-card__line {
  display: block;
  width: 54px;
  height: 6px;
  margin: 18px auto 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-700), transparent);
  box-shadow: 0 -1px 0 0 rgba(22, 78, 81, 0.08), 0 1px 0 0 rgba(22, 78, 81, 0.08);
}

.benefit-card p {
  margin: 0;
  color: #4f6767;
  font-size: 16px;
  line-height: 1.68;
  text-align: left;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(191, 151, 100, 0.38);
  box-shadow: 0 22px 40px rgba(84, 69, 40, 0.11);
}

.benefit-card:hover .benefit-card__icon {
  transform: translateY(-5px) scale(1.03);
  filter: saturate(1.05);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 427px;
  height: 72px;
  margin: 62px auto 0;
  border-radius: 999px;
  font-size: 28px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(63, 49, 19, 0.12);
  filter: saturate(1.02);
}

.cta--gold {
  background: linear-gradient(180deg, #efd0a6 0%, #dfba82 100%);
  color: var(--green-900);
}

.audience-section {
  padding: 94px 0 76px;
  background: #f6ecde;
}

.audience-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.36fr;
  gap: 24px;
  align-items: start;
}

.audience-card {
  min-height: 416px;
  padding: 42px 38px 36px;
  background: rgba(255, 252, 246, 0.96);
}

.audience-card__head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 18px;
}

.audience-card__head img {
  width: 98px;
  height: auto;
}

.audience-card__head h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
}

.audience-card p {
  margin: 0;
  color: #456369;
  font-size: 21px;
  line-height: 1.88;
}

.audience-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 151, 100, 0.36);
  box-shadow: 0 18px 34px rgba(84, 69, 40, 0.1);
}

.audience-card--subjects {
  min-height: auto;
  padding: 34px 28px 34px;
}

.audience-card__head--subjects {
  gap: 18px;
  margin-bottom: 26px;
}

.audience-card__head--subjects img {
  width: 90px;
}

.audience-card__head--subjects h3 {
  font-size: 24px;
}

.subject-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
}

.subject-pill {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  padding: 14px 14px 15px;
  border: 1px solid rgba(199, 155, 108, 0.55);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.96);
  color: var(--green-900);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.subject-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 138, 87, 0.75);
  background: linear-gradient(180deg, #fffdf8 0%, #f7eddc 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 14px rgba(191, 151, 100, 0.14);
  color: #214e49;
}

.note-card {
  margin-top: 34px;
  padding: 22px 34px 20px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 251, 245, 0.95);
}

.note-card img {
  width: 65px;
  height: 51px;
  flex: 0 0 auto;
}

.note-card p {
  margin: 0;
  color: #5e736f;
  font-size: 15px;
  line-height: 1.8;
}

.note-card:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 151, 100, 0.32);
  box-shadow: 0 16px 30px rgba(84, 69, 40, 0.08);
}

.service-section {
  min-height: 679px;
  background:
    url("./bg2.jpg") center top / 1920px 679px no-repeat,
    #fffefb;
}

.service-layout {
  padding-top: 74px;
}

.service-copy {
  width: 740px;
}

.service-copy .section-heading h2 {
  font-size: 56px;
}

.service-list {
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  position: relative;
  margin-bottom: 26px;
  padding-left: 30px;
  color: #4c6867;
  font-size: 18px;
  line-height: 1.78;
  transition: transform 180ms ease, color 180ms ease;
}

.service-list li::before {
  content: "√";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-900);
  font-size: 22px;
  font-weight: 700;
}

.service-list strong {
  color: var(--green-900);
  font-weight: 800;
}

.service-list li:hover {
  transform: translateX(8px);
  color: #34595c;
}

.recognized-section {
  padding: 86px 0 88px;
  background: #faf5ec;
}

.recognized-table-card {
  margin-top: 38px;
  padding: 30px 32px;
  border: 1px solid var(--card-border);
  border-radius: 28px;
  background: rgba(255, 252, 247, 0.96);
  box-shadow: var(--shadow-soft);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.recognized-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.recognized-table th,
.recognized-table td {
  border: 1px solid rgba(72, 67, 56, 0.36);
  padding: 8px 12px;
  color: #35565a;
  font-size: 16px;
  line-height: 1.45;
  text-align: center;
  vertical-align: middle;
  transition: background-color 180ms ease, color 180ms ease;
}

.recognized-table th {
  background: #f5efe4;
  color: var(--green-900);
  font-size: 18px;
  font-weight: 700;
}

.recognized-table th:nth-child(1),
.recognized-table td:nth-child(1) {
  width: 70px;
}

.recognized-table th:nth-child(2),
.recognized-table td:nth-child(2) {
  width: 280px;
}

.recognized-table tbody tr:nth-child(even) td {
  background: rgba(246, 241, 231, 0.55);
}

.recognized-table-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 151, 100, 0.38);
  box-shadow: 0 18px 34px rgba(84, 69, 40, 0.1);
}

.recognized-table tbody tr:hover td {
  background: #f7efe1;
  color: #234d4a;
}

.info-section {
  padding: 58px 0 76px;
  background: #fffdf9;
}

.exam-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  align-items: center;
  gap: 78px;
}

.exam-feature-stack {
  display: grid;
  gap: 18px;
}

.exam-card {
  min-height: 126px;
  padding: 26px 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: rgba(255, 253, 248, 0.96);
}

.exam-card img {
  width: 72px;
  height: 71px;
  flex: 0 0 auto;
}

.exam-card h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 28px;
  font-weight: 800;
}

.exam-card p {
  margin: 0;
  color: #607975;
  font-size: 16px;
  line-height: 1.6;
}

.exam-card:hover {
  transform: translateX(8px);
  border-color: rgba(191, 151, 100, 0.36);
  box-shadow: 0 18px 30px rgba(84, 69, 40, 0.1);
}

.trend-grid {
  margin-top: 94px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 42px;
}

.trend-card {
  margin-top: 50px;
  min-height: 344px;
  padding: 30px 34px 30px;
  background: rgba(255, 253, 248, 0.96);
}

.trend-card__item + .trend-card__item {
  margin-top: 28px;
}

.trend-card__item h3 {
  margin: 0 0 8px;
  color: var(--green-900);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.trend-card__item p {
  margin: 0;
  color: #556d6f;
  font-size: 16px;
  line-height: 1.7;
}

.trend-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 151, 100, 0.36);
  box-shadow: 0 18px 34px rgba(84, 69, 40, 0.1);
}

.teacher-project-section {
  padding: 80px 0 86px;
  background: #f5ecde;
}

.teacher-grid {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.teacher-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff9f1;
  box-shadow: var(--shadow-soft);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    filter 240ms ease;
}

.teacher-card__photo {
  width: 392px;
  height: 318px;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.teacher-card__body {
  min-height: 214px;
  padding: 24px 20px 26px;
  border: 1px solid #efe4d2;
  border-top: none;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
  background: rgba(255, 249, 241, 0.98);
}

.teacher-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 30px;
}

.teacher-card__top h3 {
  margin: 0;
  color: var(--green-900);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

.teacher-card__top span {
  flex: 0 0 auto;
  padding: 10px 15px;
  border-radius: 999px;
  background: #e7f5e9;
  color: #2d5f58;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.teacher-card p {
  margin: 0 0 38px;
  color: #66757a;
  font-size: 18px;
  line-height: 1.55;
}

.teacher-card a {
  color: var(--gold-700);
  font-size: 17px;
  font-weight: 800;
  transition: color 180ms ease, letter-spacing 180ms ease, transform 180ms ease;
}

.teacher-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 42px rgba(84, 69, 40, 0.14);
  filter: saturate(1.02);
}

.teacher-card:hover .teacher-card__photo {
  transform: scale(1.04);
  filter: saturate(1.04);
}

.teacher-card:hover a {
  color: #9f733f;
  letter-spacing: 0.02em;
}

.project-layout {
  margin-top: 84px;
  display: grid;
  grid-template-columns: 678px 526px;
  gap: 36px;
  align-items: start;
}

.faq-column .section-heading {
  margin-bottom: 34px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: clip;
  border: 1px solid #e7d9bf;
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.98);
  box-shadow: 0 10px 26px rgba(101, 83, 41, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.faq-item:hover {
  border-color: rgba(199, 155, 108, 0.58);
  box-shadow: 0 16px 28px rgba(101, 83, 41, 0.08);
}

.faq-item.is-open {
  border-color: rgba(199, 155, 108, 0.68);
  background: rgba(255, 253, 248, 1);
  box-shadow: 0 16px 30px rgba(101, 83, 41, 0.08);
}

.faq-question {
  position: relative;
  width: 100%;
  min-height: 72px;
  padding: 24px 62px 24px 32px;
  border: 0;
  background: transparent;
  color: var(--green-900);
  font: inherit;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, padding-left 180ms ease;
}

.faq-question::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--green-900);
  border-bottom: 2px solid var(--green-900);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 180ms ease;
}

.faq-item.is-open .faq-question::after {
  transform: translateY(-35%) rotate(-135deg);
}

.faq-item:hover .faq-question {
  color: #1b4542;
  padding-left: 36px;
}

.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 240ms ease;
}

.faq-answer__inner {
  padding: 0 32px 28px;
}

.faq-answer p {
  margin: 0;
  color: #506b73;
  font-size: 18px;
  line-height: 1.78;
}

.certificate-card {
  align-self: start;
  margin-top: 108px;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: var(--shadow-soft);
  transition:
    transform 240ms ease,
    box-shadow 240ms ease,
    border-color 240ms ease;
}

.certificate-card img {
  width: 100%;
  border-radius: 18px;
  transition: transform 320ms ease, filter 320ms ease;
}

.certificate-card:hover {
  transform: translateY(-8px);
  border-color: rgba(191, 151, 100, 0.38);
  box-shadow: 0 20px 38px rgba(84, 69, 40, 0.12);
}

.certificate-card:hover img {
  transform: scale(1.02);
  filter: saturate(1.04);
}

.cta--green {
  width: 382px;
  height: 68px;
  margin-top: 42px;
  background: linear-gradient(180deg, #407e6a 0%, #2a6555 100%);
  color: #fff;
}
