/* =============================================================
   木言 MUYAN · 实木家具品牌站
   Design system inspired by popular-web-designs
   (Notion warm-minimalism + Apple premium-whitespace)
   ============================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Wood & earth palette */
  --wood-950: #241a14;
  --wood-900: #2b211b;
  --wood-800: #3a2c22;
  --wood-700: #5b3a29;   /* walnut */
  --wood-600: #7a4f37;
  --wood-500: #9c6b48;
  --clay-600: #b5612f;   /* terracotta accent */
  --clay-500: #c2703d;
  --clay-400: #d88a52;

  --cream:    #faf6f0;
  --cream-2:  #f3ebde;
  --sand:     #efe4d3;
  --paper:    #fffdf9;

  --ink:       #2b211b;
  --ink-soft:  #6b5d51;
  --ink-faint: #9a8d80;

  --line:         rgba(43, 33, 27, 0.12);
  --line-strong:  rgba(43, 33, 27, 0.22);

  /* Soft, warm shadows */
  --shadow-sm: 0 1px 3px rgba(43,33,27,0.06), 0 1px 2px rgba(43,33,27,0.04);
  --shadow-md: 0 10px 30px rgba(43,33,27,0.10);
  --shadow-lg: 0 24px 60px rgba(43,33,27,0.16);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;

  /* Type */
  --font-serif: 'Cormorant Garamond', 'Noto Serif SC', Georgia, 'Songti SC', 'STSong', serif;
  --font-sans:  'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Subtle wood-grain texture on the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(92deg, rgba(120,79,55,0.025) 0 2px, transparent 2px 7px),
    radial-gradient(1200px 600px at 80% -10%, rgba(194,112,61,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 100%, rgba(91,58,41,0.08), transparent 55%);
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; position: relative; }
.section--cream2 { background: var(--cream-2); }
.section--paper  { background: var(--paper); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-600);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--wood-900);
}
.section-lead {
  margin-top: 18px;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--wood-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--wood-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-clay {
  background: var(--clay-500);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-clay:hover { background: var(--clay-600); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--wood-800);
  border: 1px solid var(--line-strong);
}
.btn-ghost:hover { border-color: var(--wood-700); color: var(--wood-700); transform: translateY(-2px); }
.btn-light {
  background: rgba(255,255,255,0.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
}
.btn-light:hover { background: rgba(255,255,255,0.24); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,246,240,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  transition: color .3s ease;
}
.brand small {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.8);
  transition: color .3s ease;
}
.site-header.scrolled .brand,
.site-header.scrolled .brand small { color: var(--wood-900); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  transition: color .25s ease;
}
.site-header.scrolled .nav-links a { color: var(--wood-800); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--clay-500);
  transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.site-header.scrolled .nav-links a:hover { color: var(--clay-600); }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-cta {
  background: #fff;
  color: var(--wood-800);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  transition: transform .18s ease, box-shadow .18s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background .3s ease, transform .3s ease, opacity .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--wood-900); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(36,26,20,0.82) 0%, rgba(36,26,20,0.55) 42%, rgba(36,26,20,0.25) 100%),
    linear-gradient(0deg, rgba(36,26,20,0.55) 0%, transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-top: 80px;
}
.hero .eyebrow { color: var(--clay-400); }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin: 10px 0 22px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.85;
  color: rgba(255,255,255,0.92);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 12px;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(rgba(255,255,255,0.7), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:.3;transform:scaleY(.6)} 50%{opacity:1;transform:scaleY(1)} }

/* ---------- Trust bar ---------- */
.trust {
  background: var(--wood-900);
  color: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
}
.trust-item {
  text-align: center;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 700;
  color: var(--clay-400);
  line-height: 1;
}
.trust-label {
  margin-top: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
}

/* ---------- Section: 产品系列 (categories) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  background: var(--paper);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-media { aspect-ratio: 4 / 3; overflow: hidden; }
/* 首页「产品系列」图片：正方形 1:1 */
#seriesGrid .cat-media { aspect-ratio: 1 / 1; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-card:hover .cat-media img { transform: scale(1.06); }
.cat-body { padding: 22px 24px 26px; }
.cat-body h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--wood-900);
}
.cat-body p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }
.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--clay-600);
}
.cat-link::after { content: "→"; transition: transform .2s ease; }
.cat-card:hover .cat-link::after { transform: translateX(4px); }

/* ---------- Section: 精选单品 (products) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--clay-500);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-wood { font-size: 12px; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; }
.product-body h3 { font-size: 19px; font-weight: 600; color: var(--wood-900); font-family: var(--font-serif); }
.product-meta { font-size: 13px; color: var(--ink-soft); }
.product-price {
  margin-top: auto;
  padding-top: 10px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--wood-700);
}
.product-price small { font-size: 14px; font-weight: 500; color: var(--ink-faint); margin-left: 2px; }
.product-actions { display: flex; gap: 8px; margin-top: 12px; }
.product-actions .btn { flex: 1; padding: 9px 10px; font-size: 13px; }

/* ---------- Section: 木材工艺 (craft) ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.craft-text .section-title { text-align: left; }
.craft-text .eyebrow { margin-bottom: 14px; }
.craft-text p { margin-top: 16px; color: var(--ink-soft); font-size: 16px; }

.wood-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 14px;
  color: var(--wood-800);
  background: var(--paper);
  transition: all .2s ease;
}
.chip:hover { background: var(--wood-700); color: #fff; border-color: var(--wood-700); }

.process {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.process h4 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--wood-900);
  margin-bottom: 22px;
}
.step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sand);
  color: var(--wood-700);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h5 { font-size: 16px; font-weight: 600; color: var(--wood-900); }
.step-body p { font-size: 14px; color: var(--ink-soft); }

/* ---------- Section: 客户实景 (testimonials) ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 56px;
  line-height: 0.6;
  color: var(--clay-400);
  opacity: 0.5;
}
.testi-card blockquote {
  font-size: 16px;
  line-height: 1.85;
  color: var(--wood-800);
  margin: 14px 0 22px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wood-500), var(--clay-500));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 16px;
}
.testi-author .name { font-size: 15px; font-weight: 600; color: var(--wood-900); }
.testi-author .city { font-size: 13px; color: var(--ink-faint); }

/* ---------- Section: CTA / 预约 ---------- */
.cta {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/reading.png');
  background-size: cover;
  background-position: center;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(36,26,20,0.9), rgba(36,26,20,0.55));
}
.cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.5vw, 46px);
  font-weight: 600;
  line-height: 1.15;
}
.cta-inner p { margin: 16px auto 30px; max-width: 520px; color: rgba(255,255,255,0.88); font-size: 17px; }
.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1 1 160px;
  padding: 13px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 15px;
  backdrop-filter: blur(6px);
}
.cta-form input::placeholder { color: rgba(255,255,255,0.7); }
.cta-form input:focus { outline: none; border-color: var(--clay-400); background: rgba(255,255,255,0.18); }
.cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,0.7); min-height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--wood-950); color: rgba(255,255,255,0.82); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 44px;
}
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.62); max-width: 280px; }
.footer-col h5 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 16px; letter-spacing: 0.03em; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.66); padding: 6px 0; transition: color .2s ease; }
.footer-col a:hover { color: var(--clay-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: 13px; color: rgba(255,255,255,0.66); }
.footer-social a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .craft-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(250,246,240,0.97);
    backdrop-filter: blur(12px);
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .site-header.open .nav-links a { color: var(--wood-800); padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-cta { display: inline-block; margin-top: 14px; }
  .site-header.open .nav-cta { background: var(--wood-700); color: #fff; }
  .hero-content { padding-top: 60px; }
  .cat-grid, .product-grid, .testi-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .trust-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--wood-900) 0%, var(--wood-700) 100%);
  color: #fff;
  padding: 150px 0 84px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(194,112,61,0.25), transparent 60%),
    repeating-linear-gradient(92deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: var(--clay-400); }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-top: 12px;
}
.page-hero p { margin-top: 16px; max-width: 560px; color: rgba(255,255,255,0.85); font-size: 17px; }
.crumb { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 18px; }
.crumb a:hover { color: #fff; }

/* ---------- Filter bar (products) ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 36px; }
.filter-bar button {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--wood-800);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  transition: all .2s ease;
}
.filter-bar button.active, .filter-bar button:hover { background: var(--wood-700); color: #fff; border-color: var(--wood-700); }

/* ---------- Gallery (products) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (min-width: 1200px) {
  .gallery-grid { grid-template-columns: repeat(5, 1fr); }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
  transition: transform .3s ease, box-shadow .3s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 14px 12px;
  background: linear-gradient(0deg, rgba(36,26,20,0.82), transparent);
  color: #fff; font-size: 14px; font-weight: 500;
}
.gallery-cap small { display: block; font-weight: 400; font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 2px; }

/* ---------- About / values ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.value-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; }
.value-item h4 { font-family: var(--font-serif); font-size: 20px; color: var(--wood-900); margin-bottom: 6px; }
.value-item p { font-size: 14px; color: var(--ink-soft); }

.store-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.store-card h4 { font-family: var(--font-serif); font-size: 22px; color: var(--wood-900); }
.store-card p { font-size: 14px; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--wood-800); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-md);
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--wood-700); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--clay-600); min-height: 18px; }
.info-list { list-style: none; }
.info-list li { padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; color: var(--wood-800); }
.info-list li span { color: var(--ink-faint); margin-right: 10px; display: inline-block; width: 64px; }

/* ---------- Lightbox ---------- */
.lb-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(28,20,15,0.92);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  padding: 40px;
}
.lb-overlay.open { opacity: 1; visibility: visible; }
.lb-figure { max-width: 92vw; text-align: center; transform: scale(.96); transition: transform .25s ease; }
.lb-overlay.open .lb-figure { transform: scale(1); }
.lb-img { max-width: 92vw; max-height: 78vh; border-radius: var(--radius-md); box-shadow: 0 30px 80px rgba(0,0,0,0.5); object-fit: contain; }
.lb-caption { color: #fff; margin-top: 14px; font-size: 16px; }
.lb-caption small { display: block; color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 4px; }
.lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(43,33,27,0.55); color: #fff; font-size: 30px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  cursor: pointer; z-index: 1001;
  transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: var(--wood-700); transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }
.lb-close {
  position: absolute; top: 24px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: #fff; font-size: 24px;
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px);
}
.lb-close:hover { background: rgba(255,255,255,0.28); }
.lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 13px; letter-spacing: 0.1em; }

/* ---------- Responsive additions ---------- */
@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .store-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .store-grid { grid-template-columns: 1fr; }
  .value-list { grid-template-columns: 1fr; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

/* ---------- 价格图片轮播 ---------- */
.price-carousel { background: var(--cream); }
/* 全宽横幅：脱离 container 限宽，banner 铺满视口宽度 */
.pc-full { max-width: 100%; padding-left: 0; padding-right: 0; }
.pc-wrap { position: relative; width: 100%; }
.pc-viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--paper);
}
.pc-track {
  display: flex;
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.pc-slide { min-width: 100%; }
/* 1920 x 620 横幅比例：宽度自适应，高度按比例推导，图片 object-fit:cover 自动裁切适配 */
.pc-media { position: relative; aspect-ratio: 1920 / 620; }
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  cursor: zoom-in;
  user-select: none; -webkit-user-drag: none;
}
.pc-tag {
  position: absolute; left: 22px; bottom: 22px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(42,33,27,0.82); color: #fff;
  padding: 12px 18px; border-radius: var(--radius-md);
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.pc-name { font-size: 14px; letter-spacing: .04em; opacity: .9; }
.pc-price {
  font-family: var(--font-serif);
  font-size: 30px; font-weight: 700; line-height: 1.1; color: #fff;
}
.pc-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--wood-800);
  border: none; font-size: 26px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background .2s ease, transform .2s ease;
  z-index: 3;
}
.pc-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.pc-prev { left: 22px; }
.pc-next { right: 22px; }
.pc-dots { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.pc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: var(--line-strong);
  cursor: pointer; padding: 0; transition: all .25s ease;
}
.pc-dot.active {
  background: var(--clay-600);
  width: 26px; border-radius: var(--radius-pill);
}

@media (max-width: 1024px) {
  .pc-prev { left: 8px; } .pc-next { right: 8px; }
}
@media (max-width: 1024px) {
  /* 平板上避免横幅过扁 */
  .pc-media { aspect-ratio: 16 / 7; }
}
@media (max-width: 640px) {
  /* 手机上改为 4:3，避免变成过矮的细条；图片仍自适应 */
  .pc-media { aspect-ratio: 4 / 3; }
  .pc-tag { left: 14px; bottom: 14px; padding: 9px 13px; }
  .pc-price { font-size: 22px; }
  .pc-arrow { width: 40px; height: 40px; font-size: 22px; }
  .pc-prev { left: 6px; } .pc-next { right: 6px; }
}

/* ---------- 产品图册数字分页 ---------- */
.gallery-pager {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 8px; margin-top: 40px;
}
.gp-btn {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  background: var(--paper); color: var(--ink-soft);
  border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 15px; font-weight: 500;
  cursor: pointer; transition: all .2s ease;
}
.gp-btn:hover:not(:disabled):not(.active) {
  border-color: var(--wood-500);
  color: var(--wood-700);
}
.gp-btn.active {
  background: var(--wood-800); border-color: var(--wood-800);
  color: #fff; cursor: default;
}
.gp-btn.gp-nav { font-size: 20px; line-height: 1; }
.gp-btn:disabled { opacity: .4; cursor: not-allowed; }
