/* ============================================================
   兰花山酒厂官网 · 设计系统（多页面版）
   方向：墨色为底 · 鎏金点睛 · 酱红印章 · 东方书卷气
   布局：每个导航项为独立“一屏页”，切换式浏览
   ============================================================ */

:root {
  --ink-900: #120d07;
  --ink-800: #1a130b;
  --ink-700: #231a0f;
  --ink-600: #2d2113;
  --paper: #f2e9d6;
  --paper-2: #e7dcc3;
  --gold: #c9a05a;
  --gold-bright: #e8cd92;
  --gold-dim: rgba(201, 160, 90, 0.35);
  --wine: #96291c;
  --wine-bright: #c03a22;
  --text: #efe6cf;
  --muted: rgba(239, 230, 207, 0.6);
  --ink-text: #2a2117;
  --ink-muted: rgba(42, 33, 23, 0.68);
  --font-display: "Noto Serif SC", "STZhongsong", "SimSun", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --header-h: 72px;
  --footer-h: 60px;
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ink-900);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  /* 弹性纵向布局：页脚在文档流末尾，内容超出时自然下移，绝不遮挡正文 */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h); /* 为固定顶栏让位 */
}

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

::selection { background: var(--wine); color: #fff; }

/* 噪点纹理 */
.grain {
  position: fixed; inset: 0; z-index: 70; pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------- 页面容器（多页切换） ---------------- */

.page { display: none; }
.page.current {
  display: block;
  /* 页面高度 = 视口 - 顶栏 - 页脚：内容与页脚天然不重叠；
     内容超出（小屏）时页面正常展开，页脚随文档流下移，也不会遮挡 */
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
  animation: pageIn 0.55s var(--ease-out);
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

.page-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.8rem, 4vh, 3rem) var(--gutter) clamp(1.6rem, 3.5vh, 2.6rem);
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
}

/* 页内元素入场 */
.rev { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.rev.in { opacity: 1; transform: none; }

/* ---------------- 通用区块头 ---------------- */

.section-head { max-width: 900px; margin-bottom: clamp(1.3rem, 3vh, 2rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-eyebrow {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.76rem; letter-spacing: 0.42em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.7rem;
}
.section-eyebrow::after {
  content: ""; height: 1px; width: 72px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.section-head.center .section-eyebrow { justify-content: center; }
.section-head.center .section-eyebrow::before {
  content: ""; height: 1px; width: 72px;
  background: linear-gradient(270deg, var(--gold), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.section-heading-sub {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 300;
}

/* 浅色区块标题配色 */
.page-fill:nth-of-type(2n),
#page-products { /* about / brands / products 为宣纸色 */
  background:
    linear-gradient(180deg, rgba(120, 80, 30, 0.05), transparent 22%),
    var(--paper);
  color: var(--ink-text);
}
.page-fill:nth-of-type(2n) .section-title,
#page-products .section-title { color: var(--ink-text); }
.page-fill:nth-of-type(2n) .section-eyebrow,
#page-products .section-eyebrow { color: var(--wine); }
.page-fill:nth-of-type(2n) .section-eyebrow::after,
#page-products .section-eyebrow::after { background: linear-gradient(90deg, var(--wine), transparent); }
.page-fill:nth-of-type(2n) .section-heading-sub,
#page-products .section-heading-sub { color: var(--ink-muted); }

/* ---------------- 顶栏 ---------------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(18, 13, 7, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 160, 90, 0.16);
}

.header-inner {
  max-width: var(--container); margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}

.brand { display: flex; align-items: center; gap: 0.8rem; }

.brand-logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--paper);
  display: grid; place-items: center;
  border: 1px solid var(--gold-dim);
  box-shadow: 0 6px 18px rgba(0,0,0,.4);
  overflow: hidden;
}
.brand-logo img { width: 78%; height: 78%; object-fit: contain; }

.brand-text { display: flex; flex-direction: column; line-height: 1.32; }
.brand-text strong { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.12em; }
.brand-text em { font-style: normal; font-size: 0.66rem; letter-spacing: 0.18em; color: var(--gold); }

.main-nav { display: flex; gap: clamp(0.9rem, 1.8vw, 1.7rem); margin-left: auto; }
.main-nav a {
  position: relative; font-size: 0.92rem; letter-spacing: 0.08em;
  color: var(--muted); transition: color 0.3s; padding: 0.4rem 0;
  white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px; background: var(--gold-bright);
  transition: width 0.35s var(--ease-out), left 0.35s var(--ease-out);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-bright); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; left: 0; }

.header-phone {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--gold-bright); font-size: 0.9rem; letter-spacing: 0.05em;
  border: 1px solid var(--gold-dim); border-radius: 999px;
  padding: 0.5rem 1.05rem; transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.header-phone:hover { background: var(--gold); color: var(--ink-900); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--gold-bright);
  transition: transform 0.35s, opacity 0.35s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- 首页（主视觉 + 数据带） ---------------- */

.page-hero { display: none; }
.page-hero.current { display: flex; flex-direction: column; }

.hero-visual {
  position: relative; flex: 1; min-height: 0;
  display: flex; align-items: center;
  overflow: hidden; background: var(--ink-900);
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.06);
  animation: heroZoom 2.2s var(--ease-out) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(18,13,7,0.96) 8%, rgba(18,13,7,0.82) 38%, rgba(18,13,7,0.28) 68%, rgba(18,13,7,0.55)),
    radial-gradient(ellipse at 85% 30%, transparent 0%, rgba(18,13,7,0.32) 70%);
}

.hero-side-text {
  position: absolute; right: clamp(1rem, 3vw, 3rem); top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 1.3rem;
  color: rgba(232, 205, 146, 0.5);
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.3vw, 1rem);
  letter-spacing: 0.9em;
  writing-mode: vertical-rl;
  z-index: 2;
  user-select: none;
}
.hero-side-text i { width: 1px; height: 60px; background: linear-gradient(180deg, transparent, var(--gold-dim), transparent); }

.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--container); width: 100%;
  margin: 0 auto; padding: clamp(2.5rem, 6vh, 5rem) var(--gutter);
}

.hero-eyebrow {
  font-size: clamp(0.68rem, 1.1vw, 0.8rem);
  letter-spacing: 0.42em; color: var(--gold-bright);
  margin-bottom: clamp(0.7rem, 1.8vh, 1.2rem); opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.15s forwards;
}

.hero-title-row { display: flex; align-items: flex-start; gap: clamp(1rem, 2.5vw, 2rem); opacity: 0; animation: fadeUp 1s var(--ease-out) 0.3s forwards; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.6vw, 5.2rem);
  font-weight: 900; line-height: 1.08; letter-spacing: 0.05em;
  text-shadow: 0 10px 50px rgba(0,0,0,.55);
  background: linear-gradient(180deg, #fff6e0 0%, var(--gold-bright) 55%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.seal {
  flex: none;
  width: clamp(52px, 5.4vw, 68px); height: clamp(52px, 5.4vw, 68px);
  border: 2px solid var(--wine-bright);
  background: linear-gradient(160deg, #b03a20, var(--wine));
  color: #f7ecd4;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(0.7rem, 1.05vw, 0.88rem);
  letter-spacing: 0.35em; line-height: 1.5; padding-left: 0.35em;
  writing-mode: vertical-rl;
  border-radius: 10px;
  box-shadow: 0 12px 34px rgba(150, 41, 28, 0.45), inset 0 0 0 3px rgba(247,236,212,0.16);
  transform: rotate(3deg);
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.7rem); font-weight: 700;
  letter-spacing: 0.2em; color: var(--gold-bright);
  margin-top: clamp(0.6rem, 1.6vh, 1rem); opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.45s forwards;
}

.hero-desc {
  max-width: 540px; margin-top: clamp(0.5rem, 1.4vh, 0.9rem);
  color: var(--muted); font-weight: 300; font-size: 0.95rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  opacity: 0; animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: clamp(1rem, 2.6vh, 1.8rem);
  opacity: 0; animation: fadeUp 1s var(--ease-out) 0.75s forwards;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.9rem; border-radius: 4px;
  font-size: 0.95rem; letter-spacing: 0.14em;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--ink-900); font-weight: 500;
  box-shadow: 0 10px 28px rgba(201, 160, 90, 0.3);
}
.btn-gold:hover { box-shadow: 0 16px 38px rgba(201, 160, 90, 0.45); }

.btn-ghost {
  border: 1px solid var(--gold-dim); color: var(--gold-bright);
  background: rgba(18,13,7,0.3); backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

/* 首页底部数据带 */
.stats {
  flex: none;
  background: linear-gradient(180deg, rgba(201,160,90,0.1), transparent),
    var(--ink-900);
  border-top: 1px solid rgba(201, 160, 90, 0.22);
}
.stats-inner {
  max-width: var(--container); margin: 0 auto;
  padding: clamp(1rem, 2.6vh, 1.6rem) var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative;
}
.stat { text-align: center; padding: 0 1rem; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%;
  width: 1px; background: linear-gradient(180deg, transparent, var(--gold-dim), transparent);
}
.stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.15;
  color: var(--gold-bright);
  display: flex; align-items: baseline; justify-content: center; gap: 2px;
}
.stat-num .suffix { font-size: 0.55em; color: var(--gold); }
.stat-num .unit { font-size: 0.34em; color: var(--gold-dim); margin-left: 0.3em; }
.stat-label { margin-top: 0.3rem; font-family: var(--font-display); font-size: 0.96rem; letter-spacing: 0.12em; }
.stat-note { margin-top: 0.15rem; font-size: 0.74rem; color: var(--muted); font-weight: 300; }

/* ---------------- 关于我们 ---------------- */

.about-body {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1.6rem, 3.5vw, 3.2rem); align-items: center;
}

.about-figure { position: relative; }
.about-figure-frame {
  position: relative; border-radius: 6px; overflow: hidden;
  box-shadow: 0 24px 50px rgba(60, 38, 12, 0.32);
}
.about-figure-frame::before {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(201, 160, 90, 0.65);
  border-radius: 6px;
  transform: translate(12px, 12px);
  z-index: -1;
}
.about-figure-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-figure:hover .about-figure-frame img { transform: scale(1.05); }
.about-figure figcaption { margin-top: 1rem; text-align: center; font-size: 0.76rem; letter-spacing: 0.3em; color: var(--ink-muted); }

.about-heading {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 900; line-height: 1.4; letter-spacing: 0.07em;
  border-left: 4px solid var(--wine); padding-left: 0.9rem;
}
.about-lead { margin-top: 0.75rem; font-weight: 500; font-size: 0.92rem; color: #4a3a24; line-height: 1.65; }
.about-paras { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; }
.about-paras p { color: var(--ink-muted); font-weight: 300; font-size: 0.85rem; line-height: 1.66; }

.about-values {
  margin-top: clamp(1.1rem, 2.4vh, 1.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.value {
  border: 1px solid rgba(150, 41, 28, 0.22);
  background: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 0.7rem; text-align: center; border-radius: 4px;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.4s;
}
.value:hover { transform: translateY(-5px); border-color: var(--wine); box-shadow: 0 14px 26px rgba(150, 41, 28, 0.14); }
.value .value-no { display: block; font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.26em; color: var(--wine); margin-bottom: 0.2rem; }
.value strong { display: block; font-family: var(--font-display); font-size: 0.96rem; letter-spacing: 0.1em; }
.value span { display: block; margin-top: 0.2rem; font-size: 0.72rem; color: var(--ink-muted); font-weight: 300; }

.subsidiaries {
  margin-top: clamp(1rem, 2.2vh, 1.4rem);
  border-top: 1px solid rgba(42, 33, 23, 0.14);
  padding-top: 0.85rem;
}
.subsidiaries-title { font-size: 0.74rem; letter-spacing: 0.3em; color: var(--wine); margin-bottom: 0.55rem; }
.subsidiaries-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.subsidiaries-list span {
  display: inline-block; padding: 0.32rem 0.95rem;
  border: 1px solid rgba(150, 41, 28, 0.3);
  border-radius: 999px; font-size: 0.8rem; letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.subsidiaries-list span:hover { background: var(--wine); color: var(--paper); border-color: var(--wine); }

/* ---------------- 品牌矩阵 ---------------- */

.brands-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }

.brand-card {
  position: relative; overflow: hidden;
  border: 1px solid rgba(201, 160, 90, 0.18);
  background: linear-gradient(155deg, var(--ink-700), var(--ink-900));
  padding: clamp(1.4rem, 3vh, 2rem) clamp(1.5rem, 2.6vw, 2.2rem);
  border-radius: 6px;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
}
.brand-card::before {
  content: attr(data-index);
  position: absolute; right: 1rem; top: -0.4rem;
  font-family: var(--font-display); font-size: 5.6rem; font-weight: 900;
  color: rgba(201, 160, 90, 0.07); line-height: 1; pointer-events: none;
}
.brand-card::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--wine-bright), var(--gold-bright));
  transition: width 0.6s var(--ease-out);
}
.brand-card:hover { transform: translateY(-7px); border-color: var(--gold-dim); box-shadow: 0 24px 48px rgba(0,0,0,0.5); }
.brand-card:hover::after { width: 100%; }
.brand-card .brand-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.26em;
  color: var(--wine-bright); border: 1px solid rgba(192, 58, 34, 0.5);
  padding: 0.2rem 0.7rem; border-radius: 2px; margin-bottom: 0.8rem;
}
.brand-card h3 {
  font-family: var(--font-display); font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 900; letter-spacing: 0.16em;
  color: var(--gold-bright);
}
.brand-card p { margin-top: 0.6rem; color: var(--muted); font-weight: 300; font-size: 0.9rem; }

/* ---------------- 酿造实力 ---------------- */

.strength-layout {
  flex-direction: row;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: stretch;
  gap: 0;
  max-width: none;
  padding: 0;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  min-height: calc(100dvh - var(--header-h) - var(--footer-h));
}

.strength-media { position: relative; overflow: hidden; min-height: 420px; }
.strength-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.strength-media:hover img { transform: scale(1.04); }
.strength-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(26,19,11,0.12), rgba(26,19,11,0.9) 94%, var(--ink-800));
}
.strength-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 2;
  font-family: var(--font-display); letter-spacing: 0.5em;
  writing-mode: vertical-rl; color: rgba(242, 233, 214, 0.82); font-size: 0.85rem;
  border-left: 1px solid var(--gold-dim); padding-left: 0.6rem;
}

.strength-copy {
  padding: clamp(2rem, 4.5vw, 3.6rem) clamp(1.8rem, 3.6vw, 3.4rem);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ink-800);
}
.strength-paras { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1rem; }
.strength-paras p { color: var(--muted); font-weight: 300; font-size: 0.92rem; }
.strength-points { margin-top: clamp(1.2rem, 3vh, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.strength-point {
  display: flex; gap: 1rem; align-items: flex-start;
  border-top: 1px solid rgba(201, 160, 90, 0.14); padding-top: 0.9rem;
}
.strength-point .p-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold); letter-spacing: 0.18em; padding-top: 0.15rem; }
.strength-point .p-title { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.12em; }
.strength-point .p-desc { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 300; margin-top: 0.15rem; }

/* ---------------- 产品中心（新设计） ---------------- */

.products-showcase {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: clamp(0.9rem, 1.8vw, 1.5rem);
  height: clamp(400px, 58vh, 560px);
  min-height: 400px;
}

.p-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  border-radius: 10px;
  border: 1px solid rgba(120, 80, 30, 0.18);
  background: var(--ink-700);
  box-shadow: 0 18px 40px rgba(60, 38, 12, 0.35);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.5s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: 0 28px 56px rgba(60, 38, 12, 0.45); border-color: rgba(201, 160, 90, 0.55); }

.p-card .p-media { position: relative; overflow: hidden; flex: 1; min-height: 150px; background: var(--ink-800); }
.p-card .p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.p-card:hover .p-media img { transform: scale(1.06); }
.p-card .p-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,13,7,0.12), rgba(18,13,7,0.62) 92%);
}

.p-card .p-tag {
  position: absolute; top: 0.9rem; left: 0.9rem; z-index: 4;
  background: linear-gradient(135deg, var(--wine-bright), var(--wine));
  color: #fbeed8; font-size: 0.68rem; letter-spacing: 0.2em;
  padding: 0.3rem 0.8rem; border-radius: 3px;
  box-shadow: 0 8px 18px rgba(150, 41, 28, 0.4);
}
.p-card .p-new {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 4;
  border: 1px solid var(--gold-bright); color: var(--gold-bright);
  font-size: 0.66rem; letter-spacing: 0.24em; padding: 0.26rem 0.7rem;
  border-radius: 3px; background: rgba(18, 13, 7, 0.5); backdrop-filter: blur(4px);
}

.p-card .p-body { padding: 1rem 1.15rem 1.15rem; }
.p-body h4 {
  font-family: var(--font-display); font-size: 1.2rem; letter-spacing: 0.1em;
  color: var(--gold-bright); display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap;
}
.p-degree {
  font-size: 0.7rem; font-weight: 400; letter-spacing: 0.12em;
  color: var(--muted); border: 1px solid var(--gold-dim);
  border-radius: 999px; padding: 0.12rem 0.55rem;
  font-family: var(--font-body);
}
.p-desc {
  margin-top: 0.45rem; font-size: 0.82rem; font-weight: 300; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.p-card .specs {
  margin-top: 0.75rem; padding-top: 0.7rem;
  border-top: 1px solid rgba(201, 160, 90, 0.16);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.35rem;
}
.spec { text-align: center; min-width: 0; }
.spec b { display: block; font-size: 0.66rem; font-weight: 400; color: var(--gold-dim); letter-spacing: 0.22em; margin-bottom: 0.15rem; }
.spec span { display: block; font-size: 0.78rem; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 经典主展卡 */
.p-card.classic { background: linear-gradient(165deg, var(--ink-600), var(--ink-900)); }
.p-card.classic .p-media { min-height: 0; }
.p-card.classic .p-body { padding: 1.2rem 1.3rem 1.3rem; }
.p-card.classic .p-body h4 { font-size: clamp(1.3rem, 1.9vw, 1.7rem); }
.p-card.classic .p-desc { -webkit-line-clamp: 3; font-size: 0.86rem; }
.p-card.classic .specs { margin-top: 0.9rem; padding-top: 0.85rem; }
.p-card.classic .spec span { font-size: 0.82rem; }

/* 新品卡 */
.p-card.new-card .p-media { flex: 0 0 47%; min-height: 0; }

/* 经典系列说明行 */
.classic-note {
  margin-top: clamp(0.9rem, 2vh, 1.2rem);
  font-size: 0.88rem; font-weight: 300; color: var(--ink-muted);
  line-height: 1.8; max-width: 1000px;
}
.classic-note b { color: var(--wine); font-weight: 700; letter-spacing: 0.08em; margin-right: 0.2rem; }

/* ---------------- 荣誉历程 ---------------- */

.honors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem) clamp(1.1rem, 2.2vw, 1.8rem);
}
.honor-card { position: relative; border-top: 2px solid var(--gold-dim); padding-top: 0.9rem; }
.honor-card::before {
  content: ""; position: absolute; top: -6px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px var(--gold-dim), 0 0 14px rgba(201, 160, 90, 0.55);
  transition: transform 0.4s var(--ease-out);
}
.honor-card:hover::before { transform: scale(1.35); }
.honor-year {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  color: var(--gold-bright); letter-spacing: 0.06em; line-height: 1.2;
}
.honor-card h3 { margin-top: 0.4rem; font-family: var(--font-display); font-size: 0.98rem; letter-spacing: 0.06em; }
.honor-card p {
  margin-top: 0.3rem; color: var(--muted); font-weight: 300; font-size: 0.8rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------------- 联系我们 ---------------- */

.contact-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
}
.contact-card {
  border: 1px solid rgba(201, 160, 90, 0.2);
  background: rgba(35, 26, 15, 0.55);
  border-radius: 8px; padding: clamp(1.2rem, 3vh, 1.8rem);
  text-align: center;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, background 0.45s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(45, 33, 18, 0.8); }
.contact-card .c-icon {
  width: 50px; height: 50px; margin: 0 auto 0.8rem;
  border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold-dim);
  background: radial-gradient(circle at 35% 30%, rgba(232, 205, 146, 0.2), transparent 70%);
  color: var(--gold-bright);
}
.contact-card .c-label { font-size: 0.72rem; letter-spacing: 0.32em; color: var(--muted); }
.contact-card .c-value { margin-top: 0.4rem; font-family: var(--font-display); font-size: 1.04rem; letter-spacing: 0.05em; color: var(--gold-bright); }

.contact-entries {
  margin-top: clamp(1.2rem, 3vh, 2rem);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(201, 160, 90, 0.15);
  border-radius: 8px; overflow: hidden;
}
.contact-entry {
  padding: 1.1rem 0.8rem; text-align: center;
  color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em;
  transition: color 0.35s, background 0.35s;
  position: relative;
}
.contact-entry + .contact-entry::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(201, 160, 90, 0.14);
}
.contact-entry:hover { color: var(--gold-bright); background: rgba(201, 160, 90, 0.06); }
.contact-entry .e-icon {
  width: 40px; height: 40px; margin: 0 auto 0.6rem; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(201, 160, 90, 0.12); color: var(--gold-bright);
}

/* ---------------- 全局页脚（文档流内，sticky-footer 弹性布局贴底） ---------------- */

.site-footer {
  flex-shrink: 0;
  background: rgba(18, 13, 7, 0.96);
  border-top: 1px solid rgba(201, 160, 90, 0.16);
}

/* 主内容区占据剩余空间：一屏页面时页脚贴底，内容超出时页脚跟随下移 */
main {
  flex: 1 0 auto;
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  height: var(--footer-h); /* 高度精确等于变量，保证页面 min-height 计算无误差 */
  padding: 0.5rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; }
.footer-brand .brand-logo { width: 34px; height: 34px; border-radius: 9px; }
.footer-brand p { font-family: var(--font-display); letter-spacing: 0.12em; font-size: 0.95rem; }
.footer-meta { display: flex; gap: 1.4rem; flex-wrap: wrap; color: rgba(239, 230, 207, 0.45); font-size: 0.78rem; letter-spacing: 0.06em; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1060px) {
  .honors-grid { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .products-showcase { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .header-phone { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(78vw, 340px);
    background: rgba(18, 13, 7, 0.97); backdrop-filter: blur(14px);
    flex-direction: column; gap: 0; padding: 5.6rem 2.2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    box-shadow: -30px 0 80px rgba(0,0,0,0.5);
    z-index: 49;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { padding: 0.95rem 0; font-size: 1.02rem; border-bottom: 1px solid rgba(201, 160, 90, 0.12); }

  .about-body { grid-template-columns: 1fr; }
  .about-figure { max-width: 460px; }

  .strength-layout { grid-template-columns: 1fr; padding: 0; }
  .strength-media { min-height: 300px; }
  .strength-media-overlay { background: linear-gradient(0deg, rgba(26,19,11,0.2), rgba(26,19,11,0.85)); }
  .strength-copy { padding: 2.2rem var(--gutter); }

  .products-showcase { grid-template-columns: 1fr 1fr; height: auto; }
  .p-card.classic { grid-column: 1 / -1; }
  .p-card.classic .p-media { flex: 0 0 52%; min-height: 220px; }
  .p-card.new-card .p-media { flex: 0 0 180px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); row-gap: 1.2rem; }
  .stat:nth-child(3)::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 0.8rem; }
  .contact-card { display: flex; align-items: center; gap: 1.1rem; text-align: left; padding: 1rem 1.3rem; }
  .contact-card .c-icon { margin: 0; width: 46px; height: 46px; flex: none; }
  .contact-entries { grid-template-columns: repeat(2, 1fr); }
  .contact-entry:nth-child(3)::before { display: none; }

  .footer-meta { display: none; }
  .footer-inner { justify-content: center; }
}

@media (max-width: 640px) {
  :root { --footer-h: 54px; }
  .brands-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .honors-grid { grid-template-columns: 1fr; }
  .hero-side-text { display: none; }
  .hero-title-row { flex-direction: column; gap: 0.9rem; }
  .seal { writing-mode: horizontal-tb; width: auto; height: auto; padding: 0.5rem 0.9rem; letter-spacing: 0.3em; transform: rotate(-2deg); }
  .products-showcase { grid-template-columns: 1fr; }
  .p-card.classic { grid-column: auto; }
  .p-card .p-media { min-height: 200px; }
  .p-card.new-card .p-media { flex: 0 0 200px; }
  .footer-brand p { font-size: 0.86rem; }
}

/* 矮屏适配：确保内容紧凑，不溢出时可滚动 */
@media (max-height: 780px) {
  .products-showcase { height: 420px; }
  .about-paras p { font-size: 0.8rem; line-height: 1.55; }
  .about-lead { font-size: 0.86rem; }
  .about-figure-frame img { aspect-ratio: 16 / 11; }
  .strength-copy { padding-top: 1.6rem; padding-bottom: 1.6rem; }
  .section-head { margin-bottom: 1.1rem; }
  .page-inner { padding-top: 1.4rem; padding-bottom: 1.3rem; }
}