/* ============================================================
   NETTO · 设计系统 v3（品牌重构：NETTO 为主角）
   ─────────────────────────────────────────────────────
   定位：NETTO = 厄瓜多尔领先地材整合商（主角）
        Polyflor / MAPEI = 国际品质背书（配角）
   配色：专业海军蓝 #0f172a · 金 #c8963e · 医疗绿 #10b981
   修复：v2 按钮隐形 / --teal 未定义 / 品牌倒置
   ============================================================ */

/* ══════════════ 设计令牌 ══════════════ */
:root {
  /* ── 色彩（UI/UX Pro Max Trust & Authority + 老站识别色）── */
  --navy: #0f172a;
  --navy-2: #1e293b;
  --navy-3: #334155;
  --gold: #c8963e;
  --gold-light: #e0b25c;
  --gold-glow: rgba(200,150,62,.25);
  --green: #10b981;           /* 老站 Logo 绿点 */
  --green-dark: #059669;
  --green-glow: rgba(16,185,129,.20);
  --teal: #0d9488;            /* 卡片渐变 / 医疗联想（v3 补齐） */
  --ink: #1e293b;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --line: #e2e8f0;
  --line-dark: #cbd5e1;
  --paper: #ffffff;
  --paper-2: #f8fafc;
  --paper-3: #f1f5f9;

  /* ── 排版 ── */
  --font: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;

  /* ── 统一缓动（来自 potato-designer-clone v4）── */
  --ease-out: cubic-bezier(.22, 1, .36, 1);      /* easeOutQuint — 主力缓动 */
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1); /* 弹性 — 按钮/卡片回弹 */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  /* ── 尺寸 ── */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(10,22,40,.06);
  --shadow: 0 8px 30px rgba(10,22,40,.10);
  --shadow-lg: 0 20px 50px rgba(10,22,40,.14);
  --shadow-gold: 0 8px 30px rgba(200,150,62,.22);
  --maxw: 1200px;
  --header-h: 72px;
}

/* ══════════════ Reset & Base ══════════════ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: var(--green); text-decoration: none; transition: color .25s var(--ease-out); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-weight: 900; }
h2 { font-weight: 800; }
h3 { font-weight: 700; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }

/* ══════════════ Scroll Entrance Animation System ══════════════
   来自 potato-designer-clone v3：IntersectionObserver 驱动
   HTML 加 .io 类 → JS 检测进入视口 → 加 .in 类触发动画
   所有动画只用 transform + opacity（GPU 合成，不触发布局） ═══════ */

/* ══ 渐进增强：仅在 JS 可用(.js)时隐藏元素，避免 JS 失败导致内容永久不可见 ══ */
.js .io {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js .io.in { opacity: 1; transform: translateY(0); }
/* 错峰入场：子元素依次延迟出现 */
.js .io.in > *:nth-child(2) { transition-delay: .1s; }
.js .io.in > *:nth-child(3) { transition-delay: .2s; }
.js .io.in > *:nth-child(4) { transition-delay: .3s; }
.js .io.in > *:nth-child(5) { transition-delay: .4s; }

.js .io-scale {
  opacity: 0; transform: scale(.94) translateY(24px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js .io-scale.in { opacity: 1; transform: scale(1) translateY(0); }
.js .io-scale.in > *:nth-child(2) { transition-delay: .08s; }
.js .io-scale.in > *:nth-child(3) { transition-delay: .16s; }
.js .io-scale.in > *:nth-child(4) { transition-delay: .24s; }

/* 从左/右入场变体 */
.js .io-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .io-left.in { opacity: 1; transform: translateX(0); }
.js .io-right { opacity: 0; transform: translateX(40px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .io-right.in { opacity: 1; transform: translateX(0); }

/* ══ 首屏 Hero 入场（页面加载即播放，用于确认 JS 生效；同样受 reduced-motion 约束） ══ */
.js .hero-content > * {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.js .hero-content.ready > * { opacity: 1; transform: none; }
.js .hero-content.ready > *:nth-child(2) { transition-delay: .08s; }
.js .hero-content.ready > *:nth-child(3) { transition-delay: .16s; }
.js .hero-content.ready > *:nth-child(4) { transition-delay: .24s; }
.js .hero-content.ready > *:nth-child(5) { transition-delay: .32s; }

/* prefers-reduced-motion 降级（v4 教训） */
@media (prefers-reduced-motion: reduce) {
  .js .io, .js .io-left, .js .io-right, .js .io-scale,
  .js .hero-content > * { opacity: 1; transform: none; transition: none; }
}

/* ══════════════ 滚动进度条（一眼可见的滚动反馈，SEO 无影响） ══════════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--green), var(--gold));
  z-index: 200; pointer-events: none;
  transition: transform .1s linear;
}

/* ══════════════ Header · Glass Morphism Nav ══════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226,232,240,.6);
  transition: box-shadow .3s var(--ease-out);
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 6px 24px rgba(10,22,40,.10);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; color: var(--navy); font-size: 17px;
  letter-spacing: .8px; text-transform: uppercase;
}
.brand img { height: 32px; width: auto; }
.brand .brand-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); display: inline-block;
  box-shadow: 0 0 8px var(--green-glow);
}

.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  color: var(--navy); font-weight: 600; font-size: 13.5px;
  position: relative; padding: 4px 0;
  letter-spacing: .03em;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--green);
  border-radius: 1px; transition: width .35s var(--ease-out);
}
.nav a:hover { color: var(--green); }
.nav a:hover::after { width: 100%; }

.lang-bar { display: flex; gap: 5px; align-items: center; }
.lang-bar a {
  font-size: 11.5px; font-weight: 700; padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--line); color: var(--muted);
  transition: all .25s var(--ease-out);
}
.lang-bar a.active {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.lang-bar a:hover { color: var(--green); border-color: var(--green); }

/* ══════════════ Buttons ══════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #1b1300; font-weight: 700;
  padding: 13px 26px; border-radius: var(--radius-full);
  border: none; cursor: pointer;
  font-size: 13px; letter-spacing: .04em;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-spring),
              background .25s var(--ease-out);
  will-change: transform;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
  background: var(--gold-light);
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; box-shadow: var(--shadow-lg); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; box-shadow: 0 8px 30px rgba(16,185,129,.30); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--line-dark);
}
.btn-ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ═══ 深色背景上的幽灵按钮（Hero / section-dark）── v3 修复深底白字不可见 ═══ */
.hero .btn-ghost,
.section-dark .btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,.45);
  background: transparent;
}
.hero .btn-ghost:hover,
.section-dark .btn-ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}
.btn-sm { padding: 9px 18px; font-size: 12px; }

/* ══════════════ Hero · Cinematic Full-Viewport ══════════════
   左文右图 grid + 多层渐变 + 背景装饰网格 ══════════════ */
.hero {
  position: relative; min-height: 92vh;
  display: grid; grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 45%, var(--navy-3) 100%);
  z-index: 0;
}
/* 背景装饰网格（微弱科技感） */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: 1; pointer-events: none;
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 4vw 80px 6vw;
}
.hero-kicker {
  font-size: 12px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.hero-kicker::before {
  content: ""; width: 28px; height: 2px; background: var(--green);
  border-radius: 1px;
}
.hero h1 {
  color: #fff; font-size: clamp(32px, 4.8vw, 56px);
  line-height: 1.08; margin-bottom: .4em;
  letter-spacing: -.02em;
}
.hero h1 .highlight { color: var(--gold-light); }
.hero-desc {
  color: rgba(205,214,230,.82); font-size: 17px;
  max-width: 520px; line-height: 1.7; margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero 右侧视觉区 */
.hero-visual {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.hero-image-wrapper {
  position: relative; width: 100%; max-width: 420px;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.hero-image-wrapper img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  transition: transform 8s var(--ease-out);
}
.hero:hover .hero-image-wrapper img { transform: scale(1.04); }
/* 图片底部渐变遮罩 */
.hero-image-wrapper::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,22,40,.5) 100%);
  pointer-events: none;
}

/* Hero 徽章标签 */
.hero-badges {
  margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap;
}
.badge {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-size: 12.5px; color: rgba(205,214,230,.88);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; gap: 6px;
}
.badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green-glow);
}

/* ══════════════ Sections ══════════════ */
.section { padding: 90px 0; position: relative; }
.section.alt { background: var(--paper-2); }
.section-dark { background: var(--navy); color: #e7ecf5; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 {
  font-size: clamp(26px, 3.2vw, 38px); font-weight: 900;
  margin-bottom: 12px;
}
.section-title p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 16px; }
.section-title .underline {
  width: 48px; height: 3px; background: var(--gold);
  border-radius: 2px; margin: 16px auto 0;
}

/* ══════════════ Pillars (3-col icon blocks) ══════════════ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease-spring), box-shadow .35s var(--ease-spring),
              border-color .3s var(--ease-out);
  position: relative; overflow: hidden;
}
.pillar::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--green), var(--gold));
  opacity: 0; transition: opacity .3s var(--ease-out);
}
.pillar:hover {
  transform: translateY(-5px); box-shadow: var(--shadow);
  border-color: var(--line-dark);
}
.pillar:hover::before { opacity: 1; }
.pillar .ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--gold-light); font-size: 24px; font-weight: 800;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(10,22,40,.15);
}
.pillar h3 { margin: 0 0 8px; font-size: 18px; }
.pillar p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.65; }

/* ══════════════ Brand Wall (Polyflor + MAPEI) ══════════════ */
.brand-wall {
  display: flex; gap: 28px; justify-content: center; align-items: center;
  flex-wrap: wrap; padding: 20px 0;
}
.brand-wall .bw {
  border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 20px 32px; background: var(--paper);
  font-weight: 800; color: var(--navy); letter-spacing: .8px;
  min-width: 160px; text-align: center;
  transition: all .35s var(--ease-out);
  filter: grayscale(.4);
}
.brand-wall .bw:hover {
  filter: grayscale(0);
  border-color: var(--gold); box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.brand-wall .bw small {
  display: block; font-weight: 500; color: var(--muted);
  font-size: 12px; letter-spacing: 0; margin-top: 4px;
}

/* ══════════════ Product Grid · Premium Cards ══════════════ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-spring);
  position: relative;
}
.card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
/* 卡片顶部渐变缩略图 */
.card .thumb {
  height: 190px;
  background: linear-gradient(135deg, var(--navy-2) 0%, var(--navy-3) 50%, var(--teal) 100%);
  display: grid; place-items: center; color: #fff;
  font-weight: 800; font-size: 15px; text-align: center; padding: 16px;
  position: relative; overflow: hidden;
}
.card .thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.45) 100%);
}
.card .thumb span { position: relative; z-index: 1; }
.card .body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin: 4px 0 6px; font-size: 18px; font-weight: 800; }
.card .type { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.card .tagline { color: var(--ink); font-size: 14px; flex: 1; line-height: 1.6; }
.card .apps { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 11px; background: var(--paper-3); border: 1px solid var(--line);
  color: var(--muted); padding: 4px 10px; border-radius: var(--radius-full);
  transition: all .2s var(--ease-out);
}
.tag:hover { border-color: var(--green); color: var(--green-dark); }

/* ══════════════ NETTO 主角化 · 方案标签 & 欧品降为「技术背书」 ══════════════ */
/* 缩略图：只出现 NETTO 标识 + 产品大类，不再出现欧品品牌名 */
.card .thumb {
  display: grid; gap: 7px; align-content: center; justify-items: center;
  padding: 18px; text-align: center;
}
.card .thumb .thumb-mark {
  position: absolute; top: 12px; left: 12px;
  height: 26px; width: auto; z-index: 1;
  filter: brightness(0) invert(1); opacity: .88;   /* 深色渐变底反白 */
}
.card .thumb .thumb-cat {
  position: relative; z-index: 1;
  font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25;
}
.card .thumb .thumb-series {
  position: relative; z-index: 1;
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-light);
}
/* NETTO 方案标签（产品卡主角标识） */
.card .sol-tag {
  display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
  font-size: 10px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: var(--navy);
  padding: 5px 12px; border-radius: var(--radius-full); margin-bottom: 11px;
}
.card .sol-tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 6px var(--green-glow);
}
/* 型号 / 技术背书行：欧品品牌整张卡只在这里出现一次，且最小化 */
.card .model {
  margin-top: 13px; padding-top: 11px;
  border-top: 1px dashed var(--line);
  font-size: 11.5px; color: var(--muted); line-height: 1.5;
}
.card .model b { color: var(--navy-2); font-weight: 700; }

/* 产品页 NETTO 定位引言 */
.products-intro {
  max-width: 740px; margin: 0 auto 26px; text-align: center;
  color: var(--muted); font-size: 15.5px; line-height: 1.7;
}

/* ══════════════ NETTO 承诺条（产品页品牌主角化的视觉锚点） ══════════════ */
.netto-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin: 0 auto 16px;
}
.pill-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  background: var(--paper-2); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: var(--radius-full);
}
.pill-chip .c-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 6px var(--green-glow);
}
.netto-cred {
  text-align: center; font-size: 12.5px; color: var(--muted);
  margin: 0 auto; max-width: 620px;
}

/* ══════════════ 分组标题（产品页 / 案例页 目录感，左对齐） ══════════════ */
.group-head { margin: 0 0 38px; max-width: 760px; }
.group-head .group-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 900; letter-spacing: .22em;
  color: var(--green); margin-bottom: 11px;
}
.group-head .group-kicker::before {
  content: ""; width: 24px; height: 2px; background: var(--green); border-radius: 1px;
}
.group-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 900; margin: 0 0 8px; }
.group-head p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.65; }
.group-head .underline { margin: 14px 0 0; }

/* ══════════════ 产品详情页 ══════════════ */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.detail-thumb {
  height: 300px; border-radius: var(--radius-lg);
  display: grid; gap: 8px; align-content: center; justify-items: center;
  padding: 18px; text-align: center;
}

/* ══════════════ Spec Table ══════════════ */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 18px; }
.spec-table th, .spec-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid var(--line); font-size: 14px;
}
.spec-table th {
  background: var(--paper-2); color: var(--navy);
  font-weight: 700; width: 40%;
}
.spec-table tr:hover td { background: rgba(16,185,129,.04); }

/* ══════════════ Stats Counter Bar ══════════════ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  text-align: center;
}
.stat {
  padding: 28px 16px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease-spring);
}
.stat:hover { transform: translateY(-3px); }
.stat .num {
  font-size: 38px; font-weight: 900; color: var(--gold);
  line-height: 1.1; letter-spacing: -.02em;
}
.stat .lbl { color: var(--muted); font-size: 13.5px; margin-top: 6px; }

/* ══════════════ 覆盖 / 合规区块（v3 补词承接）══════════════ */
.cov-cities {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; margin-top: 36px;
}
.cov-city {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px;
}
.cov-city b {
  display: block; font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--teal);
}
.cov-city span { display: block; margin-top: 7px; color: var(--navy); font-weight: 600; font-size: 15px; }
.comp-list { list-style: none; padding: 0; margin: 32px 0 0; text-align: left; max-width: 780px; margin-inline: auto; }
.comp-list li {
  padding: 16px 0 16px 30px; border-bottom: 1px solid var(--line); position: relative;
}
.comp-list li:last-child { border-bottom: 0; }
.comp-list li::before {
  content: ""; position: absolute; left: 0; top: 22px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
.comp-list li b { color: var(--navy); display: block; margin-bottom: 3px; }
.comp-list li span { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ══════════════ Contact / Form ══════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 12px;
}
.info-list li b { color: var(--navy); white-space: nowrap; }
.form-box {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--navy); margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
  background: var(--paper);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-glow);
}
.form-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

/* ══════════════ WhatsApp Floating Button ══════════════ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  background: #25D366; color: #fff; font-weight: 700;
  padding: 14px 20px; border-radius: var(--radius-full);
  box-shadow: 0 8px 28px rgba(37,211,102,.40);
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; cursor: pointer;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-spring);
  animation: wa-pulse 2.5s ease-in-out infinite;
}
.wa-float:hover { color: #fff; transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 36px rgba(37,211,102,.50); animation: none; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37,211,102,.40); }
  50% { box-shadow: 0 8px 38px rgba(37,211,102,.58); }
}

/* ══════════════ Footer ══════════════ */
.site-footer {
  background: var(--navy); color: rgba(205,214,230,.75);
  padding: 52px 0 28px;
  position: relative; overflow: hidden;
}
/* Footer 背景装饰 */
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.site-footer a { color: rgba(205,214,230,.75); transition: color .25s var(--ease-out); }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { color: #fff; font-weight: 800; margin-bottom: 16px; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09);
  margin-top: 36px; padding-top: 20px;
  font-size: 13px; color: rgba(148,163,184,.7);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}

/* ══════════════ Breadcrumb ══════════════ */
.crumb { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumb a { color: var(--green); }
.crumb span { margin: 0 6px; }

/* ══════════════ Projects · 实拍图卡 + 圆形徽章 ══════════════
   每张卡 = 实拍图（老站迁移）+ 右上行业标签 + 左下圆形徽章（医院 LOGO / 字母）
   真实 LOGO：放进 assets/hospitals/<file> 并在构建脚本 HOSPITAL_LOGOS 登记即自动替换 ═══ */
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-spring), box-shadow .4s var(--ease-spring),
              border-color .3s var(--ease-out);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green); }
.pc-media {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 55%, var(--teal) 100%);
  display: grid; place-items: center;
  border-bottom: 1px solid var(--line);
}
/* 老站迁移图多为白底医院 LOGO：不加暗色遮罩，避免把 LOGO 压脏 */
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.project-card:hover .pc-media img { transform: scale(1.05); }
.pc-media .pc-mono { font-size: 46px; font-weight: 900; letter-spacing: .06em; color: rgba(255,255,255,.30); }
.pc-sector {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: rgba(10,22,40,.72); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-full);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.pc-body { position: relative; padding: 30px 20px 20px; flex: 1; }
.pc-badge {
  position: absolute; top: -24px; left: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 2px solid var(--green);
  box-shadow: 0 8px 20px rgba(10,22,40,.22), 0 0 0 4px var(--green-glow);
  display: grid; place-items: center; overflow: hidden;
  font-weight: 900; font-size: 15px; letter-spacing: .04em;
}
.pc-badge img { width: 68%; height: 68%; object-fit: contain; }
.project-card h3 { font-size: 16.5px; font-weight: 800; margin: 0 0 6px; line-height: 1.3; }
.project-card .loc { color: var(--muted); font-size: 12.5px; }

/* ══════════════ Responsive ══════════════ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-visual { padding: 20px; order: -1; }
  .hero-image-wrapper { max-width: 320px; margin: 0 auto; }
  .hero-content { padding: 60px 24px 40px; text-align: center; }
  .hero-kicker { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .pillars, .grid { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .detail-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav { display: none; }  /* 移动端后续可加 hamburger */
}
@media (max-width: 580px) {
  .pillars, .grid, .stats, .clients-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .group-head { margin-bottom: 30px; }
  .card .thumb .thumb-cat { font-size: 17px; }
  .wa-float { padding: 12px 16px; font-size: 13px; }
  .wa-float span { display: none; }  /* 只留图标 */
}

/* ══════════════════════════════════════════════════════════════
   内容层（Guías / blog）与资源中心 —— v11 新增
   ══════════════════════════════════════════════════════════════ */

/* 文章列表 */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 14px; padding: 26px 24px;
  text-decoration: none; color: var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(15,23,42,.10); }
.post-cat {
  align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--gold); background: var(--gold-glow);
  padding: 4px 10px; border-radius: 999px;
}
.post-card h3 { font-size: 19px; font-weight: 800; line-height: 1.35; margin: 2px 0 0; }
.post-card p { color: var(--muted); font-size: 14px; line-height: 1.65; flex: 1; margin: 0; }
.post-more { color: var(--green-dark); font-weight: 700; font-size: 13.5px; }

/* 文章正文 */
.post { max-width: 800px; margin: 0 auto; }
.post h1 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.22; margin: 14px 0 10px; }
.post-meta { color: var(--muted-light); font-size: 13px; margin: 0 0 18px; }
.post-lead { font-size: 18px; line-height: 1.7; color: var(--navy-3); border-left: 3px solid var(--gold); padding-left: 18px; margin: 0 0 34px; }
.post h2 { font-size: 23px; font-weight: 800; margin: 40px 0 14px; line-height: 1.3; }
.post h3 { font-size: 17.5px; font-weight: 700; margin: 26px 0 8px; }
.post p { line-height: 1.78; color: var(--ink); margin: 0 0 14px; }
.post ul { margin: 0 0 16px; padding-left: 22px; }
.post li { line-height: 1.75; margin-bottom: 8px; }
.post .note {
  background: var(--paper-3); border-left: 3px solid var(--green);
  border-radius: 0 10px 10px 0; padding: 16px 20px; margin: 20px 0;
  font-size: 15px; line-height: 1.7; color: var(--navy-3);
}

/* 技术表格 */
.tbl-wrap { overflow-x: auto; margin: 20px 0 26px; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 520px; }
.tbl th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 13px 16px; font-weight: 700; font-size: 13.5px; white-space: nowrap;
}
.tbl td { padding: 12px 16px; border-top: 1px solid var(--line); line-height: 1.6; vertical-align: top; }
.tbl tbody tr:nth-child(even) { background: var(--paper-2); }

/* 下载卡片 */
.dl-list { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 8px; }
.dl {
  display: flex; align-items: center; gap: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; text-decoration: none; color: var(--ink);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.dl:hover { border-color: var(--gold); box-shadow: 0 10px 26px rgba(15,23,42,.09); transform: translateY(-2px); }
.dl-ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px;
  background: var(--navy); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; letter-spacing: .04em;
}
.dl-meta { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.dl-meta b { font-size: 15px; font-weight: 700; }
.dl-meta small { color: var(--muted); font-size: 12.5px; }
.dl-go { flex: 0 0 auto; color: var(--green-dark); font-weight: 800; font-size: 13.5px; white-space: nowrap; }

/* 资源中心 */
.res-wrap { max-width: 860px; margin: 0 auto; }
.res-cat {
  font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy-3); margin: 38px 0 6px; padding-bottom: 8px; border-bottom: 2px solid var(--gold);
}
.res-cat:first-child { margin-top: 0; }
.doc-band { background: var(--paper-2); }

/* 关联产品 */
.rel-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.rel {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; text-decoration: none; color: var(--ink);
  transition: border-color .16s ease, transform .16s ease;
}
.rel:hover { border-color: var(--gold); transform: translateY(-3px); }
.rel b { font-size: 15px; font-weight: 700; }
.rel small { color: var(--muted); font-size: 12.5px; }

/* CTA 与返回 */
.post-cta {
  margin: 44px 0 0; padding: 28px 30px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff;
}
.post-cta p { color: rgba(226,232,240,.92); margin: 0 0 16px; font-size: 15.5px; line-height: 1.7; }
.back { margin: 30px 0 0; }
.back a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.back a:hover { color: var(--green-dark); }

/* 导航项增至 7 项：中大屏收紧间距 */
@media (min-width: 961px) and (max-width: 1220px) {
  .nav { gap: 15px; }
  .nav a { font-size: 13.5px; }
}
@media (max-width: 960px) {
  .post-grid { grid-template-columns: 1fr 1fr; }
  .post-lead { font-size: 16.5px; }
  .dl { flex-wrap: wrap; gap: 12px; }
}
@media (max-width: 580px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-cta { padding: 22px 20px; }
  .dl-go { width: 100%; text-align: right; }
}

/* ════════════════════════════════════════════════════════════════
   动效中升级（2026-09-12 晚）— 来自练手项目验证的技术，保守移植
   ════════════════════════════════════════════════════════════════ */

/* 入场幅度加大：34px → 48px（覆盖上方基础定义） */
.js .io { transform: translateY(48px); }
.js .io.in { transform: translateY(0); }

/* 案例卡：浮现带轻微缩放（LOGO 墙滚动驱动的纵深感） */
.js .project-card.io { transform: translateY(48px) scale(.97); }
.js .project-card.io.in { transform: translateY(0) scale(1); }

/* Hero 视差层：提示浏览器 GPU 合成（transform 由 scroll-anim.js 驱动） */
.hero-content { will-change: transform, opacity; }

/* 统计数字滚动时宽度不抖动 */
.stat .num { font-variant-numeric: tabular-nums; }

/* 降级兜底：reduced-motion 用户直接呈现终态（JS 侧已同步处理） */
@media (prefers-reduced-motion: reduce) {
  .hero-content { will-change: auto; }
}

/* ════════════════════════════════════════════════════════════════
   重度档：Sticky 分幕叙事（三幕，黑底绿点品牌母题）
   内容全部在 DOM 中可见（SEO 安全）；JS 只驱动视觉
   降级：无 JS / 移动端(≤860px) / prefers-reduced-motion → 普通堆叠
   ════════════════════════════════════════════════════════════════ */
.cine {
  position: relative;
  height: 320vh;
  background: linear-gradient(180deg, var(--navy) 0%, #0b1220 60%, var(--navy) 100%);
}
.cine-stage {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.cine-act {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; text-align: center;
  padding: 0 8vw;
  color: #fff;
  will-change: transform, opacity;
}
.cine-kicker {
  font-family: var(--font-mono);
  color: #4ade80;
  letter-spacing: .2em;
  font-size: 14px;
  font-weight: 700;
  background: rgba(74, 222, 128, .12);
  border: 1px solid rgba(74, 222, 128, .38);
  border-radius: 999px;
  padding: 7px 18px 6px;
  margin-bottom: 24px;
  display: inline-block;
}
.cine-title {
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  max-width: 900px;
  color: #fff;
}
.cine-text {
  color: var(--muted-light);
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 660px;
  margin-top: 20px;
  line-height: 1.75;
}
.cine-text strong { color: #fff; font-weight: 700; }
.cine-rail {
  position: absolute; left: 8vw; right: 8vw; bottom: 7vh;
  height: 3px;
  background: rgba(255,255,255,.12);
  border-radius: 2px; overflow: hidden;
}
.cine-rail-fill {
  display: block; height: 100%; width: 100%;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
}

/* ── 降级 A：无 JS → 普通堆叠 ── */
html:not(.js) .cine { height: auto; }
html:not(.js) .cine-stage { position: static; height: auto; display: block; padding: 72px 0; }
html:not(.js) .cine-act { position: static; margin: 44px auto; }
html:not(.js) .cine-rail { display: none; }

/* ── 降级 B：移动端 → 普通堆叠（JS 侧同步跳过驱动） ── */
@media (max-width: 860px) {
  .cine { height: auto; }
  .cine-stage { position: static; height: auto; display: block; padding: 64px 0; }
  .cine-act { position: static; margin: 40px auto; }
  .cine-title { font-size: clamp(26px, 7vw, 34px); }
  .cine-rail { display: none; }
}

/* ── 降级 C：reduced-motion → 普通堆叠 ── */
@media (prefers-reduced-motion: reduce) {
  .cine { height: auto; }
  .cine-stage { position: static; height: auto; display: block; padding: 72px 0; }
  .cine-act { position: static; margin: 44px auto; will-change: auto; }
  .cine-rail { display: none; }
}
