/* ==========================================================================
   遵义凤凰山实业有限公司 · 官方网站
   品牌色取自官方 LOGO（青绿 #12A594 / 玫红 #E0407F）
   ========================================================================== */

:root {
  /* 品牌 */
  --brand: #12A594;
  --brand-d: #0A7F72;
  --brand-dd: #075048;
  --brand-deep: #06302C;
  --brand-tint: #E8F6F3;
  --gold: #C9A227;
  --rose: #E0407F;

  /* 中性 */
  --ink: #0B2622;
  --text: #33443F;
  --text-2: #6B807A;
  --line: #DFEDE9;
  --bg: #FFFFFF;
  --bg-2: #F5FAF9;
  --bg-3: #EDF5F3;

  /* 尺寸 */
  --maxw: 1240px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(6, 60, 52, .06);
  --shadow-md: 0 10px 30px rgba(6, 60, 52, .09);
  --shadow-lg: 0 22px 60px rgba(6, 60, 52, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  /* 兜底：万一后续新增内容撑破视口，也不会出现横向滚动条。
     用 clip 而不是 hidden —— clip 不会把 html 变成滚动容器，sticky 导航不受影响。 */
  overflow-x: clip;
}

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; outline: none; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.32; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============================ 顶部条 ============================ */
.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .82);
  font-size: 13.5px;
  letter-spacing: .02em;
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 40px; gap: 16px;
}
.topbar-left { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar-item svg { width: 14px; height: 14px; flex: none; opacity: .85; }
.topbar-right { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.topbar-right .tel { color: #fff; letter-spacing: .04em; }
.topbar-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  padding: 3px 10px; border-radius: 100px; font-size: 12.5px;
}

/* ============================ 导航 ============================ */
.site-header { position: sticky; top: 0; z-index: 90; }
.nav {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 13px; flex: none; }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b { font-size: 17px; color: var(--ink); letter-spacing: .02em; }
.brand-text span { font-size: 11.5px; color: var(--text-2); letter-spacing: .14em; text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > li > a {
  display: block; padding: 10px 17px; border-radius: 100px;
  font-size: 15.5px; font-weight: 500; color: var(--text); position: relative;
}
.menu > li > a::after {
  content: ''; position: absolute; left: 50%; bottom: 4px; width: 0; height: 2px;
  background: var(--brand); border-radius: 2px; transform: translateX(-50%);
  transition: width .3s var(--ease);
}
.menu > li > a:hover { color: var(--brand-d); }
.menu > li > a:hover::after { width: 20px; }
.menu > li > a.active { color: var(--brand-d); font-weight: 600; }
.menu > li > a.active::after { width: 20px; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-d) 100%);
  color: #fff; font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 100px;
  box-shadow: 0 6px 18px rgba(18, 165, 148, .32);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(18, 165, 148, .42); color: #fff; }
.nav-cta svg { width: 16px; height: 16px; }

.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; flex: none;
}
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.burger.on span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================ Hero ============================ */
.hero {
  position: relative; min-height: 640px; height: 86vh; max-height: 860px;
  display: flex; align-items: center; overflow: hidden;
  background: var(--brand-deep);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(4, 44, 40, .93) 0%, rgba(6, 60, 54, .78) 38%, rgba(6, 60, 54, .28) 66%, rgba(6, 60, 54, .1) 100%),
    linear-gradient(to top, rgba(4, 40, 36, .6) 0%, transparent 42%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(6px);
  color: #EAFBF7; font-size: 13.5px; letter-spacing: .06em; font-weight: 500;
  padding: 7px 16px 7px 12px; border-radius: 100px; margin-bottom: 26px;
}
.hero-tag i {
  width: 7px; height: 7px; border-radius: 50%; background: #4FE3C8;
  box-shadow: 0 0 0 4px rgba(79, 227, 200, .22);
}
.hero h1 {
  color: #fff; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.18;
  letter-spacing: -.02em; font-weight: 800; margin-bottom: 8px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .28);
}
.hero h1 em { font-style: normal; color: #6FE9D2; }
.hero-sub {
  color: rgba(255, 255, 255, .92); font-size: clamp(17px, 2vw, 22px);
  font-weight: 500; letter-spacing: .04em; margin-bottom: 20px;
}
.hero-desc {
  color: rgba(255, 255, 255, .8); font-size: 16px; max-width: 640px;
  line-height: 1.9; margin-bottom: 34px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 30px; border-radius: 100px; font-size: 15.5px; font-weight: 600;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
  background: linear-gradient(135deg, #16B8A5 0%, #0B8A7C 100%);
  color: #fff; box-shadow: 0 10px 26px rgba(18, 165, 148, .38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 165, 148, .48); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .95); color: var(--brand-dd); transform: translateY(-3px); }
.btn-outline { border-color: var(--line); color: var(--brand-d); background: #fff; }
.btn-outline:hover { border-color: var(--brand); background: var(--brand-tint); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--brand-dd); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* 数据条 */
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(4, 40, 36, .42); backdrop-filter: blur(12px);
}
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 22px 8px 22px 0; border-right: 1px solid rgba(255, 255, 255, .12); padding-left: 26px; }
.stat:last-child { border-right: 0; }
.stat b { display: block; color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; white-space: nowrap; }
.stat b i { font-style: normal; font-size: .56em; font-weight: 600; margin-left: 3px; color: #6FE9D2; }
.stat span { display: block; color: rgba(255, 255, 255, .72); font-size: 13.5px; letter-spacing: .04em; }

/* ============================ 通用区块 ============================ */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.tint { background: var(--bg-2); }
.section.dark { background: var(--brand-deep); color: rgba(255, 255, 255, .78); }
.section.dark h2, .section.dark h3 { color: #fff; }

.head { max-width: 720px; margin-bottom: 54px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head .eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--brand-d); font-size: 13.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px;
}
.head .eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.head.center .eyebrow::after { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section.dark .head .eyebrow { color: #6FE9D2; }
.section.dark .head .eyebrow::before, .section.dark .head .eyebrow::after { background: #6FE9D2; }
.head h2 { font-size: clamp(27px, 3.4vw, 40px); margin-bottom: 16px; }
.head p { color: var(--text-2); font-size: 16.5px; line-height: 1.95; }
.section.dark .head p { color: rgba(255, 255, 255, .68); }

/* ============================ 关于预览 ============================ */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-media .badge {
  position: absolute; right: -18px; bottom: -18px;
  background: #fff; border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-lg); text-align: center; border: 1px solid var(--line);
}
.about-media .badge b { display: block; font-size: 30px; color: var(--brand-d); font-weight: 800; line-height: 1.1; }
.about-media .badge span { font-size: 12.5px; color: var(--text-2); letter-spacing: .06em; }
.about-media::before {
  content: ''; position: absolute; left: -20px; top: -20px; width: 120px; height: 120px;
  border-radius: 20px; border: 2px solid var(--brand-tint); z-index: -1;
}
.about-body h2 { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 20px; }
.about-body p { color: var(--text-2); line-height: 1.95; margin-bottom: 16px; }
.about-body strong { color: var(--brand-d); font-weight: 700; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }
.about-points li {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; font-size: 14.5px; color: var(--text);
}
.about-points svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--brand); }

/* ============================ 产品 ============================ */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prod-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-thumb {
  position: relative; background: linear-gradient(180deg, #F7FCFB 0%, #EAF5F2 100%);
  aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.prod-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 22px; transition: transform .5s var(--ease); }
.prod-card:hover .prod-thumb img { transform: scale(1.06); }
.prod-thumb .tag {
  position: absolute; left: 14px; top: 14px;
  background: var(--brand); color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .04em; padding: 4px 11px; border-radius: 100px;
}
.prod-thumb .tag.gold { background: var(--gold); }
.prod-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-body h3 { font-size: 19px; margin-bottom: 7px; }
.prod-body .cap { color: var(--brand-d); font-size: 13px; font-weight: 600; letter-spacing: .05em; margin-bottom: 10px; }
.prod-body p { color: var(--text-2); font-size: 14.5px; line-height: 1.8; flex: 1; }

/* 产品系列分组 */
.series { margin-bottom: 70px; }
.series:last-child { margin-bottom: 0; }
.series-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.series-head h2 { font-size: clamp(23px, 2.6vw, 30px); }
.series-head h2 small { display: block; font-size: 13.5px; font-weight: 600; color: var(--brand-d); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.series-head p { color: var(--text-2); font-size: 15px; max-width: 520px; text-align: right; }

/* ============================ 生产实力 ============================ */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 8px; }
.cap-card {
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-md); padding: 28px 24px;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.cap-card:hover { background: rgba(255, 255, 255, .1); transform: translateY(-5px); }
.cap-card .ico {
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(111, 233, 210, .22) 0%, rgba(18, 165, 148, .18) 100%);
  border: 1px solid rgba(111, 233, 210, .3);
  display: flex; align-items: center; justify-content: center;
}
.cap-card .ico svg { width: 24px; height: 24px; color: #6FE9D2; }
.cap-card h3 { font-size: 18px; margin-bottom: 9px; color: #fff; }
.cap-card p { color: rgba(255, 255, 255, .66); font-size: 14.5px; line-height: 1.8; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.gallery figure { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-3); margin: 0; box-shadow: 0 1px 3px rgba(6, 60, 52, .07), inset 0 0 0 1px rgba(6, 60, 52, .09); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.07); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 18px 15px; color: #fff; font-size: 14.5px; font-weight: 500;
  background: linear-gradient(to top, rgba(4, 40, 36, .88), transparent);
}

/* ============================ 发展历程 ============================ */
.timeline { position: relative; padding-left: 8px; }
.timeline::before {
  content: ''; position: absolute; left: 78px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--brand-tint), var(--brand), var(--brand-tint));
}
.tl-item { display: grid; grid-template-columns: 70px 40px 1fr; gap: 0; padding: 17px 0; align-items: start; }
.tl-year { font-size: 18px; font-weight: 800; color: var(--brand-d); text-align: right; padding-top: 2px; letter-spacing: -.01em; }
.tl-dot { display: flex; justify-content: center; padding-top: 9px; }
.tl-dot i { width: 11px; height: 11px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 0 0 4px rgba(18, 165, 148, .1); }
.tl-item.hl .tl-dot i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 39, .14); }
.tl-item.hl .tl-year { color: #A5821A; }
.tl-text h4 { font-size: 16.5px; margin-bottom: 3px; }
.tl-text p { color: var(--text-2); font-size: 14.5px; line-height: 1.75; }

/* ============================ 荣誉 ============================ */
/* 跑马灯是 .section 的直接子元素（不在 .wrap 内），
   原先 margin:0 -24px 会让它比视口宽 48px —— 桌面被 body overflow-x 藏着，
   移动端就表现为整页横向溢出。改成内边距对齐内容区。 */
.honor-marquee { overflow: hidden; padding: 8px 24px 20px; }
.honor-track { display: flex; gap: 20px; width: max-content; animation: marquee 52s linear infinite; }
.honor-marquee:hover .honor-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.honor-track img {
  width: 268px; height: 201px; object-fit: contain; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px;
  box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease);
}
.honor-track img:hover { box-shadow: var(--shadow-md); }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.honor-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; cursor: zoom-in; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.honor-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.honor-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #FCFEFD; padding: 10px; }

.honor-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.honor-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 15px; line-height: 1.7;
}
.honor-list .num {
  flex: none; width: 24px; height: 24px; border-radius: 7px; margin-top: 3px;
  background: var(--brand-tint); color: var(--brand-d);
  font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ============================ 品质/工艺 ============================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 22px; position: relative; counter-increment: s;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step::before {
  content: counter(s, decimal-leading-zero);
  font-size: 30px; font-weight: 800; color: var(--brand-tint);
  display: block; line-height: 1; margin-bottom: 14px; letter-spacing: -.02em;
}
.step h4 { font-size: 16.5px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14px; line-height: 1.75; }

/* ============================ 社会责任 ============================ */
.csr { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; }
.csr-media img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.csr-body h2 { font-size: clamp(24px, 3vw, 36px); margin-bottom: 18px; }
.csr-body p { color: var(--text-2); line-height: 1.95; margin-bottom: 16px; }
.csr-nums { display: flex; gap: 40px; margin: 30px 0 6px; padding-top: 26px; border-top: 1px solid var(--line); }
.csr-nums div b { display: block; font-size: 32px; font-weight: 800; color: var(--brand-d); line-height: 1.2; }
.csr-nums div b i { font-style: normal; font-size: .55em; }
.csr-nums div span { font-size: 13.5px; color: var(--text-2); }

/* ============================ 联系 ============================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-list { display: grid; gap: 8px; margin-top: 30px; }
.contact-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list .ico {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  background: var(--brand-tint); color: var(--brand-d);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ico svg { width: 20px; height: 20px; }
.contact-list dt { font-size: 13.5px; color: var(--text-2); letter-spacing: .05em; margin-bottom: 4px; }
.contact-list dd { font-size: 16.5px; color: var(--ink); font-weight: 600; line-height: 1.6; }
.contact-list dd small { display: block; font-size: 14px; font-weight: 400; color: var(--text-2); margin-top: 2px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 38px 36px; box-shadow: var(--shadow-md); }
.form-card h3 { font-size: 22px; margin-bottom: 8px; }
.form-card > p { color: var(--text-2); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; color: var(--text); font-weight: 500; margin-bottom: 7px; }
.field label i { color: var(--rose); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border: 1px solid var(--line);
  border-radius: var(--r-sm); background: var(--bg-2); font-size: 15px;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px rgba(18, 165, 148, .1);
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B807A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 17px; padding-right: 40px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-note { font-size: 13px; color: var(--text-2); text-align: center; margin-top: 14px; line-height: 1.7; }
.form-msg { display: none; margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm); font-size: 14.5px; }
.form-msg.ok { display: block; background: var(--brand-tint); color: var(--brand-dd); border: 1px solid #B9E5DD; }
.form-msg.err { display: block; background: #FEF2F6; color: #A61E52; border: 1px solid #F7CBDC; }

/* ============================ 页面头部（内页） ============================ */
.page-hero {
  position: relative; height: 320px; display: flex; align-items: center;
  background: var(--brand-deep); overflow: hidden;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 44, 40, .92) 0%, rgba(5, 55, 49, .74) 48%, rgba(5, 55, 49, .42) 100%);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 10px; }
.page-hero .en { color: rgba(255, 255, 255, .6); font-size: 13.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }

.crumb { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.crumb .wrap { display: flex; align-items: center; gap: 9px; height: 52px; color: var(--text-2); }
.crumb a:hover { color: var(--brand-d); }
.crumb span.sep { color: #B9C9C5; }
.crumb .cur { color: var(--brand-d); font-weight: 600; }

/* ============================ CTA 条 ============================ */
.cta-band {
  background: linear-gradient(120deg, var(--brand-dd) 0%, var(--brand) 100%);
  color: #fff; padding: 60px 0; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ''; position: absolute; right: -80px; top: -80px; width: 340px; height: 340px;
  border-radius: 50%; background: rgba(255, 255, 255, .07);
}
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(23px, 2.8vw, 32px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); font-size: 16px; }
.cta-band .tel-big { display: flex; align-items: center; gap: 14px; }
.cta-band .tel-big svg { width: 34px; height: 34px; opacity: .9; }
.cta-band .tel-big b { display: block; font-size: 30px; font-weight: 800; letter-spacing: .02em; line-height: 1.2; }
.cta-band .tel-big span { font-size: 13.5px; opacity: .8; letter-spacing: .06em; }

/* ============================ 页脚 ============================ */
.site-footer { background: #062420; color: rgba(255, 255, 255, .58); padding: 68px 0 0; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 46px; padding-bottom: 48px; }
.footer-brand img { height: 52px; margin-bottom: 18px; }
.footer-brand p { line-height: 1.9; margin-bottom: 18px; }
.footer-contact-mini { display: grid; gap: 8px; }
.footer-contact-mini span { display: flex; align-items: center; gap: 9px; }
.footer-contact-mini svg { width: 15px; height: 15px; flex: none; opacity: .7; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; letter-spacing: .02em; }
.footer-links { display: grid; gap: 11px; }
.footer-links a:hover { color: #6FE9D2; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255, 255, 255, .45);
}
.footer-bottom a:hover { color: #6FE9D2; }
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* 二维码 */
.qr-box { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.qr-box img { width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 5px; }
.qr-box span { font-size: 13.5px; line-height: 1.7; }

/* ============================ 回到顶部 ============================ */
.gotop {
  position: fixed; right: 26px; bottom: 30px; z-index: 80;
  width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-md); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--brand-d);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease);
}
.gotop.on { opacity: 1; visibility: visible; transform: none; }
.gotop:hover { background: var(--brand); color: #fff; border-color: transparent; }
.gotop svg { width: 20px; height: 20px; }

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4, 24, 21, .9);
  display: none; align-items: center; justify-content: center; padding: 40px;
  backdrop-filter: blur(4px);
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .close {
  position: absolute; right: 30px; top: 26px; width: 46px; height: 46px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .1);
  color: #fff; font-size: 24px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* 滚动淡入 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 个别页面需要跟默认不同的列数。用修饰类而不是内联 style ——
   内联样式的优先级高于媒体查询，移动端断点会直接失效（已踩过）。 */
.steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
.honor-list.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cap-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ============================ 响应式 ============================ */
@media (max-width: 1080px) {
  .prod-grid, .cap-grid, .cap-grid.cols-3, .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .about-grid, .csr { grid-template-columns: 1fr; gap: 40px; }
  .csr-media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media .badge { right: 16px; bottom: 16px; }
}

@media (max-width: 860px) {
  /* 抽屉菜单：绝对定位挂在 header 下面，不再写死 top 像素 */
  .menu {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 95;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu.on { transform: none; opacity: 1; visibility: visible; }
  .menu > li > a { padding: 14px 12px; border-radius: 10px; font-size: 16.5px; }
  .menu > li > a::after { display: none; }
  .menu > li > a.active { background: var(--brand-tint); }
  .burger { display: flex; }
  .nav-cta { display: none; }
  .topbar-left .hide-sm { display: none; }
  .section { padding: 66px 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }

  /* Hero 改成常规块级流：原先 .hero 是 flex，
     .hero-stats 设为 relative 后变成了 flex item，被压成 227px 挤在文字右侧并重叠。
     改成 display:block 后数据条自然落到文字下方、占满整行。 */
  .hero { display: block; height: auto; min-height: 0; padding: 60px 0 0; }
  .hero-bg::after {
    background: linear-gradient(180deg,
      rgba(4, 42, 38, .87) 0%, rgba(5, 52, 47, .80) 46%, rgba(4, 40, 36, .94) 100%);
  }
  .hero h1 { font-size: clamp(28px, 7.8vw, 40px); }
  .hero-desc { font-size: 15px; line-height: 1.85; margin-bottom: 28px; }
  .hero-stats { position: static; background: rgba(4, 40, 36, .5); }
  .hero-stats .wrap { grid-template-columns: 1fr 1fr; }
  .stat { padding: 15px 10px 15px 16px; border-right: 0; border-top: 1px solid rgba(255, 255, 255, .12); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .12); }

  .step { padding: 22px 18px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .honor-list, .honor-list.cols-2 { grid-template-columns: 1fr; }
  .series-head { flex-direction: column; align-items: flex-start; }
  .series-head p { text-align: left; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .wrap { padding: 0 18px; }

  /* 顶栏：地址块在 390px 下会把整行撑到 449px 造成全站横向溢出，
     移动端只保留「品牌徽标 + 订水热线」，地址留给页脚和联系页。
     高度改成 auto + flex-wrap —— 窄屏（≤360）或系统大字号下宁可折成两行，
     也不能被 html 的 overflow-x:clip 把「0851-28655229」右半边裁掉。 */
  .topbar-left { display: none; }
  .topbar .wrap {
    height: auto; min-height: 34px; padding: 5px 12px;
    justify-content: center; gap: 4px 8px; flex-wrap: wrap; font-size: 12.5px;
  }
  .topbar-right { gap: 6px; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .topbar-right > span, .topbar-right .tel { white-space: nowrap; }
  .topbar-badge { padding: 2px 9px; font-size: 11.5px; letter-spacing: 0; }
  .topbar-badge svg { width: 11px; height: 11px; }
  .topbar-right .tel { letter-spacing: 0; }

  /* 手机首屏只保留一句话：品牌标签 + 主标题。
     描述段落信息密度高、把 CTA 和关键数据挤到首屏之外，手机上隐藏；
     同样的内容在下方「关于凤凰山」区块和关于我们页都有。 */
  .only-desktop { display: none !important; }
  .hero { padding: 46px 0 0; }
  .hero-tag { font-size: 12.5px; padding: 6px 14px 6px 11px; margin-bottom: 18px; }
  .hero h1 { margin-bottom: 0; }
  /* 数据条：标签给足换行空间，字号和左右内边距收一点，
     「亩深溪永安生产基地」「平方米厂房及办公楼」在 320px 也不会被切 */
  .hero-stats .wrap { grid-template-columns: 1fr 1fr; padding: 0 12px; }
  .stat { padding: 13px 6px 13px 12px; }
  .stat b { font-size: 25px; line-height: 1.15; }
  .stat span { font-size: 12.5px; line-height: 1.5; letter-spacing: 0; }

  .nav .wrap { height: 64px; }
  .brand-text span { display: none; }
  .brand img { height: 38px; }

  /* 首屏按钮：手机上并排两个不等宽按钮点击区太小，改成等宽整行。
     描述段隐藏后 h1 与按钮之间失去原先 34px 的间隔，改由按钮自己撑开。 */
  .hero-btns { flex-direction: column; gap: 12px; align-items: stretch; margin-top: 28px; }
  .hero-btns .btn { width: 100%; padding: 15px 22px; }
  .hero-stats { margin-top: 30px; }

  .section { padding: 52px 0; }
  .head { margin-bottom: 34px; }

  /* 图库改两列，避免 12 / 24 张图排成一条长龙 */
  .prod-grid, .cap-grid, .cap-grid.cols-3, .honor-grid, .gallery { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps, .steps.cols-3 { grid-template-columns: 1fr; }
  /* 两列后图注可用宽度变小，收一下内边距和字号才不糊在图上 */
  .gallery figcaption { padding: 22px 10px 9px; font-size: 12px; }
  .prod-body { padding: 14px 15px 18px; }
  .prod-body h3 { font-size: 16px; margin-bottom: 5px; }
  .prod-body .cap { font-size: 12px; margin-bottom: 8px; }
  .prod-body p { font-size: 13px; line-height: 1.7; }
  .prod-thumb img { padding: 12px; }
  .prod-thumb .tag { left: 10px; top: 10px; font-size: 11px; padding: 3px 9px; }
  .honor-track img { width: 200px; height: 150px; }

  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .field input, .field textarea, .field select { font-size: 16px; }  /* ≥16px 防 iOS 聚焦自动放大 */

  .about-points { grid-template-columns: 1fr; }
  .about-media::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand img { height: 44px; }
  .tl-item { grid-template-columns: 54px 30px 1fr; }
  .timeline::before { left: 60px; }
  .page-hero { height: 220px; }
  .csr-nums { gap: 16px; }
  .cta-band .tel-big b { font-size: 26px; }
  .gotop { right: 14px; bottom: 16px; }
  .honor-marquee { padding: 6px 18px 16px; }
}
