/* 谯家大院 · 大巴山柏枝烟熏土猪腊味
   纸感、深松绿、炭火金。无第三方依赖，无外部字体。 */

:root {
  --paper: #F6F0E4;
  --paper-2: #EDE3D1;
  --ink: #221C15;
  --ink-2: #5A4E40;
  --green: #1B3A2F;
  --green-2: #35624C;
  --moss: #7E9C7A;
  --ember: #B4532A;
  --gold: #C9A45C;
  --gold-bright: #E0BE7C;
  --line: rgba(34, 28, 21, .14);
  --line-light: rgba(246, 240, 228, .16);
  --serif: "Songti SC", "STSong", "SimSun", "Noto Serif SC", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: clamp(20px, 4.6vw, 68px);
  --container: 1240px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.nav-open,
body.lightbox-open { overflow: hidden; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9980;
  pointer-events: none;
  opacity: .26;
  background-image: radial-gradient(rgba(34, 28, 21, .32) .5px, transparent .6px);
  background-size: 4px 4px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3, blockquote, .footer-name,
.brand-name, .stamp, .step-no, .product-index,
.contact-address, .phone, .nf-code {
  font-family: var(--serif);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  padding: 10px 18px;
  background: var(--green);
  color: var(--paper);
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .08em;
  transform: translateY(-200%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--container));
  margin-inline: auto;
}

.section { padding: clamp(70px, 9vw, 132px) 0; position: relative; }

.section-head {
  max-width: 780px;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  color: var(--green-2);
  font-size: .68rem;
  letter-spacing: .22em;
}

.eyebrow-idx {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(201, 164, 92, .55);
  color: var(--gold);
  font-family: var(--serif);
  font-size: .9rem;
  letter-spacing: 0;
}

.eyebrow-en {
  margin-left: 4px;
  color: rgba(34, 28, 21, .38);
  font-size: .58rem;
  letter-spacing: .22em;
}

.section-head h2,
.craft-content h2,
.origin-text h2 {
  margin: 16px 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4.2vw, 3.2rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: .02em;
}

.section-sub {
  max-width: 46em;
  margin: 0;
  color: var(--ink-2);
  font-size: .95rem;
  line-height: 1.9;
  letter-spacing: .02em;
}

.eyebrow--light { color: rgba(246, 240, 228, .84); }
.eyebrow--light .eyebrow-idx { border-color: rgba(201, 164, 92, .6); color: var(--gold-bright); }
.eyebrow--light .eyebrow-en { color: rgba(246, 240, 228, .38); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 1px;
  font-size: .84rem;
  letter-spacing: .06em;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.btn-primary {
  background: var(--ember);
  border-color: var(--ember);
  color: #FFF8EC;
}
.btn-primary:hover { background: #9C4623; border-color: #9C4623; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0, 0, 0, .24); }

.btn-ghost {
  background: rgba(246, 240, 228, .04);
  border-color: rgba(246, 240, 228, .42);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright); background: rgba(246, 240, 228, .08); }

.icon-phone {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- 顶部导航 ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-block: clamp(10px, 1.4vw, 15px);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(246, 240, 228, .94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: none;
}

.stamp {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--green);
  border: 1px solid rgba(201, 164, 92, .72);
  box-shadow: inset 0 0 0 3px var(--green), inset 0 0 0 4px rgba(201, 164, 92, .3);
  color: var(--paper);
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
  transition: transform .3s var(--ease);
}
.brand:hover .stamp { transform: rotate(-2deg); }

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(201, 164, 92, .72);
  object-fit: cover;
  flex: none;
}
.brand-logo--small {
  width: 38px;
  height: 38px;
  border-radius: 7px;
}

.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-name {
  color: var(--paper);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .16em;
  transition: color .4s var(--ease);
}
.brand-sub {
  color: rgba(246, 240, 228, .62);
  font-size: .58rem;
  line-height: 1.2;
  letter-spacing: .15em;
  transition: color .4s var(--ease);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  margin-left: auto;
}

.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: rgba(246, 240, 228, .84);
  font-size: .76rem;
  letter-spacing: .16em;
  text-decoration: none;
  transition: color .28s var(--ease);
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .35s var(--ease);
}
.nav-desktop a:hover { color: var(--gold-bright); }
.nav-desktop a.is-active { color: var(--gold-bright); }
.nav-desktop a.is-active::after { width: 18px; }

.nav-call {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(246, 240, 228, .38);
  color: var(--paper);
  font-size: .72rem;
  letter-spacing: .12em;
  text-decoration: none;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.nav-call:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.is-scrolled .brand-name { color: var(--ink); }
.is-scrolled .brand-sub { color: var(--ink-2); }
.is-scrolled .nav-desktop a { color: var(--ink-2); }
.is-scrolled .nav-desktop a:hover,
.is-scrolled .nav-desktop a.is-active { color: var(--green); }
.is-scrolled .nav-call { border-color: var(--line); color: var(--ink); }
.is-scrolled .nav-call:hover { background: var(--green); border-color: var(--green); color: var(--paper); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(246, 240, 228, .32);
  color: inherit;
  cursor: pointer;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav-toggle span {
  display: block;
  width: 17px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}
.is-scrolled .nav-toggle { border-color: var(--line); }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 15, 11, .6);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: min(88vw, 380px);
  padding: calc(86px + env(safe-area-inset-top)) 28px calc(30px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 164, 92, .12), transparent 42%),
    var(--green);
  color: var(--paper);
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .45s var(--ease), visibility .45s var(--ease);
}
body.nav-open .nav-overlay { opacity: 1; visibility: visible; }
body.nav-open .mobile-nav { visibility: visible; transform: none; }

body.nav-open .site-header {
  background: transparent;
  color: var(--paper);
  border-bottom-color: transparent;
}
body.nav-open .site-header .brand-name { color: var(--paper); }
body.nav-open .site-header .brand-sub { color: rgba(246, 240, 228, .62); }
body.nav-open .nav-toggle { border-color: rgba(246, 240, 228, .32); }

.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid var(--line-light); }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 56px;
  padding: 10px 2px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: .08em;
  text-decoration: none;
  transition: color .28s var(--ease), padding-left .28s var(--ease);
}
.mobile-nav a:hover { color: var(--gold-bright); padding-left: 8px; }
.mn-idx {
  color: var(--gold);
  font-family: var(--serif);
  font-size: .66rem;
  letter-spacing: .08em;
}
.mobile-nav-foot { padding-top: 28px; }
.mn-place {
  margin: 0 0 12px;
  color: rgba(246, 240, 228, .5);
  font-size: .64rem;
  letter-spacing: .18em;
}
.mn-phone {
  display: block;
  min-height: 44px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: .04em;
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 240, 228, .14);
  line-height: 2.4;
}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(100px + env(safe-area-inset-top)) 0 clamp(44px, 7vh, 82px);
  overflow: hidden;
  background: var(--green);
  color: var(--paper);
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% 44%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 17, 13, .8) 0%, rgba(9, 17, 13, .26) 38%, rgba(9, 17, 13, .78) 76%, rgba(6, 12, 9, .96) 100%),
    linear-gradient(90deg, rgba(7, 14, 10, .66) 0%, rgba(7, 14, 10, .2) 58%, rgba(7, 14, 10, .05) 100%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgba(246, 240, 228, .9);
  font-size: .68rem;
  letter-spacing: .18em;
}
.kicker-line { width: 34px; height: 1px; background: var(--gold); flex: none; }

.hero h1 {
  margin: 18px 0 0;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.05rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .02em;
  text-shadow: 0 2px 26px rgba(0, 0, 0, .26);
}
.hero h1 .gold { color: var(--gold-bright); }

.hero-sub {
  max-width: 42em;
  margin: 20px 0 0;
  color: rgba(246, 240, 228, .78);
  font-size: clamp(.9rem, 1.2vw, 1.04rem);
  line-height: 1.95;
  letter-spacing: .03em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 30px;
  list-style: none;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(246, 240, 228, .68);
  font-size: .66rem;
  letter-spacing: .07em;
  line-height: 1.6;
}
.hero-trust li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.hero-scroll {
  display: none;
  position: absolute;
  right: var(--gutter);
  bottom: 38px;
  z-index: 2;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  color: rgba(246, 240, 228, .55);
  font-size: .62rem;
  letter-spacing: .2em;
}
.scroll-line {
  width: 1px;
  height: 46px;
  background: linear-gradient(var(--gold), rgba(201, 164, 92, 0));
}

/* ---------- 品牌语气条 ---------- */

.tone {
  position: relative;
  overflow: hidden;
  padding: clamp(58px, 9vw, 112px) 0;
  background:
    radial-gradient(circle at 92% 24%, rgba(201, 164, 92, .13), transparent 46%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.tone-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

.tone-side {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--ink-2);
  font-size: .64rem;
  letter-spacing: .3em;
}
.tone-side::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.tone-quote { position: relative; max-width: 920px; }
.tone-quote::before {
  content: "\201C";
  position: absolute;
  top: -.55em;
  left: 2px;
  color: rgba(201, 164, 92, .24);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
  pointer-events: none;
}
.tone-quote blockquote {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.28rem, 3.4vw, 2.4rem);
  font-weight: 500;
  line-height: 1.78;
  letter-spacing: .04em;
}
.tone-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: .68rem;
  letter-spacing: .18em;
}
.tone-line { width: 48px; height: 1px; background: var(--gold); flex: none; }

.tone-seal {
  display: none;
  position: absolute;
  right: calc(var(--gutter) + 2vw);
  bottom: 18%;
  padding: 10px 8px;
  border: 1px solid rgba(180, 83, 42, .4);
  color: rgba(180, 83, 42, .66);
  font-family: var(--serif);
  font-size: .88rem;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  transform: rotate(-3deg);
}

/* ---------- 四味腊货 ---------- */

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

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
}

.product-card { position: relative; padding-bottom: 18px; }
.product-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 1px;
  background: var(--gold);
  transition: width .4s var(--ease);
}
.product-card:hover::after { width: 100%; }

.product-figure {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-2);
}
.product-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease), filter .8s var(--ease);
}
.product-card:hover .product-figure img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}

.product-index {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 8px;
  border: 1px solid rgba(246, 240, 228, .3);
  background: rgba(18, 27, 21, .52);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--paper);
  font-size: .72rem;
  line-height: 1.3;
  letter-spacing: .1em;
}

.product-body { padding: 18px 2px 0; }
.product-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.product-top h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.product-tag {
  padding: 3px 9px;
  border: 1px solid rgba(53, 98, 76, .3);
  color: var(--green-2);
  font-size: .62rem;
  line-height: 1.5;
  letter-spacing: .13em;
  white-space: nowrap;
}
.product-body p {
  margin: 10px 0 0;
  color: var(--ink-2);
  font-size: .9rem;
  line-height: 1.85;
  letter-spacing: .02em;
}

.products-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: clamp(30px, 4vw, 48px) 0 0;
  color: var(--ink-2);
  font-size: .72rem;
  line-height: 1.8;
  letter-spacing: .06em;
}
.products-note::before {
  content: "";
  width: 34px;
  height: 1px;
  margin-top: .85em;
  background: var(--gold);
  flex: none;
}

/* ---------- 工艺 ---------- */

.craft {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 6%, rgba(201, 164, 92, .1), transparent 40%),
    repeating-linear-gradient(135deg, rgba(246, 240, 228, .018) 0 1px, transparent 1px 9px),
    var(--green);
  color: var(--paper);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: center;
}

.craft-media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(201, 164, 92, .34);
  box-shadow: 0 34px 70px rgba(0, 0, 0, .32);
}
.craft-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.craft-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(246, 240, 228, .16);
  pointer-events: none;
}
.craft-media figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 26px 18px 14px;
  background: linear-gradient(transparent, rgba(8, 15, 11, .8));
  color: rgba(246, 240, 228, .82);
  font-size: .64rem;
  letter-spacing: .16em;
}

.craft-content h2 { color: var(--paper); }
.craft-content .section-sub { color: rgba(246, 240, 228, .68); }

.craft-steps {
  margin: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}
.craft-steps li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  transition: background-color .3s var(--ease);
}
.craft-steps li:hover { background: rgba(246, 240, 228, .035); }
.step-no {
  padding-top: 2px;
  color: var(--gold);
  font-size: 1.12rem;
  line-height: 1.3;
  letter-spacing: .05em;
}
.step-body h3 {
  margin: 0 0 6px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .06em;
}
.step-body p {
  margin: 0;
  color: rgba(246, 240, 228, .68);
  font-size: .86rem;
  line-height: 1.82;
}

.craft-note {
  margin: 22px 0 0;
  padding-left: 14px;
  border-left: 1px solid rgba(201, 164, 92, .6);
  color: rgba(224, 190, 124, .92);
  font-size: .64rem;
  line-height: 1.9;
  letter-spacing: .14em;
}

/* ---------- 产地 ---------- */

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

.origin-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.origin-text h2 { margin-top: 16px; }
.origin-copy {
  max-width: 34em;
  margin: 0;
  color: var(--ink-2);
  font-size: .97rem;
  line-height: 1.95;
  letter-spacing: .02em;
}
.origin-quote {
  margin: 24px 0 0;
  padding-left: 16px;
  border-left: 1px solid var(--gold);
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.72;
  letter-spacing: .04em;
}

.origin-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: clamp(28px, 4vw, 42px);
  padding-top: 22px;
  border-top: 1px solid rgba(201, 164, 92, .5);
}
.stat strong {
  display: flex;
  align-items: baseline;
  gap: 2px;
  color: var(--green);
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}
.stat strong small {
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .04em;
}
.stat > span {
  display: block;
  margin-top: 6px;
  color: var(--ink-2);
  font-size: .66rem;
  letter-spacing: .1em;
  line-height: 1.7;
}
.stat--wide { grid-column: 1 / -1; }
.stat--wide strong { font-size: 1rem; letter-spacing: .02em; line-height: 1.7; }

.origin-media { position: relative; margin-top: 8px; padding-bottom: 18%; }
.origin-photo { margin: 0; }
.origin-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.origin-photo--large { box-shadow: 0 26px 56px rgba(34, 28, 21, .16); }
.origin-photo--small {
  position: absolute;
  left: 12px;
  bottom: 0;
  width: 46%;
  border: 5px solid var(--paper);
  box-shadow: 0 16px 40px rgba(34, 28, 21, .22);
}
.origin-photo--small img { aspect-ratio: 4 / 3; }

.origin-stamp {
  position: absolute;
  top: -14px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(180, 83, 42, .55);
  background: rgba(246, 240, 228, .92);
  box-shadow: inset 0 0 0 3px var(--paper), inset 0 0 0 4px rgba(180, 83, 42, .26);
  color: var(--ember);
  font-family: var(--serif);
  font-size: .88rem;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  transform: rotate(3deg);
}

/* ---------- 七重信赖 ---------- */

.trust { background: var(--paper-2); }

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.trust-card {
  position: relative;
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--paper);
  transition: background-color .3s var(--ease);
}
.trust-card:hover { background: #FBF6EC; }
.trust-icon {
  margin-bottom: 18px;
  color: var(--green-2);
}
.trust-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-no {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(34, 28, 21, .3);
  font-family: var(--serif);
  font-size: .7rem;
  letter-spacing: .1em;
}
.trust-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
}
.trust-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: .85rem;
  line-height: 1.86;
  letter-spacing: .01em;
}

.trust-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(18px, 3vw, 34px);
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  background: var(--green);
}
.trust-card--wide:hover { background: #17352B; }
.trust-card--wide .trust-icon { grid-row: 1 / 3; margin: 0; color: var(--gold); }
.trust-card--wide .trust-icon svg { width: 44px; height: 44px; }
.trust-card--wide h3 { color: var(--paper); margin-bottom: 8px; }
.trust-card--wide p { color: rgba(246, 240, 228, .72); max-width: 62em; }
.trust-card--wide .trust-no { color: rgba(246, 240, 228, .34); }

/* ---------- 资质 ---------- */

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

.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2.4vw, 30px);
}

.cert-card { position: relative; }

.cert-frame {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 12px;
  overflow: hidden;
  background: linear-gradient(150deg, #FFFDF8 0%, #F0E7D8 100%);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.cert-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 164, 92, .3);
  pointer-events: none;
}
.cert-frame img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .4s var(--ease);
}
.cert-frame:not(.is-fallback):hover {
  border-color: rgba(201, 164, 92, .72);
  box-shadow: 0 18px 40px rgba(34, 28, 21, .12);
}
.cert-frame:not(.is-fallback):hover img { transform: scale(1.02); }

.cert-fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 26px;
  color: var(--ink-2);
  text-align: center;
}
.cert-fallback svg {
  width: 58px;
  height: 58px;
  fill: none;
  stroke: var(--green-2);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .72;
}
.cert-fallback strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.cert-fallback > span {
  max-width: 14em;
  font-size: .68rem;
  line-height: 1.75;
  letter-spacing: .03em;
}

.cert-frame.is-fallback { cursor: default; }
.cert-frame.is-fallback .cert-fallback { display: flex; }
.cert-frame.is-fallback img { display: none; }

.cert-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-top: 14px;
}
.cert-meta h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .05em;
}
.cert-meta span {
  color: var(--ink-2);
  font-size: .62rem;
  letter-spacing: .12em;
  white-space: nowrap;
}

.certs-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 32px 0 0;
  color: var(--ink-2);
  font-size: .76rem;
  line-height: 1.8;
  letter-spacing: .04em;
}
.certs-note::before {
  content: "";
  width: 28px;
  height: 1px;
  margin-top: .9em;
  background: var(--gold);
  flex: none;
}

/* 证书灯箱 */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 5vw, 64px);
  background: rgba(9, 15, 12, .95);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 164, 92, .5);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.lightbox-close:hover { background: rgba(201, 164, 92, .16); }
.lightbox-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
}
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 880px);
  max-height: calc(100vh - 110px);
  margin: 0;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border: 1px solid rgba(201, 164, 92, .28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.lightbox-figure figcaption {
  color: rgba(246, 240, 228, .82);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: .08em;
}

/* ---------- 联系 ---------- */

.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 7vw, 92px);
  background:
    radial-gradient(circle at 14% 0%, rgba(126, 156, 122, .16), transparent 44%),
    linear-gradient(180deg, #173126 0%, #12281F 100%);
  color: var(--paper);
}

.contact-watermark {
  position: absolute;
  top: -9%;
  right: -2%;
  z-index: 0;
  color: rgba(246, 240, 228, .035);
  font-family: var(--serif);
  font-size: clamp(15rem, 36vw, 32rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.contact-inner { position: relative; z-index: 1; }

.contact-head { max-width: 780px; }
.contact-head h2 {
  margin: 16px 0 18px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .02em;
}
.contact-lead {
  max-width: 40em;
  margin: 0;
  color: rgba(246, 240, 228, .7);
  font-size: .97rem;
  line-height: 1.9;
  letter-spacing: .02em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: 36px;
  border-top: 1px solid rgba(246, 240, 228, .14);
}

.contact-block h3 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .2em;
}
.contact-address {
  margin: 0;
  color: var(--paper);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.75;
  letter-spacing: .05em;
}
.contact-kicker {
  margin: 14px 0 0;
  color: rgba(246, 240, 228, .5);
  font-size: .66rem;
  letter-spacing: .16em;
}

.phone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(246, 240, 228, .16);
  color: var(--paper);
  font-size: clamp(1.32rem, 2.6vw, 1.85rem);
  letter-spacing: .03em;
  text-decoration: none;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.phone:hover { color: var(--gold-bright); border-color: rgba(201, 164, 92, .6); }
.phone svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .55;
  flex: none;
}
.contact-note {
  margin: 14px 0 0;
  color: rgba(246, 240, 228, .5);
  font-size: .7rem;
  line-height: 1.8;
  letter-spacing: .04em;
}

.route {
  position: relative;
  list-style: none;
}
.route::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  border-left: 1px dashed rgba(201, 164, 92, .42);
}
.route li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 26px;
  color: rgba(246, 240, 228, .7);
  font-size: .87rem;
  line-height: 1.8;
}
.route li:last-child { margin-bottom: 0; }
.route li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px #142B22;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: 32px 0 calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(246, 240, 228, .12);
  background: #0E211A;
  color: rgba(246, 240, 228, .55);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-brand { display: flex; align-items: center; gap: 12px; }
.stamp--small {
  width: 36px;
  height: 36px;
  font-size: 18px;
  box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 3px rgba(201, 164, 92, .3);
}
.footer-name {
  margin: 0;
  color: var(--paper);
  font-size: .98rem;
  letter-spacing: .14em;
}
.footer-sub {
  margin: 4px 0 0;
  color: rgba(246, 240, 228, .45);
  font-size: .62rem;
  letter-spacing: .1em;
}
.footer-tagline {
  margin: 0;
  color: rgba(201, 164, 92, .82);
  font-size: .66rem;
  letter-spacing: .16em;
}
.footer-meta p {
  margin: 0;
  color: rgba(246, 240, 228, .42);
  font-size: .66rem;
  line-height: 1.8;
  letter-spacing: .05em;
}

/* ---------- 移动端悬浮拨号 ---------- */

.mobile-call-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 150;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 29, 23, .96);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(201, 164, 92, .32);
}
.mobile-call {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  padding: 8px 14px;
  background: var(--ember);
  border: 1px solid rgba(255, 248, 236, .16);
  color: #FFF8EC;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .26);
  transition: background-color .3s var(--ease);
}
.mobile-call:hover { background: #9C4623; }
.mc-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 248, 236, .32);
  color: #FFF8EC;
  flex: none;
}
.mc-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.mc-label { color: rgba(255, 248, 236, .72); font-size: .6rem; letter-spacing: .1em; }
.mc-num {
  color: #FFF8EC;
  font-family: var(--serif);
  font-size: .78rem;
  line-height: 1.35;
  letter-spacing: .01em;
  white-space: nowrap;
}
.mc-arrow { color: rgba(255, 248, 236, .7); flex: none; }
.mc-arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 菜单展开时让出底部空间，避免拨号条压住菜单里的电话 */
body.nav-open .mobile-call-bar { display: none; }

/* 让移动端悬浮条不遮住页脚与首屏信任标签 */
@media (max-width: 767px) {
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .hero { padding-bottom: calc(118px + env(safe-area-inset-bottom)); }
}

/* ---------- 404 ---------- */

.page-404 {
  background: var(--green);
  color: var(--paper);
}

.nf-main {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(201, 164, 92, .12), transparent 46%),
    linear-gradient(160deg, #1B3A2F 0%, #0F211A 100%);
}
.nf-wrap { position: relative; z-index: 2; }

.nf-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: clamp(38px, 8vh, 84px);
  text-decoration: none;
}
.nf-brand .brand-name { color: var(--paper); font-size: .98rem; }
.nf-brand .brand-sub { color: rgba(246, 240, 228, .55); }

.nf-kicker {
  margin: 0;
  color: var(--gold);
  font-size: .66rem;
  letter-spacing: .26em;
}
.nf-code {
  margin: 6px 0 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 164, 92, .38);
  font-size: clamp(5rem, 19vw, 12rem);
  font-weight: 600;
  line-height: .92;
  letter-spacing: .08em;
  user-select: none;
}
.nf-content h1 {
  margin: -8px 0 14px;
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .03em;
}
.nf-content > p:not(.nf-kicker) {
  max-width: 34em;
  margin: 0;
  color: rgba(246, 240, 228, .68);
  font-size: .93rem;
  line-height: 1.9;
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.nf-phones {
  margin: 18px 0 0 !important;
  color: rgba(246, 240, 228, .5) !important;
  font-size: .72rem !important;
  letter-spacing: .04em;
}
.nf-phones a { color: var(--gold); text-decoration: none; border-bottom: 1px solid rgba(201, 164, 92, .4); }
.nf-footer {
  margin: clamp(48px, 9vh, 90px) 0 0;
  color: rgba(246, 240, 228, .38);
  font-size: .64rem;
  letter-spacing: .1em;
}

.nf-mountains {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38vh;
  pointer-events: none;
}
.nf-mountains path { fill: rgba(246, 240, 228, .028); }
.nf-mountains path + path { fill: rgba(246, 240, 228, .05); }

/* ---------- 入场与动效 ---------- */

.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--d, 0s);
    will-change: opacity, transform;
  }
  body.reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }

  .hero-kicker,
  .hero h1,
  .hero-sub,
  .hero-actions,
  .hero-trust {
    opacity: 0;
    animation: heroFade .9s var(--ease) forwards;
  }
  .hero-kicker { animation-delay: .1s; }
  .hero h1 { animation-delay: .22s; }
  .hero-sub { animation-delay: .38s; }
  .hero-actions { animation-delay: .5s; }
  .hero-trust { animation-delay: .64s; }

  .hero-media img { animation: heroZoom 16s var(--ease) both; }

  @keyframes heroFade {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes heroZoom {
    from { transform: scale(1.07); }
    to { transform: scale(1); }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero-kicker, .hero h1, .hero-sub, .hero-actions, .hero-trust { opacity: 1; animation: none; }
  .hero-media img { animation: none; }
  .product-card:hover .product-figure img { transform: none; }
  .cert-frame:not(.is-fallback):hover img { transform: none; }
}

/* ---------- 断点 ---------- */

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-card--wide { grid-column: 1 / -1; }
  .origin-stats { grid-template-columns: repeat(3, 1fr); }
  .stat--wide { grid-column: auto; }
  .origin-stamp { width: 64px; height: 64px; font-size: .95rem; }
}

@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-overlay, .mobile-nav, .mobile-call-bar { display: none; }
  .nav-call { display: inline-flex; }

  .hero-scroll { display: flex; }
  .hero h1 { letter-spacing: .03em; }
  .hero-trust { gap: 10px 26px; }

  .tone-inner { grid-template-columns: 56px 1fr; gap: 34px; }
  .tone-side {
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-block: 8px;
    writing-mode: vertical-rl;
    letter-spacing: .34em;
  }
  .tone-side::before { width: 1px; height: 38px; }
  .tone-seal { display: block; }

  .certs-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
  }
  .footer-brand { margin-right: auto; }
}

@media (min-width: 1024px) {
  .site-footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }

  .product-grid { grid-template-columns: repeat(4, 1fr); }

  .craft-grid { grid-template-columns: 1.04fr .96fr; }
  .craft-media { position: sticky; top: 104px; }

  .origin-grid { grid-template-columns: 1.02fr .98fr; }
  .origin-photo--small { left: -28px; border-width: 6px; }
  .origin-media { margin-top: 0; }

  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .trust-card--wide { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }

  .hero-inner { padding-bottom: 10px; }
}

@media (min-width: 1280px) {
  .header-inner { gap: 24px; }
  .brand-name { font-size: 1.08rem; }
  .product-grid { gap: 34px; }
  .product-body { padding-top: 22px; }
  .product-top h3 { font-size: 1.52rem; }
  .contact-address { font-size: 1.6rem; }
}
