:root {
  --cream: #fffaf1;
  --paper: #fffdf8;
  --gold: #d6aa5f;
  --orange: #d98247;
  --navy: #17233b;
  --gray: #5e6470;
  --line: rgba(23, 35, 59, 0.12);
  --shadow: 0 22px 60px rgba(23, 35, 59, 0.12);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--cream);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.7;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 14px 20px;
  background: rgba(255, 250, 241, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand-wide-logo {
  display: block;
  width: clamp(240px, 26vw, 360px);
  height: 68px;
  object-fit: contain;
  object-position: left center;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(73, 42, 125, 0.18);
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  margin-top: -3px;
  color: var(--gray);
  font-size: 11px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(23, 35, 59, 0.78);
  font-size: 14px;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 99px;
}

.section,
.section-panel {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 82px 0;
}

.section-panel {
  border-radius: 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  min-height: calc(100vh - 72px);
  align-items: center;
  gap: 48px;
  padding: 44px 0 72px;
}

.hero-content {
  order: 1;
}

.hero-art {
  position: relative;
  order: 2;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 250, 241, 0.1), rgba(255, 250, 241, 0.36)),
    radial-gradient(circle at 22% 16%, rgba(214, 170, 95, 0.55), transparent 30%),
    radial-gradient(circle at 82% 76%, rgba(217, 130, 71, 0.42), transparent 32%),
    linear-gradient(135deg, #f9ead8, #f7f4eb 46%, #dfe8ef);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-art.has-photo {
  background: #111827;
}

.hero-art.has-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art.hero-banner-art {
  background: #fffdf8;
  box-shadow: none;
}

.hero-art.hero-banner-art > img {
  object-fit: contain;
  padding: 0;
}

.hero-art::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(23, 35, 59, 0.04), rgba(23, 35, 59, 0.34));
}

.hero-art.hero-banner-art::before {
  display: none;
}

.hero-art::after {
  display: none;
}

.floating-note {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(23, 35, 59, 0.1);
  font-size: 28px;
  font-weight: 700;
}

.note-one {
  top: 16%;
  left: 12%;
}

.note-two {
  top: 48%;
  left: 8%;
}

.note-three {
  right: 12%;
  top: 18%;
}

.hero-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(23, 35, 59, 0.12);
}

.hero-card-main {
  left: 12%;
  bottom: 12%;
  width: 64%;
  padding: 22px;
}

.hero-card-main span,
.hero-card-main strong {
  display: block;
}

.hero-card-main span {
  color: var(--gray);
  font-size: 14px;
}

.hero-card-main strong {
  margin-top: 6px;
  font-size: 24px;
}

.hero-card-mini {
  right: 9%;
  bottom: 27%;
  padding: 12px 16px;
  color: var(--orange);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--gold);
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 700;
}

.hero-text,
.section-heading p,
.about-copy p,
.course-body p,
.trust-grid p,
.offer-section p {
  color: var(--gray);
}

.hero-text {
  max-width: 620px;
  font-size: 17px;
}

.hero-actions,
.offer-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary,
.btn-dark {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(23, 35, 59, 0.18);
}

.btn-secondary,
.btn-light {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 24px;
  font-weight: 800;
}

.hero-stats dd {
  margin: 2px 0 0;
  color: var(--gray);
  font-size: 13px;
}

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

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

.about-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.image-placeholder,
.course-image,
.qr-box,
.map-box {
  display: grid;
  place-items: center;
  color: rgba(23, 35, 59, 0.58);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 246, 230, 0.86)),
    repeating-linear-gradient(45deg, rgba(23, 35, 59, 0.05) 0 1px, transparent 1px 14px);
  border: 1px dashed rgba(23, 35, 59, 0.2);
  border-radius: 8px;
  text-align: center;
}

.photo-frame {
  position: relative;
  overflow: hidden;
  margin: 0;
  display: block;
  background: #f4efe6;
  border: 1px solid var(--line);
}

.photo-frame img,
.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advantages-frame {
  background: #fbf6ed;
}

.advantages-frame img {
  object-fit: contain;
  background: #fbf6ed;
}

.photo-frame figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(23, 35, 59, 0.72);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.image-placeholder span,
.course-image span,
.qr-box span,
.map-box span {
  padding: 8px 12px;
  color: rgba(23, 35, 59, 0.66);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  font-weight: 700;
}

.qr-box img {
  width: min(78%, 260px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(23, 35, 59, 0.1);
}

.image-large {
  min-height: 430px;
}

.about-copy {
  display: grid;
  gap: 14px;
}

.about-copy article,
.about-advantages article,
.course-card,
.trust-grid article,
.assessment-card,
.process-list article,
.faq-grid article,
.contact-card,
.offer-card {
  background: rgba(255, 253, 248, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(23, 35, 59, 0.06);
}

.about-copy article {
  padding: 24px;
}

.about-copy strong {
  color: var(--navy);
}

.about-course-list,
.about-advantages ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-course-list li,
.about-advantages li {
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(214, 170, 95, 0.12);
  border: 1px solid rgba(214, 170, 95, 0.26);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.about-advantages {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 16px;
  margin-top: 18px;
}

.about-advantages article {
  padding: 24px;
}

.about-advantages p {
  color: var(--gray);
}

.about-slogan {
  margin-bottom: 0;
  color: var(--orange) !important;
  font-weight: 800;
}

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

.course-card {
  overflow: hidden;
}

.course-image {
  min-height: 210px;
  border: 0;
  border-bottom: 1px dashed rgba(23, 35, 59, 0.16);
  border-radius: 0;
}

.dance-latin {
  background:
    linear-gradient(135deg, rgba(217, 130, 71, 0.2), rgba(255, 253, 248, 0.72)),
    repeating-linear-gradient(45deg, rgba(23, 35, 59, 0.05) 0 1px, transparent 1px 14px);
}

.dance-chinese {
  background:
    linear-gradient(135deg, rgba(214, 170, 95, 0.24), rgba(255, 253, 248, 0.7)),
    repeating-linear-gradient(45deg, rgba(23, 35, 59, 0.05) 0 1px, transparent 1px 14px);
}

.piano {
  background:
    linear-gradient(135deg, rgba(23, 35, 59, 0.18), rgba(255, 253, 248, 0.72)),
    repeating-linear-gradient(45deg, rgba(23, 35, 59, 0.05) 0 1px, transparent 1px 14px);
}

.art {
  background:
    linear-gradient(135deg, rgba(226, 182, 92, 0.2), rgba(255, 253, 248, 0.75)),
    repeating-linear-gradient(45deg, rgba(217, 130, 71, 0.08) 0 1px, transparent 1px 14px);
}

.calligraphy {
  background:
    linear-gradient(135deg, rgba(23, 35, 59, 0.14), rgba(245, 235, 218, 0.76)),
    repeating-linear-gradient(45deg, rgba(23, 35, 59, 0.05) 0 1px, transparent 1px 14px);
}

.skating {
  background:
    linear-gradient(135deg, rgba(110, 143, 164, 0.22), rgba(255, 253, 248, 0.72)),
    repeating-linear-gradient(45deg, rgba(23, 35, 59, 0.05) 0 1px, transparent 1px 14px);
}

.course-body {
  padding: 22px;
}

.offer-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: center;
  margin-top: 34px;
  margin-bottom: 34px;
  padding: 42px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(23, 35, 59, 0.96), rgba(44, 62, 92, 0.95)),
    linear-gradient(45deg, transparent, rgba(214, 170, 95, 0.28));
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.offer-section .eyebrow,
.offer-section p {
  color: rgba(255, 255, 255, 0.78);
}

.offer-section h2 {
  color: #fff;
}

.offer-card {
  display: grid;
  min-height: 260px;
  place-items: center;
  padding: 24px;
  color: var(--navy);
  background: var(--paper);
  text-align: center;
}

.offer-card span {
  color: var(--orange);
  font-weight: 700;
}

.offer-card strong {
  display: block;
  margin: 6px 0;
  color: var(--orange);
  font-size: 64px;
  line-height: 1;
}

.offer-card p,
.offer-card small {
  margin: 0;
  color: var(--gray);
}

.assessment-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.assessment-card {
  padding: 26px;
}

.assessment-card span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-weight: 800;
}

.assessment-card p,
.process-list p,
.faq-grid p {
  color: var(--gray);
}

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

.gallery-grid .image-placeholder {
  min-height: 220px;
}

.trust-section {
  padding-top: 44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.trust-grid article {
  padding: 22px;
}

.trust-grid span {
  color: var(--gold);
  font-weight: 800;
}

.process-section {
  padding-top: 44px;
}

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

.process-list article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.process-list strong {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 20px;
}

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

.faq-grid article {
  padding: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
}

.contact-card {
  padding: 28px;
}

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

.contact-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--gray);
  font-size: 13px;
}

.contact-list strong,
.contact-list a {
  font-size: 18px;
  font-weight: 800;
}

.qr-map-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 16px;
}

.qr-box,
.map-box {
  min-height: 330px;
  padding: 20px;
}

.qr-box,
.map-box {
  align-content: center;
  gap: 12px;
}

.qr-box small,
.map-box small {
  color: var(--gray);
}

.map-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 26px 0 88px;
  color: var(--gray);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.footer-records {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-records a {
  color: var(--gray);
}

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

.float-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: #fff;
  background: var(--orange);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(217, 130, 71, 0.28);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .about-advantages,
  .offer-section,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-content {
    order: 1;
  }

  .hero-art {
    order: 2;
    min-height: 430px;
  }

  .course-grid,
  .gallery-grid,
  .assessment-layout,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .qr-map-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 67px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 253, 248, 0.98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 10px;
  }

  .section {
    padding: 58px 0;
  }

  .hero {
    gap: 28px;
    padding-bottom: 52px;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .course-grid,
  .gallery-grid,
  .assessment-layout,
  .trust-grid,
  .qr-map-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .offer-section {
    padding: 28px 20px;
  }

  .offer-card strong {
    font-size: 54px;
  }

  .contact-card {
    padding: 22px;
  }

  .qr-box,
  .map-box {
    min-height: 240px;
  }
}

@media (max-width: 480px) {
  .brand strong {
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-wide-logo {
    width: 190px;
    height: 54px;
  }

  .hero-actions,
  .offer-actions,
  .contact-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-art {
    min-height: 310px;
  }

  .floating-note {
    width: 58px;
    height: 58px;
    font-size: 22px;
  }

  .hero-card-main {
    width: 72%;
    padding: 16px;
  }

  .hero-card-main strong {
    font-size: 18px;
  }

  .hero-card-mini {
    right: 6%;
    bottom: 25%;
    padding: 10px 12px;
    font-size: 13px;
  }
}
