/* ============================================================
   HUAYUHE™ 华育禾 · 浅色「日光玻璃」
   玻璃白底 + 深钢正文 + 玻璃绿（按钮 / 已核实的企标与备案）
   记号：文洛型锯齿屋脊（首屏照片顶边、页脚顶边）
   2026-11 重做
   ============================================================ */
:root {
  color-scheme: light;
  --paper: #f5f8f7;      /* 页面底：偏冷的玻璃白 */
  --white: #ffffff;      /* 卡片 / 交替区块 */
  --wash: #ebf1ef;       /* 浅灰绿：表头、悬停 */
  --ink: #15222c;        /* 正文与标题：镀锌钢的深色 */
  --slate: #4b5b67;      /* 次要文字 */
  --mist: #76858f;       /* 弱文字 */
  --rule: #dbe3e0;       /* 细线 */
  --rule-2: #c3cfcb;     /* 强线 / 输入框边 */
  --glass: #0f6a54;      /* 玻璃绿：按钮、链接、已公开标签 */
  --glass-hi: #0a5544;
  --glass-tint: #e2efea;
  --glass-line: rgba(15, 106, 84, 0.24);

  /* 兼容页面里的内联变量 */
  --text: var(--ink);
  --text-muted: var(--slate);
  --text-dim: var(--mist);
  --accent: var(--glass);
  --line: var(--rule);
  --night-2: var(--white);

  --font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --num: "Bahnschrift", "DIN Alternate", "DIN Condensed", "Roboto Condensed", "Arial Narrow", var(--font);

  --r-photo: 6px;
  --r-panel: 10px;
  --r-btn: 6px;
  --max: 1200px;
  --header-h: 76px;
  --dock-h: 0px;
  --lift: 0 1px 2px rgba(21, 34, 44, 0.04), 0 8px 24px rgba(21, 34, 44, 0.06);
  --lift-hi: 0 2px 4px rgba(21, 34, 44, 0.05), 0 16px 40px rgba(21, 34, 44, 0.10);
  /* 屋脊齿：上方填底色、下方露出照片，并描一道玻璃绿的屋面线 */
  --teeth-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22' viewBox='0 0 48 22'%3E%3Cpath d='M0 0H48V21L24 3L0 21Z' fill='%23f5f8f7'/%3E%3Cpath d='M0 21L24 3L48 21' fill='none' stroke='%230f6a54' stroke-width='1.6'/%3E%3C/svg%3E");
  --teeth-ink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22' viewBox='0 0 48 22'%3E%3Cpath d='M0 22V21L24 3L48 21V22Z' fill='%2315222c'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: var(--dock-h);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
strong { color: var(--ink); font-weight: 650; }
::selection { background: var(--glass); color: #fff; }
:focus-visible { outline: 2px solid var(--glass); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
@media (max-width: 640px) { .container { width: min(100% - 32px, var(--max)); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled,
body[data-page]:not([data-page="index"]) .site-header,
.site-header.nav-open { border-bottom-color: var(--rule); }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(21,34,44,.05); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: contain; background: #fff; padding: 2px; flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--rule);
}
.brand-name {
  display: flex; flex-direction: column; line-height: 1.15;
  font-family: var(--num); font-weight: 600; font-size: 19px; letter-spacing: .04em;
  color: var(--ink); white-space: nowrap;
}
.brand-name small { font-family: var(--font); font-weight: 400; font-size: 12px; color: var(--mist); letter-spacing: .02em; margin-top: 3px; }
.site-nav { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.site-nav ul { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  position: relative; display: block;
  padding: 8px 11px; font-size: 15px; font-weight: 500; color: var(--slate);
  white-space: nowrap; transition: color .2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a.is-active { color: var(--ink); font-weight: 650; }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px;
  background: var(--glass); border-radius: 1px;
}
.header-cta {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  min-height: 42px; padding: 9px 18px;
  font-size: 15px; font-weight: 650; letter-spacing: .02em;
  color: #fff; background: var(--glass); border-radius: var(--r-btn);
  transition: background .2s; white-space: nowrap;
}
.header-cta:hover { background: var(--glass-hi); }
.header-cta.header-cta-mobile { display: none; } /* 修复：桌面端曾出现两个「获取方案」 */

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: var(--r-btn);
  border: 1px solid var(--rule-2); background: #fff; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--ink);
  position: relative; border-radius: 1px; transition: transform .25s, background .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1180px) {
  .site-nav a { padding: 8px 8px; font-size: 14.5px; }
  .site-nav a.is-active::after { left: 8px; right: 8px; }
  .brand-name small { display: none; }
}
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--rule); box-shadow: var(--lift-hi);
    padding: 8px 20px 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav li + li { border-top: 1px solid var(--rule); }
  .site-nav a { padding: 14px 4px; font-size: 16px; }
  .site-nav a.is-active::after { left: 4px; right: auto; width: 24px; bottom: 8px; }
  .header-inner > .header-cta { display: none; }
  .header-cta.header-cta-mobile { display: flex; margin-top: 14px; min-height: 48px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-btn);
  font-size: 15.5px; font-weight: 650; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: var(--glass); color: #fff; box-shadow: 0 6px 16px rgba(15,106,84,.22); }
.btn-primary:hover { background: var(--glass-hi); box-shadow: 0 8px 22px rgba(15,106,84,.28); }
.btn-ghost, .btn-line { border: 1px solid var(--rule-2); color: var(--ink); background: #fff; }
.btn-ghost:hover, .btn-line:hover { border-color: var(--ink); }

/* ---------- Hero（首页）：标题在上，照片顶边剪成文洛屋脊 ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 64px) 0 0; background: var(--paper); }
.hero-inner {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px 64px; align-items: end;
  padding-bottom: 56px;
}
.hero-inner > * { min-width: 0; }
.eyebrow { display: inline-block; font-family: var(--num); font-size: 15px; letter-spacing: .05em; color: var(--glass); margin-bottom: 18px; font-weight: 500; }
.hero h1 {
  font-size: clamp(40px, 5.8vw, 76px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.01em; color: var(--ink);
}
.hero h1 .thin {
  display: block; font-weight: 300; color: var(--slate);
  font-size: .6em; letter-spacing: .16em; margin-top: 14px;
}
.hero-lead { font-size: clamp(16px, 1.5vw, 18px); color: var(--slate); margin-bottom: 28px; max-width: 30em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn { min-height: 52px; padding: 13px 26px; font-size: 16px; }
.hero-media { position: relative; height: clamp(300px, 46vw, 620px); overflow: hidden; background: var(--wash); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-media::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px; z-index: 1;
  background: var(--teeth-paper) repeat-x left top / 48px 22px;
}
.hero-media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(180deg, transparent, rgba(21,34,44,.18));
}
.hero-scroll, .ridge { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-inner > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero-inner > :nth-child(2) { animation-delay: .15s; }
  .hero-media img { animation: settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  @keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
}
@media (max-width: 860px) {
  .hero { padding-top: calc(var(--header-h) + 36px); }
  .hero-inner { grid-template-columns: 1fr; padding-bottom: 36px; }
  .hero h1 .thin { letter-spacing: .08em; }
}

/* ---------- Sections ---------- */
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 72px 0; }
.section--soft, .section--elev, .section--band { background: var(--white); border-block: 1px solid var(--rule); }
.section-head { margin-bottom: 44px; max-width: 680px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-label { display: inline-block; font-family: var(--num); font-size: 14px; letter-spacing: .05em; color: var(--glass); margin-bottom: 10px; font-weight: 500; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; line-height: 1.25; margin-bottom: 14px; color: var(--ink); }
.section-head p { color: var(--slate); font-size: 16px; line-height: 1.8; }
.sub-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin: 56px 0 20px; padding-top: 22px; border-top: 1px solid var(--rule);
  font-size: 19px; font-weight: 700; color: var(--ink);
}
.sub-head span { font-size: 14px; font-weight: 400; color: var(--mist); }

/* ---------- 铭牌：实力数据 ---------- */
#strengths { background: transparent; }
.hero + #strengths { padding-top: 0; margin-top: -72px; z-index: 2; }
.strength-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule); border-radius: var(--r-panel);
  background: var(--white); box-shadow: var(--lift-hi); overflow: hidden;
}
.strength { padding: 30px 28px 28px; position: relative; }
.strength + .strength { border-left: 1px solid var(--rule); }
.strength .num {
  font-family: var(--num); font-size: clamp(44px, 5vw, 60px); font-weight: 600;
  line-height: 1; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 18px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.strength .num span { font-size: .42em; color: var(--glass); margin-left: 4px; font-weight: 500; vertical-align: .55em; }
.strength .num.code {
  display: inline-block; font-size: clamp(22px, 2.3vw, 28px); letter-spacing: .05em; color: var(--glass);
  background: var(--glass-tint); padding: 6px 12px; border-radius: 4px;
  margin-top: clamp(4px, 1.2vw, 14px); margin-bottom: 22px;
}
.strength h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.strength p { color: var(--slate); font-size: 14px; line-height: 1.7; }
@media (max-width: 960px) {
  .strength-grid { grid-template-columns: 1fr 1fr; }
  .strength:nth-child(3) { border-left: 0; }
  .strength:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 560px) {
  .hero + #strengths { margin-top: -40px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength + .strength { border-left: 0; border-top: 1px solid var(--rule); }
  .strength { padding: 22px 20px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; }
  .strength .num { margin: 0; grid-row: span 2; font-size: 42px; min-width: 2.4em; }
  .strength:has(.code) { display: block; }
  .strength .num.code { font-size: 20px; margin: 0 0 10px; }
}

/* ---------- 照片通用 ---------- */
.accept-grid figure, .plant-grid figure, .product-cols figure, .split figure,
.case-card, .plant-feature .shot, .product-card .thumb {
  border-radius: var(--r-photo); overflow: hidden; position: relative; background: var(--wash);
}

/* 工地/验收相册：瀑布流 */
.accept-grid { column-count: 4; column-gap: 14px; }
.accept-grid figure { break-inside: avoid; margin: 0 0 14px; }
.accept-grid img { width: 100%; height: auto; transition: transform .6s ease; }
.accept-grid figure:hover img { transform: scale(1.03); }
.accept-grid figcaption, .plant-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 28px 14px 11px; font-size: 13px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(21,34,44,.72));
}
@media (max-width: 1000px) { .accept-grid { column-count: 3; } }
@media (max-width: 700px)  { .accept-grid { column-count: 2; column-gap: 10px; } .accept-grid figure { margin-bottom: 10px; } }

/* ---------- 种植专题 ---------- */
.plant-feature { display: grid; grid-template-columns: 1.45fr 1fr; gap: 14px; }
.plant-feature .shot { min-height: 420px; }
.plant-feature .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.plant-feature .shot:hover img { transform: scale(1.025); }
.plant-feature .shot .cap, .case-card .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 64px 24px 20px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(21,34,44,.55) 45%, rgba(21,34,44,.85));
}
.plant-feature .shot .cap h3 { font-size: 19px; font-weight: 700; margin-bottom: 2px; }
.plant-feature .shot .cap p { color: rgba(255,255,255,.86); font-size: 14px; }
.plant-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.plant-side .shot { min-height: 0; }
.plant-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 21vw, 280px); grid-auto-flow: dense; gap: 14px; }
.plant-grid figure { margin: 0; }
.plant-grid figure.tall { grid-row: span 2; }
.plant-grid figure.wide { grid-column: span 2; }
.plant-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.plant-grid figure:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .plant-feature { grid-template-columns: 1fr; }
  .plant-feature .shot { min-height: 320px; }
  .plant-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .plant-side .shot { min-height: 220px; }
  .plant-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .plant-side { grid-template-columns: 1fr; }
  .plant-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .plant-grid figure.wide { grid-column: span 2; grid-row: span 1; }
}

/* ---------- 产品 ---------- */
#products { background: var(--paper); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-grid > * { min-width: 0; }
.product-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-panel);
  overflow: hidden; box-shadow: var(--lift); transition: box-shadow .25s, border-color .25s, transform .25s;
}
a.product-card:hover { box-shadow: var(--lift-hi); border-color: var(--rule-2); transform: translateY(-2px); }
.product-card .thumb { aspect-ratio: 16 / 10; border-radius: 0; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.product-card:hover .thumb img { transform: scale(1.035); }
.product-card .body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; gap: 8px; }
.product-card .idx { display: none; }
.product-card h3 { font-size: 19px; font-weight: 750; line-height: 1.4; color: var(--ink); }
.product-card h3 em {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
  font-style: normal; font-family: var(--num); font-size: 13px; font-weight: 500; letter-spacing: .03em;
  color: var(--glass); background: var(--glass-tint); padding: 3px 10px; border-radius: 4px;
}
.product-card h3 em::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glass); }
.product-card p { color: var(--slate); font-size: 14.5px; line-height: 1.7; flex: 1; }
.product-card .more { margin-top: 6px; font-size: 14px; color: var(--glass); font-weight: 650; align-self: flex-start; border-bottom: 1px solid transparent; }
.product-card:hover .more, .product-card .more:hover { border-bottom-color: var(--glass); }
.product-card .tag-std { display: none; }
.product-card .tag-ext { font-size: 12.5px; color: var(--mist); }
.product-grid.extended { grid-template-columns: repeat(5, 1fr); gap: 14px; }
.product-grid.extended .product-card { box-shadow: none; }
.product-grid.extended a.product-card:hover { box-shadow: var(--lift); }
.product-grid.extended .product-card .thumb { aspect-ratio: 4 / 3; }
.product-grid.extended .product-card .body { padding: 16px 16px 18px; gap: 6px; }
.product-grid.extended .product-card h3 { font-size: 16.5px; }
.product-grid.extended .product-card p { font-size: 13.5px; }
.product-grid.extended .product-card .more { font-size: 13.5px; }
@media (max-width: 1100px) { .product-grid.extended { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  {
  .product-grid { grid-template-columns: 1fr; }
  .product-grid.extended { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-grid.extended .product-card p { display: none; }
  .product-grid.extended .product-card:last-child:nth-child(odd) { grid-column: span 2; }
  .product-grid.extended .product-card:last-child:nth-child(odd) .thumb { aspect-ratio: 16 / 8; }
}

.std-note {
  margin: 0 0 32px; padding: 14px 18px;
  border-left: 3px solid var(--glass); background: var(--glass-tint); color: var(--slate);
  font-size: 14px; line-height: 1.75; border-radius: 0 var(--r-panel) var(--r-panel) 0;
}

/* 免费工具横幅：图纸方格底 */
.tool-promo {
  position: relative; overflow: hidden;
  margin: 0 0 40px; padding: 30px 32px;
  border: 1px solid var(--rule); border-radius: var(--r-panel);
  background:
    linear-gradient(90deg, #fff 32%, rgba(255,255,255,.7)),
    linear-gradient(rgba(15,106,84,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    linear-gradient(90deg, rgba(15,106,84,.07) 1px, transparent 1px) 0 0 / 22px 22px,
    #fff;
  box-shadow: var(--lift);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 28px;
}
.tool-promo > div:first-child { flex: 1 1 380px; min-width: 0; }
.tool-promo h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 750; margin-bottom: 6px; color: var(--ink); }
.tool-promo p { color: var(--slate); font-size: 15px; max-width: 38em; line-height: 1.7; }
.tool-promo .actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-drawing { flex: 0 0 auto; width: 230px; height: auto; color: var(--glass); }
@media (max-width: 900px) { .tool-drawing { display: none; } }
@media (max-width: 600px) { .tool-promo { padding: 24px 20px; } .tool-promo .actions .btn { flex: 1 1 auto; } }

/* ---------- 案例 ---------- */
#cases { background: var(--white); border-block: 1px solid var(--rule); }
.case-feature { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.case-card { min-height: 360px; }
.case-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.case-card:hover img { transform: scale(1.025); }
.case-card .cap .tag { display: inline-block; font-family: var(--num); font-size: 13px; letter-spacing: .05em; color: #bfe6d6; margin-bottom: 6px; }
.case-card .cap h3 { font-size: clamp(18px, 2vw, 23px); font-weight: 700; line-height: 1.3; margin-bottom: 4px; }
.case-card .cap p { color: rgba(255,255,255,.86); font-size: 14px; }
.case-card-hero { min-height: 480px; }
.case-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.case-side .case-card { min-height: 0; }
.case-card-portrait img { object-position: center 20%; }
@media (max-width: 900px) {
  .case-feature { grid-template-columns: 1fr; }
  .case-card-hero { min-height: 340px; }
  .case-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .case-side .case-card { min-height: 240px; }
}
@media (max-width: 600px) { .case-side { grid-template-columns: 1fr; } }

/* ---------- 技术笔记：清单式 ---------- */
.news-teaser { border-top: 1px solid var(--rule-2); }
.news-teaser a {
  display: grid; grid-template-columns: 170px 1fr 1.2fr; gap: 8px 32px; align-items: baseline;
  padding: 24px 4px; border-bottom: 1px solid var(--rule); transition: background .2s, padding .2s;
}
.news-teaser a:hover { background: var(--white); padding-left: 14px; }
.news-teaser .tag { font-family: var(--num); font-size: 15px; color: var(--mist); letter-spacing: .03em; }
.news-teaser h3 { font-size: 18px; font-weight: 700; line-height: 1.45; color: var(--ink); }
.news-teaser a:hover h3 { color: var(--glass); }
.news-teaser p { color: var(--slate); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 860px) { .news-teaser a { grid-template-columns: 1fr; gap: 4px; } }
.news-list { display: grid; gap: 0; border-top: 1px solid var(--rule-2); }
.news-card {
  display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: start;
  padding: 32px 4px; border-bottom: 1px solid var(--rule);
}
.news-card .meta { font-size: 13px; color: var(--glass); font-weight: 500; }
.news-card .meta span { display: block; font-family: var(--num); font-size: 22px; color: var(--ink); margin-top: 4px; letter-spacing: .02em; }
.news-card h3 { font-size: 20px; font-weight: 750; margin-bottom: 10px; line-height: 1.4; color: var(--ink); }
.news-card p { color: var(--slate); font-size: 15.5px; line-height: 1.9; max-width: 44em; }
.news-card:target { background: linear-gradient(90deg, var(--glass-tint), transparent 60%); }
@media (max-width: 760px) { .news-card { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- 首页联系区 ---------- */
#contact { position: relative; padding: 112px 0; background: var(--white); border-top: 1px solid var(--rule); }
.contact-bg { display: none; }
.contact-inner { position: relative; z-index: 1; }
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.contact-layout > * { min-width: 0; }
.contact-inner h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 16px; color: var(--ink); }
.contact-inner .lead { color: var(--slate); font-size: 16.5px; margin-bottom: 32px; max-width: 30em; }
.contact-meta { display: grid; gap: 18px; margin-bottom: 32px; }
.contact-meta dt { font-size: 13px; color: var(--mist); margin-bottom: 2px; }
.contact-meta dd { font-size: 17px; font-weight: 600; color: var(--ink); }
.contact-meta a:hover { color: var(--glass); }
.phone-xl, .contact-meta .phone-xl a, .contact-meta dd.phone-xl {
  font-family: var(--num); font-size: clamp(30px, 4vw, 44px); font-weight: 600;
  letter-spacing: .02em; color: var(--ink); line-height: 1.2; font-variant-numeric: tabular-nums;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 36px; } #contact { padding: 72px 0; } }

.wechat-box {
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  padding: 22px; border: 1px solid var(--rule); border-radius: var(--r-panel);
  background: var(--white); box-shadow: var(--lift);
}
.wechat-box img { width: 132px; height: auto; border-radius: 6px; background: #fff; padding: 6px; border: 1px solid var(--rule); }
.wechat-box .meta { flex: 1 1 180px; min-width: 0; }
.wechat-box .meta h4 { font-size: 18px; margin-bottom: 4px; font-weight: 750; color: var(--ink); }
.wechat-box .meta p { color: var(--slate); font-size: 14px; line-height: 1.7; }
.wechat-box .phone { display: block; margin-top: 10px; font-family: var(--num); font-size: clamp(20px, 2.4vw, 24px); font-weight: 600; color: var(--glass); letter-spacing: .02em; }
.contact-layout .wechat-box { flex-direction: column; align-items: flex-start; padding: 28px; justify-self: end; width: min(100%, 340px); box-shadow: var(--lift-hi); }
.contact-layout .wechat-box img { width: 168px; }
.contact-layout .wechat-box .meta { flex: none; }
@media (max-width: 900px) {
  .contact-layout .wechat-box { justify-self: stretch; width: auto; flex-direction: row; align-items: center; }
  .contact-layout .wechat-box img { width: 120px; }
}

/* ---------- Footer：顶边一排屋脊 ---------- */
.site-footer { position: relative; background: var(--ink); color: #b9c5cd; padding: 72px 0 0; margin-top: 22px; }
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 22px; transform: translateY(-100%);
  background: var(--teeth-ink) repeat-x left bottom / 48px 22px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-family: var(--num); font-size: 18px; font-weight: 600; letter-spacing: .04em; margin-bottom: 16px; color: #fff; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; padding: 2px; object-fit: contain; flex-shrink: 0; }
.footer-brand span { display: block; line-height: 1.2; }
.footer-brand small { display: block; font-family: var(--font); font-size: 12px; font-weight: 400; color: #8d9ca7; margin-top: 3px; letter-spacing: 0; }
.footer-grid p { color: #8d9ca7; font-size: 14px; line-height: 1.8; margin-bottom: 4px; }
.footer-grid h4 { font-size: 14px; color: #fff; margin-bottom: 14px; font-weight: 600; }
.footer-grid ul li { margin-bottom: 9px; color: #b9c5cd; font-size: 14px; }
.footer-grid ul a { color: #b9c5cd; }
.footer-grid ul a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0 26px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }
.footer-bottom p { color: #7e8d98; font-size: 13px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 内页头部 ---------- */
.crumbs { padding-top: calc(var(--header-h) + 22px); font-size: 13.5px; color: var(--mist); background: transparent; }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--glass); }
.page-hero { position: relative; padding: 32px 0 48px; margin-bottom: 8px; border-bottom: 1px solid var(--rule); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; line-height: 1.18; margin-bottom: 14px; color: var(--ink); }
.page-hero .lead { color: var(--slate); font-size: 16.5px; max-width: 40em; line-height: 1.8; }
.subnav {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--rule);
}
.subnav .container { display: flex; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { font-size: 14px; color: var(--slate); padding: 14px 0; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.subnav a:hover { color: var(--ink); border-bottom-color: var(--glass); }
[id] { scroll-margin-top: calc(var(--header-h) + 64px); }

/* ---------- 产品详情 ---------- */
.product-block { padding: 80px 0; border-top: 1px solid var(--rule); }
.product-block.alt, .product-block#p3 { background: var(--white); }
.product-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 10px; }
.product-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: var(--ink); }
.product-head .model {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--num); font-size: 13px; letter-spacing: .03em; font-weight: 500;
  color: var(--glass); background: var(--glass-tint); padding: 4px 11px; border-radius: 4px;
}
.product-head .model::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--glass); }
.product-sub { color: var(--slate); margin-bottom: 32px; max-width: 42em; }
.product-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.product-cols > * { min-width: 0; } /* 修复：手机端表格把页面撑宽 */
.product-cols figure { border: 1px solid var(--rule); background: #fff; }
.product-cols figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.product-cols figcaption { padding: 10px 14px; font-size: 13px; color: var(--mist); background: #fff; border-top: 1px solid var(--rule); }
.product-cols h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px; color: var(--ink); }
.product-cols .table-wrap + h3 { margin-top: 26px; }
@media (max-width: 860px) { .product-cols { grid-template-columns: 1fr; gap: 22px; } }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--rule); border-radius: var(--r-panel); background: #fff; }
table.spec { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.spec th, table.spec td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.spec th { background: var(--wash); color: var(--mist); font-weight: 500; font-size: 13px; }
table.spec tr:last-child td { border-bottom: 0; }
table.spec td { color: var(--ink); }
table.spec td:first-child { color: var(--slate); width: 30%; white-space: nowrap; }
@media (max-width: 560px) {
  table.spec { font-size: 14px; }
  table.spec th, table.spec td { padding: 11px 12px; }
  table.spec td:first-child { white-space: normal; width: 34%; }
}
.badge { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12.5px; background: var(--glass-tint); color: var(--glass); font-weight: 500; white-space: nowrap; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 22px; color: var(--slate); font-size: 15px; line-height: 1.7; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 6px; border-left: 2px solid var(--glass); border-bottom: 2px solid var(--glass); transform: rotate(-45deg); }
.ticks li a { color: var(--ink); border-bottom: 1px solid var(--rule-2); }
.ticks li a:hover { color: var(--glass); border-color: var(--glass); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h1, .split h2 { color: var(--ink); }
.split p { color: var(--slate); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cert { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 26px; box-shadow: var(--lift); }
.cert h3 { font-size: 17px; margin-bottom: 8px; font-weight: 750; color: var(--ink); }
.cert p { color: var(--slate); font-size: 14.5px; line-height: 1.7; }
.cert .no { margin-top: 14px; color: var(--ink); font-size: 15px; }
.cert .no b { font-family: var(--num); font-size: 22px; font-weight: 600; letter-spacing: .04em; color: var(--glass); }
.cert .no a { font-family: var(--num); font-size: 22px; font-weight: 600; letter-spacing: .03em; color: var(--ink) !important; }
@media (max-width: 700px) { .cert-grid { grid-template-columns: 1fr; } }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.contact-card { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 24px 22px; min-width: 0; box-shadow: var(--lift); }
.contact-card h3 { font-size: 13px; color: var(--mist); margin-bottom: 10px; font-weight: 500; }
.contact-card .val { font-size: 16.5px; font-weight: 650; line-height: 1.5; color: var(--ink); }
.contact-card .val a { color: var(--ink); }
.contact-card .val.phone-xl, .contact-card .phone-xl { font-size: clamp(24px, 2.6vw, 30px); }
.contact-card .ops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.contact-card .ops a, .contact-card .ops button {
  font-size: 13px; padding: 9px 14px; border-radius: var(--r-btn);
  border: 1px solid var(--rule-2); color: var(--ink); background: #fff; min-height: 40px;
  display: inline-flex; align-items: center;
}
.contact-card .ops a:hover, .contact-card .ops button:hover { border-color: var(--glass); color: var(--glass); background: var(--glass-tint); }
.contact-card img { border: 1px solid var(--rule); }
.inquiry { background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel); padding: 32px 28px; box-shadow: var(--lift); }
.inquiry h3 { font-size: 22px; margin-bottom: 6px; font-weight: 750; color: var(--ink); }
.inquiry .tip { color: var(--slate); font-size: 14px; margin-bottom: 20px; line-height: 1.7; }
.inquiry .field { min-width: 0; }
.inquiry label { display: block; font-size: 13px; color: var(--slate); margin: 0 0 6px; font-weight: 500; }
.inquiry input, .inquiry textarea, .inquiry select,
.mini-form input, .mini-form select {
  width: 100%; padding: 12px 14px; border-radius: var(--r-btn);
  border: 1px solid var(--rule-2); background: #fff; color: var(--ink);
  font: inherit; outline: none; min-height: 46px; transition: border-color .2s, box-shadow .2s;
}
.inquiry input::placeholder, .inquiry textarea::placeholder, .mini-form input::placeholder { color: #9aa7af; }
.inquiry textarea { min-height: 120px; resize: vertical; }
.inquiry input:focus, .inquiry textarea:focus, .inquiry select:focus,
.mini-form input:focus, .mini-form select:focus { border-color: var(--glass); box-shadow: 0 0 0 3px var(--glass-tint); }
.inquiry .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 14px; }
.inquiry .form-row:first-of-type { margin-top: 4px; }
.inquiry .full { margin-top: 14px; }
.inquiry .send { margin-top: 20px; }
.form-toast { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--r-btn); background: var(--glass-tint); color: var(--glass); font-size: 14px; line-height: 1.6; }
.form-toast.show { display: block; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } .inquiry { padding: 26px 20px; } .inquiry .form-row { grid-template-columns: 1fr; } }

.section-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.link-more {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  color: var(--glass); font-size: 15px; font-weight: 650;
  padding-bottom: 4px; border-bottom: 1px solid var(--glass-line); transition: border-color .2s;
}
.link-more::after { content: ""; width: 18px; height: 1px; background: currentColor; transition: width .25s; }
.link-more:hover { border-color: var(--glass); }
.link-more:hover::after { width: 28px; }

/* ---------- 立即沟通：桌面默认收起 ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 18px 10px 14px; border-radius: 999px;
  background: var(--glass); color: #fff; font-weight: 700; font-size: 14.5px;
  box-shadow: 0 10px 28px rgba(15,106,84,.3);
  transition: background .2s, box-shadow .2s;
}
.chat-launcher:hover { background: var(--glass-hi); box-shadow: 0 12px 32px rgba(15,106,84,.38); }
.chat-launcher .dot { width: 9px; height: 9px; border-radius: 50%; background: #8ff0b5; box-shadow: 0 0 0 3px rgba(143,240,181,.3); }
.chat-launcher[aria-expanded="true"] { display: none; }
.chat-rail {
  position: fixed; right: 20px; bottom: 24px; z-index: 91;
  width: 280px; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel);
  box-shadow: 0 24px 60px rgba(21,34,44,.18); padding: 18px; transform-origin: bottom right;
}
.chat-rail[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .chat-rail:not([hidden]) { animation: pop .22s ease-out; }
  @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
}
.chat-rail .chat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.chat-rail .chat-head strong { font-size: 16px; font-weight: 750; color: var(--ink); }
.chat-rail .chat-close {
  width: 34px; height: 34px; border-radius: var(--r-btn); border: 1px solid var(--rule-2);
  display: inline-flex; align-items: center; justify-content: center; color: var(--slate); font-size: 20px; line-height: 1;
}
.chat-rail .chat-close:hover { color: var(--ink); border-color: var(--ink); }
.chat-rail .chat-phone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 56px; border-radius: var(--r-btn); background: var(--glass); color: #fff;
  font-weight: 700; font-size: 14px; line-height: 1.3; margin-bottom: 6px;
}
.chat-rail .chat-phone small { font-family: var(--num); font-size: 16px; font-weight: 600; letter-spacing: .03em; }
.chat-rail .chat-phone:hover { background: var(--glass-hi); }
.chat-rail .chat-link { display: block; text-align: center; font-size: 13px; color: var(--slate); padding: 8px; margin-bottom: 6px; }
.chat-rail .chat-link:hover { color: var(--glass); }
.mini-form label { display: block; font-size: 12.5px; color: var(--slate); margin: 8px 0 4px; font-weight: 500; }
.mini-form input, .mini-form select { min-height: 40px; padding: 8px 10px; font-size: 14px; }
.mini-form button {
  width: 100%; margin-top: 12px; min-height: 44px; border-radius: var(--r-btn);
  background: #fff; border: 1px solid var(--glass); color: var(--glass); font-weight: 700; font-size: 14px;
}
.mini-form button:hover { background: var(--glass); color: #fff; }
.mini-note { display: none; margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--glass); }
.mini-note.show { display: block; }
.chat-rail .chat-qr { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--rule); }
.chat-rail .chat-qr img { width: 72px; height: auto; border-radius: 4px; padding: 3px; background: #fff; border: 1px solid var(--rule); }
.chat-rail .chat-qr p { font-size: 12.5px; color: var(--slate); line-height: 1.6; }

.chat-dock {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--rule); box-shadow: 0 -6px 20px rgba(21,34,44,.06);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px;
}
.chat-dock a, .chat-dock button { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: var(--r-btn); font-weight: 700; font-size: 15px; }
.chat-dock .dock-call { background: var(--glass); color: #fff; }
.chat-dock .dock-wa, .chat-dock .dock-form { border: 1px solid var(--rule-2); color: var(--ink); background: #fff; }
.chat-dock .dock-close { flex: 0 0 46px; color: var(--mist); border: 1px solid var(--rule); font-size: 20px; }
.chat-sheet {
  display: none; position: fixed; left: 12px; right: 12px;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px)); z-index: 96;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--r-panel);
  box-shadow: 0 20px 50px rgba(21,34,44,.18); padding: 18px;
}
.chat-sheet.is-open { display: block; }
.chat-sheet h4 { font-size: 16px; margin-bottom: 4px; font-weight: 750; color: var(--ink); }
@media (max-width: 1020px) {
  .chat-rail, .chat-launcher { display: none !important; }
  body:not(.chat-dismissed) { --dock-h: calc(62px + env(safe-area-inset-bottom, 0px)); }
  body:not(.chat-dismissed) .chat-dock { display: flex; }
}
@media (min-width: 1021px) { .chat-dock, .chat-sheet { display: none !important; } }

/* ---------- 小屏排版 ---------- */
@media (max-width: 800px) { .section { padding: 72px 0; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .section.tight { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .brand-logo { width: 42px; height: 42px; }
  .brand-name { font-size: 17px; }
  .page-hero { padding: 24px 0 36px; }
  .product-block { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.topbar .brand-logo { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; margin-right: 8px; vertical-align: middle; }

/* ---------- 资讯：分类筛选 + 要点清单 ---------- */
.news-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.news-filter button {
  min-height: 40px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: #fff; color: var(--slate); font-size: 14px; font-weight: 600;
  transition: background .2s, color .2s, border-color .2s;
}
.news-filter button:hover { border-color: var(--glass); color: var(--glass); }
.news-filter button.is-on { background: var(--glass); border-color: var(--glass); color: #fff; }
.news-card[hidden] { display: none; }
.news-points { margin-top: 14px; display: grid; gap: 8px; max-width: 44em; }
.news-points li { position: relative; padding-left: 20px; color: var(--ink); font-size: 15px; line-height: 1.75; }
.news-points li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--glass); }
