:root {
  --red: #a8182c;
  --red-deep: #7f1021;
  --gold: #d7b06a;
  --ink: #1f1f1f;
  --text: #444;
  --line: #e8dfd3;
  --soft: #f7f4ef;
  --white: #ffffff;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fff;
  line-height: 1.75;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  backdrop-filter: blur(14px);
}

.topbar__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(168, 24, 44, 0.2);
}

.brand__text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.04em;
}

.brand__text span {
  display: block;
  font-size: 12px;
  color: #777;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: #666;
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--red);
}

.hero-mini {
  background:
    radial-gradient(circle at 14% 22%, rgba(214,176,106,0.14), transparent 22%),
    linear-gradient(110deg, rgba(13,13,13,0.72) 0%, rgba(13,13,13,0.32) 34%, rgba(13,13,13,0.56) 100%),
    linear-gradient(135deg, #140d0c 0%, #3b1713 28%, #6f1320 60%, #261515 100%);
  color: #fff;
  padding: 72px 0 66px;
}

.hero-mini h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.12;
}

.hero-mini p {
  margin: 0;
  max-width: 760px;
  font-size: 17px;
  color: rgba(255,255,255,0.8);
}

.main {
  padding: 72px 0 92px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.content-card,
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-card {
  padding: 34px 34px 22px;
}

.side-card {
  padding: 26px 24px;
  align-self: start;
  position: sticky;
  top: 92px;
}

.section-label {
  margin: 0 0 10px;
  color: var(--red);
  letter-spacing: 0.12em;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 700;
}

.content-card h2 {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.2;
}

.content-card h3 {
  margin: 30px 0 12px;
  font-size: 22px;
  line-height: 1.35;
}

.content-card p {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 16px;
}

.content-card ul {
  margin: 0 0 18px 0;
  padding-left: 20px;
  color: var(--text);
}

.content-card li {
  margin-bottom: 10px;
}

.content-card .note {
  margin-top: 22px;
  padding: 18px 20px;
  background: var(--soft);
  border-left: 4px solid var(--red);
  color: #5b5147;
}

.related-links,
.quick-links {
  display: grid;
  gap: 10px;
}

.quick-links a,
.related-links a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: #5a5147;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-links a:hover,
.related-links a:hover {
  border-color: rgba(168, 24, 44, 0.28);
  color: var(--red);
  transform: translateY(-1px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn--primary {
  background: var(--red);
  color: #fff;
}

.btn--secondary {
  background: #fff;
  color: var(--red);
  border-color: rgba(168, 24, 44, 0.2);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  padding: 22px 22px 4px;
  background: #fff;
}

.faq-item h3 {
  margin-top: 0;
}

.site-footer {
  background: #161616;
  color: rgba(255,255,255,0.65);
  padding: 42px 0 54px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 18px;
}

.site-footer p,
.site-footer li {
  font-size: 14px;
  margin: 0 0 10px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px;
}

@media (max-width: 920px) {
  .grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .main {
    padding: 54px 0 72px;
  }

  .content-card {
    padding: 26px 22px 12px;
  }

  .content-card h2 {
    font-size: 28px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
