/* ============================================================
   TECHLY® — Chinese Retro / Guochao Template (moban19)
   国潮风：中国红 + 鎏金、圆形印章、云纹回纹、竖排文字
   ============================================================ */

:root {
  --bg: #FBF6EC;
  --paper: #FFFDF6;
  --red: #B71C1C;
  --red-deep: #8E1212;
  --gold: #D4AF37;
  --gold-soft: #E9D9A6;
  --ink: #3A2E22;
  --muted: #7A6A55;
  --line: #E8DCC3;
  --radius: 18px;
  --font: "PingFang SC", "Microsoft YaHei", "STKaiti", "KaiTi", "SimSun", serif;
  --font-kai: "STKaiti", "KaiTi", "STSong", "SimSun", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(212, 175, 55, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red-deep);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
textarea {
  font-family: inherit;
}

::selection {
  background: rgba(212, 175, 55, 0.35);
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ============================================================
   云纹顶栏
   ============================================================ */

.tracer {
  background: var(--red);
  color: #F5E6C8;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 8px 14px;
}

.tracer span {
  color: #FFD66B;
}

/* ============================================================
   头部
   ============================================================ */

.site-header {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.brand-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1.25;
}

.brand-name em {
  font-style: normal;
  color: #FFD66B;
}

.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: #E8C9A0;
  letter-spacing: 0.28em;
  margin-top: 2px;
}

.header-side {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.seal-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #FFD66B;
  color: #FFD66B;
  font-size: 13.5px;
  font-weight: 800;
  padding: 8px 18px;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.seal-btn:hover {
  background: rgba(255, 214, 107, 0.12);
  color: #FFD66B;
}

/* 导航 */
.nav-line {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-inner {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 6px 0 10px;
}

.nav-inner a {
  color: #F5E6C8;
  font-size: 15.5px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-inner a:hover {
  color: #fff;
  background: rgba(255, 214, 107, 0.18);
}

.nav-inner a.active {
  color: var(--red);
  background: #FFD66B;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-toggle {
  display: none;
  color: #FFD66B;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 16px;
}

/* ============================================================
   Hero（国潮大红色）
   ============================================================ */

.hero {
  position: relative;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::after {
  content: "168";
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 320px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--font-kai);
  pointer-events: none;
  line-height: 1;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 58px 0 64px;
}

.hero .seal-big {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #FFD66B;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  padding: 7px 18px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.hero h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  font-weight: 900;
  line-height: 1.28;
  margin: 20px 0 16px;
  letter-spacing: 0.04em;
}

.hero h1 .hl {
  color: #FFD66B;
}

.hero p {
  color: #F5E6C8;
  font-size: 15.5px;
  max-width: 560px;
}

.hero p strong {
  color: #fff;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

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

.btn--gold {
  background: linear-gradient(180deg, #E9C85E, var(--gold));
  color: var(--red-deep);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn--ghost-light {
  border: 1.5px solid #FFD66B;
  color: #FFD66B;
}

.btn--red {
  background: linear-gradient(180deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(142, 18, 18, 0.35);
}

.hero-note {
  margin-top: 20px;
  font-size: 13px;
  color: #E8C9A0;
  letter-spacing: 0.08em;
}

/* Hero 右侧印章相框 */
.hero-frame {
  position: relative;
}

.hero-frame .img-box {
  border-radius: var(--radius);
  overflow: hidden;
  border: 4px solid #FFD66B;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
  transform: rotate(1.5deg);
}

.hero-frame .img-box img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-frame .seal {
  position: absolute;
  right: -14px;
  bottom: -16px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--red-deep);
  border: 3px solid #FFD66B;
  color: #FFD66B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-kai);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   金丝分隔带
   ============================================================ */

.divider {
  background: linear-gradient(90deg, var(--gold-soft), var(--gold), var(--gold-soft));
  height: 3px;
  position: relative;
}

.divider::before {
  content: "❖";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg);
  padding: 0 14px;
  color: var(--gold);
  font-size: 14px;
}

/* ============================================================
   Section
   ============================================================ */

.section {
  padding: 66px 0;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--gold {
  background: linear-gradient(180deg, #F7EED8, #F1E3C0);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-head .cn {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--red);
}

.section-head .en {
  display: block;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 8px;
  font-family: Georgia, serif;
}

.section-head .sub {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  margin-top: 10px;
}

/* ============================================================
   印章卡片（四艺）
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.seal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.seal-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.seal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(58, 46, 34, 0.12);
}

.seal-round {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 900;
  font-family: var(--font-kai);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.25);
}

.seal-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 8px;
}

.seal-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.seal-card .small {
  display: inline-block;
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--gold);
  letter-spacing: 0.2em;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
}

/* ============================================================
   横排大卡（2 列）
   ============================================================ */

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

.side-card {
  display: flex;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  align-items: flex-start;
}

.side-card .vert {
  writing-mode: vertical-rl;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.35em;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  padding: 12px 8px;
  flex-shrink: 0;
}

.side-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--ink);
}

.side-card p {
  font-size: 13.5px;
  color: var(--muted);
}

.side-card .tags {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.side-card .tags span {
  font-size: 11.5px;
  color: var(--red);
  border: 1px solid rgba(183, 28, 28, 0.35);
  border-radius: 999px;
  padding: 2px 10px;
  background: rgba(183, 28, 28, 0.05);
}

/* ============================================================
   数字区（鎏金底）
   ============================================================ */

.num-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.num-card {
  text-align: center;
  background: rgba(255, 253, 246, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 14px;
  box-shadow: 0 6px 18px rgba(142, 18, 18, 0.06);
}

.num-card .n {
  font-size: 34px;
  font-weight: 900;
  color: var(--red);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  font-family: Georgia, var(--font);
}

.num-card .n small {
  font-size: 16px;
  color: var(--gold);
}

.num-card p {
  color: var(--muted);
  font-size: 13.5px;
  margin-top: 8px;
}

/* ============================================================
   图文双栏（国潮卷轴风）
   ============================================================ */

.scroll {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.scroll .frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 14px 34px rgba(58, 46, 34, 0.14);
}

.scroll .frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.scroll h3 {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 12px;
}

.scroll h3::before {
  content: "◆ ";
  color: var(--gold);
}

.scroll p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 10px;
}

.scroll p strong {
  color: var(--ink);
}

/* ============================================================
   资讯卡
   ============================================================ */

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

.news-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(58, 46, 34, 0.14);
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 3px solid var(--gold);
}

.news-body {
  padding: 18px;
}

.news-body .d {
  font-size: 12px;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.1em;
}

.news-body h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 8px 0 6px;
  line-height: 1.5;
  color: var(--ink);
}

.news-body p {
  font-size: 13.5px;
  color: var(--muted);
}

/* ============================================================
   FAQ（国潮问答）
   ============================================================ */

.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--gold);
}

.faq-item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 17px 22px;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.faq-item button .ic {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open button .ic {
  transform: rotate(135deg);
  background: var(--gold);
  color: var(--red-deep);
}

.faq-answer {
  display: none;
  padding: 0 22px 18px;
  color: var(--muted);
  font-size: 14px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  margin-bottom: 8px;
}

/* ============================================================
   表单
   ============================================================ */

.contact-form {
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(58, 46, 34, 0.08);
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ink);
}

.field label .req {
  color: var(--red);
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  background: #FFFDF6;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.status-text {
  font-size: 13.5px;
  color: var(--red);
  min-height: 20px;
}

/* ============================================================
   列表（卷轴清单）
   ============================================================ */

.roll-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 4px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}

.roll-list li::before {
  content: "❖";
  color: var(--gold);
}

.roll-list .meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 12.5px;
  flex-shrink: 0;
}

.roll-list a {
  color: var(--ink);
  font-weight: 600;
}

.roll-list a:hover {
  color: var(--red);
}

/* ============================================================
   页脚
   ============================================================ */

.site-footer {
  background: linear-gradient(180deg, var(--red-deep), #6E0E0E);
  color: #F5E6C8;
  padding: 48px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.site-footer h4 {
  color: #FFD66B;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
}

.site-footer li {
  margin-bottom: 8px;
  font-size: 13.5px;
}

.site-footer a {
  color: #F5E6C8;
}

.site-footer a:hover {
  color: #FFD66B;
}

.site-footer p {
  font-size: 13px;
  color: #E8C9A0;
  max-width: 340px;
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 214, 107, 0.25);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #E8C9A0;
}

/* ============================================================
   页头（内页）
   ============================================================ */

.page-head {
  background: linear-gradient(160deg, var(--red), var(--red-deep));
  color: #fff;
  text-align: center;
  padding: 50px 0;
  position: relative;
}

.page-head .crumbs {
  font-size: 12.5px;
  color: #E8C9A0;
  margin-bottom: 12px;
}

.page-head .crumbs a {
  color: #FFD66B;
}

.page-head h1 {
  font-size: clamp(25px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.page-head p {
  color: #F5E6C8;
  font-size: 14.5px;
  margin-top: 12px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   响应式
   ============================================================ */

@media (max-width: 980px) {
  .hero-inner,
  .scroll {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-inner {
    flex-direction: column;
    align-items: stretch;
    display: none;
    padding-bottom: 12px;
  }

  .nav-inner.open {
    display: flex;
  }

  .nav-inner a {
    text-align: center;
  }

  .header-side .seal-btn {
    display: none;
  }

  .card-grid,
  .num-grid,
  .news-grid,
  .half-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 46px 0;
  }
}
