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

:root {
  /* —— 2026-10-27 主色改造：黑色工业调 → 米白 + 自然绿中性调 —— */
  --ink: #2b3a2f;
  --ink-2: #33463a;
  --paper: #faf8f2;        /* 页面主底：暖米白 */
  --paper-2: #f3f0e7;      /* 浅色分区底：米灰 */
  --gray: #f3f0e7;
  --line: #e3ded1;
  --t1: #2a362d;           /* 主文字：深墨绿黑，不用纯黑 */
  --t2: #5c675e;
  --t3: #8e968b;
  --green: #4f6b54;        /* 主品牌绿：CTA / 标签 / 图标 */
  --green-2: #6e8e72;
  --green-deep: #2e4034;   /* 深色板块底：墨绿替代纯黑 */
  --green-pale: #e7ede2;   /* 浅绿：卡片 / 品牌板块底 */
  --on-dark: #f2efe6;      /* 深底文字：暖白 */
  --on-dark-2: #b9c4b6;    /* 深底次级文字 */
  --hsx: #4f6b54;          /* 徽山喜品牌色（由松石绿改为自然绿，与全站统一） */
  --hsx-2: #6e8e72;
  --amber: #b08a5e;        /* 暖驼：原琥珀降饱和 */
  --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; }
section[id] { scroll-margin-top: 78px; }   /* 锚点跳转时避开固定导航 */
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: var(--on-dark); }
.sec-head.dark .h2 small { color: var(--on-dark-2); }
.sec-sub { margin-top: 16px; color: var(--t2); font-size: 15.5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border: 1px solid var(--on-dark); border-radius: 6px;
  font-size: 14px; letter-spacing: .18em; color: var(--on-dark); transition: all .25s ease;
}
.btn.solid { background: var(--on-dark); color: var(--ink); font-weight: 700; }
.btn.solid:hover { background: transparent; color: var(--on-dark); }
.btn.ghost:hover { background: var(--on-dark); color: var(--ink); }
.btn.ghost.dark { border-color: rgba(242,239,230,.34); color: var(--on-dark); }
.btn.ghost.dark:hover { border-color: var(--green-pale); color: var(--green-pale); background: rgba(242,239,230,.10); }
.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(46,64,52,.97); box-shadow: 0 1px 0 rgba(242,239,230,.12); }
.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-img { height: 44px; width: auto; }

.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: 12px; 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(46,64,52,.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: var(--on-dark); font-size: 24px; font-weight: 700; letter-spacing: .1em; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }

/* ============================================================
   HERO
   ============================================================ */
/* 首屏高度用 px 封顶（不是纯 vh）：缩放时才会跟着页面一起变小，而不是永远贴着窗口 */
.hero { position: relative; min-height: 100vh; min-height: min(100svh, 900px); display: flex; align-items: center; overflow: hidden; background: var(--green-deep); }
.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-rice-field.jpg"); }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-veil {
  position: absolute; inset: 0;
  /* 竖向：底部收成纯墨绿 #2e4034，与下方门头照顶部的同色渐变首尾同色，两张图之间没有接缝 */
  background: linear-gradient(180deg,
    rgba(28,40,32,.46) 0%, rgba(28,40,32,.18) 46%, rgba(38,53,43,.85) 80%, #2e4034 90%);
}
/* 横向：左侧压暗保住文字对比度（≥4.5:1），右半张图通透；
   用 mask 让它到 72% 高度后渐隐 —— 否则会把底部也压暗，接缝处比下方照片深一档而露出横线 */
.hero-veil::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(20,30,24,.62) 0%, rgba(20,30,24,.40) 34%, rgba(20,30,24,.12) 60%, rgba(20,30,24,0) 80%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 72%, transparent 92%);
}
.hero-in { position: relative; z-index: 2; padding: 110px clamp(20px, 7vw, 110px) 120px; max-width: 1400px; }
.hero-eyebrow { color: rgba(242,239,230,.76); font-size: 12.5px; letter-spacing: .42em; margin-bottom: 22px; }
.hero-sub {
  margin-top: 0; color: rgba(242,239,230,.88); font-size: clamp(15px, 1.4vw, 18px); line-height: 2;
  letter-spacing: .06em; max-width: 660px;
}
/* 仅供搜索引擎/读屏的标题：视觉上隐藏 */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.scroll-cue {
  position: absolute; z-index: 3; right: clamp(20px, 4vw, 60px); bottom: 34px;
  width: 26px; height: 44px; border: 1px solid rgba(242,239,230,.55); 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; } }

/* ============================================================
   公司介绍
   ============================================================ */
.about { background: var(--paper); --pad-x: clamp(20px, 7vw, 110px); padding: 0 var(--pad-x) clamp(70px, 8vw, 120px); }
/* 通栏厂区实景：永远通栏（宽度 100%），高度按 16:9 自然撑开 ——
   既不用 max-height（会把图压扁），也不用限宽（会露出两侧白边） */
.about-hero {
  position: relative;
  margin-top: 0;   /* 2026-10-27：过渡带已删，门头照紧接首屏，靠 ::before 渐变从暗部自然渐入 */
  margin-inline: calc(var(--pad-x) * -1);
}
.about-hero img {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  /* 高度上限 1080px（≈1080p 屏幕高度）：
     ① 1440×900 自然 810、1920×1080 自然 1080 —— 常见桌面观感完全不变；
     ② 浏览器缩小到 50%/25% 时图跟着物理变小，不会出现"首屏缩成一条、照片还顶满整屏"；
     ③ 配合 cover 裁切（宽度始终 100%），左右永不露白边。 */
  max-height: min(1080px, 100svh);
  object-fit: cover; object-position: center 72%;
}
/* 顶部渐变：黑色过渡带 → 照片，去掉一刀切的硬边 */
.about-hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  height: clamp(110px, 14vw, 230px); pointer-events: none;
  background: linear-gradient(180deg,
    var(--green-deep) 0%, rgba(46,64,52,.92) 16%, rgba(46,64,52,.66) 42%,
    rgba(46,64,52,.30) 68%, rgba(46,64,52,0) 100%);
}
.about-hero figcaption {
  margin: 14px var(--pad-x) 0; font-size: 12px; letter-spacing: .16em; color: var(--t3);
}
/* 超宽扁窗口（视口宽高比 ≥ 2:1，含浏览器缩到 25%~50%、带鱼屏）：
   16:9 会让门头照长到一两屏高（实测 4320×2076 时占 119%、3440×1000 时占 197%），
   高度封顶 72svh —— 宽度仍 100% 通栏（cover 裁切，左右不露白边）；首屏同步给个相对下限，不被压成一条 */
@media (min-aspect-ratio: 2 / 1) {
  .hero { min-height: min(86svh, 1200px); }
  .about-hero img { max-height: 72svh; }
}
.about-grid {
  display: grid; grid-template-columns: minmax(280px, 400px) 1fr;
  gap: clamp(28px, 5vw, 72px); align-items: start;
  margin-top: clamp(40px, 5vw, 68px);
}
.about-photo-sm img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-body { max-width: 660px; }
.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: 0; }

.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(24px, 2.4vw, 34px); font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.stats i { font-style: normal; font-size: 12.5px; color: var(--t3); letter-spacing: .14em; }
.stats sup { font-size: .52em; font-weight: 700; vertical-align: baseline; color: var(--green); }
/* 使命愿景（about 区收尾小字） */
.about-vision { margin-top: 26px; font-size: 13px; line-height: 1.9; color: var(--t3); letter-spacing: .04em; }

/* ============================================================
   发展历程 · 年份轴（2026-10-27 改版）
   原 3 列 × 4 行卡片网格（桌面 1298px / 手机 2219px）
   → 单行年份轴 + 单卡轮播（一次只出一条，自动切换，高度压到约 500px）
   ============================================================ */
.history { background: var(--green-deep); color: var(--on-dark); padding: clamp(50px, 5vw, 72px) 0; }
.history .sec-head { margin-bottom: clamp(22px, 2.6vw, 34px); }
.tl { padding: 0 clamp(20px, 7vw, 110px); }

/* ---------- 年份轴 ---------- */
.tl-axis { display: flex; align-items: flex-start; gap: 18px; }
.tl-rail {
  flex: 1 1 auto; min-width: 0;
  padding-top: 23px;               /* 给上方关键年份标注留出空间（overflow 会裁掉负偏移） */
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}
.tl-rail::-webkit-scrollbar { display: none; }
.tl-years { position: relative; display: flex; justify-content: space-between; padding: 0 4px; }
/* 底线：两端各留 8px，避免线头越过首尾节点 */
.tl-years::before {
  content: ""; position: absolute; top: 4px; height: 1px;
  left: var(--tl-line-l, 8px); right: var(--tl-line-r, 8px);
  background: rgba(242,239,230,.18);
}
/* 进度：随自动播放线性推进到下一个年份（"自动滚动"的视觉） */
.tl-fill {
  position: absolute; left: var(--tl-line-l, 8px); top: 4px; height: 1px; width: 0;
  max-width: calc(100% - var(--tl-line-l, 8px) - var(--tl-line-r, 8px));
  background: linear-gradient(90deg, rgba(201,161,115,.35) 0%, rgba(201,161,115,.95) 96%);
  transition: width var(--tl-dur, 480ms) linear, opacity .28s ease;
}
.tl-year {
  flex: none; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  padding: 0; border: 0; background: none; cursor: pointer;
  color: rgba(242,239,230,.6);
  font-family: var(--sans); font-size: clamp(12.5px, 1vw, 14.5px);
  letter-spacing: .05em; line-height: 1; font-weight: 400;
  transition: color .25s ease;
}
.tl-year::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(242,239,230,.26);
  transition: background .25s ease, box-shadow .25s ease;
}
.tl-year:hover { color: var(--on-dark); }
.tl-year:hover::before { background: var(--amber); }
.tl-year.is-active { color: var(--amber); }
.tl-year.is-active::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(176,138,94,.2); }
.tl-year:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; border-radius: 2px; }

/* ---------- 关键年份标注（2015 始创 / 2021 成立 / 2022 认证 / 2024 专利 / 2026 换证） ---------- */
.tl-flag {
  position: absolute; left: 50%; top: -19px; transform: translateX(-50%);
  font-style: normal; font-size: 12px; line-height: 1; letter-spacing: .1em;
  color: var(--amber); white-space: nowrap; opacity: .92;
}

/* ---------- 播放/暂停（WCAG 2.2.2：自动播放内容必须可暂停） ---------- */
.tl-toggle {
  flex: none; width: 26px; height: 26px; margin-top: -6px;
  display: grid; place-items: center;
  border: 1px solid rgba(242,239,230,.22); border-radius: 50%;
  background: transparent; color: var(--on-dark-2); cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.tl-toggle:hover { color: var(--amber); border-color: rgba(176,138,94,.65); }
.tl-toggle:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.tl-toggle svg { width: 11px; height: 11px; fill: currentColor; }
.tl-toggle .i-play { display: none; }
.tl-toggle.is-paused .i-pause { display: none; }
.tl-toggle.is-paused .i-play { display: block; }

/* ---------- 内容卡：一次只出一条 ---------- */
.tl-body { margin-top: clamp(22px, 2.6vw, 32px); }
.tl-panel {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(242,239,230,.14); border-radius: 6px;
  background:
    linear-gradient(var(--amber), var(--amber)) 0 0 / 52px 3px no-repeat,
    rgba(242,239,230,.05);
  animation: tlIn .45s cubic-bezier(.2,.72,.24,1) both;
}
.tl-panel[hidden] { display: none; }
@keyframes tlIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tl-big {
  font-family: var(--serif); font-weight: 400; color: var(--amber);
  font-size: clamp(38px, 4.2vw, 58px); line-height: 1; letter-spacing: .01em;
  padding-right: clamp(20px, 2.6vw, 40px);
  border-right: 1px solid rgba(242,239,230,.16);
}
.tl-txt { padding-left: clamp(20px, 2.6vw, 40px); min-width: 0; }
.tl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; }
.tl-head h3 { font-size: clamp(15.5px, 1.3vw, 17px); letter-spacing: .06em; line-height: 1.4; }
.tl-cnt { flex: none; font-size: 12px; letter-spacing: .16em; color: var(--on-dark-2); opacity: .62; }
.tl-panel p { margin-top: 9px; color: var(--on-dark-2); font-size: 13.5px; line-height: 1.85; max-width: 72ch; }

/* ============================================================
   全幅横幅
   ============================================================ */
.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(28,40,32,.52); }
.banner p { color: var(--on-dark); font-size: clamp(20px, 2.8vw, 34px); font-weight: 700; letter-spacing: .12em; }
.banner cite { display: block; margin-top: 16px; color: rgba(242,239,230,.7); font-size: 13.5px; letter-spacing: .22em; font-style: normal; }

/* ============================================================
   产品介绍
   ============================================================ */
.products { padding: clamp(70px, 9vw, 120px) 0; background: var(--paper); }
.prod-label {
  padding: 0 clamp(20px, 7vw, 110px);
  font-size: 12px; letter-spacing: .3em; color: var(--t3);
  margin-bottom: 18px;
}
.prod-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.6vw, 34px); padding: 0 clamp(20px, 7vw, 110px);
}
.prod-grid + .prod-label { margin-top: clamp(46px, 6vw, 76px); }
.prod-card { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: box-shadow .3s, transform .3s; }
.prod-card:hover { box-shadow: 0 26px 60px -24px rgba(46,64,52,.24); transform: translateY(-4px); }
/* 图在左（约占 4 成）、文字介绍在右 —— 图更小、信息更贴近 */
.prod-card figure { position: relative; flex: 0 0 40%; overflow: hidden; background: #fbfaf5; }
.prod-card figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prod-card:hover img { transform: scale(1.05); }
.pc-body { flex: 1; padding: clamp(16px, 1.8vw, 22px) clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 24px); min-width: 0; }
.pc-tag { font-style: normal; font-size: 12px; letter-spacing: .18em; color: var(--hsx); border: 1px solid currentColor; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pc-body h3 { margin-top: 12px; font-size: 18px; letter-spacing: .06em; }
.pc-body p { margin-top: 7px; color: var(--t2); font-size: 13.2px; line-height: 1.75; text-align: justify; }

/* ============================================================
   服务领域
   ============================================================ */
/* ============================================================
   资质与认证
   ============================================================ */
.certs { background: var(--paper); padding: clamp(70px, 9vw, 120px) 0; }
.cert-list {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  padding: 0 clamp(20px, 7vw, 110px);
}
.cert-list li {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--amber);
  border-radius: 6px;
  padding: clamp(18px, 2vw, 26px); display: flex; flex-direction: column; gap: 9px;
}
.cert-list b { font-size: 14.5px; letter-spacing: .06em; color: var(--ink); font-weight: 800; }
.cert-list span { font-size: 12.5px; line-height: 1.7; color: var(--t3); letter-spacing: .02em; word-break: break-word; }

.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(--green); border-radius: 0 0 8px 8px; transition: transform .3s, border-color .3s; }
.srv-card:hover { transform: translateY(-5px); border-top-color: var(--green-2); }
.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: linear-gradient(180deg, #f1f4ec 0%, var(--green-pale) 100%); color: var(--t1); 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(79,107,84,.09); 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(--green); 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(42,54,45,.42); margin-top: 12px; }
.brand-slogan { margin-top: 20px; font-size: clamp(17px, 1.8vw, 23px); letter-spacing: .22em; color: var(--green); }
.brand .para { color: var(--t2); max-width: 560px; }
.brand-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
/* 徽山喜板块已由深底改为浅绿底，按钮需反转为墨绿描边（否则暖白按钮在浅底上看不见） */
.brand .btn.ghost.dark { border-color: var(--green); color: var(--green); }
.brand .btn.ghost.dark:hover { border-color: var(--green); color: #fff; background: var(--green); }

.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(136px, 29%, 196px);
  aspect-ratio: 3 / 4; object-fit: cover; object-position: center;
  /* 不描深色边框：这张图本身是亮金底，4px 近黑框压在照片上就是一圈生硬黑边。
     改用「柔和大投影 + 1px 半透明白细线」，细线由 box-shadow spread 实现（不占布局），图自然浮起。 */
  border: 0;
  box-shadow:
    0 30px 64px -26px rgba(46,64,52,.34),
    0 0 0 1px rgba(255,255,255,.6);
}

/* ============================================================
   联系我们 / 页脚
   ============================================================ */
.contact { background: var(--green-deep); color: var(--on-dark); }
.ct-in { padding: clamp(70px, 9vw, 120px) clamp(20px, 7vw, 110px) clamp(40px, 5vw, 60px); }
.ct-eyebrow { color: var(--on-dark-2); 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, 56px);
  display: grid; grid-template-columns: minmax(0, 480px); gap: 26px;
  border-top: 1px solid rgba(242,239,230,.14); padding-top: 30px;
}
.ct-grid b { display: block; font-size: 12px; letter-spacing: .28em; color: var(--on-dark-2); margin-bottom: 12px; }
.ct-grid p { font-size: 14px; color: #d6dbd0; line-height: 2; }
/* 公司地址 → 高德地图（URI 链接，免 key；手机端 callnative=1 可唤起高德 App） */
.addr-link {
  display: inline-block; max-width: 100%;
  color: inherit;
  /* 用 text-decoration 而不是 border-bottom：虚线只跟着文字走，窄屏换行不会拉出一条通栏虚线 */
  text-decoration: underline dashed rgba(255,255,255,.35);
  text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color .2s, text-decoration-color .2s;
}
.addr-link:hover { color: var(--green-pale); text-decoration-color: var(--green-pale); }
.addr-link .amap-tag {
  display: inline-block; margin-left: 10px; font-style: normal;
  font-size: 12px; letter-spacing: .1em; color: var(--green-pale); opacity: .85;
  transition: opacity .2s;
}
.addr-link:hover .amap-tag { opacity: 1; }
@media (max-width: 560px) {
  .addr-link .amap-tag { display: block; margin-left: 0; margin-top: 4px; }  /* 窄屏换行时标签独立一行，虚线不断成两截 */
}
/* 商务合作独立板块：电话/邮箱可点、字号克制不抢戏 */
.ct-cta {
  margin-top: 30px;
  border: 1px solid rgba(242,239,230,.16); border-left: 3px solid var(--green-2);
  background: rgba(242,239,230,.05); border-radius: 6px;
  padding: clamp(22px, 2.6vw, 32px) clamp(20px, 2.4vw, 30px);
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.ctc-label { font-size: 12px; letter-spacing: .32em; color: var(--on-dark-2); }
.ctc-links { display: flex; gap: clamp(18px, 3vw, 44px); flex-wrap: wrap; }
.ctc-links a { display: flex; flex-direction: column; gap: 3px; color: var(--on-dark); font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .04em; transition: color .25s; }
.ctc-links a i { font-style: normal; font-size: 11.5px; letter-spacing: .18em; color: var(--on-dark-2); }
.ctc-links a:hover { color: var(--green-pale); }
.ft-bar {
  border-top: 1px solid rgba(242,239,230,.12);
  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: #96a294; letter-spacing: .08em; }
/* 页脚版权行＝隐蔽暗门落点：去掉手机点击高亮与文字选中，点起来与普通文字无异 */
.ft-bar .ft-copy { -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; }
.ft-bar .icp { color: #7b8a79; }
.ft-bar .police { color: #7b8a79; }
.ft-bar .police a { color: inherit; border-bottom: 1px solid rgba(242,239,230,.18); }
.ft-bar .police a:hover { color: var(--green-pale); border-bottom-color: var(--green-pale); }
.ft-bar .icp a { color: inherit; border-bottom: 1px solid rgba(242,239,230,.18); transition: color .25s, border-color .25s; }
.ft-bar .icp a:hover { color: var(--green-pale); border-color: var(--green-pale); }

/* ============================================================
   入场动画
   ============================================================ */
.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.d5 { transition-delay: .5s; } .reveal.d6 { transition-delay: .6s; }
.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-sm { max-width: 420px; }
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-list { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: 1fr; }
  .brand-photo { order: -1; max-width: 640px; }
  .ct-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .links { display: none; }
  .logo-img { height: 34px; }
  .tool-btn span { display: none; }
  .tool-btn { padding: 8px; border: 0; }
  /* 手机上文字占满宽度，横向遮罩会导致左黑右亮 → 竖向加深一档保对比度 */
  .hero-veil { background: linear-gradient(180deg, rgba(24,34,28,.60) 0%, rgba(24,34,28,.42) 46%, rgba(36,50,40,.86) 87%, #2e4034 95%); }
  .hero-veil::before { display: none; }   /* 手机上文字占满宽度，不需要横向遮罩 */
  .burger { display: flex; }
  .nav.scrolled { background: rgba(46,64,52,.97); }

  .hero-in { padding-bottom: 120px; }
  .pc-br { display: none; }
  .prod-grid { grid-template-columns: 1fr; max-width: min(480px, 56svh); margin: 0 auto; }
  .prod-card figure { flex-basis: 38%; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .about-hero { margin-top: 0; }
  .about-hero img { aspect-ratio: 4 / 3; }   /* 默认 4:3，扁窗口由下方 orientation 规则改回 16:9 */
  .about-body { padding-top: 8px; }
  .bp-sub { left: auto; right: -6px; }
  /* 年份轴：一行 10 个放不下 → 改 5×2 年份网格，10 个年份全部可见、不横滚 */
  .tl-rail { overflow: visible; padding-top: 4px; }
  .tl-axis { align-items: flex-start; gap: 14px; }
  .tl-years { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px 0; padding: 0; }
  .tl-years::before, .tl-fill { display: none; }
  /* 每格预留 17px 标注位，保证同一行的年份仍在同一基线上 */
  .tl-year { font-size: 12.5px; padding: 17px 0 7px; border-bottom: 2px solid transparent; }
  .tl-year::before { display: none; }
  .tl-year.is-active { border-bottom-color: var(--amber); }
  .tl-flag { top: 0; letter-spacing: .02em; }
  .tl-toggle { margin-top: -3px; }
  /* 窄屏内容卡改上下排列，年份横置 */
  .tl-panel { grid-template-columns: 1fr; align-items: start; }
  .tl-big { font-size: 34px; line-height: 1; padding: 0 0 12px; border-right: 0;
    border-bottom: 1px solid rgba(242,239,230,.16); }
  .tl-txt { padding: 12px 0 0; }
  .tl-panel p { font-size: 13px; }
}
/* ⚠️ 下面两条必须排在 max-width:860px 的 4:3 之后，否则同优先级会被 4:3 盖掉（2026-10-27 修） */
/* 窄而扁的窗口（手机横屏、浏览器放大到 200%~300%）：回到 16:9，不能沿用竖屏的 4:3 */
@media (max-width: 860px) and (min-aspect-ratio: 1 / 1) {
  .about-hero img { aspect-ratio: 16 / 9; object-position: 50% 72%; }
}
/* 竖屏手机上 4:3 会横向裁掉约 1/4 宽度，门头照右侧的「太古风华(黄山)酿造有限公司」招牌会被切掉，
   焦点右移（16:9 时不裁切，这条不产生副作用） */
@media (max-width: 860px) and (max-aspect-ratio: 1 / 1) {
  .about-hero img { object-position: 88% 72%; }
}

@media (max-width: 560px) {
  .cert-list { grid-template-columns: 1fr; }
  .ct-cta { flex-direction: column; align-items: flex-start; }
  .ctc-label { letter-spacing: .12em; font-size: 12px; }
  .ctc-links { gap: 16px 28px; }
  .stats b { font-size: 26px; }
}

/* ============================================================
   比例自适应（2026-10-23 规则 · 全站硬约束）
   任何屏幕宽度 / 任何浏览器缩放比例下必须满足：
     ① 不出现横向滚动条
     ② 单张图片高度不超过视口的 72%，图不会把文字挤出屏幕
     ③ 正文字号不小于 12px，缩放后依然读得清
     ④ 手机端不放大文字（关掉系统文字自动放大，按设计稿比例走）
   ============================================================ */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { overflow-x: clip; }          /* 兜底：装饰性元素不外溢造成横向滚动 */
img, video, svg, canvas { max-width: 100%; }

/* —— 图片高度封顶一律"限制宽度"实现，保持原始比例（用 max-height 会把图压扁）—— */
.about-photo-sm img { max-height: 58svh; width: auto; max-width: 100%; }
.brand-photo { max-width: min(640px, 62svh); }
.banner { min-height: clamp(240px, 34svh, 380px); }

/* —— 超宽视口（带鱼屏 / 缩到 50% 以下）：用 cover 平铺 + 调整焦点，不再 contain ——
   2026-10-27 换图后修正：contain 会让 16:9 背景图只占中间 44%，左右露出纯墨绿竖带、边缘硬切；
   cover 只裁上下，画面连续。焦点 45% 保住远山与雾，不把地平线压在正中 —— */
@media (min-aspect-ratio: 7 / 3) {
  .hero-bg { background-position: center 45%; }
}

/* —— 矮视口（笔记本缩放 150%+ / 手机横屏）：收紧首屏留白，标题+按钮同屏可见 —— */
@media (max-height: 660px) {
  /* 2026-10-27：标题与按钮已删，内容变矮；不再用 auto，否则矮窗口下首屏会缩成一条 */
  .hero { min-height: min(100svh, 560px); }
  .hero-in {
    padding: clamp(84px, 13vh, 110px) clamp(20px, 7vw, 110px) clamp(84px, 15vh, 120px);
  }
  .hero-sub { margin-top: 14px; }
  .scroll-cue { display: none; }
}

/* —— 窄视口：方形产品图按视口高度收边（方图高度≈卡片宽度）—— */
@media (max-width: 860px) {
  .prod-grid { max-width: min(480px, 56svh); }
  .about-photo-sm { max-width: min(420px, 56svh); }
  .brand-photo { max-width: min(640px, 56svh); }
}


/* ============================================================
   合作客户（2026-11-03 v2 · 六个大牌居中静止 + 上下两条 logo 环流）
   ============================================================ */
.clients { background: var(--paper); padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); }

/* —— 环绕容器：两条 logo 带从中间面板背后穿过，左右两侧都露出来 —— */
.cl-wrap { position: relative; }

.cl-band { overflow: hidden; }
.cl-band--top { position: absolute; top: clamp(14px, 1.8vw, 22px); left: 0; right: 0; z-index: 1; }
.cl-band--bottom { position: absolute; bottom: clamp(14px, 1.8vw, 22px); left: 0; right: 0; z-index: 1; }

/* —— 中间主位：六个高认知品牌，静止不动 —— */
.cl-core {
  position: relative; z-index: 2;
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(8px, 1vw, 12px);
  max-width: min(514px, 86vw);
  margin: clamp(34px, 4vw, 48px) auto;
  padding: clamp(10px, 1.2vw, 15px);
  background: var(--paper);
  border-radius: 18px;
}
/* 面板左右各一段渐隐，让背后的 logo 在贴近面板时柔和消失，而不是被硬切一半 */
.cl-core::before, .cl-core::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: clamp(56px, 8vw, 104px);
  pointer-events: none;
}
.cl-core::before { right: 100%; background: linear-gradient(270deg, var(--paper) 0%, rgba(250,248,242,0) 100%); }
.cl-core::after  { left: 100%;  background: linear-gradient(90deg,  var(--paper) 0%, rgba(250,248,242,0) 100%); }
.cl-core .cl-card {
  display: flex; align-items: center; justify-content: center;
  height: clamp(72px, 6.2vw, 86px);
  padding: clamp(8px, 1vw, 12px);
  background: #fff; border: 1px solid var(--line); border-radius: 11px;
  box-shadow: 0 8px 20px rgba(46,64,52,.06);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}
.cl-core .cl-card img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.cl-core .cl-card:hover { transform: translateY(-3px); border-color: var(--green-2); box-shadow: 0 14px 26px rgba(46,64,52,.10); }
.cl-card--zoom img { transform: scale(1.1); }

/* —— 环流带：其余客户从上下两侧绕过主位 —— */
.cl-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.cl-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; width: max-content;
  /* 每带 3 份内容，位移一份(33.3333%)即完成一轮 → 首尾画面完全一致，看不出接缝 */
  animation: cl-marq 26s linear infinite;
  will-change: transform;
}
/* 下带反向：顶部向左、底部向右，看起来像一整圈在绕着中间转 */
.cl-track.rev { animation-direction: reverse; animation-duration: 24s; animation-delay: -7s; }

@keyframes cl-marq {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-33.3333%, 0, 0); }
}

/* 悬停 / 键盘聚焦 / 出视口 / 手动 → 暂停 */
.cl-wrap:hover .cl-track,
.cl-wrap:focus-within .cl-track,
.cl-wrap.is-paused .cl-track,
.cl-wrap.is-user-paused .cl-track { animation-play-state: paused; }

/* 背景带里的卡片：更小、更淡，主动退到主位后面 */
/* 每带名单不同（上 11 / 下 10），间距按屏幕宽度自动撑开，
   保证「一份名单」的宽度始终 ≥ 屏幕宽度 —— 同一行里不会出现第二个同名 logo */
.cl-band--top .cl-item { --cl-n: 11; }
.cl-band--bottom .cl-item { --cl-n: 10; }
.cl-item {
  --cl-w: clamp(108px, 9.4vw, 144px);
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  width: var(--cl-w);
  height: clamp(60px, 5vw, 76px);
  margin-right: max(14px, calc((100vw - var(--cl-n) * var(--cl-w)) / (var(--cl-n) - 1)));
  padding: 0;
  background: none; border: 0;
  opacity: .68;
  transition: opacity .3s ease;
}
.cl-item img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.cl-item:hover { opacity: 1; }

/* 纯图形标（图内无字）：图形居中在上、名字在下，与其他 logo 排式统一 */
.cl-item--named { flex-direction: column; padding: 8px 10px 7px; }
.cl-item--named .cl-fig { flex: 1 1 auto; min-height: 0; width: 100%; display: flex; align-items: center; justify-content: center; }
.cl-name {
  flex: 0 0 auto; margin-top: 4px;
  font-size: 12px; line-height: 1.1; letter-spacing: .02em; font-weight: 500;
  color: #6b7a6d; white-space: nowrap;
}

.cl-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin: clamp(22px, 3vw, 32px) clamp(20px, 7vw, 110px) 0;
  padding-top: 18px; border-top: 1px solid var(--line);
}
.cl-toggle {
  font: inherit; font-size: 12px; letter-spacing: .04em; color: var(--green);
  background: none; border: 1px solid rgba(79,107,84,.24); border-radius: 999px;
  padding: 3px 11px; cursor: pointer; transition: border-color .25s ease, background .25s ease;
}
.cl-toggle:hover { border-color: var(--green); background: rgba(79,107,84,.06); }
.cl-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.cl-cta {
  font-size: 13.5px; letter-spacing: .05em; color: var(--green);
  border-bottom: 1px solid rgba(79,107,84,.28); padding-bottom: 2px;
  transition: border-color .25s ease, color .25s ease;
}
.cl-cta:hover { border-color: var(--green); }

/* 手机：核心六格 2×3，带更细 */
@media (max-width: 860px) {
  .cl-band--top, .cl-band--bottom { position: static; }
  .cl-core::before, .cl-core::after { display: none; }
  .cl-band--top { margin-bottom: clamp(18px, 3vw, 30px); }
  .cl-band--bottom { margin-top: clamp(18px, 3vw, 30px); }
  .cl-core { grid-template-columns: repeat(2, 1fr); max-width: min(346px, 90vw); gap: 8px; margin: 0 auto; padding: 10px; border-radius: 14px; }
  .cl-core .cl-card { height: 70px; padding: 8px; border-radius: 10px; }
  .cl-item { width: 100px; height: 62px; margin-right: 10px; }
  .cl-item--named { padding: 7px 9px 6px; }
  .cl-track { animation-duration: 18s; }
  .cl-track.rev { animation-duration: 17s; animation-delay: -5s; }
  .cl-foot { margin-left: 20px; margin-right: 20px; }
}

