/* ============================================================
   太古风华酿造有限公司 · 官网样式
   设计基调：暗调工业大图 + 超大中文标题 + 衬线英文水印 + 黑白分区
   品牌色：太古风华 = 墨黑/白/灰；徽山喜 = 松石绿（自营品牌专属色）
   ============================================================ */

:root {
  --ink: #101010;
  --ink-2: #1a1a1a;
  --paper: #ffffff;
  --gray: #f4f4f2;
  --line: #e6e6e2;
  --t1: #141414;
  --t2: #555555;
  --t3: #8f8f8f;
  --hsx: #0f766e;          /* 徽山喜品牌色（与内部数据系统一致） */
  --hsx-2: #14b8a6;
  --amber: #c98a2d;
  --sans: "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Segoe UI", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--t1);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
code { font-family: Consolas, monospace; background: var(--gray); padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* ---------- 通用标题 ---------- */
.h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: .02em; line-height: 1.15; }
.h2 small { display: block; margin-top: 10px; font-size: 15px; font-weight: 400; color: var(--t3); letter-spacing: .28em; }
.sec-head { padding: 0 clamp(20px, 7vw, 110px); margin-bottom: clamp(34px, 5vw, 64px); }
.sec-head.dark .h2 { color: #fff; }
.sec-head.dark .h2 small { color: #7c7c7c; }
.sec-sub { margin-top: 16px; color: var(--t2); font-size: 15.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border: 1px solid #fff; border-radius: 2px;
  font-size: 14px; letter-spacing: .18em; color: #fff; transition: all .25s ease;
}
.btn.solid { background: #fff; color: var(--ink); font-weight: 700; }
.btn.solid:hover { background: transparent; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--ink); }
.btn.ghost.dark { border-color: #5a6f6c; color: #cfe5e2; }
.btn.ghost.dark:hover { border-color: var(--hsx-2); color: var(--hsx-2); background: transparent; }
.btn.hsx { background: var(--hsx); border-color: var(--hsx); color: #fff; font-weight: 700; }
.btn.hsx:hover { background: var(--hsx-2); border-color: var(--hsx-2); }

/* ============================================================
   顶部导航
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(12,12,12,.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.nav-in {
  display: flex; align-items: center; gap: 26px;
  padding: 0 clamp(16px, 3.4vw, 48px); height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; color: #fff; margin-right: auto; }
.logo-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: #fff; color: var(--ink); font-weight: 900; font-size: 19px; border-radius: 3px;
}
.logo-txt { font-size: 17px; font-weight: 800; letter-spacing: .3em; line-height: 1.1; display: flex; flex-direction: column; }
.logo-txt small { font-size: 8.5px; font-weight: 400; letter-spacing: .3em; color: rgba(255,255,255,.55); }

.links { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.links a {
  color: rgba(255,255,255,.86); font-size: 14px; letter-spacing: .12em; position: relative; padding: 6px 0;
}
.links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: #fff; transition: width .25s ease;
}
.links a:hover::after, .links a.active::after { width: 100%; }

.nav-tools { display: flex; align-items: center; gap: 10px; }
.tool-btn {
  display: flex; align-items: center; gap: 7px; cursor: pointer;
  background: none; border: 1px solid rgba(255,255,255,.35); border-radius: 2px;
  color: #fff; font-size: 12.5px; letter-spacing: .1em; padding: 7px 12px;
  transition: border-color .2s, background .2s;
}
.tool-btn:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.sys-wrap { position: relative; }
.sys-menu {
  position: absolute; right: 0; top: calc(100% + 12px); width: 300px;
  background: #fff; color: var(--t1); border-radius: 6px; padding: 8px;
  box-shadow: 0 18px 50px -12px rgba(0,0,0,.45);
}
.sys-item { display: block; padding: 12px 14px; border-radius: 4px; transition: background .15s; }
.sys-item:hover { background: var(--gray); }
.sys-item b { display: block; font-size: 14.5px; letter-spacing: .04em; }
.sys-item i { display: block; font-style: normal; font-size: 12px; color: var(--t3); margin-top: 3px; }
.sys-note { padding: 8px 14px 6px; font-size: 11px; color: var(--t3); border-top: 1px solid var(--line); margin-top: 6px; }

/* 汉堡按钮（手机端） */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 手机全屏菜单 */
.mobile-menu {
  position: fixed; inset: 0; z-index: 80; background: rgba(10,10,10,.97);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 32px;
}
.mobile-menu[hidden], .sys-menu[hidden], .sys-wrap[hidden] { display: none !important; }
.mobile-menu a { color: #fff; font-size: 24px; font-weight: 700; letter-spacing: .1em; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: #0c0f11; }
.hero-bg, .banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  animation: heroZoom 18s ease-out forwards;
}
.hero-bg { background-image: url("../img/hero-brewery.jpg"); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,10,12,.55) 0%, rgba(8,10,12,.28) 42%, rgba(8,10,12,.72) 100%);
}
.hero-in { position: relative; z-index: 2; padding: 110px clamp(20px, 7vw, 110px) 150px; max-width: 1400px; }
.hero-eyebrow { color: rgba(255,255,255,.72); font-size: 12.5px; letter-spacing: .42em; margin-bottom: 22px; }
.hero-title { color: #fff; font-weight: 900; line-height: 1.04; letter-spacing: .015em; }
.ht-l1 { display: block; font-size: clamp(56px, 9.4vw, 148px); }
.ht-l2 { display: block; font-size: clamp(40px, 6.6vw, 104px); letter-spacing: .06em; }
.hero-sub {
  margin-top: 30px; color: rgba(255,255,255,.82); font-size: clamp(14px, 1.25vw, 16.5px);
  letter-spacing: .06em; max-width: 640px;
}
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-en {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 2px;
  font-family: var(--serif); font-weight: 400; white-space: nowrap;
  font-size: clamp(46px, 10.4vw, 158px); line-height: .95; text-align: center;
  color: rgba(255,255,255,.22); letter-spacing: .06em; pointer-events: none;
  user-select: none; overflow: hidden;
}
.scroll-cue {
  position: absolute; z-index: 3; right: clamp(20px, 4vw, 60px); bottom: 34px;
  width: 26px; height: 44px; border: 1px solid rgba(255,255,255,.5); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0%,100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(12px); opacity: .25; } }

/* ============================================================
   黑色过渡带
   ============================================================ */
.band { background: #0b0b0b; color: #fff; }
.band-in { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px) 0; text-align: right; }
.band-en { font-weight: 800; font-size: clamp(24px, 3.2vw, 42px); letter-spacing: .04em; line-height: 1.3; }
.band-cn { margin-top: 26px; font-size: clamp(18px, 2vw, 24px); font-weight: 600; letter-spacing: .2em; padding-bottom: clamp(48px, 6vw, 84px); }
.band-cn span { color: #8a8a8a; font-weight: 300; letter-spacing: .06em; }

/* ============================================================
   公司介绍
   ============================================================ */
.about { background: var(--paper); padding: 0 clamp(20px, 7vw, 110px) clamp(70px, 8vw, 120px); }
.about-grid {
  display: grid; grid-template-columns: minmax(300px, 460px) 1fr;
  gap: clamp(34px, 6vw, 96px); align-items: start;
}
.about-photo { margin-top: calc(clamp(70px, 9vw, 120px) * -0.72); }
.about-photo img { width: 100%; box-shadow: 0 30px 80px -30px rgba(0,0,0,.4); }
.about-body { padding-top: clamp(44px, 6vw, 90px); max-width: 640px; }
.lead { margin-top: 30px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; letter-spacing: .03em; }
.para { margin-top: 14px; color: var(--t2); font-size: 15.5px; text-align: justify; }
.about-photo-sm { margin-top: 34px; margin-left: clamp(0px, 6vw, 110px); }
.about-photo-sm img { width: 100%; }

.stats { margin-top: 46px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 30px; }
.stats b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: .02em; }
.stats i { font-style: normal; font-size: 12.5px; color: var(--t3); letter-spacing: .14em; }

/* ============================================================
   发展历程
   ============================================================ */
.history { background: #0e0e0e; color: #fff; padding: clamp(70px, 9vw, 120px) 0; }
.timeline { padding: 0 clamp(20px, 7vw, 110px); max-width: 1200px; }
.timeline li {
  display: grid; grid-template-columns: 150px 1fr; gap: clamp(18px, 4vw, 60px);
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.1); align-items: baseline;
}
.timeline b { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); font-weight: 400; color: var(--amber); line-height: 1; }
.timeline h3 { font-size: 17px; letter-spacing: .1em; margin-bottom: 6px; }
.timeline p { color: #9a9a9a; font-size: 14.5px; max-width: 640px; }

/* ============================================================
   全幅横幅
   ============================================================ */
.banner { position: relative; min-height: 380px; display: grid; place-items: center; overflow: hidden; }
.banner-bg { background-image: url("../img/production-line.jpg"); animation: none; }
.banner blockquote { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.banner-bg::after { content: ""; position: absolute; inset: 0; background: rgba(10,10,10,.58); }
.banner p { color: #fff; font-size: clamp(20px, 2.8vw, 34px); font-weight: 700; letter-spacing: .12em; }
.banner cite { display: block; margin-top: 16px; color: rgba(255,255,255,.65); font-size: 13.5px; letter-spacing: .22em; font-style: normal; }

/* ============================================================
   产品介绍
   ============================================================ */
.products { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px); padding: 0 clamp(20px, 7vw, 110px);
}
.prod-card { background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; }
.prod-card:hover { box-shadow: 0 26px 60px -24px rgba(0,0,0,.28); transform: translateY(-4px); }
.prod-card figure { overflow: hidden; aspect-ratio: 4 / 4.4; }
.prod-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prod-card:hover img { transform: scale(1.05); }
.pc-body { padding: 22px 22px 26px; }
.pc-tag { font-style: normal; font-size: 11.5px; letter-spacing: .18em; color: var(--hsx); border: 1px solid currentColor; padding: 3px 10px; border-radius: 999px; }
.pc-body h3 { margin-top: 14px; font-size: 21px; letter-spacing: .06em; }
.pc-body p { margin-top: 8px; color: var(--t2); font-size: 14px; }

/* ============================================================
   服务领域
   ============================================================ */
.services { background: var(--gray); padding: clamp(70px, 9vw, 120px) 0; }
.srv-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 26px); padding: 0 clamp(20px, 7vw, 110px);
}
.srv-card { background: #fff; padding: clamp(22px, 2.6vw, 36px); border-top: 3px solid var(--ink); transition: transform .3s, border-color .3s; }
.srv-card:hover { transform: translateY(-5px); border-top-color: var(--hsx); }
.srv-card b { font-family: var(--serif); font-size: 15px; color: var(--t3); letter-spacing: .1em; }
.srv-card h3 { margin-top: 12px; font-size: 19px; letter-spacing: .1em; }
.srv-card p { margin-top: 8px; color: var(--t2); font-size: 13.8px; }

/* ============================================================
   自营品牌 · 徽山喜
   ============================================================ */
.brand { background: #0b1413; color: #fff; padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.brand::before {
  content: "HUISHANXI"; position: absolute; right: -30px; bottom: -28px;
  font-family: var(--serif); font-size: clamp(80px, 13vw, 200px); line-height: 1;
  color: rgba(20,184,166,.07); letter-spacing: .08em; white-space: nowrap; pointer-events: none;
}
.brand-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(34px, 6vw, 90px); align-items: center;
  padding: 0 clamp(20px, 7vw, 110px); position: relative; z-index: 2;
}
.brand-eyebrow { color: var(--hsx-2); font-size: 12.5px; letter-spacing: .4em; }
.brand-title { margin-top: 18px; font-size: clamp(52px, 7.4vw, 108px); font-weight: 900; letter-spacing: .06em; line-height: 1.05; }
.brand-title small { display: block; font-size: clamp(13px, 1.2vw, 17px); font-weight: 400; letter-spacing: .5em; color: rgba(255,255,255,.45); margin-top: 12px; }
.brand-slogan { margin-top: 20px; font-size: clamp(17px, 1.8vw, 23px); letter-spacing: .22em; color: var(--hsx-2); }
.brand .para { color: #a9b8b6; max-width: 560px; }
.brand-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.brand-photo { position: relative; padding-bottom: 70px; }
.bp-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bp-sub {
  position: absolute; left: -34px; bottom: 0; width: clamp(150px, 34%, 220px);
  aspect-ratio: 3 / 4; object-fit: cover; border: 5px solid #0b1413;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
}

/* ============================================================
   联系我们 / 页脚
   ============================================================ */
.contact { background: #0b0b0b; color: #fff; }
.ct-in { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px) clamp(40px, 5vw, 60px); }
.ct-eyebrow { color: #8a8a8a; font-size: 12px; letter-spacing: .42em; }
.ct-title { margin-top: 16px; font-size: clamp(28px, 4.4vw, 54px); font-weight: 900; letter-spacing: .04em; line-height: 1.2; }
.ct-grid {
  margin-top: clamp(34px, 5vw, 60px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 34px;
}
.ct-grid b { display: block; font-size: 12px; letter-spacing: .28em; color: #7e7e7e; margin-bottom: 12px; }
.ct-grid p { font-size: 14px; color: #cfcfcf; line-height: 2; }
.ct-grid a { color: var(--hsx-2); border-bottom: 1px solid transparent; }
.ct-grid a:hover { border-color: var(--hsx-2); }
.ft-bar {
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 20px clamp(20px, 7vw, 110px) 26px;
}
.ft-bar p { font-size: 12px; color: #6f6f6f; letter-spacing: .08em; }
.ft-bar .icp { color: #4c4c4c; }
.ft-bar .icp a { color: inherit; border-bottom: 1px solid rgba(255,255,255,.16); transition: color .25s, border-color .25s; }
.ft-bar .icp a:hover { color: var(--hsx-2); border-color: var(--hsx-2); }

/* ============================================================
   入场动画
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .links { gap: 14px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { margin-top: -60px; max-width: 560px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-photo { order: -1; max-width: 640px; }
  .ct-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .links { display: none; }
  .tool-btn span { display: none; }
  .tool-btn { padding: 8px; border: 0; }
  .burger { display: flex; }
  .nav.scrolled { background: rgba(12,12,12,.96); }

  .hero-in { padding-bottom: 170px; }
  .pc-br { display: none; }
  .prod-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .timeline li { grid-template-columns: 86px 1fr; gap: 16px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .about-photo { margin-top: -46px; }
  .about-body { padding-top: 20px; }
  .about-photo-sm { margin-left: 0; }
  .bp-sub { left: auto; right: -6px; }
  .hero-en { font-size: 17vw; }
}
