:root {
  --ink: #1c2420;
  --ink-soft: #4a5450;
  --gold: #8a6a3c;
  --gold-soft: #b99b6b;
  --cream: #faf7f1;
  --paper: #ffffff;
  --line: rgba(28, 36, 32, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

h1, h2, h3, .serif {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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

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

/* ---------- 导航 ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(250, 247, 241, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav .brand {
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.nav .brand span { color: var(--gold); }

.nav ul {
  display: flex;
  gap: clamp(12px, 2.4vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav ul li a { padding: 6px 2px; border-bottom: 1px solid transparent; transition: .2s; }
.nav ul li a:hover, .nav ul li a.active { color: var(--ink); border-bottom-color: var(--gold); }

/* ---------- 首页大图 ---------- */
.hero {
  position: relative;
  min-height: 640px;
  height: 82vh;
  max-height: 900px;
  display: flex;
  align-items: flex-end;
  background: #1c2420 url("img/room4.jpg") center 26%/cover no-repeat;
  margin-top: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg, rgba(16, 24, 20, 0.88) 0%, rgba(16, 24, 20, 0.64) 38%, rgba(16, 24, 20, 0.30) 74%, rgba(16, 24, 20, 0.58) 100%),
    linear-gradient(180deg, rgba(16, 24, 20, 0.26) 0%, rgba(16, 24, 20, 0.08) 40%, rgba(16, 24, 20, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px) clamp(48px, 8vh, 110px);
  color: #fff;
}

.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.42em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  line-height: 1.18;
  margin: 0 0 20px;
  font-weight: 600;
}

.hero .lede {
  max-width: 620px;
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 2;
}

.hero .meta {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.hero .meta i {
  font-style: normal;
  color: var(--gold-soft);
  margin-right: 8px;
}

/* ---------- 通用区块 ---------- */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(58px, 9vh, 108px) clamp(20px, 5vw, 48px);
}

.section-head { margin-bottom: clamp(30px, 5vh, 56px); }

.section-head .kicker {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  margin: 0 0 14px;
  line-height: 1.35;
}

.section-head p {
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0;
  font-size: 15.5px;
}

.rule {
  width: 46px;
  height: 2px;
  background: var(--gold);
  margin: 18px 0 0;
}

/* ---------- 项目卡片 ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(28, 36, 32, 0.09);
}

.card .pic { aspect-ratio: 4 / 3; overflow: hidden; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .pic img { transform: scale(1.04); }

.card .body { padding: 22px 24px 26px; }

.card h3 {
  font-size: 21px;
  margin: 0 0 8px;
}

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

/* ---------- 数字 / 条带 ---------- */
.strip {
  background: var(--ink);
  color: #f5f2ea;
}

.strip .section { padding-top: 56px; padding-bottom: 56px; }

.strip .row {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 60px;
  align-items: baseline;
}

.strip .item { min-width: 160px; }
.strip .item .n {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  line-height: 1.3;
}
.strip .item .t {
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* ---------- 图文交错 ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(40px, 7vh, 78px);
}

.feature:nth-child(even) .feature-text { order: 2; }

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

.feature-text h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin: 0 0 12px;
}

.feature-text p { color: var(--ink-soft); margin: 0 0 10px; font-size: 15.5px; }

.feature-text .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gold);
  border: 1px solid rgba(138, 106, 60, 0.35);
  padding: 3px 10px;
  margin-bottom: 16px;
}

/* ---------- 环境画廊 ---------- */
.gallery {
  columns: 3;
  column-gap: 18px;
}

.gallery figure {
  margin: 0 0 18px;
  break-inside: avoid;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
}

.gallery img { width: 100%; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.03); }

.gallery figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  padding: 10px 14px;
  letter-spacing: 0.06em;
}

/* ---------- 联系 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 50px);
  align-items: start;
}

.info-list { list-style: none; margin: 0; padding: 0; }

.info-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.info-list .label {
  flex: 0 0 88px;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.info-list .value { font-size: 15.5px; color: var(--ink); word-break: break-all; }

.map-note {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 26px 28px;
}

.map-note h3 { margin: 0 0 12px; font-size: 20px; }
.map-note p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.btn {
  display: inline-block;
  margin-top: 22px;
  padding: 13px 30px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.12em;
  transition: background .25s;
}
.btn:hover { background: var(--gold); }

/* ---------- 页脚 ---------- */
footer {
  background: #151c18;
  color: rgba(255, 255, 255, 0.62);
  padding: 46px clamp(20px, 5vw, 48px) 40px;
  font-size: 13.5px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 40px;
  justify-content: space-between;
  align-items: flex-end;
}

.footer-inner .left p { margin: 0 0 6px; }

.footer-inner .icp a { color: rgba(255, 255, 255, 0.62); }
.footer-inner .icp a:hover { color: var(--gold-soft); }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .gallery { columns: 2; }
  .contact-wrap { grid-template-columns: 1fr; }
  .nav ul { gap: 12px; font-size: 12.5px; }
  .hero { min-height: 540px; }
}

@media (max-width: 560px) {
  .gallery { columns: 1; }
  .nav { padding: 10px 16px; }
  .nav .brand { font-size: 17px; letter-spacing: 0.08em; }
  .nav ul { gap: 9px; font-size: 11.5px; }
  .hero { min-height: 460px; height: 72vh; }
  .info-list .label { flex: 0 0 66px; }
}
