/* 兰博热交换器服务 · 前台样式（第二版：白底为主 + 自动深色模式，强调色取自 logo 红色。规范见 docs/09） */

/* ===== 字体（全部自托管，SIL OFL 1.1，见 fonts/OFL-LICENSE.txt） ===== */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/inter-tight-var-latin.woff2") format("woff2");
}
/* 中文标题：思源黑体（Noto Sans SC）600，只含网站标题用到的字；子集里没有的字自动用系统字体 */
@font-face {
  font-family: "LB Heading SC";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/noto-sans-sc-600-subset.woff2") format("woff2");
  unicode-range: U+3000-303F, U+3400-9FFF, U+FF00-FFEF;
}

/* ===== 颜色变量：浅色（默认）与深色两套 ===== */
:root {
  color-scheme: light dark;
  --bg: #FFFFFF;
  --bg-alt: #F6F5F3;
  --surface: #FFFFFF;
  --text: #1A1C1F;
  --text-muted: #5B5E63;
  --line: #E6E3DE;
  --line-strong: #CFCBC4;
  --field-line: #8C8F94;
  --accent: #CC0A17;
  --accent-hover: #A50812;
  --accent-text: #FFFFFF;
  --btn-bg: #CC0A17;
  --btn-bg-hover: #A50812;
  --accent-soft: #FBEAEB;
  --on-photo: #FFFFFF;
  --on-photo-muted: #E4E2DE;
  --plate: #F6F5F3;
  --ok: #15803D;
  --error: #B91C1C;
  --error-bg: #FEF2F2;
  --error-line: #FCA5A5;
  --flag-bg: #FEF3C7;
  --flag-text: #78350F;
  --pattern: #1A1C1F;
  --pattern-opacity: .05;
  --photo-filter: saturate(.9);
  --map-0: #EEECE8; --map-0-text: #5B5E63;
  --map-1: #F9DADC; --map-1-text: #1A1C1F;
  --map-2: #F2A9AE; --map-2-text: #1A1C1F;
  --map-3: #E25A63; --map-3-text: #1A1C1F;
  --map-4: #B00A16; --map-4-text: #FFFFFF;
  --shadow-hover: 0 8px 24px rgba(26, 28, 31, .08);
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --heading: "Inter Tight", "LB Heading SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --max: 1280px;
  --gutter: 32px;
  --section: 120px;
  --r-card: 8px;
  --r-btn: 6px;
  --r-tag: 4px;
  --header-h: 80px;
  --bar-h: 0px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121315;
    --bg-alt: #1A1B1E;
    --surface: #1E2023;
    --text: #ECEAE6;
    --text-muted: #A7A9AD;
    --line: #2E3034;
    --line-strong: #44474C;
    --field-line: #6E7176;
    --accent: #FF5C64;
    --accent-hover: #FF8086;
    --accent-text: #FFFFFF;
    --btn-bg: #CC0A17;
    --btn-bg-hover: #B20914;
    --accent-soft: #3A1D20;
    --plate: #F6F5F3;
    --ok: #4ADE80;
    --error: #FCA5A5;
    --error-bg: #3A1D20;
    --error-line: #7F1D1D;
    --flag-bg: #422006;
    --flag-text: #FDE68A;
    --pattern: #ECEAE6;
    --pattern-opacity: .06;
    --photo-filter: saturate(.9) brightness(.9);
    --map-0: #24262A; --map-0-text: #A7A9AD;
    --map-1: #45201F; --map-1-text: #ECEAE6;
    --map-2: #6E2027; --map-2-text: #ECEAE6;
    --map-3: #A81F2A; --map-3-text: #FFFFFF;
    --map-4: #FF5C64; --map-4-text: #121315;
    --shadow-hover: 0 8px 24px rgba(0, 0, 0, .35);
  }
}

/* ===== 基础 ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01";
}
img, picture, svg, video { max-width: 100%; height: auto; display: block; }
picture img { filter: var(--photo-filter); }
img.logo-img, picture img.logo-img { filter: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; line-height: 1.22; margin: 0; letter-spacing: -.01em; color: var(--text); }
p { margin: 0 0 1em; }
table { border-collapse: collapse; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--btn-bg); color: var(--accent-text); }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.num, .tnum { font-variant-numeric: tabular-nums lining-nums; }
.kicker { display: block; font-size: 14px; line-height: 1.4; color: var(--accent); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.muted { color: var(--text-muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--btn-bg); color: var(--accent-text); padding: 8px 16px; z-index: 100; font-weight: 600; border-radius: var(--r-btn); }
.skip:focus { left: 8px; color: var(--accent-text); }
.icon { flex: none; }

@media (max-width: 760px) {
  :root { --gutter: 16px; --section: 64px; --header-h: 64px; }
  body { font-size: 16px; }
}

/* ===== 按钮：6px 圆角，不用胶囊形 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; text-align: center;
  cursor: pointer; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s;
}
.btn-primary { background: var(--btn-bg); color: var(--accent-text); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--accent-text); }
.btn-outline, .btn-outline-dark { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover, .btn-outline-dark:hover { border-color: var(--text); color: var(--text); }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--accent); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ===== 页头：白底，正式 logo，滚动后吸顶加细线 ===== */
.site-header { background: var(--bg); position: relative; z-index: 30; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 8px 32px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; min-height: 44px; flex: none; }
.brand-logo { display: block; height: 44px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px 32px; font-size: 16px; }
.main-nav a { color: var(--text); text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; font-weight: 500; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-variant-numeric: tabular-nums; }
.header-phone .icon { color: var(--accent); }
.header-phone:hover { color: var(--accent); }
.lang-switch { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-tag); font-size: 13px; font-weight: 600; min-height: 40px; overflow: hidden; }
.lang-switch > a, .lang-switch > b { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; padding: 0 9px; text-decoration: none; letter-spacing: .02em; }
.lang-switch > a { color: var(--text-muted); }
.lang-switch > a:hover { color: var(--text); background: var(--bg-alt); }
.lang-switch > b { color: var(--accent); background: var(--bg-alt); font-weight: 700; }
.lang-switch > * + * { border-left: 1px solid var(--line); }

@media (min-width: 1101px) {
  .site-header { position: sticky; top: 0; }
  .site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(0, 0, 0, .04); }
}
@media (max-width: 1240px) { .header-phone { display: none; } }
@media (max-width: 1100px) {
  .site-header { border-bottom-color: var(--line); }
  .site-header .bar { flex-wrap: wrap; padding-top: 8px; }
  .main-nav { order: 3; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 24px; border-top: 1px solid var(--line); }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { padding: 12px 0; }
}
@media (max-width: 760px) {
  .brand-logo { height: 36px; }
  .header-actions .btn-primary { display: none; }
  .main-nav { font-size: 15px; gap: 20px; }
}

/* ===== 首屏：全宽照片 + 深色渐变遮罩，白字（浅色、深色模式一致） ===== */
.hero { position: relative; color: var(--on-photo); background: #1A1C1F; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media picture, .hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { filter: saturate(.85); object-position: 60% 50%; }
/* 遮罩：文字所在的左半部分不低于 78%（bin/check-contrast.php 按白色照片的最坏情况计算） */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 13, 15, .88) 0%, rgba(12, 13, 15, .78) 50%, rgba(12, 13, 15, .2) 100%), linear-gradient(0deg, rgba(12, 13, 15, .55) 0%, rgba(12, 13, 15, 0) 40%); }
.hero-inner { min-height: min(720px, calc(100vh - var(--header-h))); display: flex; flex-direction: column; justify-content: center; padding-top: 96px; padding-bottom: 96px; }
.hero-text { max-width: 720px; display: flex; flex-direction: column; gap: 24px; }
.hero-kicker { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--on-photo-muted); }
.hero-kicker::before { content: ""; width: 32px; height: 2px; background: var(--accent); flex: none; }
.hero h1 { color: var(--on-photo); font-size: 64px; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.hero-sub { margin: 0; font-size: 19px; line-height: 1.7; color: var(--on-photo-muted); max-width: 640px; }
.hero .btn-row { margin-top: 8px; gap: 24px; }
.hero-link { color: var(--on-photo); font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.hero-link:hover { color: var(--on-photo); border-bottom-color: var(--on-photo); }
.hero-link .icon { width: 18px; height: 18px; }
.video-play { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; color: var(--on-photo); background: transparent; border: 0; cursor: pointer; font-size: 16px; font-weight: 600; padding: 0; min-height: 48px; }
.video-play .icon { width: 40px; height: 40px; }
.hero-video { position: absolute; inset: 0; z-index: 5; background: #000; }
.hero-video video { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) {
  .hero-inner { min-height: 560px; padding-top: 64px; padding-bottom: 48px; justify-content: flex-end; }
  .hero::before { background: linear-gradient(0deg, rgba(12, 13, 15, .9) 0%, rgba(12, 13, 15, .78) 60%, rgba(12, 13, 15, .6) 100%); }
  .hero-kicker { color: var(--on-photo); }
  .hero h1 { font-size: 36px; line-height: 1.2; }
  .hero-sub { font-size: 16px; }
  .hero-text { gap: 16px; }
  .hero .btn-row { gap: 8px 24px; }
}

/* ===== 品牌符号：管板孔阵线描图案 ===== */
.pattern { position: relative; isolation: isolate; }
.pattern::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: min(640px, 55%); z-index: -1; pointer-events: none;
  background-color: var(--pattern); opacity: var(--pattern-opacity);
  -webkit-mask-image: url("../img/tubesheet.svg"), linear-gradient(90deg, transparent, #000 70%);
  -webkit-mask-size: 28px 24px, 100% 100%; -webkit-mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in;
  mask-image: url("../img/tubesheet.svg"), linear-gradient(90deg, transparent, #000 70%);
  mask-size: 28px 24px, 100% 100%; mask-repeat: repeat, no-repeat; mask-composite: intersect;
}

/* ===== 核心数据条 ===== */
.stats { border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; gap: 8px; padding: 48px 32px 48px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--sans); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; color: var(--text); white-space: nowrap; }
.stat-num .unit { font-size: 28px; color: var(--accent); margin-left: 4px; letter-spacing: 0; }
.stat-num .pre { font-size: 20px; font-weight: 500; color: var(--text-muted); margin-right: 4px; letter-spacing: 0; }
.stat-label { font-size: 15px; line-height: 1.6; color: var(--text-muted); }
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
  .stat { padding: 24px 16px 24px 0; }
  .stat + .stat { padding-left: 16px; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat-num { font-size: 36px; }
  .stat-num .unit { font-size: 20px; }
  .stat-num .pre { font-size: 15px; }
  .stat-label { font-size: 14px; }
}

/* ===== 区块 ===== */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--bg); }
.section-tight { padding-top: 64px; padding-bottom: 64px; }
.section-line { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 48px; }
.section-head > div { max-width: 760px; }
.section-head h2, .h2 { font-size: 40px; line-height: 1.2; }
.section-head p { margin: 16px 0 0; color: var(--text-muted); max-width: 640px; }
.section-head .link-arrow { flex: none; }
.h2.block { margin-bottom: 32px; }
@media (max-width: 760px) {
  .section-head { margin-bottom: 32px; }
  .section-head h2, .h2 { font-size: 28px; }
  .section-tight { padding-top: 48px; padding-bottom: 48px; }
}

/* ===== 卡片：细边框，8px 圆角，悬停轻微上浮 ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: var(--text);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
a.tile:hover, .tile.is-link:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-hover); color: var(--text); }
a.tile:hover h2, a.tile:hover h3 { color: var(--accent); }
.tile-media { aspect-ratio: 3 / 2; background: var(--bg-alt); overflow: hidden; position: relative; }
.tile-media picture, .tile-media img { width: 100%; height: 100%; object-fit: cover; }
.tile-media img { transition: transform .5s ease; }
a.tile:hover .tile-media img { transform: scale(1.03); }
.tile-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile-body h2, .tile-body h3 { font-size: 22px; line-height: 1.3; transition: color .2s; }
.tile-body p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.tile-no { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.tile-more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.tile-more .icon { width: 16px; height: 16px; transition: transform .2s; }
a.tile:hover .tile-more .icon { transform: translateX(4px); }
@media (max-width: 1100px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .card-grid, .grid-cards { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tile-body { padding: 20px; }
  .tile-body h2, .tile-body h3 { font-size: 19px; }
}

/* 没有照片时：管板孔阵图案 + 文字，不放大低清图片 */
.media-pattern { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; padding: 32px; background: #22252A; color: #FFFFFF; isolation: isolate; }
.media-pattern::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background-color: #FFFFFF; opacity: .12;
  -webkit-mask: url("../img/tubesheet.svg") repeat 0 0 / 28px 24px; mask: url("../img/tubesheet.svg") repeat 0 0 / 28px 24px;
}
.media-pattern::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(20deg, #22252A 25%, rgba(34, 37, 42, 0) 80%); }
.media-pattern .mp-label { font-size: 14px; color: #C9C7C2; display: flex; align-items: center; gap: 12px; }
.media-pattern .mp-label::before { content: ""; width: 24px; height: 2px; background: #E10916; }
.tile-media { container-type: inline-size; }
.media-pattern .mp-value { font-family: var(--heading); font-size: 32px; font-size: clamp(24px, 7cqi, 44px); font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
@media (max-width: 760px) { .media-pattern { padding: 24px; } }

/* ===== 首页：服务 ===== */
.svc-card .tile-body { gap: 12px; }

/* 编号列表（行业页的对应服务） */
.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.numbered a { text-decoration: none; color: var(--text); padding: 24px 0; border-bottom: 1px solid var(--line); display: flex; gap: 16px; min-height: 44px; height: 100%; }
.numbered a:hover .numbered-title { color: var(--accent); }
.numbered-no { font-weight: 600; font-size: 15px; color: var(--accent); line-height: 1.6; font-variant-numeric: tabular-nums; }
.numbered-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.numbered-title { font-weight: 600; font-size: 18px; transition: color .2s; }
.numbered-desc { font-size: 15px; color: var(--text-muted); }

/* ===== 行业：标签切换 ===== */
.tabs { display: flex; flex-wrap: wrap; gap: 0 32px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.tab {
  color: var(--text-muted); background: transparent; text-decoration: none; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 0; margin-bottom: -1px; font-size: 17px; font-weight: 500; min-height: 48px; cursor: pointer; display: inline-flex; align-items: center;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"], .tab.active { color: var(--text); border-bottom-color: var(--accent); font-weight: 600; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 48px 64px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-media { border-radius: var(--r-card); overflow: hidden; background: var(--bg); aspect-ratio: 3 / 2; max-width: 600px; width: 100%; }
.tab-media picture, .tab-media img { width: 100%; height: 100%; object-fit: cover; }
.tab-text { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.tab-text h3 { font-size: 28px; }
.tab-text p { margin: 0; color: var(--text-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; list-style: none; margin: 0; padding: 0; }
.chips li, .chip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-tag); line-height: 1.4; }
.chips li > span, .chips li > a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; }
.chips a { color: var(--text); text-decoration: none; }
.chips a:hover { color: var(--accent); }
.chips li:has(a:hover) { border-color: var(--line-strong); }
.industry-pills { display: flex; flex-wrap: wrap; gap: 0 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.industry-pills .tab { font-size: 15px; }
@media (max-width: 900px) {
  .tab-panel { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tabs { gap: 0 24px; margin-bottom: 32px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; font-size: 16px; }
  .tab-text h3 { font-size: 22px; }
}

/* ===== 代表工程：大图卡片 ===== */
.case-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.case-list.case-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-card { position: relative; }
.case-card .tile-media { aspect-ratio: 3 / 2; }
.case-tag { align-self: flex-start; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: var(--r-tag); padding: 4px 8px; }
.case-card h3 { font-size: 22px; line-height: 1.35; }
.case-card h3 a { color: var(--text); text-decoration: none; }
.case-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.case-card:hover h3 a { color: var(--accent); }
.case-client { font-size: 14px; color: var(--text-muted); }
.case-meta { font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); }
.case-ask { position: relative; z-index: 2; align-self: flex-start; font-size: 14px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.case-ask .icon { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .case-list.case-list-2 { grid-template-columns: minmax(0, 1fr); }
  .case-card h3 { font-size: 19px; }
}

/* ===== 工程分布（省级方格示意，不是地图） ===== */
.geo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 64px; align-items: start; }
.geo-grid { width: 100%; max-width: 640px; }
.geo-grid rect { stroke: var(--bg-alt); stroke-width: 2; }
.geo-grid text { font-family: var(--sans); text-anchor: middle; pointer-events: none; }
.geo-grid .g-name { font-size: 15px; font-weight: 600; }
.geo-grid .g-en { font-size: 11px; letter-spacing: -.01em; }
.geo-grid .g-count { font-size: 13px; font-variant-numeric: tabular-nums; }
.lv0 rect { fill: var(--map-0); } .lv0 text { fill: var(--map-0-text); }
.lv1 rect { fill: var(--map-1); } .lv1 text { fill: var(--map-1-text); }
.lv2 rect { fill: var(--map-2); } .lv2 text { fill: var(--map-2-text); }
.lv3 rect { fill: var(--map-3); } .lv3 text { fill: var(--map-3-text); }
.lv4 rect { fill: var(--map-4); } .lv4 text { fill: var(--map-4-text); }
.geo-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--text-muted); margin-top: 16px; list-style: none; padding: 0; }
.geo-legend li { display: inline-flex; align-items: center; gap: 8px; }
.geo-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.geo-legend .k0 { background: var(--map-0); } .geo-legend .k1 { background: var(--map-1); } .geo-legend .k2 { background: var(--map-2); } .geo-legend .k3 { background: var(--map-3); } .geo-legend .k4 { background: var(--map-4); }
.geo-list { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 64px; align-items: start; }
.geo-list h3 { font-size: 17px; margin-bottom: 12px; }
@media (max-width: 760px) { .geo-list { grid-template-columns: minmax(0, 1fr); } }
.geo-side { display: flex; flex-direction: column; gap: 32px; }
.geo-figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.geo-figures div { border-top: 2px solid var(--text); padding-top: 16px; }
.geo-figures strong { display: block; font-size: 40px; line-height: 1.1; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.geo-figures span { font-size: 14px; color: var(--text-muted); }
.geo-top { list-style: none; margin: 0; padding: 0; }
.geo-top li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.geo-top li span:last-child { font-variant-numeric: tabular-nums; color: var(--text-muted); }
.geo-side h3 { font-size: 17px; margin-bottom: 8px; }
.geo-note { font-size: 14px; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .geo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .geo-grid .g-name { font-size: 18px; } .geo-grid .g-en { font-size: 12px; } .geo-grid .g-count { font-size: 16px; } }
@media (max-width: 760px) { .geo-figures strong { font-size: 32px; } }

/* ===== 安全与质量 ===== */
.facts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; }
.facts .section-head { margin-bottom: 0; align-self: start; }
.facts-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts-list li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 8px 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.facts-list h3 { font-size: 19px; }
.facts-list p { margin: 0; color: var(--text-muted); }
.facts-list .src { display: flex; width: fit-content; margin-top: 8px; font-size: 15px; }
@media (max-width: 900px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts-list li { grid-template-columns: minmax(0, 1fr); padding: 24px 0; }
}

/* ===== 资质与合作客户 ===== */
.cert-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.cert-note { margin: 16px 0 0; }
.cert-strip + .sub-head, .cert-note + .sub-head { margin-top: 64px; }
.cert-strip li { display: flex; flex-direction: column; gap: 8px; }
.cert-strip .plate { background: var(--plate); border: 1px solid var(--line); border-radius: var(--r-card); aspect-ratio: 3 / 4; padding: 12px; display: flex; align-items: center; justify-content: center; }
.cert-strip .plate picture, .cert-strip .plate img { max-height: 100%; width: auto; object-fit: contain; filter: none; }
.cert-strip span { font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.client-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.client-wall li { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 88px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--text-muted); line-height: 1.4; transition: color .2s; }
.client-wall li:hover { color: var(--text); }
/* 客户标志：白底托住 jpg 标志，深色模式下同样清楚 */
.client-wall li.has-logo { background: #fff; padding: 12px 18px; }
.client-wall li.has-logo picture, .client-wall li.has-logo img { display: block; width: 100%; max-width: 170px; height: 64px; object-fit: contain; }
.clients-note { font-size: 14px; color: var(--text-muted); margin-top: 16px; }
.sub-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 24px; }
.sub-head h3 { font-size: 22px; }
@media (max-width: 1100px) { .cert-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } .client-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .cert-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 48px; }
  .client-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .client-wall li.has-logo { padding: 8px; }
  .client-wall li.has-logo picture, .client-wall li.has-logo img { height: 44px; }
  .client-wall li { min-height: 64px; font-size: 14px; padding: 12px 8px; }
}

/* ===== 询价区：浅灰底，左电话说明、右表单 ===== */
.inquiry-section { background: var(--bg-alt); }
.inquiry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 64px; padding-top: var(--section); padding-bottom: var(--section); }
.inquiry-intro { display: flex; flex-direction: column; gap: 24px; }
.inquiry-intro h2 { font-size: 40px; line-height: 1.2; }
.inquiry-intro h2 em { font-style: normal; color: var(--accent); }
.inquiry-intro p { margin: 0; color: var(--text-muted); }
.big-phone { color: var(--text); text-decoration: none; font-weight: 600; font-size: 36px; line-height: 1.2; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.big-phone:hover { color: var(--accent); }
.contact-lines { display: flex; flex-direction: column; gap: 4px; color: var(--text-muted); font-size: 15px; margin-top: 8px; }
.contact-lines a { color: var(--text); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-lines a:hover { color: var(--accent); }
.mini-steps { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: ms; border-top: 1px solid var(--line-strong); }
.mini-steps li { counter-increment: ms; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; line-height: 1.6; grid-row: span 2; }
.mini-steps strong { font-size: 16px; font-weight: 600; }
.mini-steps span { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px; align-self: start; }
.form-card h3 { font-size: 22px; margin-bottom: 24px; }
@media (max-width: 960px) { .inquiry { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .inquiry-intro h2 { font-size: 28px; }
  .big-phone { font-size: 28px; }
  .form-card { padding: 24px 16px; }
}

/* 表单 */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 16px; align-content: start; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
.field input, .field select, .field textarea {
  font-size: 16px; font-weight: 400; padding: 12px 14px; border-radius: var(--r-btn); width: 100%; min-height: 48px;
  background: var(--surface); color: var(--text); border: 1px solid var(--field-line); transition: border-color .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 112px; resize: vertical; }
.field input[type="file"] { padding: 8px; font-size: 14px; color: var(--text-muted); }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; color: var(--text); background: var(--bg-alt); border: 1px solid var(--line-strong); border-radius: var(--r-tag); padding: 6px 12px; margin-right: 12px; cursor: pointer; }
.field .req { color: var(--accent); }
.field-error { color: var(--error); font-size: 14px; }
.form-alert { background: var(--error-bg); color: var(--error); border: 1px solid var(--error-line); border-radius: var(--r-btn); padding: 12px 16px; font-size: 15px; }
.form-note { font-size: 13px; color: var(--text-muted); margin: 0; }
.form-from { font-size: 14px; color: var(--text-muted); background: var(--bg-alt); border-radius: var(--r-btn); padding: 12px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); font-size: 15px; color: var(--text-muted); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin: 0; max-width: 420px; line-height: 1.7; }
.footer-grid h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; font-variant-numeric: tabular-nums; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; } .footer-brand img { height: 34px; } }

/* ===== 手机底部固定栏 ===== */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  :root { --bar-h: 60px; }
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .06);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mobile-bar a, .mobile-bar button {
    display: flex; align-items: center; justify-content: center; gap: 8px; height: var(--bar-h);
    color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; border: 0; background: transparent; cursor: pointer;
  }
  .mobile-bar > * + * { border-left: 1px solid var(--line); }
  .mobile-bar .bar-quote { background: var(--btn-bg); color: var(--accent-text); border-left: 0; }
}

/* ===== 电脑端右侧联系栏（手机用底部固定栏） ===== */
.contact-rail { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.contact-rail a, .contact-rail button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 64px; min-height: 60px; padding: 8px 4px; border: 1px solid var(--line); border-radius: var(--r-card);
  background: var(--surface); color: var(--text); font: 600 12px/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .08); transition: border-color .15s, color .15s;
}
.contact-rail a:hover, .contact-rail button:hover, .contact-rail a:focus-visible { border-color: var(--accent); color: var(--accent); }
.contact-rail .rail-quote { background: var(--btn-bg); border-color: var(--btn-bg); color: var(--accent-text); }
.contact-rail .rail-quote:hover { background: var(--btn-bg-hover); color: var(--accent-text); }
.contact-rail .rail-top svg { transform: rotate(-90deg); }
.contact-rail [hidden] { display: none; }
.contact-rail .rail-tip {
  position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%); white-space: nowrap;
  padding: 8px 12px; border-radius: 6px; background: var(--text); color: var(--bg); font: 600 14px/1.2 var(--sans); font-style: normal;
  opacity: 0; pointer-events: none; transition: opacity .15s;
}
.contact-rail a:hover .rail-tip, .contact-rail a:focus-visible .rail-tip { opacity: 1; }
/* 右侧空白放不下完整浮条（内容 1280px + 两侧各 88px）时缩成贴右边的细条，只留图标，不压内容；说明在鼠标移上去时显示 */
@media (max-width: 1455px) {
  .contact-rail { right: 0; gap: 4px; }
  .contact-rail a, .contact-rail button { width: 28px; min-height: 40px; padding: 6px 0; border-right: 0; border-radius: var(--r-card) 0 0 var(--r-card); }
  .contact-rail a > span, .contact-rail button > span { display: none; }
}
@media (max-width: 760px) { .contact-rail { display: none; } }

/* ===== 左下角微信二维码（每个中文页面；手机用底部固定栏的"微信"）
   电脑上始终直接显示二维码；屏幕不够宽时卡片缩小一些，访客可点 × 关掉 ===== */
.wx-float {
  position: fixed; left: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 2px;
  width: 152px; padding: 14px 12px 12px; border: 1px solid var(--line); border-radius: var(--r-card); cursor: pointer;
  background: var(--surface); color: var(--text); text-align: center; box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.wx-float img { width: 120px; height: 120px; margin-bottom: 6px; background: #fff; }
.wx-float b { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.wx-float b svg { display: none; color: #07c160; }
.wx-float span { font-size: 13px; color: var(--text-muted); }
.wx-float-x { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; color: var(--text-muted); cursor: pointer; }
.wx-float-x:hover { color: var(--accent); }
.wx-float[hidden] { display: none; }
@media (max-width: 1639px) {
  .wx-float { left: 12px; bottom: 12px; width: 124px; padding: 12px 10px 10px; }
  .wx-float img { width: 100px; height: 100px; margin-bottom: 4px; }
  .wx-float b { font-size: 13px; }
}

.wa-float b { display: block; }
.wa-float b svg { display: inline-block; vertical-align: -3px; margin-right: 4px; color: #25d366; }
@media (max-width: 760px) { .wx-float { display: none; } }
@media print { .wx-float { display: none; } }
@media print { .contact-rail { display: none; } }

/* ===== 微信弹窗 ===== */
.wechat-dialog { border: 1px solid var(--line); border-radius: var(--r-card); padding: 0; max-width: 340px; width: calc(100% - 32px); color: var(--text); background: var(--surface); }
.wechat-dialog::backdrop { background: rgba(12, 13, 15, .6); }
.wechat-box { padding: 24px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.wechat-box h2 { font-size: 20px; }
.wechat-box img { width: 200px; height: 200px; filter: none; background: #fff; padding: 8px; border-radius: var(--r-tag); }
.wechat-id { font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dialog-close { align-self: flex-end; background: transparent; border: 0; min-width: 44px; min-height: 44px; cursor: pointer; color: var(--text-muted); display: inline-flex; align-items: center; justify-content: center; margin: -12px -12px 0 0; }
.copy-status { font-size: 14px; color: var(--ok); min-height: 1.4em; }

/* ===== 内页：浅灰标题区 + 面包屑 + H1 + 一句说明 ===== */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head .wrap { padding-top: 48px; padding-bottom: 64px; }
.crumbs { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line-strong); }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-head h1 { font-size: 48px; line-height: 1.18; letter-spacing: -.02em; max-width: 960px; }
.page-head .lead { margin: 24px 0 0; color: var(--text-muted); font-size: 19px; line-height: 1.7; max-width: 800px; }
.page-head .dates { margin: 16px 0 0; font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
  .page-head .wrap { padding-top: 24px; padding-bottom: 40px; }
  .crumbs { margin-bottom: 16px; }
  .page-head h1 { font-size: 30px; }
  .page-head .lead { font-size: 16px; margin-top: 16px; }
}

.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; }
@media (max-width: 1024px) { .content-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card h2 { font-size: 20px; }
.aside-card h2 + .chips { margin-top: -4px; }
.aside-card p { margin: 0; font-size: 15px; color: var(--text-muted); }
.aside-card .big-phone { font-size: 28px; }
.aside-card hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; width: 100%; }
@media (max-width: 1024px) { .aside-card { position: static; } }

.block { margin-bottom: 64px; }
.block:last-child { margin-bottom: 0; }
.block > h2 { font-size: 28px; margin-bottom: 24px; }
/* 正文配图：按原图尺寸显示，不放大旧站低清图片 */
.lead-figure { margin: 0 0 64px; }
.lead-figure picture { display: inline-block; max-width: 100%; }
.lead-figure img { border-radius: var(--r-card); height: auto; }
.prose { font-size: 17px; line-height: 1.85; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--accent); }
.prose img, .prose picture { border-radius: var(--r-card); margin: 1.2em 0; }
.prose table { width: 100%; font-size: 15px; margin: 1.2em 0; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }
.prose th { font-weight: 600; background: var(--bg-alt); }
.prose blockquote { margin: 1.2em 0; padding: 4px 24px; border-left: 2px solid var(--accent); color: var(--text-muted); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; }
.check-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 0; }
.check-list.card { padding: 8px 32px; }
.check-list li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list .icon { color: var(--accent); flex: none; margin-top: 5px; }
.step-list { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; border-top: 1px solid var(--line); }
.step-list li { counter-increment: s; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.step-list li::before { content: counter(s, decimal-leading-zero); font-weight: 600; font-size: 20px; line-height: 1.5; color: var(--accent); font-variant-numeric: tabular-nums; }
.note { font-size: 16px; color: var(--text); background: var(--bg-alt); border-left: 2px solid var(--accent); padding: 20px 24px; border-radius: 0 var(--r-card) var(--r-card) 0; margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.gallery figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.gallery picture, .gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: 13px; line-height: 1.6; color: var(--text-muted); padding: 12px 16px; }
.cta-band { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; position: relative; overflow: hidden; isolation: isolate; }
.cta-band p { margin: 0; font-family: var(--heading); font-size: 22px; line-height: 1.4; font-weight: 600; max-width: 640px; }
.shop-band h2 { margin: 0 0 8px; font-size: 24px; }
.shop-band p { font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--text-muted); max-width: 680px; }
.main-nav .nav-shop { color: var(--accent); }
.cta-band::after {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 45%; z-index: -1; background-color: var(--pattern); opacity: var(--pattern-opacity);
  -webkit-mask: url("../img/tubesheet.svg") repeat 0 0 / 28px 24px; mask: url("../img/tubesheet.svg") repeat 0 0 / 28px 24px;
}
@media (max-width: 760px) { .cta-band { padding: 24px; } .cta-band p { font-size: 19px; } .card, .check-list.card { padding-left: 20px; padding-right: 20px; } }

/* 规格表 */
.spec { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); border-collapse: separate; border-spacing: 0; overflow: hidden; }
.spec th, .spec td { padding: 16px 24px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { width: 30%; color: var(--text-muted); font-weight: 400; font-size: 15px; }
.spec td { font-variant-numeric: tabular-nums; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
@media (max-width: 560px) { .spec th, .spec td { display: block; width: auto; padding: 4px 16px; border: 0; } .spec th { padding-top: 16px; font-size: 14px; } .spec td { padding-bottom: 16px; border-bottom: 1px solid var(--line); } }

/* 业绩表：细线、极浅斑马纹、表头吸顶、手机横向滚动 */
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; align-items: end; margin-bottom: 24px; }
.filters .field { color: var(--text-muted); }
.filters .btn-row { gap: 8px; flex-wrap: nowrap; }
.filters .btn { min-height: 48px; flex: 1; padding-left: 16px; padding-right: 16px; }
.table-scroll { overflow: auto; max-height: 80vh; -webkit-overflow-scrolling: touch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.data-table { width: 100%; min-width: 760px; font-size: 15px; }
.data-table th, .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { background: var(--bg-alt); font-weight: 600; font-size: 14px; color: var(--text); position: sticky; top: 0; z-index: 1; white-space: nowrap; box-shadow: inset 0 -1px 0 var(--line); }
.data-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--bg-alt) 55%, transparent); }
.data-table tbody tr:hover { background: var(--bg-alt); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table td.nowrap { white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--text-muted); margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.scroll-hint { display: none; }
@media (max-width: 760px) { .scroll-hint { display: inline; } .filters { padding: 16px; } }

/* 证书 */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; margin: 0; }
.cert-media { background: var(--plate); aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; padding: 16px; }
.cert-media picture { height: 100%; display: flex; align-items: center; justify-content: center; }
.cert-media img { max-height: 100%; width: auto; object-fit: contain; filter: none; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.cert-media .link-arrow { color: #CC0A17; }
.cert figcaption { padding: 16px 20px 20px; font-size: 15px; font-weight: 500; line-height: 1.6; }
.cert small { display: block; color: var(--text-muted); font-size: 13px; font-weight: 400; margin-top: 4px; }

/* FAQ */
.faq-list { display: grid; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 8px; border-right: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.faq-item summary:hover { color: var(--accent); }
.faq-item .answer { padding: 0 40px 24px 0; color: var(--text-muted); }
.faq-item .answer p:last-child { margin-bottom: 0; }

/* 新闻 */
.news-list { display: grid; border-top: 1px solid var(--line); }
.news-item { display: flex; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); align-items: center; }
.news-item:hover h2 { color: var(--accent); }
.news-date { color: var(--text-muted); font-size: 15px; min-width: 104px; font-variant-numeric: tabular-nums; }
.news-item h2 { font-size: 20px; line-height: 1.45; transition: color .2s; }
.news-item p { margin: 8px 0 0; font-size: 15px; color: var(--text-muted); }
.news-thumb { width: 160px; flex: none; border-radius: var(--r-card); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); order: 3; margin-left: auto; }
.news-thumb picture, .news-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .news-item { flex-wrap: wrap; gap: 8px; padding: 24px 0; } .news-thumb { display: none; } .news-item h2 { font-size: 18px; } }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; align-items: center; }
.pager a, .pager span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border-radius: var(--r-btn); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-variant-numeric: tabular-nums; }
.pager a:hover { border-color: var(--line-strong); color: var(--accent); }
.pager .current { background: var(--text); color: var(--bg); border-color: var(--text); }

/* 联系 */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.contact-card .label { font-size: 14px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.contact-card .label .icon { color: var(--accent); }
.contact-card .value { font-size: 18px; font-weight: 600; color: var(--text); text-decoration: none; }
.contact-card a.value:hover { color: var(--accent); }
.contact-card .value.num { font-size: 24px; font-variant-numeric: tabular-nums; }
.qr { width: 160px; height: 160px; filter: none; background: #fff; padding: 8px; border-radius: var(--r-tag); border: 1px solid var(--line); }
.preview-flag { margin: 0; background: var(--flag-bg); color: var(--flag-text); padding: 12px 16px; font-size: 15px; text-align: center; }
.empty { color: var(--text-muted); background: var(--surface); border: 1px solid var(--line); padding: 24px; border-radius: var(--r-card); }
.notfound-links { margin-top: 0; }

/* ===== 轻微动效：滚动淡入（位移 ≤ 16px、≤ 400ms），遵守"减少动态效果" ===== */
/* 脚本只给首屏以下的元素加 reveal-pending，进入视口后淡入；没有脚本时一切正常显示 */
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending { opacity: 0; transform: translateY(16px); }
  .reveal-in { opacity: 1; transform: none; transition: opacity .4s ease, transform .4s ease; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

@media print {
  .site-header, .mobile-bar, .site-footer, .inquiry-section, .cta-band { display: none !important; }
  body { background: #fff; color: #000; }
}

/* 标题区下方的正文区不需要整段区块的上间距 */
.page-head + .section { padding-top: 80px; }
@media (max-width: 760px) { .page-head + .section { padding-top: 40px; } }

/* 英文页头：logo 更宽，收紧导航间距；按钮和语言切换不换行 */
.btn, .lang-switch, .header-actions a { white-space: nowrap; }
.lang-intl .brand-logo { height: 40px; }
.lang-intl .main-nav { gap: 4px 24px; font-size: 15px; }
.lang-es .main-nav { gap: 4px 18px; }
@media (max-width: 1679px) { .lang-es .header-phone { display: none; } }
@media (max-width: 1279px) { .lang-es .main-nav { gap: 4px 14px; font-size: 14px; } }
@media (max-width: 1599px) { .lang-intl .header-phone { display: none; } }
/* 俄语菜单词更长：与西语一样收紧，电话在宽屏才显示 */
.lang-ru .main-nav { gap: 4px 18px; }
.lang-ru .site-header .bar, .lang-es .site-header .bar { gap: 8px 24px; }
@media (max-width: 1799px) { .lang-ru .header-phone { display: none; } }
@media (max-width: 1279px) { .lang-ru .main-nav { gap: 4px 14px; font-size: 14px; } }
@media (max-width: 760px) { .lang-intl .brand-logo { height: 30px; } }

/* 区块标题里的链接（如常见问题的服务分组）：保持标题样式，悬停变强调色 */
.block > h2 a { color: inherit; text-decoration: none; }
.block > h2 a:hover { color: var(--accent); }
/* 服务页：链接到产品站的问题与解决页面 */
.guides .link-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.guides .link-list li { border-bottom: 1px solid var(--line); }
.guides .link-list a { display: block; padding: 12px 28px 12px 0; color: var(--text); text-decoration: none; position: relative; }
.guides .link-list a::after { content: "→"; position: absolute; right: 4px; color: var(--accent); }
.guides .link-list a:hover { color: var(--accent); }

/* 外文站 1101–1279px：导航文字更长，收紧间距，避免顶栏超出 */
@media (min-width: 1101px) and (max-width: 1279px) {
  .lang-intl .brand-logo { height: 32px; }
  .lang-intl .main-nav { gap: 4px 12px; font-size: 14px; }
  .lang-intl .lang-switch > a, .lang-intl .lang-switch > b { min-width: 34px; padding: 0 6px; }
  .lang-ru .main-nav, .lang-es .main-nav { gap: 4px 9px; font-size: 13px; }
  .lang-intl .header-actions { gap: 10px; }
}

/* 页脚与联系页：关注兰博（微信、公众号、视频号、抖音、B 站） */
.footer-follow { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 28px; }
.footer-follow h2 { font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--text); margin: 0 0 16px; }
.follow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 32px; }
.follow-item { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 14px; line-height: 1.5; }
.follow-item a { color: var(--text); text-decoration: none; }
.follow-item a:hover { color: var(--accent); }
.follow-item small { color: var(--text-muted); font-size: 12px; }
.follow-qr { display: inline-flex; background: #fff; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-tag); }
.follow-qr img { width: 96px; height: 96px; object-fit: contain; filter: none; }
.follow-list-sm .follow-qr img { width: 88px; height: 88px; }

/* 导航多了「购买产品」（去产品站）：1101–1439px 收紧间距，电话改由右侧浮动栏和页脚提供 */
@media (min-width: 1101px) and (max-width: 1439px) {
  .main-nav { gap: 4px 22px; }
  .site-header .bar { gap: 8px 24px; }
  .lang-intl .main-nav { gap: 4px 16px; }
  .lang-ru .main-nav, .lang-es .main-nav { gap: 4px 10px; font-size: 14px; }
}
@media (min-width: 1101px) and (max-width: 1199px) {
  .brand-logo { height: 38px; }
  .main-nav { gap: 4px 16px; font-size: 15px; }
  .lang-intl .main-nav { gap: 4px 10px; font-size: 13px; }
  .lang-ru .main-nav, .lang-es .main-nav { gap: 4px 7px; font-size: 13px; }
  .lang-intl .brand-logo { height: 28px; }
  .site-header .bar { gap: 8px 16px; }
  .header-actions .btn-sm { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 1459px) { .header-phone { display: none; } }
@media (max-width: 1699px) { .lang-intl .header-phone { display: none; } }
@media (max-width: 1749px) { .lang-es .header-phone { display: none; } }
