/* CIID 海南中心 / 会客厅 — 设计系统
   配色：暖纸底 + 墨黑 + 暖棕 + 深绿暗场；衬线标题 + 无衬线正文 */

:root {
  --paper: #FBFAF7;
  --ink: #1A1A1A;
  --brown: #8B6F47;
  --green: #0E4D3C;
  --green-soft: #C9D6CF;
  --green-mute: #8FA89E;
  --sand: #F4F1EA;
  --card: #FFFFFF;
  --text-2: #4A4A4A;
  --maxw: 1440px;
  --pad: 48px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans SC", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Noto Serif SC", Georgia, "Songti SC", serif;
  font-weight: 700;
}

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

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

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--pad);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .logo {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
}
.site-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.site-nav a {
  font-size: 15px;
  color: var(--ink);
  transition: color .2s;
}
.site-nav a:hover { color: var(--brown); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  font-family: "Noto Sans SC", sans-serif;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
}
.btn:hover { opacity: .9; }
.btn-primary { background: var(--green); color: var(--paper); }
.btn-secondary { background: var(--brown); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 80px var(--pad) 72px;
  background: var(--paper);
}
.hero-left { width: 600px; max-width: 52%; display: flex; flex-direction: column; gap: 24px; }
.kicker {
  font-size: 14px;
  font-weight: 600;
  color: var(--brown);
  letter-spacing: 2px;
}
.hero-title { font-size: 56px; line-height: 1.15; color: var(--ink); }
.hero-sub { font-size: 19px; color: var(--text-2); }
.hero-btns { display: flex; gap: 16px; align-items: center; }
.hero-img {
  width: 560px;
  max-width: 44%;
  aspect-ratio: 1080 / 380;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  background: #EDE8E0;
}
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Section ---------- */
.section { padding: 80px var(--pad); }
.section.sand { background: var(--sand); }
.section-title { font-size: 32px; color: var(--ink); margin-bottom: 8px; }

/* ---------- Sub-page nav cards (Hub) ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.nav-card {
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}
.nav-card.feature { background: var(--green); color: var(--paper); }
.nav-card.plain { background: var(--card); }
.nav-card h3 { font-size: 24px; }
.nav-card p { font-size: 15px; line-height: 1.6; }
.nav-card.feature p { color: var(--green-soft); }
.nav-card.plain p { color: var(--text-2); }
.nav-card .link { margin-top: auto; font-size: 14px; font-weight: 600; }
.nav-card.feature .link { color: var(--paper); }
.nav-card.plain .link { color: var(--brown); }

/* ---------- About / principles ---------- */
.about-quote {
  font-size: 36px;
  line-height: 1.45;
  color: var(--ink);
  max-width: 960px;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.principle {
  background: var(--sand);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.principle h3 { font-size: 20px; color: var(--green); }
.principle p { font-size: 15px; color: var(--text-2); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.service {
  background: var(--card);
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service h3 { font-size: 22px; }
.service p { font-size: 15px; color: var(--text-2); }

/* ---------- Cases ---------- */
.case {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case.small { margin-bottom: 20px; }
.case-img { width: 100%; background: #EDE8E0; overflow: hidden; }
.case.small .case-img { height: 180px; }
.case-img img { width: 100%; height: 100%; object-fit: cover; }

/* 案例1：活动长图横幅（原图 957×205，4.7:1，全宽展示不裁切） */
.cases-banner { margin-top: 32px; }
.case.banner .case-img { aspect-ratio: 957 / 205; height: auto; }
.case.banner .case-img img { object-fit: cover; }
.cases-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}
.case-text { padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.case.small .case-text { padding: 16px 18px; gap: 6px; }
.case h3 { font-size: 20px; }
.case.small h3 { font-size: 18px; }
.case .meta { font-size: 14px; color: var(--brown); font-weight: 600; }
.case.small .meta { font-size: 13px; }
.case p { font-size: 15px; color: var(--text-2); }
.case.small p { font-size: 14px; }

/* ---------- Data (dark) ---------- */
.data {
  background: var(--green);
  padding: 72px var(--pad);
  color: var(--paper);
}
.data h2 { font-size: 30px; color: var(--paper); margin-bottom: 40px; }
.data-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat .num { font-family: "Noto Serif SC", serif; font-weight: 700; font-size: 56px; color: var(--paper); }
.stat .lab { font-size: 15px; color: var(--green-soft); }
.data-note { margin-top: 40px; font-size: 13px; color: var(--green-mute); letter-spacing: 1px; }

/* ---------- Final CTA ---------- */
.final-cta {
  padding: 80px var(--pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background: var(--paper);
}
.final-cta h2 { font-size: 40px; line-height: 1.2; }
.final-cta p { font-size: 18px; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green);
  color: var(--paper);
  padding: 48px var(--pad) 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand .logo { font-family: "Noto Serif SC", serif; font-weight: 700; font-size: 20px; }
.footer-brand p { font-size: 14px; color: var(--green-soft); margin-top: 10px; }
.footer-addr .addr-title { font-size: 13px; font-weight: 600; color: var(--green-mute); letter-spacing: 1px; margin-bottom: 6px; }
.footer-addr p { font-size: 14px; color: var(--paper); margin: 4px 0; }
.footer-copy { font-size: 12px; color: var(--green-mute); border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  :root { --pad: 20px; }
  .site-header { height: 60px; }
  .site-header .logo { font-size: 18px; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 13px; }
  .hero { flex-direction: column; padding: 44px 20px 40px; gap: 24px; }
  .hero-left { width: 100%; max-width: 100%; }
  .hero-title { font-size: 34px; }
  .hero-sub { font-size: 16px; }
  .hero-img { width: 100%; max-width: 100%; aspect-ratio: 1080 / 380; height: auto; }
  .section { padding: 40px 20px; }
  .section-title { font-size: 26px; }
  .about-quote { font-size: 24px; }
  .cards-grid, .principles, .services-grid, .data-grid { grid-template-columns: 1fr; }
  .cases-duo { grid-template-columns: 1fr; }
  .case.small .case-img { height: 150px; }
  .stat .num { font-size: 40px; }
  .final-cta h2 { font-size: 28px; }
  .site-nav .nav-extra { display: none; }
}
