/* ============================================================
   AI Edison static site
   Xiaomawang-inspired visual system, adapted for AI迪生 content
   ============================================================ */

:root {
  --blue: #1f8ceb;
  --blue-deep: #007aff;
  --blue-dark: #0b63c9;
  --blue-soft: #f6fafe;
  --blue-band: #eef8ff;
  --yellow: #ffb31b;
  --orange: #f97857;
  --purple: #7d8dff;
  --cyan: #42c9f4;
  --green: #57d39a;
  --dark: #2c3040;
  --dark-2: #242633;
  --text: #25283a;
  --text-soft: #606775;
  --muted: #8b8c9c;
  --line: #e8eef7;
  --white: #ffffff;
  --shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  --shadow-soft: 0 12px 32px rgba(31, 140, 235, 0.12);
  --radius: 16px;
  --radius-lg: 28px;
  --max-width: 1200px;
  --header-height: 58px;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-lock {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.28;
  font-weight: 700;
  color: var(--text);
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 74px 0;
  background: var(--white);
}

.why-learn,
.whychoose,
.learning-path,
.course-detail,
.activities,
.achievements,
.about-intro,
.teachers,
.locations,
.contact-section,
.platforms {
  padding: 74px 0;
}

.section--soft,
.whychoose,
.learning-path,
.platforms,
.teachers,
.activities {
  background: var(--blue-soft);
}

.section--band {
  background:
    radial-gradient(circle at 9% 72%, rgba(31, 140, 235, 0.1) 0 86px, transparent 87px),
    linear-gradient(180deg, #f7fbff 0%, #eef8ff 100%);
}

.section-header {
  width: min(760px, 100%);
  margin: 0 auto 42px;
  text-align: center;
}

.section-header::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow:
    -52px 0 0 rgba(31, 140, 235, 0.22),
    52px 0 0 rgba(31, 140, 235, 0.22);
}

.section-title {
  font-size: clamp(26px, 3.3vw, 36px);
  font-weight: 700;
  color: var(--text);
}

.section-title__strong,
.text-gradient {
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.section-subtitle {
  max-width: 720px;
  margin-top: 10px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 10px 24px;
  color: var(--white);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: linear-gradient(180deg, #ffbf30 0%, var(--yellow) 100%);
  box-shadow: 0 8px 18px rgba(255, 179, 27, 0.32);
}

.btn--primary:hover {
  background: linear-gradient(180deg, #ffc949 0%, #f2a13c 100%);
}

.btn--outline {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--blue {
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(31, 140, 235, 0.24);
}

.btn--sm {
  min-height: 34px;
  padding: 8px 17px;
  font-size: 13px;
}

.btn--lg {
  min-height: 48px;
  padding: 14px 32px;
  font-size: 16px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.logo__img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  background: var(--white);
}

.logo__text {
  display: inline-block;
  font-size: 18px;
  color: var(--white);
}

.nav {
  flex: 1;
}

.nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.nav__link--external {
  color: var(--white);
}

.nav__link-arrow {
  margin-left: 2px;
  font-size: 11px;
}

.nav__item--platform {
  margin-left: 6px;
}

.header__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
}

.nav-toggle__bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* Home hero */
.hero {
  position: relative;
  min-height: 542px;
  overflow: hidden;
  padding: 76px 0 74px;
  color: var(--white);
  background:
    radial-gradient(circle at 80% 58%, rgba(255, 255, 255, 0.22) 0 118px, transparent 119px),
    radial-gradient(circle at 12% 82%, rgba(255, 255, 255, 0.16) 0 86px, transparent 87px),
    linear-gradient(90deg, #168ff0 0%, #1f8ceb 56%, #37b7ff 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: 0.45;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px;
  align-items: center;
  gap: 58px;
}

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fff8d9;
  font-size: 14px;
  font-weight: 800;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 26px;
  height: 38px;
  border: solid #ffd84d;
  border-width: 0 0 0 4px;
  border-radius: 50%;
  transform: rotate(18deg);
}

.hero__eyebrow::after {
  transform: rotate(162deg);
}

.hero__title {
  color: var(--white);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
}

.hero__title span {
  display: block;
  color: #fff35c;
}

.hero__subtitle {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
}

.hero__desc {
  width: min(100%, 548px);
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero__tag {
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.17);
  font-size: 14px;
  font-weight: 700;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__visual {
  position: relative;
  min-height: 360px;
}

.hero-stage {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 450px;
  height: 132px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #ffd969 0%, #ffbd31 100%);
  box-shadow: 0 26px 45px rgba(5, 54, 131, 0.22);
}

.hero-stage::before {
  content: "";
  position: absolute;
  top: -26px;
  right: 28px;
  width: 176px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 179, 27, 0.38);
}

.hero-certificate {
  position: absolute;
  top: 8px;
  right: 52px;
  width: 256px;
  min-height: 310px;
  padding: 20px;
  transform: rotate(-5deg);
  border: 8px solid rgba(255, 255, 255, 0.9);
  border-radius: 6px;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 18px 44px rgba(8, 77, 152, 0.22);
}

.hero-certificate__label {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.hero-certificate__title {
  margin-top: 8px;
  font-size: 20px;
}

.hero-certificate__image {
  width: 100%;
  height: 120px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.hero-certificate__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-certificate__seal {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border: 4px solid #f15e5e;
  border-radius: 50%;
  color: #f15e5e;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

.hero-mascot {
  position: absolute;
  right: 318px;
  bottom: 70px;
  width: 138px;
  height: 138px;
  display: grid;
  place-items: center;
  border: 6px solid #d7f0ff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 20px 44px rgba(6, 79, 150, 0.2);
}

.hero-mascot img {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
}

.hero-bubble {
  position: absolute;
  right: 18px;
  top: 116px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.hero-bubble::before,
.hero-bubble::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 14px 0 0 currentColor, 28px 0 0 currentColor;
}

.hero__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.58);
}

.hero__dots span:first-child {
  width: 18px;
  border-radius: 999px;
  background: var(--white);
}

/* Shared image cards */
.feature-grid,
.why-learn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card,
.why-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-card__media,
.why-card__media {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--blue-soft);
}

.feature-card__media::before,
.why-card__media::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.48)),
    radial-gradient(circle at 20% 35%, rgba(31, 140, 235, 0.2), transparent 34%),
    radial-gradient(circle at 82% 68%, rgba(255, 179, 27, 0.22), transparent 32%);
}

.feature-card__media--ai {
  background: linear-gradient(135deg, #eaf7ff 0%, #dff0ff 100%);
}

.feature-card__media--ability {
  background: linear-gradient(135deg, #fff7e0 0%, #f7fbff 100%);
}

.feature-card__media--growth {
  background: linear-gradient(135deg, #ecfff6 0%, #eef4ff 100%);
}

.feature-card__media--photo::before {
  display: none;
}

.feature-card__media--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__media--photo .feature-card__art {
  inset: auto auto 18px 18px;
  min-width: 58px;
  height: 42px;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(12, 44, 82, 0.72);
  font-size: 20px;
  backdrop-filter: blur(8px);
}

.feature-card__art {
  position: absolute;
  inset: 36px;
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 58px;
  font-weight: 900;
}

.feature-card__body,
.why-card {
  padding: 26px 28px 30px;
}

.why-card {
  text-align: left;
}

.feature-card__title,
.why-card__title {
  font-size: 20px;
  color: var(--text);
}

.feature-card__text,
.why-card__text {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 14px;
}

.why-card__icon {
  display: none;
}

/* Age and course selector */
.course-select-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: min(890px, 100%);
  margin: 0 auto;
}

.course-choice {
  position: relative;
  min-height: 188px;
  overflow: hidden;
  border-radius: 16px 16px 34px 16px;
  padding: 24px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.course-choice::before {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.course-choice--yellow {
  background: linear-gradient(135deg, #ffca4f 0%, var(--yellow) 100%);
}

.course-choice--purple {
  background: linear-gradient(135deg, #8ea0ff 0%, var(--purple) 100%);
}

.course-choice--cyan {
  background: linear-gradient(135deg, #50d1fb 0%, var(--cyan) 100%);
}

.course-choice h3 {
  color: var(--white);
  font-size: 24px;
}

.course-choice p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.course-choice__age {
  position: absolute;
  left: 24px;
  bottom: 24px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 700;
}

.course-choice__mark {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-weight: 900;
  font-size: 21px;
}

.age-note {
  width: min(760px, 100%);
  margin: 26px auto 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

/* Why choose sections */
.choice-intro {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: var(--blue-band);
}

.choice-intro__inner {
  position: relative;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.choice-intro__mascot {
  width: 118px;
  height: 118px;
  justify-self: end;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.choice-intro__mascot img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
}

.choice-intro h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.choice-intro p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.choice-intro__trophy {
  width: 76px;
  height: 76px;
  justify-self: start;
  border-radius: 50%;
  background: #fff7d8;
  color: var(--yellow);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 900;
}

.quality-layout {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 48px;
  align-items: center;
}

.quality-lead h3 {
  color: var(--blue);
  font-size: 26px;
}

.quality-lead p {
  margin-top: 16px;
  color: var(--text-soft);
}

.quality-lead__photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.quality-lead__photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.quality-list {
  display: grid;
  gap: 18px;
}

.quality-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: start;
  border-radius: var(--radius);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.quality-item__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.quality-item h4 {
  font-size: 18px;
}

.quality-item p {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 14px;
}

.teacher-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  width: min(900px, 100%);
  margin: 0 auto;
}

.teacher-tile {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.teacher-tile__photo {
  height: 190px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(31, 140, 235, 0.18), transparent 36%),
    linear-gradient(135deg, #f7fbff 0%, #edf7ff 100%);
}

.teacher-tile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.teacher-tile__avatar {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  font-size: 32px;
  font-weight: 900;
}

.teacher-tile__body {
  padding: 18px 20px 22px;
}

.teacher-tile h3,
.teacher-tile h4 {
  font-size: 17px;
}

.teacher-tile p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 13px;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.format-card {
  min-height: 238px;
  border-radius: 32px;
  padding: 30px 30px 28px;
  color: var(--white);
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.format-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.format-card--blue {
  background: linear-gradient(135deg, #0091ff 0%, #31b1ff 100%);
}

.format-card--yellow {
  background: linear-gradient(135deg, #ffb31b 0%, #ffc951 100%);
}

.format-card--orange {
  background: linear-gradient(135deg, #f97857 0%, #ff9b79 100%);
}

.format-card h3 {
  color: var(--white);
  font-size: 23px;
}

.format-card p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.works-grid,
.projects__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.work-card,
.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.work-card__cover {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #12345b 0%, #1f8ceb 100%);
}

.work-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-card:nth-child(2) .work-card__cover {
  background: linear-gradient(135deg, #2c3040 0%, #f97857 100%);
}

.work-card:nth-child(3) .work-card__cover {
  background: linear-gradient(135deg, #19b99a 0%, #ffb31b 100%);
}

.work-card:nth-child(4) .work-card__cover {
  background: linear-gradient(135deg, #7d8dff 0%, #42c9f4 100%);
}

.work-card__cover::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  z-index: 1;
}

.work-card__cover span {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.work-card__body,
.project-card {
  padding: 18px 18px 20px;
}

.work-card h3,
.project-card h4 {
  font-size: 16px;
}

.work-card p,
.project-card p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.process-map {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 0;
  background:
    linear-gradient(rgba(31, 140, 235, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 140, 235, 0.08) 1px, transparent 1px);
  background-size: 58px 58px;
}

.process-map__inner {
  position: relative;
  width: min(980px, 100%);
  min-height: 360px;
  margin: 0 auto;
}

.process-node {
  position: absolute;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(180deg, #41b5ff, var(--blue));
  box-shadow: 0 12px 28px rgba(31, 140, 235, 0.22);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.process-node:nth-child(1) { left: 7%; top: 44%; }
.process-node:nth-child(2) { left: 23%; top: 16%; }
.process-node:nth-child(3) { left: 45%; top: 5%; }
.process-node:nth-child(4) { right: 23%; top: 16%; }
.process-node:nth-child(5) { right: 7%; top: 44%; }
.process-node:nth-child(6) { right: 23%; bottom: 13%; }
.process-node:nth-child(7) { left: 45%; bottom: 2%; }
.process-node:nth-child(8) { left: 23%; bottom: 13%; }

.process-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 42vw);
  min-height: 96px;
  transform: translate(-50%, -50%);
  border-radius: 18px;
  padding: 22px 26px;
  color: var(--white);
  background: linear-gradient(135deg, #0091ff 0%, #27bdff 100%);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.process-core strong {
  display: block;
  font-size: 20px;
}

.process-core span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.reputation-panel {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 32px;
  border-radius: var(--radius);
  padding: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.reputation-image {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 10px;
  border: 8px solid #edf4ff;
  background: linear-gradient(135deg, #174174 0%, #1f8ceb 100%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  text-align: center;
}

.reputation-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reputation-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 56, 0.12), rgba(8, 27, 56, 0.62));
}

.reputation-image span {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}

.reputation-list {
  display: grid;
  gap: 18px;
}

.reputation-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.reputation-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.reputation-item h3 {
  font-size: 17px;
}

.reputation-item p {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 10px;
  background: var(--white);
}

.gallery-item__image {
  height: 130px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffd75c 0%, #1f8ceb 100%);
}

.gallery-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item:nth-child(2n) .gallery-item__image {
  background: linear-gradient(135deg, #f97857 0%, #2c3040 100%);
}

.gallery-item:nth-child(3n) .gallery-item__image {
  background: linear-gradient(135deg, #57d39a 0%, #7d8dff 100%);
}

.gallery-item h3 {
  padding: 12px 12px 2px;
  font-size: 15px;
}

.gallery-item p {
  padding: 0 12px 14px;
  color: var(--muted);
  font-size: 12px;
}

.honor-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 46px;
}

.honor-card {
  height: 142px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--blue);
  font-weight: 900;
  text-align: center;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.partner-card {
  min-height: 58px;
  display: grid;
  place-items: center;
  color: #606775;
  font-size: 15px;
  font-weight: 800;
}

/* Sub page hero */
.page-hero {
  padding: 72px 0 68px;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(circle at 78% 40%, rgba(255, 255, 255, 0.2) 0 90px, transparent 91px),
    linear-gradient(90deg, #168ff0 0%, #36b6ff 100%);
}

.page-hero__title {
  color: var(--white);
  font-size: clamp(30px, 4vw, 46px);
}

.page-hero__title .text-gradient {
  color: #fff35c;
}

.page-hero__subtitle {
  max-width: 720px;
  margin-top: 12px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Existing course/detail pages */
.path-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.roadmap-panel {
  margin: 0 auto 34px;
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.roadmap-panel img {
  display: block;
  width: min(100%, 760px);
  margin: 0 auto;
  object-fit: contain;
}

.path-stage__badge {
  width: max-content;
  margin: 0 auto 12px;
  border-radius: 999px;
  padding: 5px 14px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.path-stage__card {
  height: 100%;
  min-height: 270px;
  border-radius: var(--radius);
  padding: 22px 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.path-stage__age {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--blue);
  background: var(--blue-band);
  font-size: 13px;
  font-weight: 800;
}

.path-stage__title {
  margin-top: 10px;
  font-size: 18px;
}

.path-stage__desc,
.path-stage__meta {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.path-stage__meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
}

.path-stage__link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.course-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

.course-tab {
  min-width: 132px;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  color: var(--text-soft);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-weight: 800;
}

.course-tab small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.course-tab--active {
  color: var(--white);
  background: var(--blue);
}

.course-tab--active small {
  color: rgba(255, 255, 255, 0.84);
}

.course-panel {
  display: none;
}

.course-panel--active {
  display: block;
}

.course-panel__header,
.course-info,
.about-intro__vision,
.about-intro__standards,
.founder-card,
.teacher-card,
.location-card,
.contact-section__item {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.course-panel__header {
  padding: 28px 32px;
  margin-bottom: 18px;
}

.course-panel__header h3 {
  color: var(--blue);
  font-size: 24px;
}

.course-panel__header p {
  margin-top: 10px;
  color: var(--text-soft);
}

.course-panel__photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.course-panel__photo-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.course-panel__body {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.course-info {
  padding: 24px;
}

.course-info h4 {
  font-size: 17px;
}

.course-info p,
.course-info li {
  margin-top: 7px;
  color: var(--text-soft);
  font-size: 14px;
}

.course-info li {
  list-style: disc;
  margin-left: 18px;
}

.course-info--highlight {
  background: var(--blue-band);
}

.activities__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.activity-card {
  position: relative;
  min-height: 112px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.activity-card img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 56, 0.08), rgba(8, 27, 56, 0.68));
}

.activity-card span {
  position: absolute;
  inset-inline: 10px;
  bottom: 14px;
  z-index: 1;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Achievements */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 46px;
}

.stat-item {
  border-radius: var(--radius);
  padding: 30px 20px;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.stat-item:nth-child(2) { background: var(--yellow); }
.stat-item:nth-child(3) { background: var(--orange); }
.stat-item:nth-child(4) { background: var(--purple); }

.stat-item__number {
  color: var(--white);
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.stat-item__plus {
  font-size: 24px;
}

.stat-item__label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

.achievements__subtitle {
  margin: 48px 0 22px;
  text-align: center;
  font-size: 24px;
}

.achievement-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 42px;
}

.achievement-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.achievements-timeline {
  display: grid;
  gap: 24px;
}

.achievements-year {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 22px;
  align-items: start;
}

.achievements-year__label {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--blue);
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.achievements-year__content {
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--blue-soft);
}

.achievements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.achievements-list li {
  list-style: disc;
  margin-left: 18px;
  color: var(--text-soft);
  font-size: 14px;
}

.achievements-list strong {
  color: var(--text);
}

.project-card {
  text-align: center;
}

.project-card__medal {
  margin-bottom: 10px;
  color: var(--yellow);
  font-size: 34px;
  font-weight: 900;
}

.project-card__media {
  height: 184px;
  margin: -18px -18px 14px;
  overflow: hidden;
  background: var(--blue-soft);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* About */
.about-intro__content {
  width: min(850px, 100%);
  margin: 0 auto;
}

.about-intro__media {
  width: min(920px, 100%);
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.about-intro__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.about-intro__content > p {
  margin-bottom: 16px;
  color: var(--text-soft);
}

.about-intro__vision,
.about-intro__standards {
  margin-top: 20px;
  padding: 24px;
  background: var(--blue-soft);
}

.about-intro__standards ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.about-intro__standards li {
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--blue);
  background: var(--white);
  font-weight: 800;
}

.founder-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
  padding: 34px;
}

.founder-card__avatar,
.teacher-card__avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--blue);
  background: var(--blue-band);
  font-size: 36px;
  font-weight: 900;
}

.founder-card__avatar {
  width: 118px;
  height: 118px;
}

.founder-card__avatar img,
.teacher-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.founder-card__label {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 14px;
  color: var(--white);
  background: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.founder-card__name {
  margin-top: 10px;
  font-size: 26px;
}

.founder-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.founder-card__tags li {
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--blue);
  background: var(--blue-band);
  font-size: 13px;
  font-weight: 800;
}

.founder-card__desc {
  margin-top: 12px;
  color: var(--text-soft);
}

.teachers__grid,
.locations__grid,
.contact-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.contact-section__grid {
  grid-template-columns: repeat(4, 1fr);
}

.teacher-card,
.location-card,
.contact-section__item {
  padding: 28px 22px;
  text-align: center;
}

.teacher-card__avatar {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
}

.teacher-card__name,
.location-card h3,
.contact-section__item h3 {
  font-size: 18px;
}

.teacher-card__role {
  margin-top: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.teacher-card__desc,
.location-card p,
.contact-section__item p {
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 14px;
}

.location-card--featured {
  background: var(--blue-band);
}

.location-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 0 16px;
}

.location-card__badge {
  display: inline-flex;
  margin-bottom: 10px;
  border-radius: 999px;
  padding: 5px 13px;
  color: var(--white);
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.location-card__icon,
.contact-section__icon {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: 30px;
  font-weight: 900;
}

/* CTA */
.cta {
  padding: 74px 0;
  background: var(--white);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 510px;
  gap: 32px;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 32%, rgba(255, 255, 255, 0.2) 0 96px, transparent 97px),
    linear-gradient(90deg, #168ff0 0%, #27bdff 100%);
  box-shadow: var(--shadow-soft);
}

.cta__title {
  color: var(--white);
  font-size: 28px;
}

.cta__subtitle,
.cta__assurance {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
}

.cta__assurance {
  font-size: 14px;
}

.cta__form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.cta__input {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: var(--text);
  background: var(--white);
  outline: none;
}

.cta__form-note {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  text-align: center;
}

.cta__form-note a {
  color: #fff35c;
  font-weight: 900;
}

/* Footer */
.footer {
  padding-top: 54px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 1.2fr 1.3fr;
  gap: 34px;
  padding-bottom: 38px;
}

.footer__logo img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--white);
}

.footer__slogan {
  margin-top: 14px;
  color: var(--white);
  font-weight: 800;
}

.footer__company {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.footer h4 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 15px;
}

.footer li {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.footer a:hover {
  color: var(--white);
}

.footer__qrcode-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__qrcode-item {
  width: 92px;
  text-align: center;
}

.footer__qrcode-item img {
  width: 92px;
  height: 92px;
  border-radius: 10px;
  padding: 4px;
  background: var(--white);
  object-fit: cover;
}

.footer__qrcode-item span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.footer__social {
  margin-top: 14px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 13px;
  font-weight: 800;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0 18px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 12px;
  text-align: center;
}

.footer__beian {
  margin-top: 6px;
}

.footer__beian span {
  margin-left: 12px;
}

.float-contact {
  position: fixed;
  right: 22px;
  top: 46%;
  z-index: 80;
  display: grid;
  gap: 10px;
}

.float-contact__item {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.float-contact__item--white {
  color: var(--blue);
  background: var(--white);
}

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  background: var(--white);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
}

.mobile-cta__btn {
  flex: 1;
  border-radius: 999px;
  padding: 12px 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.mobile-cta__btn--phone {
  color: var(--blue);
  background: var(--blue-band);
}

.mobile-cta__btn--trial {
  color: var(--white);
  background: var(--yellow);
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  50% { transform: translateX(6px); }
  75% { transform: translateX(-4px); }
}

@media (max-width: 1180px) {
  .header__actions .btn {
    display: none;
  }

  .nav__link {
    padding-inline: 10px;
  }

  .hero__inner {
    grid-template-columns: 1fr 430px;
    gap: 34px;
  }

  .hero-stage {
    width: 380px;
  }

  .hero-certificate {
    right: 30px;
  }

  .hero-mascot {
    right: 278px;
  }

  .path-timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .activities__grid,
  .partner-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .nav--open {
    position: fixed;
    display: block;
    left: 0;
    right: 0;
    top: var(--header-height);
    background: var(--blue);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 36px rgba(0, 74, 150, 0.22);
  }

  .nav--open .nav__list {
    flex-direction: column;
    align-items: stretch;
    width: min(100% - 40px, var(--max-width));
    margin: 0 auto;
    padding: 12px 0 16px;
  }

  .nav--open .nav__link {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }

  .nav-toggle {
    display: flex;
  }

  .header__phone {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 42px;
  }

  .hero__inner,
  .quality-layout,
  .cta__inner,
  .reputation-panel {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 300px;
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .feature-grid,
  .why-learn__grid,
  .course-select-grid,
  .teacher-showcase,
  .format-grid,
  .works-grid,
  .projects__grid,
  .course-panel__photo-row,
  .achievement-gallery,
  .gallery-grid,
  .honor-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .choice-intro__inner {
    grid-template-columns: 1fr;
  }

  .choice-intro__mascot,
  .choice-intro__trophy {
    justify-self: center;
  }

  .footer__inner,
  .teachers__grid,
  .locations__grid,
  .contact-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 54px;
  }

  .container {
    width: min(100% - 24px, var(--max-width));
  }

  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .section-header::before {
    width: 28px;
    box-shadow:
      -40px 0 0 rgba(31, 140, 235, 0.2),
      40px 0 0 rgba(31, 140, 235, 0.2);
  }

  .logo__img {
    width: 36px;
    height: 36px;
  }

  .logo__text {
    font-size: 16px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__subtitle {
    margin-top: 10px;
    font-size: 15px;
  }

  .hero__eyebrow {
    margin-bottom: 10px;
    font-size: 13px;
  }

  .hero__eyebrow::before,
  .hero__eyebrow::after {
    width: 18px;
    height: 28px;
    border-left-width: 3px;
  }

  .hero__desc {
    display: -webkit-box;
    margin-top: 12px;
    overflow: hidden;
    font-size: 13px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .hero__tags {
    gap: 8px;
    margin-top: 16px;
  }

  .hero__tag {
    padding: 6px 12px;
    font-size: 13px;
  }

  .hero__cta {
    margin-top: 18px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__visual {
    min-height: 206px;
    margin-top: 22px;
  }

  .hero-stage {
    width: 100%;
    height: 68px;
  }

  .hero-certificate {
    right: 18px;
    top: 0;
    width: 174px;
    min-height: 176px;
    padding: 12px;
    border-width: 5px;
  }

  .hero-certificate__label {
    font-size: 10px;
  }

  .hero-certificate__title {
    margin-top: 5px;
    font-size: 15px;
  }

  .hero-certificate__image {
    height: 56px;
    margin-top: 9px;
  }

  .hero-certificate__seal {
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-width: 3px;
    font-size: 8px;
  }

  .hero-mascot {
    left: 10px;
    right: auto;
    bottom: 34px;
    width: 84px;
    height: 84px;
    border-width: 4px;
  }

  .hero-mascot img {
    width: 62px;
    height: 62px;
  }

  .hero-bubble {
    right: 0;
    top: 50px;
    width: 50px;
    height: 50px;
  }

  .feature-grid,
  .why-learn__grid,
  .course-select-grid,
  .teacher-showcase,
  .format-grid,
  .works-grid,
  .projects__grid,
  .quality-lead__photos,
  .course-panel__photo-row,
  .achievement-gallery,
  .gallery-grid,
  .honor-strip,
  .partner-strip,
  .path-timeline,
  .course-panel__body,
  .stats-row,
  .teachers__grid,
  .locations__grid,
  .contact-section__grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .feature-card__media,
  .why-card__media {
    height: 176px;
  }

  .course-choice {
    min-height: 156px;
  }

  .quality-item {
    grid-template-columns: 44px 1fr;
    padding: 18px;
  }

  .quality-item__icon {
    width: 44px;
    height: 44px;
  }

  .format-card {
    min-height: 184px;
    border-radius: 24px;
  }

  .process-map__inner {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .process-node,
  .process-core {
    position: static;
    width: 100%;
    height: auto;
    min-height: 52px;
    border-radius: 12px;
    transform: none;
  }

  .process-core {
    order: -1;
  }

  .reputation-panel {
    padding: 20px;
  }

  .achievements-year {
    grid-template-columns: 1fr;
  }

  .achievements-list {
    grid-template-columns: 1fr;
  }

  .founder-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 24px 18px;
  }

  .founder-card__tags {
    justify-content: center;
  }

  .activities__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta {
    padding-bottom: 86px;
  }

  .cta__inner {
    padding: 30px 18px;
  }

  .cta__form-row {
    grid-template-columns: 1fr;
  }

  .float-contact {
    display: none;
  }

  .mobile-cta {
    display: flex;
  }

  body {
    padding-bottom: 66px;
  }
}

@media (max-width: 420px) {
  .btn--lg {
    padding-inline: 20px;
  }

  .footer__beian span {
    display: block;
    margin: 4px 0 0;
  }
}
