:root {
  --ink: #34251f;
  --muted: #7d6d64;
  --paper: #fbf8f3;
  --cream: #f3e9dd;
  --orange: #a75e37;
  --orange-dark: #754028;
  --gold: #cf9a54;
  --green: #536455;
  --white: #fff;
  --line: rgba(70, 45, 34, 0.14);
  --shadow: 0 20px 60px rgba(63, 40, 28, 0.12);
  --radius: 24px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", serif;
  --sans: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 9999;
  padding: 10px 18px;
  color: white;
  background: var(--orange-dark);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 80px;
  background: rgba(251, 248, 243, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border-radius: 50% 50% 48% 52%;
  font-family: var(--serif);
  font-size: 23px;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.12em;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.32em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  font-size: 14px;
}

.main-nav a {
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--orange);
}

.nav-cta {
  padding: 10px 20px;
  color: white !important;
  background: var(--orange);
  border-radius: 999px;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: none;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: white;
  background: #523324;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 53%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(35, 21, 16, 0.8) 0%, rgba(35, 21, 16, 0.48) 48%, rgba(35, 21, 16, 0.06) 75%),
    linear-gradient(0deg, rgba(35, 21, 16, 0.48), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 110px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero .eyebrow,
.process-section .eyebrow,
.contact-section .eyebrow {
  color: #edc895;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.17;
  letter-spacing: 0.03em;
}

.hero-description {
  max-width: 630px;
  margin: 28px 0 34px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--orange);
}

.button-primary:hover {
  background: var(--orange-dark);
}

.button-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.button-outline {
  color: var(--orange);
  border-color: var(--orange);
  background: transparent;
}

.button-light-gray {
  color: var(--ink);
  background: #eee8e2;
}

.hero-facts {
  max-width: 770px;
  margin: 64px 0 0;
  padding: 25px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-facts li {
  padding-right: 25px;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 19px;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.quick-contact {
  position: relative;
  z-index: 3;
  color: white;
  background: var(--orange-dark);
}

.quick-grid {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1.3fr 1.3fr auto;
  align-items: center;
  gap: 30px;
}

.quick-label {
  display: block;
  color: #d9b99e;
  font-size: 12px;
}

.quick-contact a {
  font-weight: 700;
}

.text-link {
  color: var(--orange);
  font-weight: 700;
}

.quick-contact .text-link {
  color: white;
}

.section {
  padding: 112px 0;
}

.section-copy h2,
.section-heading h2,
.faq-intro h2,
.contact-section h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.5vw, 57px);
  font-weight: 500;
  line-height: 1.25;
}

.section-copy > p:not(.eyebrow),
.section-heading > p,
.faq-intro > p {
  color: var(--muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: center;
  gap: 90px;
}

.feature-tags {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feature-tags span,
.course-list span {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
}

.photo-card {
  position: relative;
  margin: 0;
}

.photo-card img {
  height: 610px;
  object-fit: cover;
  border-radius: 240px 240px 22px 22px;
}

.photo-card figcaption {
  position: absolute;
  right: -30px;
  bottom: 32px;
  padding: 18px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.courses-section,
.faq-section {
  background: var(--cream);
}

.section-heading {
  margin-bottom: 55px;
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: end;
  gap: 50px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.course-card {
  overflow: hidden;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(63, 40, 28, 0.06);
}

.course-card.featured {
  grid-row: span 2;
}

.course-card img {
  height: 250px;
  object-fit: cover;
}

.course-card.featured img {
  height: 610px;
}

.course-content {
  padding: 26px;
}

.course-content span,
.case-card span,
.article-meta {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.course-content h3,
.case-card h3,
.advantage-grid h3,
.facility-grid h3,
.process-grid h3 {
  margin: 8px 0;
  font-family: var(--serif);
  font-size: 23px;
}

.course-content p,
.advantage-grid p,
.facility-grid p,
.process-grid p,
.case-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.course-list {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.course-list span {
  background: rgba(255, 255, 255, 0.5);
}

.process-section {
  color: white;
  background: var(--orange-dark);
}

.light-heading p {
  color: rgba(255, 255, 255, 0.65);
}

.process-grid {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}

.process-grid li {
  padding: 32px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.process-grid span {
  color: #d8ad7e;
  font-family: var(--serif);
  font-size: 30px;
}

.process-grid p {
  color: rgba(255, 255, 255, 0.65);
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage-grid article {
  min-height: 300px;
  padding: 32px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.advantage-grid b {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 25px;
}

.environment-section {
  background: #f7f1e9;
}

.gallery {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
}

.gallery figure {
  position: relative;
  min-height: 340px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.gallery-large {
  grid-row: span 2;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery figure:hover img {
  transform: scale(1.035);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 70px 25px 24px;
  color: white;
  background: linear-gradient(transparent, rgba(33, 20, 15, 0.86));
}

.gallery figcaption strong,
.gallery figcaption span {
  display: block;
}

.gallery figcaption strong {
  font-family: var(--serif);
  font-size: 22px;
}

.gallery figcaption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.facility-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.facility-grid article {
  padding: 25px;
  display: flex;
  gap: 16px;
  background: white;
  border-radius: 16px;
}

.facility-grid article > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--orange);
  border-radius: 50%;
}

.facility-grid h3 {
  margin-top: 0;
  font-size: 18px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 23px;
}

.case-card {
  overflow: hidden;
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 14px 45px rgba(63, 40, 28, 0.08);
}

.case-card img {
  height: 360px;
  object-fit: cover;
}

.case-card > div {
  padding: 26px;
}

.case-notice {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.articles-section {
  background: white;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.article-cover {
  height: 225px;
  object-fit: cover;
  background: var(--cream);
}

.article-body {
  padding: 25px;
}

.article-body h3 {
  margin: 10px 0;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}

.article-body p {
  color: var(--muted);
  font-size: 14px;
}

.article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-delete {
  padding: 5px 8px;
  color: #a14235;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 12px;
}

.empty-state {
  padding: 45px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 18px;
  text-align: center;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: 90px;
}

.faq-intro {
  position: sticky;
  top: 120px;
  align-self: start;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  padding: 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--serif);
  font-size: 20px;
}

.faq-question span {
  color: var(--orange);
  font-family: var(--sans);
  font-size: 25px;
  transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  color: var(--muted);
  transition: max-height 0.35s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 35px 25px 0;
}

.contact-section {
  padding: 110px 0;
  color: white;
  background:
    linear-gradient(rgba(52, 31, 22, 0.87), rgba(52, 31, 22, 0.91)),
    url("微信图片_2026-06-30_143701_097.jpg") center / cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  align-items: center;
  gap: 80px;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-cards {
  margin-top: 35px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.contact-cards a {
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.contact-cards span,
.contact-cards strong {
  display: block;
}

.contact-cards span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.store-card {
  padding: 40px;
  color: var(--ink);
  background: white;
  border-radius: var(--radius);
}

.store-card h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-size: 32px;
}

.store-card dl {
  margin: 0 0 28px;
}

.store-card dl > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.store-card dt {
  color: var(--muted);
  font-size: 12px;
}

.store-card dd {
  margin: 3px 0 0;
  font-weight: 700;
}

.full-button {
  width: 100%;
}

.site-footer {
  padding: 75px 0 25px;
  color: #d5c9c0;
  background: #291d18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 50px;
}

.footer-grid h3 {
  margin: 0 0 18px;
  color: white;
  font-size: 15px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 8px 0;
  font-size: 13px;
}

.footer-logo {
  color: white;
}

.copyright {
  margin-top: 55px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: #94857d;
  font-size: 12px;
}

.mobile-bar {
  display: none;
}

.article-dialog,
.reader-dialog {
  width: min(760px, calc(100% - 30px));
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.article-dialog::backdrop,
.reader-dialog::backdrop {
  background: rgba(31, 20, 16, 0.72);
  backdrop-filter: blur(5px);
}

.article-form,
.article-reader {
  padding: 35px;
}

.dialog-heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.dialog-heading h2 {
  margin: 0 0 25px;
  font-family: var(--serif);
}

.close-dialog {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  cursor: pointer;
  font-size: 25px;
}

.article-form label {
  margin-bottom: 18px;
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.article-form input,
.article-form select,
.article-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 12px 14px;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
}

.article-form input:focus,
.article-form select:focus,
.article-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(167, 94, 55, 0.1);
}

.article-form small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-weight: 400;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-actions {
  justify-content: flex-end;
}

.form-message {
  min-height: 24px;
  color: #a14235;
  font-size: 13px;
}

.article-reader {
  position: relative;
}

.reader-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
}

.article-reader > img {
  max-height: 360px;
  margin-bottom: 25px;
  object-fit: cover;
  border-radius: 15px;
}

.article-reader > span {
  color: var(--orange);
  font-size: 12px;
}

.article-reader h2 {
  margin: 10px 0 25px;
  padding-right: 45px;
  font-family: var(--serif);
  font-size: 34px;
}

#readerContent {
  color: #594941;
  white-space: pre-wrap;
}

.noscript {
  margin: 0;
  padding: 12px;
  color: white;
  background: #a14235;
  text-align: center;
}

@media (max-width: 1020px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 80px 0 auto;
    padding: 25px 20px 35px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .main-nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }

  .intro-grid,
  .faq-layout,
  .contact-grid {
    gap: 50px;
  }

  .advantage-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  body {
    padding-bottom: 58px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    height: 70px;
  }

  .main-nav {
    top: 70px;
  }

  .hero {
    min-height: 700px;
    align-items: flex-end;
  }

  .hero-image {
    object-position: 57% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(35, 21, 16, 0.93), rgba(35, 21, 16, 0.15) 82%),
      linear-gradient(90deg, rgba(35, 21, 16, 0.25), transparent);
  }

  .hero-content {
    padding-block: 140px 55px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-facts {
    margin-top: 40px;
    gap: 12px;
  }

  .hero-facts li {
    padding-right: 8px;
  }

  .hero-facts strong {
    font-size: 14px;
  }

  .hero-facts span {
    font-size: 11px;
  }

  .quick-grid {
    padding: 20px 0;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .intro-grid,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 35px;
    gap: 15px;
  }

  .section-heading h2,
  .section-copy h2,
  .faq-intro h2,
  .contact-section h2 {
    font-size: 36px;
  }

  .photo-card img {
    height: 470px;
  }

  .photo-card figcaption {
    right: 12px;
    bottom: 18px;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card.featured {
    grid-row: auto;
  }

  .course-card.featured img,
  .course-card img {
    height: 340px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid li {
    padding: 25px 18px;
  }

  .advantage-grid {
    grid-template-columns: 1fr;
  }

  .advantage-grid article {
    min-height: 0;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery-large {
    grid-row: auto;
  }

  .gallery figure {
    min-height: 410px;
  }

  .facility-grid,
  .case-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .case-card img {
    height: auto;
    max-height: 540px;
  }

  .faq-intro {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .copyright {
    flex-direction: column;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 99;
    height: 58px;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    background: white;
    box-shadow: 0 -8px 30px rgba(34, 21, 16, 0.15);
  }

  .mobile-bar a {
    display: grid;
    place-items: center;
    font-weight: 700;
  }

  .mobile-bar a:last-child {
    color: white;
    background: var(--orange);
  }

  .article-form,
  .article-reader {
    padding: 24px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 460px) {
  .hero-actions .button {
    width: 100%;
  }

  .process-grid,
  .facility-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .contact-cards {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}