/* ============================================================
   三茶阁 · sanchage.com
   style.css — 全站样式（优化版）
   新增：Hero 背景图、产品购买按钮、微信导流区块、Footer 社交
   ============================================================ */

/* ─── 1. CSS 变量 ─── */
:root {
  --bg:          #FAFAF8;      /* 主背景：暖白 */
  --bg-alt:      #F3EFE8;      /* 副背景：米色 */
  --bg-card:     #F7F4EF;      /* 卡片背景 */
  --text:        #28201A;      /* 主文字：深暖棕 */
  --text-muted:  #7A6A5C;      /* 次文字 */
  --text-faint:  #B0A090;      /* 弱文字 */
  --accent:      #4A3728;      /* 强调色：深茶棕 */
  --gold:        #A07840;      /* 点缀金棕 */
  --gold-light:  #C49A5A;      /* 金棕 hover */
  --wechat-green:#07C160;      /* 微信绿 */
  --border:      #E4DDD4;      /* 分割线 */
  --shadow:      rgba(40,32,26,0.08);
  --shadow-lg:   rgba(40,32,26,0.14);
  --nav-h:       64px;
  --max-w:       1080px;
  --max-w-n:     720px;
  --max-w-wide:  1160px;
  --radius:      4px;
  --radius-lg:   8px;
  --font-serif:  'Noto Serif SC', 'SimSun', serif;
  --font-sans:   'Noto Sans SC', 'PingFang SC', sans-serif;
  --font-italic: 'EB Garamond', Georgia, serif;
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── 2. Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
strong { font-weight: 500; color: var(--text); }

/* ─── 3. Typography helpers ─── */
.label {
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .8rem;
  letter-spacing: .18em;
  color: var(--gold);
  margin-bottom: .55rem;
}

/* ─── 4. Layout ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.container-narrow {
  max-width: var(--max-w-n);
}

/* ─── 5. Sections ─── */
.section       { padding: clamp(5rem, 10vw, 8rem) 0; }
.section-alt   { background: var(--bg-alt); }

/* 微信导流区块特殊背景 */
.section-wechat {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  font-weight: 400;
  letter-spacing: .06em;
  line-height: 1.4;
  margin-bottom: .75rem;
}
.section-intro {
  font-size: .93rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ─── 6. Fade-in animation ─── */
[data-fi] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-fi].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── 7. Buttons ─── */
.btn-outline {
  display: inline-block;
  padding: .65rem 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: .88rem;
  letter-spacing: .1em;
  color: var(--text-muted);
  transition: border-color .25s, color .25s, background .25s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Primary CTA */
.btn-primary {
  display: inline-block;
  padding: .75rem 2.2rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: .9rem;
  letter-spacing: .1em;
  color: #fff;
  transition: background .25s, border-color .25s, transform .2s var(--ease-spring), box-shadow .25s;
}
.btn-primary:hover {
  background: #3a2a1e;
  border-color: #3a2a1e;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,55,40,0.25);
}
.btn-primary:active { transform: translateY(0); }

/* Ghost CTA */
.btn-ghost {
  display: inline-block;
  padding: .75rem 2.2rem;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: .9rem;
  letter-spacing: .1em;
  color: rgba(255,255,255,0.9);
  transition: border-color .25s, color .25s, background .25s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,1);
  color: #fff;
  background: rgba(255,255,255,0.1);
}
.btn-sm { padding: .5rem 1.4rem; font-size: .82rem; }

/* 产品购买按钮组 */
.product-actions {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.btn-product {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-serif);
  font-size: .8rem;
  letter-spacing: .06em;
  transition: all .22s var(--ease-out);
  border: 1px solid transparent;
}
.btn-wechat {
  background: var(--wechat-green);
  color: #fff;
  border-color: var(--wechat-green);
}
.btn-wechat:hover {
  background: #06ad56;
  border-color: #06ad56;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(7,193,96,0.3);
}
.btn-consult {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}
.btn-consult:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(250,250,248,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 16px var(--shadow); }
.nav-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .15em;
  color: var(--accent);
  flex-shrink: 0;
  transition: opacity .2s;
}
.nav-brand:hover { opacity: .7; }
.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
.nav-link {
  font-family: var(--font-serif);
  font-size: .875rem;
  letter-spacing: .06em;
  color: var(--text-muted);
  transition: color .2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width .3s var(--ease-out);
}
.nav-link:hover,
.nav-link.active { color: var(--accent); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Nav CTA button */
.nav-cta {
  display: none; /* 只在移动端显示 */
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text-muted);
  transition: all .3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

/* 封面背景图 */
.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #2a2018;   /* 备用色，图片加载前先显示深茶棕底 */
  background-image: url('./images/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
.section-hero.loaded .hero-bg { transform: scale(1); }

/* 图片上加一层渐变遮罩 */
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    160deg,
    rgba(40,32,26,0.55) 0%,
    rgba(40,32,26,0.40) 50%,
    rgba(40,32,26,0.65) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 1.5rem;
  max-width: 680px;
}
.hero-eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .9rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 300;
  letter-spacing: .22em;
  line-height: 1;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  letter-spacing: .14em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
}
.hero-divider {
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin: 0 auto 2rem;
}
.hero-desc {
  font-size: clamp(.88rem, 1.8vw, .98rem);
  color: rgba(255,255,255,0.75);
  line-height: 2;
  margin-bottom: 2.5rem;
}

/* 双按钮组 */
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* 背景大字装饰 */
.hero-deco {
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(200px, 40vw, 380px);
  font-weight: 300;
  color: rgba(255,255,255,0.05);
  opacity: .35;
  line-height: 1;
  right: -4vw;
  bottom: 5%;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0;
  z-index: 1;
}

/* br helpers */
.br-hide { display: block; }


/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.phil-item {
  background: var(--bg-alt);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background .25s, transform .25s;
}
.phil-item:hover { background: var(--bg); transform: translateY(-2px); }
.phil-icon {
  font-size: .65rem;
  color: var(--gold);
  letter-spacing: .2em;
  margin-bottom: 1.4rem;
}
.phil-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: .1em;
  margin-bottom: .8rem;
}
.phil-desc {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ============================================================
   REGIONS
   ============================================================ */
.region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.region-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  transition: box-shadow .3s, transform .3s var(--ease-out);
}
.region-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-3px);
}
.region-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform .5s var(--ease-out);
}
.region-card:hover .region-img { transform: scale(1.04); }
.region-body { padding: 1.8rem 1.8rem 2rem; }
.region-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: .12em;
  margin-bottom: .3rem;
}
.region-sub {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .8rem;
  color: var(--gold);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.region-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.region-tags li {
  padding: .2rem .8rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .75rem;
  color: var(--text-faint);
  letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}
.region-tags li:hover { border-color: var(--gold); color: var(--gold); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s, border-color .3s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px var(--shadow-lg);
  border-color: var(--gold);
}
.product-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(40,32,26,0);
  transition: background .3s;
}
.product-card:hover .product-img::after {
  background: rgba(40,32,26,0.1);
}
.product-season {
  position: absolute;
  top: .9rem; left: .9rem;
  padding: .18rem .7rem;
  background: rgba(250,250,248,.92);
  border-radius: 20px;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .72rem;
  color: var(--text-muted);
  letter-spacing: .05em;
  z-index: 1;
}
.product-badge {
  position: absolute;
  top: .9rem; right: .9rem;
  padding: .18rem .7rem;
  background: var(--gold);
  border-radius: 20px;
  font-size: .68rem;
  color: #fff;
  letter-spacing: .06em;
  z-index: 1;
}
.product-body {
  padding: 1.4rem 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: .1em;
  margin-bottom: .15rem;
}
.product-en {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .78rem;
  color: var(--gold);
  letter-spacing: .05em;
  margin-bottom: .85rem;
}
.product-desc {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 1.1rem;
  flex: 1;
}
.product-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.product-tag {
  padding: .15rem .7rem;
  background: var(--bg-alt);
  border-radius: 20px;
  font-size: .72rem;
  color: var(--text-faint);
  letter-spacing: .03em;
}

/* 微信小店提示条 */
.product-shop-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(7,193,96,0.06);
  border: 1px solid rgba(7,193,96,0.2);
  border-radius: var(--radius-lg);
  font-size: .83rem;
  color: var(--wechat-green);
  font-family: var(--font-italic);
  font-style: italic;
}

/* ============================================================
   THREE HALLS
   ============================================================ */
.halls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.hall-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 2px solid var(--border);
  transition: border-color .3s, transform .3s var(--ease-out);
}
.hall-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}
.hall-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: .3rem;
}
.hall-role {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .82rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 1.1rem;
}
.hall-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ============================================================
   ABOUT / BRAND STORY
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-img-wrap {}
.about-img {
  width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center top;
  border-radius: var(--radius-lg);
  filter: grayscale(15%);
  transition: filter .4s, transform .4s var(--ease-out);
}
.about-img:hover {
  filter: grayscale(0%);
  transform: scale(1.02);
}
.about-name {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 300;
  letter-spacing: .18em;
  margin-bottom: .3rem;
}
.about-title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .88rem;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 1.4rem;
}
.about-divider {
  width: 36px; height: 1px;
  background: var(--border);
  margin-bottom: 1.6rem;
}
.about-p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.95;
  margin-bottom: 1.1rem;
}
.about-p:last-of-type { margin-bottom: 1.6rem; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
}
.about-tags span {
  padding: .22rem .85rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .78rem;
  color: var(--text-faint);
  letter-spacing: .04em;
  transition: border-color .2s, color .2s;
}
.about-tags span:hover { border-color: var(--gold); color: var(--gold); }
.about-cta { margin-top: 1.5rem; }

/* ============================================================
   DIARY
   ============================================================ */
.diary-list { }
.diary-item {
  display: grid;
  grid-template-columns: 52px 1fr 24px;
  gap: 1.8rem;
  align-items: start;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background .2s, padding-left .2s;
}
.diary-item:first-child { border-top: 1px solid var(--border); }
.diary-item:hover {
  background: var(--bg-card);
  padding-left: .75rem;
  padding-right: .75rem;
}
.diary-date {
  text-align: center;
  flex-shrink: 0;
}
.diary-month {
  display: block;
  font-family: var(--font-italic);
  font-size: 1.5rem;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: .15rem;
}
.diary-year {
  display: block;
  font-size: .7rem;
  color: var(--text-faint);
  letter-spacing: .06em;
}
.diary-cat {
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .75rem;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.diary-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .03em;
  margin-bottom: .5rem;
  transition: color .2s;
}
.diary-item:hover .diary-title { color: var(--accent); }
.diary-excerpt {
  font-size: .82rem;
  color: var(--text-faint);
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.diary-arrow {
  color: var(--border);
  font-size: .9rem;
  padding-top: .25rem;
  transition: color .2s, transform .2s;
}
.diary-item:hover .diary-arrow { color: var(--gold); transform: translateX(4px); }

/* ============================================================
   WECHAT SECTION
   ============================================================ */
.wechat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.wechat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow .3s, transform .3s var(--ease-out), border-color .3s;
}
.wechat-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-3px);
  border-color: var(--gold);
}
.wechat-qr {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wechat-qr-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  gap: .5rem;
  font-size: .78rem;
  line-height: 1.5;
  background: var(--bg-alt);
}
.wechat-qr-placeholder small { font-size: .7rem; color: var(--text-faint); }
.wechat-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .12em;
  margin-bottom: .3rem;
}
.wechat-title {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .8rem;
  color: var(--gold);
  letter-spacing: .06em;
  margin-bottom: 1.2rem;
}
.wechat-benefits {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  width: 100%;
}
.wechat-benefits li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .83rem;
  color: var(--text-muted);
}
.wechat-benefits li svg {
  color: var(--wechat-green);
  flex-shrink: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.contact-item {
  padding: 1.6rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background .2s;
}
.contact-item:nth-child(even) { border-right: none; }
.contact-item:nth-child(3),
.contact-item:nth-child(4)    { border-bottom: none; }
.contact-item:hover { background: var(--bg); }
.contact-label {
  font-size: .75rem;
  color: var(--text-faint);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .4rem;
  font-family: var(--font-italic);
  font-style: italic;
}
.contact-value {
  font-family: var(--font-serif);
  font-size: .95rem;
  color: var(--text-muted);
  letter-spacing: .04em;
  transition: color .2s;
}
a.contact-value:hover { color: var(--accent); }
.contact-value--link {
  color: var(--wechat-green);
  font-family: var(--font-italic);
  font-style: italic;
}
.contact-note {
  text-align: center;
  font-size: .82rem;
  color: var(--text-faint);
  font-family: var(--font-italic);
  font-style: italic;
  line-height: 1.8;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 3rem;
  text-align: center;
  background: var(--bg);
}
.footer-top   { margin-bottom: .6rem; }
.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: .22em;
  color: var(--accent);
  margin-bottom: .3rem;
}
.footer-slogan {
  font-family: var(--font-italic);
  font-style: italic;
  font-size: .82rem;
  color: var(--text-faint);
  letter-spacing: .1em;
}
.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .8rem;
  margin: 1.6rem 0 1.2rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .8rem;
  color: var(--text-faint);
  letter-spacing: .05em;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--text-muted); }
.footer-nav span { color: var(--border); }

/* 社交图标 */
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin: 1.5rem 0 1.2rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-faint);
  transition: all .25s var(--ease-out);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}
.social-link svg { pointer-events: none; }

.footer-copy p {
  font-size: .78rem;
  color: var(--text-faint);
  font-family: var(--font-italic);
  font-style: italic;
  letter-spacing: .06em;
  margin-bottom: .3rem;
}
.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  margin-top: .8rem;
}
.footer-legal a {
  font-size: .72rem;
  color: var(--text-faint);
  letter-spacing: .04em;
  transition: color .2s;
  font-family: var(--font-italic);
  font-style: italic;
}
.footer-legal a:hover { color: var(--text-muted); }
.footer-legal span { color: var(--border); font-size: .72rem; }

.footer-icp {
  margin-top: .5rem;
  font-size: .72rem;
  color: var(--text-faint);
  letter-spacing: .04em;
  font-family: var(--font-italic);
  font-style: italic;
}
.footer-icp a {
  color: var(--text-faint);
  transition: color .2s;
}
.footer-icp a:hover { color: var(--text-muted); }

/* Back to top */
#back-top {
  position: fixed;
  bottom: 5.5rem; right: 2rem;
  width: 40px; height: 40px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  color: var(--text-faint);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, border-color .2s, color .2s, transform .2s;
  z-index: 100;
}
#back-top.show  { opacity: 1; pointer-events: all; }
#back-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet ≤ 860px */
@media (max-width: 860px) {
  .region-grid  { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; }
  .about-img    { height: 320px; }
  .halls-grid   { grid-template-columns: 1fr; gap: 0; }
  .hall-card    { border-top: 1px solid var(--border); border-bottom: none; padding: 2rem 0; }
  .hall-card:last-child { border-bottom: 1px solid var(--border); }
  .wechat-grid  { grid-template-columns: 1fr; max-width: 400px; }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
  /* Nav */
  .nav-list {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 0;
    display: none;
    z-index: 199;
  }
  .nav-list.open {
    display: flex;
    animation: slideDown .25s var(--ease-out);
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-link {
    display: block;
    width: 100%;
    padding: .75rem clamp(1.25rem, 5vw, 3rem);
    font-size: .95rem;
  }
  .nav-link::after { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-deco { display: none; }
  .br-hide   { display: none; }
  .hero-actions { flex-direction: column; align-items: center; }

  /* Products */
  .product-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-item:last-child { border-bottom: none; }

  /* Diary */
  .diary-item { grid-template-columns: 44px 1fr 20px; gap: 1rem; }

  /* Philosophy */
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
}

/* Small mobile ≤ 400px */
@media (max-width: 400px) {
  .product-grid     { grid-template-columns: 1fr; }
  .philosophy-grid  { grid-template-columns: 1fr; }
  .hero-actions     { flex-direction: column; }
}

/* ─── Accessibility ─── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  [data-fi] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-bg { transition: none; }
}
/* ─── 页面淡入 ─── */
body {
  animation: fadeInShuHuan ease 0.8s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInShuHuan {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

/* ─── 悬浮咨询按钮 ─── */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}

.floating-contact:hover {
  background-color: #3a2a1e;
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

/* ─── 二维码弹窗 ─── */
.qr-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s, visibility 0.5s;
  z-index: 10000;
}

.qr-modal.active {
  opacity: 1;
  visibility: visible;
}

.qr-content {
  background: var(--bg);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 320px;
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(30px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.qr-modal.active .qr-content {
  transform: translateY(0);
}

.qr-content img {
  width: 100%;
  border-radius: 8px;
  margin: 15px 0;
}

.qr-header h3 { color: var(--accent); margin-bottom: 5px; font-size: 1.2rem; }
.qr-header p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }

/* ─── 二维码图片 ─── */
.qr-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  border: 1px solid var(--border);
  padding: 10px;
  background: #fff;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.close-btn {
  margin-top: 25px;
  background: none;
  border: 1px solid var(--border);
  padding: 8px 30px;
  border-radius: 50px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.close-btn:hover { background: var(--bg-alt); }

/* ─── 头春预售飘窗 ─── */
.spring-notice {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 280px;
  background: var(--bg);
  border-left: 4px solid var(--accent);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 999;
  border-radius: 4px 12px 12px 4px;
  animation: slideInLeft 1s ease-out 5s both;
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

.notice-tag {
  font-size: 10px;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
}

.spring-notice h4 {
  margin: 10px 0 5px;
  color: var(--text);
  font-size: 16px;
}

.spring-notice p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
}

.notice-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.notice-footer button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.notice-footer button:hover { background: #3a2a1e; }

.close-notice {
  font-size: 12px;
  color: var(--text-faint);
  cursor: pointer;
  text-decoration: underline;
}

/* ─── 移动端 ─── */
@media (max-width: 768px) {
  p { line-height: 1.8; }
  .floating-contact { bottom: 20px; right: 20px; padding: 10px 16px; font-size: 13px; }
  img { max-width: 100%; height: auto; }
  .spring-notice { display: none; }
}