@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

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

:root {
  --qing: #5cc6b0;
  --sha: #d4c4a8;
  --sha2: #ece1cf;
  --mo: #172623;
  --tu: #c67b5c;
  --di: #f6efe4;
  --r: 28px;
  --yao: 'Inter', system-ui, -apple-system, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-left: 112px;
  background: var(--di);
  color: var(--mo);
  font: 400 17px/1.78 var(--yao);
  letter-spacing: .01em;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; }

/* 顶部细条 */
.tiao {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--mo);
  color: var(--sha);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .24em;
  padding: 9px 34px;
}

/* 左侧竖排导航 */
.paihang {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 112px;
  z-index: 50;
  background: var(--sha);
  border-right: 1px solid rgba(23, 38, 35, .12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 16px 8px 22px;
  overflow-y: auto;
}

.logo {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--qing);
  color: var(--mo);
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(23, 38, 35, .16);
}
.logo img { width: 100%; height: 100%; object-fit: cover; }

.mulv {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mulv li { position: relative; display: flex; }

.mulv a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 4px;
  border-radius: 18px;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.32;
  font-weight: 600;
  text-align: center;
  color: var(--mo);
  transition: background .25s ease-out, color .25s ease-out;
}
.mulv a:hover,
.mulv a:focus-visible { background: var(--qing); color: #0c1c18; }

.mulv li:nth-child(2) {
  padding-bottom: 8px;
  margin-bottom: 6px;
  border-bottom: 1px dashed rgba(23, 38, 35, .22);
}

/* 分组下拉 */
.sub {
  position: absolute;
  left: calc(100% + 4px);
  top: 0;
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--sha2);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(23, 38, 35, .2);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 6;
}
.sub a {
  justify-content: flex-start;
  text-align: left;
  padding: 10px 14px;
  min-height: 46px;
}
.mulv li:hover > .sub,
.mulv li:focus-within > .sub { display: flex; }

/* 主体网格 */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 302px;
  column-gap: 44px;
  align-items: start;
}

/* 首屏 */
.hero {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 60px 0 56px;
}

.huizhang {
  align-self: flex-start;
  background: var(--qing);
  color: #0c1c18;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(92, 198, 176, .38);
}

.hero h1 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(34px, 5.6vw, 66px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hero-fu {
  margin: 0;
  max-width: 44ch;
  font-size: 18px;
  color: #3d4f49;
}

.hero figure {
  position: relative;
  margin: 20px 0 0;
  min-height: 210px;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 38px;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sha) 0%, #c9b697 60%, var(--tu) 140%);
  box-shadow: 0 28px 54px rgba(23, 38, 35, .18);
}

.hero figure img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-height: 210px;
  max-height: 54vh;
  object-fit: cover;
  display: block;
}

.hero figure figcaption {
  position: absolute;
  right: 16px;
  bottom: 14px;
  background: rgba(23, 38, 35, .74);
  color: var(--sha);
  font-size: 14px;
  padding: 7px 15px;
  border-radius: 999px;
}

/* 正文 */
.zhengwen {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
}

.zhengwen div {
  background: var(--sha2);
  border-radius: var(--r);
  padding: 34px 32px;
  margin: 0 0 26px;
  scroll-margin-top: 96px;
}
.zhengwen div:nth-child(2n) { background: #eee6d6; }

.zhengwen small {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--tu);
  margin-bottom: 6px;
}

.zhengwen h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 2.6vw, 31px);
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.022em;
}

.zhengwen h3 {
  margin: 26px 0 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.zhengwen p { margin: 0 0 14px; }
.zhengwen ul,
.zhengwen ol { margin: 0 0 16px; padding-left: 22px; }
.zhengwen li { margin-bottom: 7px; }
.zhengwen a { color: #1c6d5e; text-underline-offset: 3px; }

.zhengwen blockquote {
  margin: 0 0 16px;
  padding: 16px 22px;
  background: var(--sha);
  border-left: 6px solid var(--qing);
  border-radius: 20px;
}

.zhengwen table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 18px;
  font-size: 16px;
}
.zhengwen th,
.zhengwen td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(23, 38, 35, .16);
  vertical-align: top;
}

/* 侧栏 */
.ce {
  grid-column: 2;
  grid-row: 2;
  position: sticky;
  top: 64px;
  min-width: 0;
  background: var(--mo);
  color: var(--di);
  border-radius: var(--r);
  padding: 24px 22px;
  box-shadow: 0 18px 38px rgba(23, 38, 35, .22);
}

.ce small {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .22em;
  color: var(--qing);
  margin-bottom: 4px;
}

.ce h2 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -.012em;
}

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

.ce-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 16px;
  text-decoration: none;
  color: #e8dfcd;
  border-bottom: 1px solid rgba(212, 196, 168, .2);
  transition: color .2s ease-out, padding-left .2s ease-out;
}
.ce-list a:hover,
.ce-list a:focus-visible { color: var(--qing); padding-left: 6px; }
.ce-list li:last-child a { border-bottom: 0; }

/* 页脚 */
.yejiao {
  background: var(--mo);
  color: var(--di);
  padding: 64px 40px 30px;
  margin-top: 20px;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 36px;
  border-radius: 40px;
  background: linear-gradient(120deg, var(--tu), #b26a4c);
  box-shadow: 0 24px 46px rgba(198, 123, 92, .34);
}

.cta-da {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -.022em;
  color: #fff6ec;
}

.cta-an {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--mo);
  color: var(--sha);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: transform .25s ease-out, background .25s ease-out;
}
.cta-an:hover { transform: translateY(-2px); background: #0e1a17; }

.jiao-ge {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  margin: 52px 0 30px;
}

.jiao-ge address {
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.012em;
}

.jiao-ge ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

.jiao-ge ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  text-decoration: none;
  color: #ddd3c0;
  border-bottom: 1px solid rgba(212, 196, 168, .2);
}
.jiao-ge ul a:hover { color: var(--qing); }

.jiao-di {
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 196, 168, .22);
  font-size: 15px;
  color: #b9b0a0;
}

/* 入场 */
.js .jin { opacity: 0; transform: translateY(16px); }
.js .jin.jin-in {
  opacity: 1;
  transform: none;
  transition: opacity .62s cubic-bezier(.19, 1, .22, 1), transform .62s cubic-bezier(.19, 1, .22, 1);
}
.js .hero figure img { opacity: 0; transition: opacity 1.1s ease-out; }
.js .hero figure img.on { opacity: 1; }

@media (max-width: 880px) {
  body { padding-left: 0; }

  .tiao { position: static; font-size: 12px; padding: 8px 16px; letter-spacing: .16em; }

  .paihang {
    position: sticky;
    top: 0;
    width: auto;
    height: auto;
    bottom: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(23, 38, 35, .14);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .logo { width: 40px; height: 40px; border-radius: 14px; font-size: 19px; }

  .mulv { flex-direction: row; gap: 6px; width: auto; }
  .mulv a {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 0 13px;
    border-radius: 16px;
    white-space: nowrap;
  }
  .mulv li:nth-child(2) { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
  .sub { display: none; }

  main { grid-template-columns: 1fr; column-gap: 0; padding: 0 18px 56px; }
  .hero, .zhengwen, .ce { grid-column: 1; }
  .hero { grid-row: 1; padding: 36px 0 30px; }
  .zhengwen { grid-row: 2; }
  .ce { grid-row: 3; position: static; top: auto; margin-bottom: 20px; }

  .hero figure { border-radius: 30px; }
  .hero figure img { max-height: 42vh; min-height: 180px; }
  .zhengwen div { padding: 26px 20px; border-radius: 24px; scroll-margin-top: 84px; }

  .yejiao { padding: 44px 18px 24px; margin-top: 8px; }
  .cta { padding: 28px 22px; border-radius: 30px; }
  .jiao-ge { grid-template-columns: 1fr; gap: 26px; margin: 34px 0 24px; }
  .jiao-ge ul { gap: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .jin { opacity: 1; transform: none; transition: none; }
  .js .hero figure img { transition: none; }
  .cta-an:hover { transform: none; }
}

button[aria-expanded]{min-width:44px;min-height:44px}
