:root {
  --ink: #1d2939;
  --muted: #667085;
  --line: #e6ebf0;
  --paper: #ffffff;
  --soft: #f7faf9;
  --teal: #0f766e;
  --teal-dark: #0b4f49;
  --coral: #ef6c5a;
  --sun: #f6bd41;
  --mint: #a7d8c9;
  --shadow: 0 18px 48px rgba(20, 40, 60, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.65;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  color: #ffffff;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sun);
  color: #233042;
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  max-width: 240px;
  overflow: hidden;
  color: currentColor;
  font-size: 11px;
  opacity: 0.78;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 15px;
  font-weight: 600;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 78svh;
  padding: 116px clamp(22px, 7vw, 90px) 42px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(13, 28, 37, 0.72), rgba(13, 28, 37, 0.24) 58%, rgba(13, 28, 37, 0.08)),
    url("lexiu-hero.png") center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
}

.hero .eyebrow {
  color: #ffe18a;
}

.eyebrow::before,
.section-kicker::before {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(38px, 5.8vw, 72px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(239, 108, 90, 0.28);
}

.btn-light {
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-dark);
}

.hero-facts {
  position: absolute;
  right: clamp(20px, 5vw, 70px);
  bottom: 30px;
  display: flex;
  gap: 10px;
  z-index: 2;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-facts span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head.centered .section-kicker {
  justify-content: center;
}

.section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
  letter-spacing: 0;
}

.intro {
  background: var(--soft);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.intro-copy {
  padding-top: 8px;
  color: var(--muted);
  font-size: 18px;
}

.intro-copy p {
  margin: 0 0 18px;
}

.principles,
.course-grid,
.stats {
  display: grid;
  gap: 18px;
}

.principles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principles article,
.course-card,
.stats article,
.service-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.principles article {
  min-height: 238px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.icon {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--mint);
}

.icon::after {
  position: absolute;
  inset: 13px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  content: "";
}

.icon-talk {
  background: var(--teal);
}

.icon-star {
  background: var(--sun);
}

.icon-growth {
  background: var(--coral);
}

.principles h3,
.course-card h3,
.service-list h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.principles p,
.course-card p,
.service-list p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.courses {
  background: #ffffff;
}

.course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card {
  position: relative;
  min-height: 330px;
  padding: 30px;
  overflow: hidden;
}

.course-card::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  border-radius: 0 0 0 100%;
  background: rgba(15, 118, 110, 0.08);
  content: "";
}

.course-badge {
  display: inline-flex;
  margin-bottom: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff0df;
  color: #9a4d00;
  font-weight: 800;
}

.course-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.course-card li {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef8f5;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.service {
  background: #fbf6ee;
}

.service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-list article {
  min-height: 210px;
  padding: 26px;
}

.service-list span {
  display: block;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 28px;
  font-weight: 900;
}

.strength {
  background: var(--teal-dark);
  color: #ffffff;
}

.strength .section-kicker,
.strength .section-head {
  color: #ffe18a;
}

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats article {
  min-height: 172px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.stats strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.stats span {
  color: rgba(255, 255, 255, 0.78);
}

.contact {
  background: #ffffff;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(15, 118, 110, 0.16);
}

.footer {
  background: #17212b;
  color: #ffffff;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px clamp(20px, 5vw, 72px);
}

.footer-main strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.footer-main p,
.footer-contact {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact {
  display: grid;
  gap: 8px;
  min-width: 230px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.float-consult {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 18;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--coral);
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(239, 108, 90, 0.36);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 76px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #ffffff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: grid;
  }

  .intro-grid,
  .service-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .principles,
  .course-grid,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    height: 68px;
    padding: 0 16px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .nav {
    top: 68px;
  }

  .hero {
    align-items: flex-end;
    min-height: 76svh;
    padding: 104px 20px 96px;
    background-position: 58% center;
  }

  .hero-actions .btn {
    flex: 1 1 150px;
  }

  .hero-facts {
    right: 20px;
    bottom: 24px;
    left: 20px;
    justify-content: flex-start;
  }

  .principles,
  .course-grid,
  .service-list,
  .stats {
    grid-template-columns: 1fr;
  }

  .principles article,
  .course-card,
  .service-list article {
    min-height: auto;
  }

  .footer-main {
    display: grid;
  }

  .float-consult {
    width: 52px;
    height: 52px;
  }
}
