:root {
  --ivory: #fffaf2;
  --cream: #f6ead8;
  --sand: #ead8b8;
  --gold: #b78b42;
  --gold-deep: #8d672c;
  --sage: #7e9a70;
  --sage-deep: #506a45;
  --ink: #30261c;
  --muted: #766a5d;
  --line: rgba(142, 104, 45, 0.2);
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(64, 49, 31, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(183, 139, 66, 0.18);
  background: rgba(255, 250, 242, 0.95);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(183, 139, 66, 0.22);
}

.brand-name {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.brand-name strong {
  font-size: 0.9rem;
  line-height: 1.1;
}

.brand-name span {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.3;
}

.nav-toggle {
  display: inline-flex;
  order: 3;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-open .nav-toggle span {
  background: transparent;
}

.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  order: 1;
  inset: 72px 0 auto 0;
  display: none;
  padding: 14px 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.98);
  box-shadow: var(--shadow);
}

.nav-open .site-nav {
  display: block;
}

.site-nav ul {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.site-nav a {
  display: flex;
  min-height: 44px;
  align-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 800;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--sage-deep);
}

.header-tools {
  display: inline-flex;
  order: 2;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  white-space: nowrap;
}

.lang-switch a {
  color: var(--muted);
}

.lang-switch a.is-active,
.lang-switch a:hover {
  color: var(--sage-deep);
}

.button,
.text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  font-weight: 900;
  text-align: center;
}

.button {
  padding: 12px 18px;
  border: 1px solid transparent;
  background: var(--sage-deep);
  color: var(--white);
  box-shadow: 0 12px 26px rgba(82, 106, 71, 0.2);
}

.button:hover {
  background: #43593b;
}

.button-secondary {
  border-color: rgba(183, 139, 66, 0.38);
  background: rgba(255, 250, 242, 0.92);
  color: var(--gold-deep);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--white);
}

.button-soft {
  border-color: rgba(82, 106, 71, 0.22);
  background: rgba(143, 168, 124, 0.15);
  color: var(--sage-deep);
  box-shadow: none;
}

.button-disabled,
.button-disabled:hover {
  border-color: rgba(118, 106, 93, 0.18);
  background: #eee5d7;
  color: rgba(48, 38, 28, 0.45);
  box-shadow: none;
  cursor: not-allowed;
}

.button.header-cta {
  display: none;
}

.text-link {
  color: var(--sage-deep);
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 56px 0;
}

.section-alt {
  background: #f4eadb;
}

.hero {
  position: relative;
  min-height: min(680px, 76svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.97) 0%, rgba(255, 250, 242, 0.9) 40%, rgba(255, 250, 242, 0.2) 100%),
    url("assets/lhb-course-hero.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), var(--ivory));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 48px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-deep);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", "Noto Serif SC", serif;
  font-size: 2.55rem;
  line-height: 0.96;
  font-weight: 700;
}

.hero-main-line {
  margin: 18px 0 0;
  color: var(--sage-deep);
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 900;
}

.hero-line {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.hero-actions,
.section-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-header h2,
.feature-copy h2,
.page-section h2,
.story-copy h2,
.review-panel h2 {
  margin: 0;
  font-size: 1.7rem;
  line-height: 1.16;
}

.section-header p,
.feature-copy p,
.page-intro,
.card p,
.footer p,
.story-copy p,
.review-panel p:not(.eyebrow) {
  color: var(--muted);
}

.section-header p,
.feature-copy p,
.page-intro,
.story-copy p,
.review-panel p:not(.eyebrow) {
  margin: 10px 0 0;
  font-size: 1.02rem;
}

.story-grid,
.feature-band,
.contact-strip,
.review-panel {
  display: grid;
  gap: 24px;
  align-items: center;
}

.story-copy p + p {
  margin-top: 14px;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(183, 139, 66, 0.22);
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  min-height: 240px;
  object-fit: cover;
}

.card-grid {
  display: grid;
  gap: 14px;
}

.card-grid + .section-actions {
  margin-top: 18px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
  box-shadow: 0 12px 32px rgba(64, 49, 31, 0.06);
}

.card h2,
.card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.card p {
  margin: 0;
}

.status {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(143, 168, 124, 0.15);
  color: var(--sage-deep);
  font-size: 0.78rem;
  font-weight: 900;
}

.card-actions {
  margin-top: 18px;
}

.course-band {
  display: grid;
  gap: 22px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.bullet-list,
.promo-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li,
.promo-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-weight: 800;
}

.bullet-list li + li,
.promo-list li + li {
  margin-top: 8px;
}

.bullet-list li::before,
.promo-list li::before {
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.promo-box,
.review-panel {
  border: 1px solid rgba(183, 139, 66, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(143, 168, 124, 0.12)),
    var(--white);
  padding: 24px;
  box-shadow: var(--shadow);
}

.promo-highlight {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(183, 139, 66, 0.14);
  color: var(--gold-deep);
  font-weight: 900;
}

.promo-box h2,
.promo-box h3 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  line-height: 1.18;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid rgba(82, 106, 71, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--sage-deep);
  padding: 8px 12px;
  font-weight: 800;
}

.contact-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}

.contact-strip h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.contact-strip p {
  margin: 6px 0 0;
  color: var(--muted);
}

.page-hero {
  padding: 58px 0 42px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(244, 234, 219, 0.88)),
    url("assets/lhb-course-hero.png") right center / cover no-repeat;
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero .page-intro {
  max-width: 640px;
}

.page-section {
  padding: 42px 0 64px;
}

.promo-main,
.partners-empty {
  max-width: 780px;
}

.partners-empty {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
}

.contact-grid {
  display: grid;
  gap: 14px;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
}

.contact-item h2,
.contact-item h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.contact-item p {
  margin: 0;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  background: #efe0c8;
  padding: 28px 0;
}

.footer-inner {
  display: grid;
  gap: 18px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.footer-nav a {
  color: var(--muted);
  font-weight: 800;
}

.footer-nav a:hover {
  color: var(--sage-deep);
}

.footer p {
  margin: 0;
}

@media (max-width: 430px) {
  .brand-name span {
    display: none;
  }
}

@media (min-width: 640px) {
  .hero h1,
  .page-hero h1 {
    font-size: 3.4rem;
  }

  .hero-main-line {
    font-size: 1.62rem;
  }

  .section-header h2,
  .feature-copy h2,
  .page-section h2,
  .story-copy h2,
  .review-panel h2 {
    font-size: 2.05rem;
  }

  .promo-box h2,
  .promo-box h3 {
    font-size: 2rem;
  }

  .contact-strip h2 {
    font-size: 2.25rem;
  }

  .card-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    order: 1;
    display: block;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .site-nav a {
    min-height: auto;
    border-radius: 0;
    font-size: 0.9rem;
  }

  .button.header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 9px 14px;
  }

  .hero {
    min-height: min(720px, 76svh);
  }

  .hero h1,
  .page-hero h1 {
    font-size: 4.8rem;
  }

  .hero-main-line {
    font-size: 2rem;
  }

  .section-header h2,
  .feature-copy h2,
  .page-section h2,
  .story-copy h2,
  .review-panel h2 {
    font-size: 2.55rem;
  }

  .promo-box h2,
  .promo-box h3 {
    font-size: 2.35rem;
  }

  .contact-strip h2 {
    font-size: 2.85rem;
  }

  .story-grid,
  .feature-band,
  .course-band,
  .contact-strip,
  .review-panel,
  .footer-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .story-grid.reverse .image-frame {
    order: -1;
  }

  .contact-strip .section-actions,
  .review-panel .section-actions,
  .footer-nav {
    justify-content: flex-end;
  }

  .page-hero {
    padding: 78px 0 58px;
  }

  .section {
    padding: 74px 0;
  }
}

@media (min-width: 1040px) {
  .card-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
