:root {
  --ink: #1a1c1e;
  --ink-2: #3d4349;
  --muted: #6b7280;
  --line: #e6e8eb;
  --paper: #f7f6f3;
  --white: #ffffff;
  --accent: #0f3d2e;
  --gold: #9a7b4f;
  --max: 1080px;
  --header-h: 72px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
  --serif: "Songti SC", "Noto Serif SC", "Source Han Serif SC", "SimSun", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-cn {
  font-family: var(--serif);
  font-size: 20px; font-weight: 600; letter-spacing: 0.08em;
}
.brand-en {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.nav-right {
  display: flex; align-items: center; gap: 20px; margin-left: auto;
}
.nav-links { display: flex; gap: 22px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  font-size: 13px; padding: 8px 16px;
  border: 1px solid var(--ink); color: var(--ink); transition: .2s ease;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); color: var(--white); }
@media (max-width: 800px) {
  .nav-links, .brand-en { display: none; }
}

.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 88px 0 72px;
}
.hero-kicker {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600; line-height: 1.25; letter-spacing: 0.04em; margin-bottom: 16px;
}
.hero-sub { font-size: 15px; color: var(--muted); max-width: 560px; margin-bottom: 36px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 24px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 480px;
}
.hero-meta dt { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.hero-meta dd { font-size: 15px; font-weight: 600; color: var(--ink); white-space: nowrap; }
@media (max-width: 600px) {
  .hero { padding: 56px 0 48px; }
  .hero-meta { grid-template-columns: 1fr; }
}

section { padding: 72px 0; }
.section-label {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.section-title {
  font-family: var(--serif); font-size: 28px; font-weight: 600;
  letter-spacing: 0.06em; margin-bottom: 12px;
}
.section-desc { color: var(--muted); font-size: 15px; max-width: 640px; margin-bottom: 36px; }

.about-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
.about-table tr { border-bottom: 1px solid var(--line); }
.about-table th, .about-table td {
  text-align: left; padding: 18px 0; vertical-align: top; font-weight: 400;
}
.about-table th { width: 160px; color: var(--muted); font-size: 14px; }
.about-table td { color: var(--ink); font-size: 15px; }
@media (max-width: 600px) { .about-table th { width: 100px; font-size: 13px; } }

.scope-block { border: 1px solid var(--line); background: var(--paper); }
.scope-block + .scope-block { border-top: 0; }
.scope-head {
  padding: 16px 24px; border-bottom: 1px solid var(--line);
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em; background: var(--white);
}
.scope-body { padding: 20px 24px 24px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.scope-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

.contact-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; gap: 28px; } }
.contact-list { list-style: none; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--ink); }
.contact-list .label {
  display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; letter-spacing: 0.06em;
}
.contact-list .value { font-size: 15px; color: var(--ink); overflow-wrap: anywhere; }
.contact-list .value .addr { white-space: normal; word-break: keep-all; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }

.map-wrap {
  border: 1px solid var(--line); background: var(--paper); overflow: hidden;
}
#amap-panel {
  width: 100%; height: 380px; border: 0; display: block; background: #dfe3e8;
}
.map-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center;
  justify-content: space-between; padding: 12px 16px;
  border-top: 1px solid var(--line); background: var(--white); font-size: 13px; color: var(--muted);
}
.map-open {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1px solid var(--ink); color: var(--ink); font-size: 13px;
}
.map-open:hover { background: var(--ink); color: var(--white); }

.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--muted);
}
.footer-row {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: space-between; align-items: center;
}
.beian { white-space: nowrap; }
.site-footer a:hover { color: var(--ink); }

/* leaflet tweaks inside panel */

.map-wrap--text { background: var(--white); }
.map-text { padding: 28px 24px; }
.map-text-label {
  font-size: 12px; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 12px;
}
.map-text-name { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.map-text-addr { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin-bottom: 8px; }
.map-text-meta { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.map-wrap--text .map-open { display: inline-flex; }

.map-frame {
  position: relative;
  width: 100%;
  height: 380px;
  background: #dfe3e8;
  overflow: hidden;
}
.map-frame iframe,
#amap-panel {
  width: 100% !important;
  height: 100% !important;
  border: 0;
  display: block;
}
.map-pin {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -22px 0 0 -9px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #e11d48;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  pointer-events: none;
  z-index: 2;
}
.map-pin::after {
  content: "";
  position: absolute;
  left: 5px; top: 5px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
}
