* {
  box-sizing: border-box;
}

:root {
  --ink: #161816;
  --deep: #0f211d;
  --green: #173f36;
  --leaf: #2f6758;
  --cream: #f7f1e7;
  --paper: #fffaf1;
  --line: rgba(22, 24, 22, 0.14);
  --gold: #c8a45d;
  --wine: #76323a;
  --muted: #6f6a60;
  --shadow: 0 18px 44px rgba(13, 24, 20, 0.18);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #ebe4d9;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 33, 29, 0.08), transparent 18%, transparent 82%, rgba(15, 33, 29, 0.08));
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 64px;
  padding: 12px 16px;
  color: var(--paper);
  background: rgba(15, 33, 29, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 250, 241, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: calc(100% - 104px);
  font-size: 14px;
  font-weight: 700;
}

.brand span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(200, 164, 93, 0.72);
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.top-cta {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 10px 13px;
  background: var(--gold);
  color: #22180e;
  font-size: 13px;
  font-weight: 700;
}

main {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(15, 33, 29, 0.08);
  padding-bottom: 78px;
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 690px;
  background: var(--deep);
  color: var(--paper);
}

.hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 16, 13, 0.34) 0%, rgba(8, 16, 13, 0.18) 34%, rgba(8, 16, 13, 0.9) 100%),
    linear-gradient(90deg, rgba(8, 16, 13, 0.55), rgba(8, 16, 13, 0.08));
}

.hero-content {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 30px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-weight: 600;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 390px;
  font-size: clamp(36px, 9.2vw, 44px);
  line-height: 1.08;
}

.hero p:not(.eyebrow) {
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.88);
  font-size: 15px;
  line-height: 1.9;
}

.hero-tagline {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 14px;
  background: rgba(200, 164, 93, 0.88);
  color: #21190d !important;
  font-weight: 700;
  line-height: 1.4 !important;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.hero-actions a {
  display: grid;
  place-items: center;
  min-height: 48px;
  border: 1px solid rgba(255, 250, 241, 0.38);
  color: var(--paper);
  background: rgba(15, 33, 29, 0.42);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions a:first-child {
  color: #21190d;
  background: var(--gold);
  border-color: var(--gold);
}

.decision-band {
  display: grid;
  gap: 10px;
  padding: 14px 16px 18px;
  background: var(--deep);
}

.decision-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 6px 10px;
  padding: 15px 16px;
  background: rgba(255, 250, 241, 0.06);
  border: 1px solid rgba(255, 250, 241, 0.14);
  color: var(--paper);
}

.decision-item span {
  grid-row: span 2;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
}

.decision-item strong {
  font-size: 18px;
}

.decision-item small {
  color: rgba(255, 250, 241, 0.72);
  font-size: 13px;
}

.section {
  padding: 42px 18px;
  background: var(--cream);
}

.section.dark {
  background: var(--deep);
  color: var(--paper);
}

.section.paper {
  background: var(--paper);
}

.section.garden {
  background: #edf1e7;
}

.section.parents {
  background: #f1ece3;
}

.section.menu {
  background: #f7f1e7;
}

.section.consult {
  background: var(--green);
  color: var(--paper);
}

.section-title {
  margin-bottom: 22px;
}

.section-title h2 {
  font-size: 29px;
  line-height: 1.18;
}

.section-title p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.section-title.invert p:not(.eyebrow) {
  color: rgba(255, 250, 241, 0.74);
}

.mood-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.mood-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background: var(--deep);
}

.mood-card:first-child {
  grid-row: span 2;
}

.mood-card img {
  height: 100%;
  object-fit: cover;
}

.mood-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 12, 0.64));
}

.mood-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  color: var(--paper);
  font-weight: 700;
}

.venue-list {
  display: grid;
  gap: 16px;
}

.venue-card {
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.venue-card img {
  height: 210px;
  object-fit: cover;
}

.venue-copy {
  padding: 18px 18px 20px;
}

.venue-copy h3,
.case-card h3,
.plan-card h3,
.detail-list h3 {
  margin: 0;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 23px;
  line-height: 1.2;
}

.venue-copy > p:not(.eyebrow) {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: #9b6b29;
  font-size: 13px;
}

dd {
  margin: 0;
  color: #3b382f;
  font-size: 13px;
  line-height: 1.55;
}

.garden-feature {
  background: var(--paper);
  box-shadow: var(--shadow);
}

.garden-feature img {
  height: 290px;
  object-fit: cover;
}

.garden-points {
  display: grid;
  gap: 1px;
  background: rgba(47, 103, 88, 0.12);
}

.garden-points div {
  padding: 16px;
  background: var(--paper);
}

.garden-points strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green);
  font-size: 17px;
}

.garden-points span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.case-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.case-tabs::-webkit-scrollbar {
  display: none;
}

.case-tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.case-tabs button.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--paper);
}

.case-grid {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.case-card {
  background: #f4eee4;
  border: 1px solid rgba(22, 24, 22, 0.1);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.case-card.is-hidden {
  display: none;
}

.case-image-link {
  position: relative;
  display: block;
}

.case-image-link::after {
  content: "查看照片";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(15, 33, 29, 0.74);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
}

.case-card img {
  height: 235px;
  object-fit: cover;
}

.case-card h3,
.case-card p {
  padding: 0 16px;
}

.case-card h3 {
  margin-top: 15px;
}

.case-card p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.plan-stack {
  display: grid;
  gap: 15px;
}

.plan-card {
  background: var(--paper);
  color: var(--ink);
}

.plan-card img {
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #f5efe6;
}

.floor-plan-stack {
  display: grid;
  gap: 1px;
  padding: 0;
  background: #eef0ed;
}

.floor-plan-stack img {
  max-height: none;
  padding: 12px;
  background: #fff;
  object-fit: contain;
}

.plan-card div {
  padding: 16px;
}

.plan-card .floor-plan-stack {
  padding: 0;
}

.plan-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

figure {
  position: relative;
  margin: 0;
  min-height: 196px;
  overflow: hidden;
  background: var(--deep);
}

figure:nth-child(3),
figure:nth-child(6) {
  grid-column: span 2;
}

figure img {
  height: 100%;
  object-fit: cover;
}

figcaption {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  color: var(--paper);
  background: rgba(15, 33, 29, 0.58);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.detail-list {
  display: grid;
  gap: 14px;
}

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

.detail-list img {
  height: 220px;
  object-fit: cover;
}

.detail-list h3,
.detail-list p {
  padding: 0 16px;
}

.detail-list h3 {
  margin-top: 15px;
}

.detail-list p {
  margin: 8px 0 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.menu-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
  background: var(--deep);
  color: var(--paper);
}

.menu-panel strong,
.menu-panel span {
  display: block;
}

.menu-panel strong {
  font-size: 20px;
}

.menu-panel span {
  margin-top: 8px;
  color: rgba(255, 250, 241, 0.72);
  font-size: 14px;
  line-height: 1.7;
}

.menu-panel a,
.consult-form button {
  display: grid;
  place-items: center;
  min-height: 48px;
  background: var(--gold);
  color: #21190d;
  font-weight: 700;
}

.ask-list {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.5);
}

.ask-list p,
.ask-list ul {
  margin: 0;
}

.ask-list p {
  font-weight: 700;
}

.ask-list ul {
  padding: 10px 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.consult-form {
  display: grid;
  gap: 12px;
}

.consult-form label {
  display: grid;
  gap: 7px;
}

.consult-form span {
  color: rgba(255, 250, 241, 0.74);
  font-size: 13px;
}

.consult-form input,
.consult-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 250, 241, 0.18);
  border-radius: 0;
  padding: 0 13px;
  background: rgba(255, 250, 241, 0.95);
  color: var(--ink);
  outline: none;
}

.consult-form button {
  margin-top: 4px;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: rgba(255, 250, 241, 0.62);
  font-size: 12px;
  line-height: 1.7;
}

.summary {
  display: none;
  margin-top: 18px;
  padding: 15px;
  background: rgba(255, 250, 241, 0.09);
  border: 1px solid rgba(255, 250, 241, 0.14);
  color: rgba(255, 250, 241, 0.82);
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-line;
}

.summary.is-visible {
  display: block;
}

.consult-direct {
  display: grid;
  gap: 16px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.benefit-grid span {
  display: grid;
  place-items: center;
  min-height: 54px;
  border: 1px solid rgba(255, 250, 241, 0.16);
  background: rgba(255, 250, 241, 0.08);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
}

.contact-box {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: rgba(255, 250, 241, 0.96);
  color: var(--ink);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 1;
  border: 1px dashed rgba(22, 24, 22, 0.3);
  background:
    linear-gradient(45deg, rgba(15, 33, 29, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(15, 33, 29, 0.08) 25%, transparent 25%),
    #fffaf1;
  color: rgba(22, 24, 22, 0.54);
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.qr-img {
  display: block;
  width: 116px;
  aspect-ratio: 1;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(22, 24, 22, 0.12);
}

.contact-box strong {
  display: block;
  font-family: "SimSun", "Songti SC", serif;
  font-size: 22px;
  line-height: 1.2;
}

.contact-box p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: 100%;
  max-width: 430px;
  min-height: 64px;
  transform: translateX(-50%);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(15, 33, 29, 0.96);
  border-top: 1px solid rgba(255, 250, 241, 0.1);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  display: grid;
  place-items: center;
  min-width: 0;
  color: rgba(255, 250, 241, 0.78);
  font-size: 13px;
}

.bottom-nav .primary {
  background: var(--gold);
  color: #21190d;
  font-weight: 700;
}

@media (min-width: 461px) {
  main,
  .topbar,
  .bottom-nav {
    max-width: 430px;
  }
}

@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }
}
