* {
  box-sizing: border-box;
}

:root {
  --brand: #824932;
  --brand-dark: #6f3b28;
  --accent: #3367ac;
  --accent-dark: #173b70;
  --ink: #1e1e1e;
  --muted: #666;
  --soft: #f9f9f9;
  --line: #eeeeee;
  --white: #fff;
  --title-ghost: #e4e4e4;
  --footer: #17264b;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 90px;
  color: var(--ink);
  background: var(--white);
  font-family: "Microsoft Yahei", "PingFang SC", Arial, Helvetica, sans-serif;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.1) translate3d(0, -1.4%, 0);
  }

  to {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
}

body.motion-ready .site-header {
  animation: headerDrop 0.72s cubic-bezier(0.2, 0.76, 0.22, 1) both;
}

body.motion-ready .hero-media img,
body.motion-ready .page-hero figure img {
  animation: heroDrift 8s cubic-bezier(0.2, 0.76, 0.22, 1) both;
  will-change: transform;
}

body.motion-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.72s cubic-bezier(0.2, 0.76, 0.22, 1),
    transform 0.72s cubic-bezier(0.2, 0.76, 0.22, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

body.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.article-page.reveal,
.article-body > .reveal {
  opacity: 1;
  transform: none;
}

body.motion-ready .reveal-scale {
  transform: translateY(24px) scale(0.96);
}

body.motion-ready .reveal-scale.is-visible {
  transform: translateY(0) scale(1);
}

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

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

button,
input {
  font: inherit;
}

.inner,
.band,
.category-tabs,
.news-list-page,
.article-page {
  width: min(1400px, calc(100% - 56px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(40px, calc((100vw - 1400px) / 2));
  background: var(--white);
  box-shadow: 0 5px 24px rgba(30, 30, 30, 0.08);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  line-height: 1.1;
}

.brand span {
  color: var(--brand);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand small {
  margin-top: 6px;
  color: #555;
  font-size: 13px;
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  height: 42px;
  border-radius: 22px;
  padding: 0 15px;
  color: #333;
  font-size: 15px;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.site-nav a:hover,
.site-nav a.active {
  background: var(--brand);
  color: var(--white);
}

.site-nav a:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #333;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(13, 30, 58, 0.82), rgba(13, 30, 58, 0.54) 46%, rgba(13, 30, 58, 0.12)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.16));
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 620px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(780px, 100%);
  color: var(--white);
}

.eyebrow,
.section-head span,
.page-hero span,
.cta-panel span {
  display: block;
  color: var(--brand);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 18px;
  color: #ffdf9b;
  font-size: 17px;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1.14;
  letter-spacing: 0;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 19px;
  line-height: 1.9;
}

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

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

.hero-points span {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  height: 44px;
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 0 24px;
  font-weight: 800;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(30, 30, 30, 0.16);
}

.btn.primary {
  background: var(--brand);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--brand-dark);
}

.btn.ghost {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}

.hero .btn.ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
}

.hero .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.band {
  padding: 86px 0 68px;
}

.strength-band,
.advantages-band,
.column-band,
.results-band,
.related-band,
.school-band,
.campus-band,
.process-band,
.faq-band {
  background: var(--soft);
  width: 100%;
  padding-left: max(28px, calc((100vw - 1400px) / 2));
  padding-right: max(28px, calc((100vw - 1400px) / 2));
}

.service-band,
.news-band,
.gallery-band,
.intro-band,
.teacher-band,
.testimonial-band {
  background: var(--white);
}

.about-intro {
  width: min(1400px, calc(100% - 56px));
  margin: 0 auto;
  padding: 66px 0 24px;
}

.about-intro__text {
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
  color: #222;
  font-size: 17px;
  line-height: 2;
}

.about-intro__text p {
  margin: 0;
  text-indent: 2em;
}

.about-intro__text p + p {
  margin-top: 20px;
}

.sub-page--with-intro .gallery-band {
  padding-top: 48px;
}

.section-head {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto 46px;
  padding-top: 22px;
  text-align: center;
}

.section-head span {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  color: var(--title-ghost);
  font-size: clamp(42px, 4.6vw, 68px);
  line-height: 1;
}

.section-head h2 {
  margin: 0;
  color: #333;
  font-size: clamp(30px, 2.7vw, 40px);
  line-height: 1.22;
}

.section-head p {
  max-width: 700px;
  margin: 15px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

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

.stat-grid article {
  position: relative;
  min-height: 156px;
  padding: 20px 24px;
  text-align: center;
}

.stat-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28px;
  width: 1px;
  height: 92px;
  background: #dedede;
}

.stat-grid strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  height: 116px;
  padding: 0 16px;
  color: var(--brand);
  font-size: 34px;
  font-weight: 900;
  background: var(--white);
  clip-path: polygon(50% 0%, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
}

.stat-grid p {
  margin: 18px auto 0;
  max-width: 230px;
  color: #333;
  font-size: 15px;
  line-height: 1.7;
}

.strength-grid,
.advantage-grid,
.course-grid,
.teacher-grid,
.campus-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.strength-grid article {
  min-height: 150px;
  border-radius: 6px;
  padding: 26px 18px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.08);
}

.strength-grid strong {
  display: block;
  color: var(--brand);
  font-size: 34px;
  line-height: 1.1;
}

.strength-grid p {
  margin: 14px auto 0;
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.intro-layout h2 {
  margin: 12px 0 18px;
  color: #1e1e1e;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
}

.intro-layout p {
  margin: 0;
  color: #4f5965;
  font-size: 17px;
  line-height: 2;
}

.intro-layout p + p {
  margin-top: 16px;
}

.intro-layout figure {
  margin: 0;
  height: 420px;
  overflow: hidden;
  border-radius: 6px;
}

.intro-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.intro-layout .intro-video {
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  line-height: 0;
}

.intro-layout .intro-video video {
  display: block;
  width: 100%;
  height: auto;
}

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

.advantage-card,
.course-card,
.teacher-grid article,
.testimonial-grid article,
.faq-list details {
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.08);
}

.advantage-card {
  overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s;
}

.advantage-card figure {
  margin: 0;
  height: 190px;
  overflow: hidden;
}

.advantage-card img,
.teacher-grid img,
.campus-grid img,
.result-layout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.65s;
}

.advantage-card div {
  padding: 22px;
}

.advantage-card h3,
.course-card h3,
.teacher-grid h3 {
  margin: 0;
  color: #1e1e1e;
  font-size: 22px;
  line-height: 1.3;
}

.advantage-card p,
.course-card p,
.teacher-grid p,
.testimonial-grid p,
.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(30, 30, 30, 0.14);
}

.advantage-card:hover img,
.teacher-grid article:hover img,
.campus-grid figure:hover img {
  transform: scale(1.06);
}

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

.course-card {
  padding: 26px 24px;
  border-top: 4px solid var(--brand);
}

.course-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.course-card span {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  background: #fff2eb;
}

.result-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.42fr);
  gap: 28px;
  align-items: start;
}

.result-metrics {
  display: grid;
  gap: 12px;
}

.result-metrics article {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 118px;
  border-radius: 6px;
  padding: 22px 26px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.08);
}

.result-metrics strong {
  min-width: 128px;
  color: var(--brand);
  font-size: 38px;
  line-height: 1;
}

.result-metrics span {
  color: #1e1e1e;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.result-layout figure {
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  justify-self: center;
  width: fit-content;
  max-width: 100%;
  background: transparent;
}

.result-layout img {
  width: auto;
  height: 480px;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
}

.school-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.school-wall span {
  min-height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  color: #1e1e1e;
  font-weight: 800;
  text-align: center;
  background: var(--white);
}

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

.teacher-grid article {
  overflow: hidden;
}

.teacher-grid figure {
  height: 260px;
  margin: 0;
  overflow: hidden;
}

.teacher-grid div {
  padding: 20px;
}

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

.campus-grid figure {
  position: relative;
  height: 260px;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
  background: #edf1f5;
}

.campus-grid figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--white);
  font-weight: 800;
  background: rgba(0, 0, 0, 0.48);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.process-line article {
  position: relative;
  min-height: 126px;
  border-radius: 6px;
  padding: 22px 14px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.08);
}

.process-line strong {
  display: block;
  color: var(--brand);
  font-size: 26px;
}

.process-line span {
  display: block;
  margin-top: 12px;
  color: #1e1e1e;
  font-weight: 900;
}

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

.testimonial-grid article {
  padding: 28px;
}

.testimonial-grid p::before {
  content: "“";
  color: var(--brand);
  font-size: 34px;
  line-height: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-list details {
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  color: #1e1e1e;
  font-size: 18px;
  font-weight: 900;
}

.message-band {
  padding: 48px 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 59, 112, 0.96), rgba(130, 73, 50, 0.94)),
    var(--accent-dark);
}

.message-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.message-inner strong {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  line-height: 1.15;
}

.message-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.message-inner form {
  position: relative;
  width: min(590px, 100%);
  flex: 0 0 min(590px, 50%);
}

.message-inner input {
  width: 100%;
  height: 58px;
  border: 0;
  border-radius: 4px;
  padding: 0 176px 0 20px;
  color: #333;
  font-size: 17px;
  outline: none;
}

.message-inner button {
  position: absolute;
  right: 0;
  top: 0;
  width: 152px;
  height: 58px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.message-inner button:hover,
.contact-form button:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
}

.module-grid,
.feature-grid,
.image-row,
.poster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.module-card {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 4px;
  background: #0b2445;
  color: var(--white);
  transition: transform 0.35s, box-shadow 0.35s;
}

.module-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: 0.7s;
}

.module-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.72));
  transition: 0.4s;
}

.module-card:hover img {
  transform: scale(1.08);
}

.module-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(30, 30, 30, 0.16);
}

.module-card:hover::after {
  background: rgba(51, 103, 172, 0.78);
}

.module-card span,
.module-card strong,
.module-card p {
  position: relative;
  z-index: 2;
}

.module-card span {
  display: inline-block;
  margin: 24px 24px 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 900;
}

.module-card strong {
  display: block;
  margin: 104px 24px 0;
  font-size: 24px;
  line-height: 1.25;
}

.module-card p {
  margin: 12px 24px 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.75;
}

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

.feature-card {
  overflow: hidden;
  border-radius: 6px;
  border-bottom: 4px solid var(--brand);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.08);
  transition: transform 0.35s, box-shadow 0.35s;
}

.feature-card figure {
  margin: 0;
  height: 260px;
  overflow: hidden;
  background: #edf1f5;
}

.feature-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: 0.65s;
}

.feature-card:hover img {
  transform: scale(1.08);
}

.feature-card:hover,
.poster-card:hover,
.news-lead:hover,
.news-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 34px rgba(30, 30, 30, 0.14);
}

.feature-card div {
  padding: 24px 22px 28px;
}

.feature-card h3,
.poster-card h2 {
  margin: 0;
  color: #1e1e1e;
  font-size: 23px;
  line-height: 1.25;
}

.feature-card p,
.poster-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.result-strip {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-bottom: 48px;
}

.result-strip article {
  display: flex;
  align-items: center;
}

.result-strip strong {
  margin-right: 20px;
  color: var(--brand);
  font-size: 44px;
  line-height: 1;
}

.result-strip span {
  color: #0b1636;
  font-size: 18px;
}

.image-row figure,
.poster-card figure,
.news-lead figure,
.news-list figure,
.news-row figure {
  margin: 0;
  overflow: hidden;
  background: #edf1f5;
}

.image-row figure {
  height: 260px;
  border-radius: 4px;
}

.image-row img,
.poster-card img,
.news-lead img,
.news-list img,
.news-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: 0.65s;
}

.image-row figure:hover img,
.poster-card:hover img,
.news-lead:hover img,
.news-list li:hover img,
.news-row:hover img {
  transform: scale(1.06);
}

.news-layout {
  display: grid;
  grid-template-columns: 0.88fr 1fr;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px;
}

.news-lead {
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  transition: transform 0.35s, box-shadow 0.35s;
}

.news-lead figure {
  height: 350px;
}

.news-lead div {
  padding: 24px 26px;
}

.news-lead time,
.news-list time,
.news-row time {
  display: block;
  color: #999;
  font-size: 15px;
}

.news-lead strong {
  display: block;
  margin-top: 10px;
  color: var(--brand);
  font-size: 22px;
  line-height: 1.35;
}

.news-lead p,
.news-list p,
.news-row p {
  margin: 10px 0 0;
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-list li:last-child {
  border-bottom: 0;
}

.news-list a {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 18px 10px;
  border-radius: 6px;
  transition: 0.3s;
}

.news-list a:hover {
  background: #f2fbff;
}

.news-list figure {
  height: 118px;
  border-radius: 6px;
}

.news-list strong {
  display: block;
  color: #1e1e1e;
  font-size: 19px;
  line-height: 1.35;
}

.more-line {
  margin-top: 38px;
  text-align: center;
}

.cta-panel,
.contact-layout {
  width: min(1180px, calc(100% - 56px));
  margin: 78px auto;
  padding: 52px 60px;
  border-radius: 6px;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 59, 112, 0.96), rgba(130, 73, 50, 0.94)),
    var(--accent-dark);
}

.cta-panel h2,
.contact-layout h2 {
  margin: 10px 0 12px;
  font-size: 36px;
  line-height: 1.2;
}

.cta-panel p,
.contact-layout p {
  margin: 0 auto 28px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  line-height: 1.8;
}

.page-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  color: var(--white);
}

.page-hero figure,
.page-hero figure img,
.page-hero__shade {
  position: absolute;
  inset: 0;
}

.page-hero figure {
  margin: 0;
}

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

.page-hero__shade {
  background: linear-gradient(90deg, rgba(18, 35, 65, 0.82), rgba(18, 35, 65, 0.36));
}

.page-hero .inner {
  position: relative;
  z-index: 2;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 52px;
  line-height: 1;
}

.page-hero h1 {
  margin: -14px 0 0;
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

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

.gallery-group--poster .poster-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.gallery-group {
  margin-top: 54px;
}

.gallery-group:first-of-type {
  margin-top: 0;
}

.gallery-group__head {
  display: flex;
  align-items: end;
  justify-content: flex-start;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.gallery-group__head h3 {
  margin: 0;
  color: #1e1e1e;
  font-size: 28px;
  line-height: 1.2;
}

.gallery-group__head span {
  color: var(--brand);
  font-weight: 900;
}

.poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(30, 30, 30, 0.08);
  transition: transform 0.35s, box-shadow 0.35s;
}

.poster-card figure {
  height: 260px;
}

.poster-card div {
  padding: 18px 18px 22px;
}

.poster-card h2 {
  font-size: 18px;
}

.poster-card--tall {
  background: #fff8f3;
}

.poster-card--tall figure {
  height: auto;
  padding: 12px;
  background: #fff3e8;
}

.poster-card--tall img {
  height: auto;
  aspect-ratio: 1242 / 2578;
  object-fit: contain;
  object-position: center;
  background: #fff3e8;
}

.poster-card--tall div {
  padding: 16px 18px 20px;
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 66px;
  margin-bottom: 44px;
}

.category-tabs a {
  position: relative;
  border: 1px solid var(--brand);
  border-right: 0;
  padding: 0 38px;
  height: 56px;
  line-height: 56px;
  color: var(--brand);
  font-size: 16px;
  transition: 0.3s;
}

.category-tabs a:first-child {
  border-radius: 30px 0 0 30px;
}

.category-tabs a:last-child {
  border-right: 1px solid var(--brand);
  border-radius: 0 30px 30px 0;
}

.category-tabs a.active,
.category-tabs a:hover {
  background: var(--brand);
  color: var(--white);
}

.news-list-page {
  display: grid;
  gap: 22px;
  margin-bottom: 72px;
}

.news-row {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 20px;
  transition: background 0.3s, transform 0.35s, box-shadow 0.35s;
}

.news-row:hover {
  background: #f2fbff;
}

.news-row figure {
  height: 210px;
  border-radius: 6px;
}

.news-row strong {
  display: block;
  margin-top: 10px;
  color: #1e1e1e;
  font-size: 24px;
  line-height: 1.35;
}

.news-row span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 900;
}

.article-page {
  margin-top: 28px;
  margin-bottom: 42px;
  padding: 34px 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.article-page header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
  margin-bottom: 24px;
}

.article-page header a {
  color: var(--brand);
  font-weight: 900;
}

.article-page h1 {
  margin: 12px 0;
  color: #1e1e1e;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

.article-page header p {
  margin: 0;
  color: #999;
}

.article-body {
  color: #333;
  font-size: 18px;
  line-height: 2;
}

.article-body p {
  margin: 0 0 20px;
}

.article-body img {
  width: min(100%, 820px);
  height: auto;
  margin: 24px auto;
  border-radius: 6px;
}

.article-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 0;
}

.article-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.article-body .article-gallery img {
  width: 100%;
  height: 220px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s;
}

.article-gallery figure:hover img {
  transform: scale(1.06);
}

.article-gallery figcaption {
  padding: 12px 14px;
  color: #333;
  font-size: 14px;
  line-height: 1.45;
}

.module-card,
.feature-card,
.advantage-card,
.teacher-grid article,
.campus-grid figure,
.image-row figure,
.poster-card,
.news-lead,
.news-row,
.article-gallery figure,
.intro-layout figure,
.result-layout figure,
.article-body > img {
  --hover-x: 50%;
  --hover-y: 50%;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  cursor: pointer;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.feature-card,
.advantage-card,
.teacher-grid article,
.campus-grid figure,
.image-row figure,
.poster-card,
.news-lead,
.news-row,
.article-gallery figure,
.intro-layout figure,
.result-layout figure,
.article-body > img {
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.76, 0.22, 1),
    box-shadow 0.45s cubic-bezier(0.2, 0.76, 0.22, 1),
    border-color 0.35s,
    background 0.35s;
}

.feature-card figure,
.advantage-card figure,
.teacher-grid figure,
.campus-grid figure,
.image-row figure,
.poster-card figure,
.news-lead figure,
.news-list figure,
.news-row figure,
.article-gallery figure,
.intro-layout figure,
.result-layout figure {
  position: relative;
}

.feature-card figure::after,
.advantage-card figure::after,
.teacher-grid figure::after,
.campus-grid figure::after,
.image-row figure::after,
.poster-card figure::after,
.news-lead figure::after,
.news-list figure::after,
.news-row figure::after,
.article-gallery figure::after,
.intro-layout figure::after,
.result-layout figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--hover-x) var(--hover-y), rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(23, 59, 112, 0.28));
  transition: opacity 0.36s ease;
}

.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--hover-x) var(--hover-y), rgba(255, 255, 255, 0.34), transparent 28%),
    linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.3) 46%, transparent 62%);
  transform: translateX(-18%);
  transition:
    opacity 0.36s ease,
    transform 0.66s cubic-bezier(0.2, 0.76, 0.22, 1);
}

.module-card,
body.motion-ready .module-card.reveal.is-visible {
  transition:
    transform 0.45s cubic-bezier(0.2, 0.76, 0.22, 1),
    box-shadow 0.45s cubic-bezier(0.2, 0.76, 0.22, 1);
}

.module-card img,
.feature-card img,
.advantage-card img,
.teacher-grid img,
.campus-grid img,
.image-row img,
.poster-card img,
.news-lead img,
.news-list img,
.news-row img,
.article-body .article-gallery img,
.intro-layout img,
.result-layout img,
.article-body > img {
  filter: saturate(1) brightness(1);
  transition:
    transform 0.78s cubic-bezier(0.2, 0.76, 0.22, 1),
    filter 0.42s ease;
  will-change: transform;
}

.feature-card h3,
.advantage-card h3,
.teacher-grid h3,
.poster-card h2,
.news-lead strong,
.news-row strong,
.article-gallery figcaption {
  transition:
    color 0.32s ease,
    transform 0.32s ease;
}

.module-card:hover,
.feature-card:hover,
.advantage-card:hover,
.teacher-grid article:hover,
.campus-grid figure:hover,
.image-row figure:hover,
.poster-card:hover,
.news-lead:hover,
.news-row:hover,
.article-gallery figure:hover,
.intro-layout figure:hover,
.result-layout figure:hover,
.article-body > img:hover,
body.motion-ready .module-card.reveal.is-visible:hover,
body.motion-ready .feature-card.reveal.is-visible:hover,
body.motion-ready .advantage-card.reveal.is-visible:hover,
body.motion-ready .teacher-grid article.reveal.is-visible:hover,
body.motion-ready .campus-grid figure.reveal.is-visible:hover,
body.motion-ready .image-row figure.reveal.is-visible:hover,
body.motion-ready .poster-card.reveal.is-visible:hover,
body.motion-ready .news-lead.reveal.is-visible:hover,
body.motion-ready .news-row.reveal.is-visible:hover,
body.motion-ready .article-gallery figure.reveal.is-visible:hover,
body.motion-ready .intro-layout figure.reveal.is-visible:hover,
body.motion-ready .result-layout figure.reveal.is-visible:hover {
  transform:
    translate3d(0, -10px, 0)
    scale(1.012)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
  box-shadow: 0 24px 52px rgba(30, 30, 30, 0.18);
}

.module-card:hover::before,
.module-card.is-tapped::before {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:hover figure::after,
.advantage-card:hover figure::after,
.teacher-grid article:hover figure::after,
.campus-grid figure:hover::after,
.image-row figure:hover::after,
.poster-card:hover figure::after,
.news-lead:hover figure::after,
.news-list li:hover figure::after,
.news-row:hover figure::after,
.article-gallery figure:hover::after,
.intro-layout figure:hover::after,
.result-layout figure:hover::after,
.feature-card.is-tapped figure::after,
.advantage-card.is-tapped figure::after,
.teacher-grid article.is-tapped figure::after,
.campus-grid figure.is-tapped::after,
.image-row figure.is-tapped::after,
.poster-card.is-tapped figure::after,
.news-lead.is-tapped figure::after,
.news-row.is-tapped figure::after,
.article-gallery figure.is-tapped::after,
.intro-layout figure.is-tapped::after,
.result-layout figure.is-tapped::after {
  opacity: 1;
}

.module-card:hover img,
.feature-card:hover img,
.advantage-card:hover img,
.teacher-grid article:hover img,
.campus-grid figure:hover img,
.image-row figure:hover img,
.poster-card:hover img,
.news-lead:hover img,
.news-list li:hover img,
.news-row:hover img,
.article-gallery figure:hover img,
.intro-layout figure:hover img,
.result-layout figure:hover img,
.article-body > img:hover {
  transform: scale(1.09);
  filter: saturate(1.08) brightness(1.05);
}

.poster-card:hover h2,
.feature-card:hover h3,
.advantage-card:hover h3,
.teacher-grid article:hover h3,
.news-lead:hover strong,
.news-row:hover strong,
.article-gallery figure:hover figcaption {
  color: var(--brand);
  transform: translateY(-2px);
}

.module-card:active,
.feature-card:active,
.advantage-card:active,
.teacher-grid article:active,
.campus-grid figure:active,
.image-row figure:active,
.poster-card:active,
.news-lead:active,
.news-row:active,
.article-gallery figure:active,
.intro-layout figure:active,
.result-layout figure:active,
.article-body > img:active,
.module-card.is-tapped,
.feature-card.is-tapped,
.advantage-card.is-tapped,
.teacher-grid article.is-tapped,
.campus-grid figure.is-tapped,
.image-row figure.is-tapped,
.poster-card.is-tapped,
.news-lead.is-tapped,
.news-row.is-tapped,
.article-gallery figure.is-tapped,
.intro-layout figure.is-tapped,
.result-layout figure.is-tapped,
.article-body > img.is-tapped,
body.motion-ready .module-card.reveal.is-visible:active,
body.motion-ready .feature-card.reveal.is-visible:active,
body.motion-ready .advantage-card.reveal.is-visible:active,
body.motion-ready .teacher-grid article.reveal.is-visible:active,
body.motion-ready .campus-grid figure.reveal.is-visible:active,
body.motion-ready .image-row figure.reveal.is-visible:active,
body.motion-ready .poster-card.reveal.is-visible:active,
body.motion-ready .news-lead.reveal.is-visible:active,
body.motion-ready .news-row.reveal.is-visible:active,
body.motion-ready .article-gallery figure.reveal.is-visible:active,
body.motion-ready .intro-layout figure.reveal.is-visible:active,
body.motion-ready .result-layout figure.reveal.is-visible:active {
  transform:
    translate3d(0, -4px, 0)
    scale(0.988)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));
  transition-duration: 0.16s;
}

.article-body--poster .article-gallery {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.article-body--poster .article-gallery figure {
  background: #fff8f3;
}

.article-body--poster .article-gallery img {
  height: 430px;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: #fff3e8;
}

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

.compact-related .news-row {
  grid-template-columns: 1fr;
}

.compact-related .news-row figure {
  height: 220px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.62fr);
  gap: 40px;
  text-align: left;
}

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

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

.contact-form label span {
  color: rgba(255, 255, 255, 0.88);
}

.contact-form input {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 4px;
  padding: 0 18px;
  outline: none;
}

.contact-form button {
  height: 54px;
  border: 0;
  border-radius: 4px;
  background: var(--brand);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.contact-page {
  width: min(1180px, calc(100% - 56px));
  margin: 78px auto;
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.contact-page__intro,
.contact-page__cards article {
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(30, 30, 30, 0.08);
}

.contact-page__intro {
  padding: 44px;
}

.contact-page__intro h2 {
  margin: 12px 0 14px;
  color: #1e1e1e;
  font-size: 36px;
  line-height: 1.22;
}

.contact-page__intro p {
  margin: 0;
  color: #666;
  font-size: 17px;
  line-height: 1.8;
}

.contact-page__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-page__cards article {
  min-height: 176px;
  padding: 28px;
  display: grid;
  align-content: start;
  gap: 12px;
  border-top: 4px solid var(--brand);
}

.contact-page__cards span {
  color: var(--brand);
  font-size: 14px;
  font-weight: 900;
}

.contact-page__cards a,
.contact-page__cards strong {
  color: #1e1e1e;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 900;
  word-break: break-word;
}

.contact-page__contacts {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-page__contacts a,
.contact-page__contacts strong {
  font-size: 18px;
  line-height: 1.45;
}

.contact-page__cards img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border: 8px solid #f7f3ef;
  border-radius: 4px;
}

.message-toast {
  position: fixed;
  left: 50%;
  top: 86px;
  z-index: 120;
  width: min(420px, calc(100vw - 40px));
  border-radius: 6px;
  padding: 16px 20px;
  color: var(--white);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 18px 40px rgba(30, 30, 30, 0.22);
  transform: translate(-50%, -14px);
  animation: toastIn 0.28s ease forwards;
}

.message-toast--success {
  background: rgba(34, 126, 66, 0.96);
}

.message-toast--error {
  background: rgba(154, 49, 38, 0.96);
}

.message-toast--hide {
  animation: toastOut 0.28s ease forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translate(-50%, -22px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 0;
    transform: translate(-50%, -18px);
  }
}

.empty-state {
  width: min(1180px, calc(100% - 56px));
  margin: 0 auto 72px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 46px;
  color: var(--muted);
  text-align: center;
}

.site-footer {
  color: #666;
  background: #f7f7f7;
}

.footer-inner {
  width: min(1400px, calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 0.72fr) minmax(180px, 0.42fr);
  gap: 58px;
  align-items: center;
  padding: 64px 0;
}

.footer-contact,
.footer-nav {
  min-height: 220px;
  border-right: 1px solid #d7d7d7;
}

.footer-logo {
  width: 210px;
  height: auto;
  margin-bottom: 30px;
}

.footer-contact p {
  margin: 14px 0;
  color: #666;
  font-size: 16px;
  line-height: 1.7;
}

.footer-contact p::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  margin-right: 8px;
  color: #777;
}

.footer-contact p:first-of-type::before {
  content: "☎";
}

.footer-contact p:last-of-type::before {
  content: "◎";
}

.footer-contact span {
  margin-right: 4px;
}

.footer-contact a,
.footer-contact b {
  color: #666;
  font-weight: 400;
}

.footer-nav strong {
  display: block;
  margin: 18px 0 22px;
  color: #0079c5;
  font-size: 22px;
  line-height: 1.2;
}

.footer-nav div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 92px));
  gap: 12px 34px;
}

.footer-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
  color: #666;
  font-size: 14px;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #0079c5;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #0079c5;
}

.footer-nav a:hover::after {
  width: 100%;
}

.footer-qr {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.footer-qr img {
  width: 156px;
  height: 156px;
  object-fit: cover;
  background: var(--white);
}

.footer-qr span {
  color: #555;
  font-size: 14px;
}

.footer-copyright {
  padding: 11px 20px;
  color: #fff;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  background: #878787;
}

.footer-record {
  padding: 18px 20px 22px;
  color: #999;
  font-size: 12px;
  line-height: 1.8;
  text-align: center;
  background: #f8f8f8;
}

.footer-record a {
  color: #999;
}

.footer-record p {
  margin: 12px 0 0;
}

.footer-record span {
  display: inline-flex;
  border: 1px solid #aaa;
  border-radius: 3px;
  padding: 0 5px;
  line-height: 1.4;
}

.quick-actions {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 90;
  display: grid;
  gap: 0;
  transform: translateY(-50%);
  border-radius: 4px;
  box-shadow: 0 14px 34px rgba(30, 30, 30, 0.22);
}

.quick-action {
  position: relative;
  width: 108px;
  height: 70px;
  min-height: 70px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  padding: 12px 10px;
  background: var(--brand);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.quick-action:first-child {
  border-radius: 4px 4px 0 0;
}

.quick-action:last-child {
  border-bottom: 0;
  border-radius: 0 0 4px 4px;
}

.quick-action:hover {
  z-index: 2;
  background: var(--brand-dark);
  transform: translateX(-5px);
  box-shadow: 0 16px 32px rgba(30, 30, 30, 0.2);
}

.quick-action span {
  max-width: none;
  white-space: nowrap;
}

.quick-action small {
  max-width: 72px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-all;
}

.quick-action__qr {
  position: absolute;
  right: calc(100% + 24px);
  top: 50%;
  width: min(400px, calc(100vw - 180px));
  height: auto;
  max-width: calc(100vw - 180px);
  max-height: 560px;
  border: 12px solid var(--white);
  border-radius: 10px;
  object-fit: contain;
  background: var(--white);
  box-shadow: 0 18px 42px rgba(30, 30, 30, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translate(12px, -50%) scale(0.94);
  transition:
    opacity 0.28s ease,
    transform 0.28s cubic-bezier(0.2, 0.76, 0.22, 1);
}

@media (hover: hover) {
  .quick-action:hover .quick-action__qr {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
  }
}

.quick-action.is-open .quick-action__qr {
  opacity: 1;
  pointer-events: auto;
  transform: translate(0, -50%) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  body.motion-ready .reveal,
  body.motion-ready .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .module-card:hover,
  .feature-card:hover,
  .advantage-card:hover,
  .teacher-grid article:hover,
  .campus-grid figure:hover,
  .image-row figure:hover,
  .poster-card:hover,
  .news-lead:hover,
  .news-row:hover,
  .article-gallery figure:hover,
  .intro-layout figure:hover,
  .result-layout figure:hover,
  .article-body > img:hover,
  .module-card:active,
  .feature-card:active,
  .advantage-card:active,
  .teacher-grid article:active,
  .campus-grid figure:active,
  .image-row figure:active,
  .poster-card:active,
  .news-lead:active,
  .news-row:active,
  .article-gallery figure:active,
  .intro-layout figure:active,
  .result-layout figure:active,
  .article-body > img:active {
    transform: none !important;
  }
}

@media (max-width: 1280px) {
  .site-header {
    padding: 0 28px;
  }

  .site-nav a {
    padding: 0 10px;
    font-size: 14px;
  }

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

@media (max-width: 980px) {
  body {
    padding-top: 76px;
  }

  .inner,
  .band,
  .about-intro,
  .category-tabs,
  .news-list-page,
  .article-page {
    width: calc(100% - 32px);
  }

  .site-header {
    height: 76px;
    padding: 0 18px;
  }

  .brand span {
    font-size: 24px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 16px 18px 20px;
    background: var(--white);
    box-shadow: 0 14px 24px rgba(30, 30, 30, 0.1);
  }

  body.nav-open .site-nav {
    display: grid;
  }

  .site-nav a {
    justify-content: center;
  }

  .hero,
  .hero-inner {
    min-height: 540px;
  }

  .hero-copy {
    width: min(720px, 100%);
  }

  .hero h1 {
    max-width: 680px;
    font-size: clamp(46px, 6.5vw, 64px);
  }

  .message-inner,
  .intro-layout,
  .result-layout,
  .news-layout,
  .contact-page,
  .contact-layout {
    grid-template-columns: 1fr;
    display: grid;
  }

  .message-inner form {
    width: 100%;
    flex: initial;
  }

  .stat-grid,
  .strength-grid,
  .module-grid,
  .advantage-grid,
  .course-grid,
  .teacher-grid,
  .campus-grid,
  .testimonial-grid,
  .poster-grid,
  .gallery-group--poster .poster-grid,
  .article-gallery,
  .article-body--poster .article-gallery,
  .image-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .school-wall,
  .process-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-layout figure {
    height: 320px;
  }

  .result-strip {
    gap: 24px;
    flex-wrap: wrap;
  }

  .page-hero,
  .page-hero .inner {
    min-height: 300px;
  }

  .news-row {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .inner,
  .band,
  .about-intro,
  .category-tabs,
  .news-list-page,
  .article-page,
  .footer-inner {
    width: calc(100% - 24px);
  }

  .hero,
  .hero-inner {
    min-height: 520px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.22;
  }

  .hero p,
  .page-hero p {
    font-size: 16px;
  }

  .hero p {
    line-height: 1.75;
  }

  .about-intro {
    padding-top: 58px;
  }

  .about-intro__text {
    font-size: 16px;
    line-height: 1.95;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 26px;
  }

  .hero-actions .btn {
    min-width: 128px;
    padding: 0 18px;
  }

  .band,
  .strength-band,
  .advantages-band,
  .column-band,
  .results-band,
  .related-band,
  .school-band,
  .campus-band,
  .process-band,
  .faq-band {
    padding: 56px 12px 46px;
  }

  .section-head {
    margin-bottom: 36px;
  }

  .section-head span {
    font-size: 42px;
  }

  .stat-grid,
  .strength-grid,
  .module-grid,
  .feature-grid,
  .advantage-grid,
  .course-grid,
  .teacher-grid,
  .campus-grid,
  .testimonial-grid,
  .poster-grid,
  .article-gallery,
  .image-row,
  .school-wall,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .result-layout,
  .compact-related {
    grid-template-columns: 1fr;
  }

  .strength-grid strong {
    font-size: 26px;
  }

  .strength-grid p,
  .advantage-card p,
  .course-card p,
  .teacher-grid p {
    font-size: 13px;
    line-height: 1.6;
  }

  .advantage-card h3,
  .course-card h3,
  .teacher-grid h3 {
    font-size: 18px;
  }

  .strength-grid article {
    min-height: 0;
    padding: 20px 12px;
  }

  .hero-points span {
    font-size: 14px;
  }

  .intro-layout figure,
  .teacher-grid figure,
  .campus-grid figure {
    height: 240px;
  }

  .result-metrics article {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: auto;
    padding: 22px;
  }

  .result-metrics strong {
    min-width: 0;
    font-size: 36px;
  }

  .result-layout img {
    width: 100%;
    height: auto;
  }

  .gallery-group__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .stat-grid article:not(:last-child)::after {
    display: none;
  }

  .message-inner input {
    padding-right: 132px;
  }

  .message-inner button {
    width: 118px;
  }

  .module-card {
    min-height: 300px;
  }

  .feature-card figure,
  .poster-card figure {
    height: 360px;
  }

  .poster-card--tall figure {
    height: auto;
  }

  .article-body .article-gallery img {
    height: 260px;
  }

  .article-body--poster .article-gallery img {
    height: auto;
  }

  .news-list a,
  .news-row {
    grid-template-columns: 1fr;
  }

  .news-list figure,
  .news-row figure,
  .news-lead figure {
    height: 220px;
  }

  .category-tabs {
    justify-content: flex-start;
    gap: 10px;
  }

  .category-tabs a,
  .category-tabs a:first-child,
  .category-tabs a:last-child {
    border: 1px solid var(--brand);
    border-radius: 26px;
    height: 46px;
    line-height: 46px;
    padding: 0 20px;
  }

  .article-page {
    padding: 26px 20px;
  }

  .cta-panel,
  .contact-page,
  .contact-layout {
    width: calc(100% - 24px);
    margin: 46px auto;
  }

  .contact-layout {
    padding: 34px 22px;
  }

  .contact-page__intro {
    padding: 30px 24px;
  }

  .contact-page__cards {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 42px 0;
  }

  .footer-contact,
  .footer-nav {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid #d7d7d7;
    padding-bottom: 26px;
    text-align: center;
  }

  .footer-logo {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-nav strong {
    margin-top: 0;
  }

  .footer-nav div {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 12px 40px;
  }

  .quick-actions {
    left: 12px;
    right: 12px;
    top: auto;
    bottom: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    transform: none;
  }

  .quick-action {
    width: auto;
    height: 54px;
    min-height: 54px;
    border-bottom: 0;
    border-right: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 0;
    padding: 8px 6px;
    font-size: 13px;
    overflow: visible;
    touch-action: manipulation;
  }

  .quick-action:first-child {
    border-radius: 4px 0 0 4px;
  }

  .quick-action:last-child {
    border-right: 0;
    border-radius: 0 4px 4px 0;
  }

  .quick-action:hover {
    transform: none;
  }

  .quick-action__qr {
    right: 50%;
    top: auto;
    bottom: calc(100% + 10px);
    width: min(300px, calc(100vw - 32px));
    height: auto;
    max-height: 62vh;
    transform: translate(50%, 10px) scale(0.94);
  }

  .quick-action:hover .quick-action__qr {
    transform: translate(50%, 0) scale(1);
  }

  .quick-action.is-open .quick-action__qr {
    transform: translate(50%, 0) scale(1);
  }
}
