:root {
  --gold: #bda064;
  --gold-dark: #a8874d;
  --gold-light: #eadfc9;
  --text: #3d3d3d;
  --muted: #8a8a8a;
  --line: #e8e8e8;
  --bg: #f7f7f7;
  --white: #ffffff;
  --black: #222222;
  --shadow: 0 18px 45px rgba(47, 38, 24, 0.09);
  --transition: all 0.35s ease;
  --main: #bda064;
  --deep: #078c91;
  --blue: #2798d7;
  --green: #18a955;
  --text: #333;
  --muted: #777;
  --line: #d6d6d6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
}
@media (min-width: 1200px) and (max-width: 1919px) {
  html {
    font-size: max(12px, min(calc(100vw / 120), 16px));
  }
}
@media (max-width: 1199px) {
  html {
    font-size: max(10px, min(calc(100vw / 75), 16px));
  }
}
@font-face {
  font-family: "Source Han Sans CN";
  src: url(../font/SourceHanSansCN-Normal.ttf) format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Sans CN";
  src: url(../font/SourceHanSansCN-Bold.ttf) format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Serif CN";
  src: url("../fonts/SourceHanSerifCN‑Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Han Serif CN";
  src: url("../fonts/SourceHanSerifCN‑Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "calibri";
  src: url("../fonts/calibri.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "calibrib";
  src: url("../fonts/calibrib.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Serif SC";
  src: url("../fonts/SourceHanSerif-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
body {
  font-family: "Source Han Sans CN", sans-serif !important;
  font-weight: 400;
  /* 默认用常规字重 */
  color: #333;
  overflow-x: hidden;
  background: #ffffff;
}
html {
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.container {
  width: 80%;
  margin: 0 auto;
}

/* 顶部导航 */
.topbar {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 7.75rem;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(14px);
  transition: var(--transition);
  padding-left: 10%;
}

.topbar.is-stuck {
  height: 6.25rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 1rem;
}

.brand-mark {
  width: 9.5rem;
}

.brand-mark span {
  position: relative;
  z-index: 1;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.brand h1 {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.15;
  font-weight: normal;
  letter-spacing: 0.12rem;
  font-family: "Source Han Serif CN", serif;
  font-weight: 700;
  color: var(--main);
  position: relative;
  padding-left: 0.6875rem;
}
.brand h1::before {
  content: "";
  background: #d6d6d6;
  position: absolute;
  left: 0;
  width: 0.0625rem;
  height: 2.6875rem;
  top: 50%;
  transform: translateY(-50%);
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 2.15rem;
  height: 100%;
}

.search {
  position: relative;
  width: 6.875rem;
  height: 100%;
  background: var(--main);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.search i {
  font-size: 2.25rem;
}
.nav-list {
  display: flex;
  align-items: center;
}
@media (max-width: 1100px) {
  .nav-list {
    display: block;
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 0 26px;
  }
}
.nav-item {
  position: relative;
  padding: 0 1.8rem;
}
@media (max-width: 1440px) {
  .nav-item {
    padding: 0 1rem;
  }
}
.nav-item:nth-child(5) {
  padding-right: 1rem;
}
/* 箭头按钮 */
.arrow-toggle {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 8px;
  transition: transform 0.2s;
  position: absolute;
  right: 0;
  top: 5px;
  opacity: 0;
}
.arrow-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #bebebe;
  border-bottom: 2px solid #bebebe;
  transform: rotate(45deg);
}
/* 展开后箭头旋转 */
.nav-item.sub-open .arrow-toggle::after {
  transform: rotate(-135deg);
}
@media (max-width: 1280px) {
  .brand-mark {
    width: 9rem;
  }
  .brand h1 {
    font-size: 1.5rem;
  }
}

/* PC端悬浮显示下拉 */
@media (min-width: 1101px) {
  .nav-item:hover .dropdown {
    display: block;
  }
}

/* 移动端：sub‑open控制下拉 */
@media (max-width: 1100px) {
  .dropdown {
    display: none;
  }
  .nav-item.sub-open .dropdown {
    display: block;
  }
  /* PC箭头弱化一点 */
  .arrow-toggle {
    opacity: 0.6;
  }
}
.nav-link {
  position: relative;
  height: 100%;
  gap: 0.35rem;
  font-size: 1.375rem;
  color: #333;
  white-space: nowrap;
  transition: var(--transition);
  text-align: center;
}

.nav-link h2 {
  font-size: 1.5rem;
  font-family: "Source Han Serif CN", serif;
  font-weight: 700;
}

.nav-link p {
  font-size: 1.0625rem;
  opacity: 0.7;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: var(--gold-dark);
}

.nav-item:hover .nav-link::after,
.nav-item.active .nav-link::after {
  width: 100%;
}

.dropdown {
  position: absolute;
  top: calc(130% - 10px);
  left: 50%;
  min-width: 9.375rem;
  padding: 0.625rem 0;
  border-top: 2px solid var(--gold);
  background: #fff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 12px);
  transition: var(--transition);
  border-radius: 0 0 0.625rem 0.625rem;
}

.dropdown a {
  display: block;
  padding: 9px 22px;
  color: #666;
  font-size: 14px;
  text-align: center;
  transition: var(--transition);
}

.dropdown a:hover {
  color: var(--gold-dark);
  background: #faf6ee;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  color: #777;
  height: 100%;
}

.tool-link {
  transition: var(--transition);
  font-size: 1.125rem;
  position: relative;
  font-family: "Source Han Serif CN", serif;
  font-weight: 600;
}

.tool-link .iconfont {
  display: grid;
  place-items: center;
  color: var(--main);
  font-size: 1.875rem;
  font-weight: normal;
  height: 2.5rem;
}
.tool-link:nth-child(1) .iconfont {
  font-size: 2.25rem;
}
.tool-link:hover,
.search-btn:hover {
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(199, 167, 107, 0.45);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold-dark);
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
/* 页脚 */
.footer {
  color: #fff;
  background: var(--main);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(430px, 0.8fr);
  padding: 2.5rem 0;
}

.footer-contact {
  margin-top: 3.75rem;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.125rem;
  line-height: 2.35;
}

.footer-contact a {
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.footer-contact a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.8);
}
.footer .brand h1 {
  color: #fff;
}
.footer-right {
  display: flex;
  justify-content: end;
  gap: 78px;
  margin-top: 1.25rem;
}

.footer-nav {
  display: grid;
  gap: 11px;
  align-content: start;
  padding-top: 8px;
}

.footer-nav a {
  position: relative;
  width: fit-content;
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.125rem;
  letter-spacing: 0.12em;
  transition: var(--transition);
}

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

.footer-nav a:hover {
  transform: translateX(4px);
}

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

.qr-list {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
}

.qr-item {
  position: relative;
  width: 7.875rem;
  text-align: center;
}

.qr-placeholder {
  position: relative;
  width: 7.875rem;
  overflow: hidden;
}

.qr-item p {
  margin-top: 0.625rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.125rem;
}

.footer-bottom {
  padding: 1.875rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.42);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.125rem;
}

.footer-legal a {
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-legal span {
  margin: 0 10px;
  opacity: 0.65;
}

.copyright {
  text-align: center;
}
/* 入场动画 */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

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

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}
@media (max-width: 1310px) {
  .topbar {
    padding-left: 5%;
  }
  .container {
    width: 90%;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 1100px) {
  .topbar,
  .topbar.is-stuck {
    height: 62px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 1001;
    inset: 62px 0 auto 0;
    max-height: calc(100vh - 62px);
    overflow-y: auto;
    border-top: 1px solid #eee;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: var(--transition);
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item {
    border-bottom: 1px solid #efefef;
    position: relative;
    padding: 10px 0;
  }

  .nav-link {
    padding: 17px 0 !important;
    text-align: left;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link p {
    margin-top: 0;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 12px;
    border-top: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-item.sub-open .dropdown {
    display: block;
  }

  .nav-item:hover .dropdown,
  .nav-item .dropdown {
    transform: none;
  }

  .dropdown a {
    padding: 7px 0 7px 18px;
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-right {
    justify-content: start;
  }
}
@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .section-head {
    align-items: flex-start;
    gap: 22px;
  }

  .header-tools .tool-link span {
    display: none;
  }

  .top-actions {
    gap: 14px;
  }

  .footer-right {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .qr-list {
    justify-content: flex-start;
  }

  .footer-bottom-inner {
    display: block;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  .brand {
    flex: auto;
  }
  .topbar {
    padding: 0 2%;
  }
  .header-tools {
    gap: 10px;
  }
  .search {
    display: none;
  }
}

@media (max-width: 520px) {
  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
  }

  .qr-list {
    gap: 18px;
  }
}

#search-bar {
  background: var(--main);
  height: 4.375rem;
  display: none;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  padding-top: 0.625rem;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

/* 红框位置 关闭按钮样式 */
.search-close {
  position: absolute;
  right: -20%;
  top: 40%;
  transform: translateY(-50%);
  /* 红框对应白色边框按钮 */
  color: #fff;
  font-size: 2.875rem !important;
  cursor: pointer;
}

.se-xi {
  width: 35%;
  height: 2.8125rem;
  background: #fff;
  border-radius: 1.5625rem;
  margin: 0 auto;
  position: relative;
}

.se-xi input {
  border: none;
  background: none;
  height: 100%;
  width: 100%;
  border-radius: 1.25rem;
  display: block;
  outline: none;
  padding-left: 1.25rem;
  font-size: 1rem;
}

.se-xi button {
  position: absolute;
  top: 0.5rem;
  right: 1.25rem;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.875rem;
  display: block;
}
.topbar.active {
  top: 4.375rem;
}

.section-title-wrap {
  position: relative;
}

.eyebrow {
  opacity: 0.5;
  font-size: 1.75rem;
  text-transform: uppercase;
  font-family: "calibri";
}

.section-title {
  position: relative;
  padding-bottom: 0.625rem;
  color: var(--black);
  font-size: 3rem;
  font-weight: 700;
  font-family: "Source Han Serif CN";
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.6875rem;
  height: 0.1875rem;
  background: #c39f5b;
}
@media (max-width: 760px) {
  .eyebrow {
    font-size: 1.375rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
}
