:root {
  --gold: #b38d54;
  --gold-light: #bfad73;
  --ink: #2c2c2a;
  --muted: #6b6b66;
  --bg: #fbfaf7;
  --surface: #ffffff;
  --line: #e8e3d8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

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

.brand-name {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a8a39a;
}

.nav { display: flex; align-items: center; gap: 30px; }

.nav a {
  position: relative;
  font-size: 14px;
  color: #555;
  padding: 6px 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s;
}

.nav a:hover { color: var(--gold); }
.nav a:hover::after { width: 100%; }

.menu-toggle {
  display: none;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 2px;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 84px;
  background: #f3efe6;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/scales.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  filter: grayscale(40%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-size: 58px;
  font-weight: 500;
  letter-spacing: 6px;
  color: var(--ink);
}

.hero-title {
  margin: 6px 0 22px;
  font-size: 24px;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 2px;
}

.hero-desc {
  max-width: 620px;
  margin: 0 0 30px;
  color: #555;
  font-size: 15px;
  line-height: 2;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  font-size: 14px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: #9a7744; border-color: #9a7744; }
.btn-ghost { color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(179, 141, 84, 0.08); }

.hero-photo { text-align: center; }

.hero-photo img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(44, 44, 42, 0.16);
}

.photo-caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
}

.section { padding: 84px 0; }
.section.about { background: var(--surface); }
.section.fields { background: var(--bg); }
.section.articles { background: var(--surface); }
.section.laws { background: var(--bg); }
.section.news { background: var(--surface); }

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

.section-head h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 4px;
}

.section-head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 38px;
  height: 2px;
  margin-left: -19px;
  background: var(--gold);
}

.section-head p {
  margin: 18px 0 0;
  font-size: 12px;
  letter-spacing: 3px;
  color: #aaa59c;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: start;
}

.about-text p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 2.05;
  color: #555;
}

.about-text strong { color: var(--gold); font-weight: 500; }

.about-card {
  background: #fdfcf9;
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 28px 26px 14px;
}

.about-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.about-card ul { list-style: none; margin: 0; padding: 0; }

.about-card li {
  padding: 12px 0;
  font-size: 14px;
  color: #5c5c58;
  border-bottom: 1px dashed var(--line);
}

.about-card li:last-child { border-bottom: 0; }

.about-card li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 10px;
  background: var(--gold);
  vertical-align: middle;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(44, 44, 42, 0.08);
}

.card img { width: 100%; height: 156px; object-fit: cover; }

.card-body { padding: 20px; }

.card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
}

.card p { margin: 0; font-size: 13px; line-height: 1.85; color: var(--muted); }

.article-list {
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-item {
  display: grid;
  grid-template-columns: 110px 1fr 30px;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.article-item:last-child { border-bottom: 0; }
.article-item:hover { background: #fdfaf4; }

.article-date { font-size: 13px; color: var(--gold); letter-spacing: 1px; }

.article-main { display: block; }

.article-tag {
  display: inline-block;
  margin-right: 12px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.article-title { font-size: 17px; color: var(--ink); }

.article-summary {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.article-arrow { font-size: 20px; color: var(--gold); }

.more {
  display: table;
  margin: 30px auto 0;
  padding: 10px 30px;
  font-size: 14px;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 2px;
  transition: all 0.2s;
}

.more:hover { background: var(--gold); color: #fff; }

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

.law-item {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px 16px 24px;
  text-align: center;
  transition: border-color 0.2s;
}

.law-item:hover { border-color: var(--gold); }
.law-item img { width: 100%; height: 170px; object-fit: contain; margin-bottom: 16px; }

.law-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 500;
}

.law-item p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.75; }

.news-list { background: var(--surface); border: 1px solid var(--line); }

.news-item {
  display: grid;
  grid-template-columns: 120px 1.1fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.news-item:last-child { border-bottom: 0; }
.news-item:hover { background: #fdfaf4; }
.news-date { font-size: 13px; color: var(--gold); }
.news-title { font-size: 16px; color: var(--ink); }
.news-desc { font-size: 13px; color: var(--muted); line-height: 1.75; }

.site-footer {
  background: #2c2c2a;
  color: #d8d5ce;
  padding: 38px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left strong { font-size: 16px; font-weight: 500; color: #fff; letter-spacing: 1px; }
.footer-left p, .footer-right p { margin: 8px 0 0; font-size: 13px; color: #a8a49c; }
.footer-right { text-align: right; }
.footer-right a { color: var(--gold-light); }
.footer-right a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { order: -1; }
  .hero-photo img { max-width: 260px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .card-grid, .law-grid { grid-template-columns: repeat(2, 1fr); }
  .article-item { grid-template-columns: 96px 1fr 24px; gap: 16px; }
  .news-item { grid-template-columns: 100px 1fr; gap: 10px 20px; }
  .news-desc { grid-column: 2; }
  .footer-right { text-align: left; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .hero { padding: 60px 0 64px; }
  .hero h1 { font-size: 42px; }
  .hero-title { font-size: 20px; }
  .section { padding: 60px 0; }
  .section-head h2 { font-size: 25px; }
  .card-grid, .law-grid { grid-template-columns: 1fr; }
  .article-item { grid-template-columns: 1fr; gap: 8px; padding: 20px; }
  .article-arrow { display: none; }
  .news-item { grid-template-columns: 1fr; padding: 20px; }
  .news-desc { grid-column: 1; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
