/* ============================================================
   杭州国夏纺织官网 · 工业风视觉系统
   设计原则：直线 / 网格 / 克制配色 / 工程资料般清晰的规格排版
   ============================================================ */

:root {
  --ink: #16212b;
  --ink-2: #1f2d39;
  --ink-3: #2b3c4a;
  --steel: #5b6c7a;
  --steel-2: #8494a1;
  --line: #d8dee3;
  --line-dark: #354654;
  --paper: #f3f5f6;
  --paper-2: #e9edf0;
  --white: #ffffff;
  --accent: #d9502a;
  --accent-dark: #b23f1d;
  --accent-soft: #f6e7e1;
  --ok: #2f7d5b;
  --warn: #b8860b;
  --font: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --header-h: 72px;
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(calc(100% - 48px), var(--maxw)); margin: 0 auto; }
.wrap-narrow { width: min(calc(100% - 48px), 900px); margin: 0 auto; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- 通用元件 ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--ink); color: #dbe3e9; }
.section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section-dark .eyebrow { color: #f08a68; }
.section-dark .eyebrow::before { background: #f08a68; }

.section-title { font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.section-title + .lead { color: var(--steel); max-width: 680px; }
.section-dark .section-title + .lead { color: #a9b8c4; }
.lead { font-size: 16px; line-height: 1.85; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 0;
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { min-height: 54px; padding: 0 30px; font-size: 15px; }
.btn .arrow { font-family: var(--mono); transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--accent); border-bottom: 1px solid transparent;
  padding-bottom: 3px; transition: border-color .18s;
}
.text-link:hover { border-color: var(--accent); }

/* 细线分隔的指标网格 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat-grid .stat {
  padding: 26px 24px; border-left: 1px solid var(--line);
  background: #fff;
}
.stat-grid .stat:first-child { border-left: 0; }
.stat-num { font: 700 34px/1 var(--mono); color: var(--ink); letter-spacing: -.03em; }
.stat-num .unit { font-size: 16px; color: var(--steel); margin-left: 3px; }
.stat-label { margin-top: 10px; font-size: 13px; color: var(--steel); line-height: 1.5; }
.section-dark .stat-grid { border-color: var(--line-dark); }
.section-dark .stat-grid .stat { background: var(--ink-2); border-left-color: var(--line-dark); }
.section-dark .stat-num { color: #fff; }
.section-dark .stat-label { color: #9dacb9; }

/* 标签 */
.tag {
  display: inline-block; padding: 3px 9px; border: 1px solid var(--line);
  font: 500 11px/1.5 var(--mono); color: var(--steel); letter-spacing: .03em;
}
.tag-accent { border-color: var(--accent); color: var(--accent); }

/* 规格表：像工程资料一样 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.spec-table th { background: var(--paper); font-weight: 600; color: var(--ink); white-space: nowrap; }
.spec-table td { font-family: var(--mono); color: var(--steel); }
.spec-table tbody tr:hover td { background: #fafbfc; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h); background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transition: height .25s, background .25s;
}
.site-header.compact { height: 60px; background: rgba(22,33,43,.97); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; flex: none;
  border: 2px solid var(--accent);
  display: grid; place-items: center;
  color: #fff; font: 700 17px/1 var(--mono);
  position: relative;
}
.brand-mark::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 8px; height: 8px; background: var(--accent); }
.brand-text strong { display: block; color: #fff; font-size: 16px; letter-spacing: .06em; line-height: 1.2; }
.brand-text small { display: block; color: #8494a1; font: 500 9px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; height: 100%; }
.main-nav a {
  position: relative; display: flex; align-items: center; height: 100%;
  padding: 0 13px; color: #c3cdd6; font-size: 14px; font-weight: 500;
  transition: color .18s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; top: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch { display: flex; border: 1px solid var(--line-dark); }
.lang-switch button {
  background: transparent; border: 0; color: #8fa0ae; cursor: pointer;
  font: 600 11px/1 var(--mono); padding: 8px 9px; transition: background .18s, color .18s;
}
.lang-switch button.active { background: var(--accent); color: #fff; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 13px;
}
.header-phone:hover { background: var(--accent-dark); }

.menu-toggle { display: none; width: 42px; height: 40px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: transform .2s, opacity .2s; }

/* 移动端菜单 */
.mobile-menu {
  position: fixed; inset: 0; background: var(--ink); z-index: 99;
  padding: calc(var(--header-h) + 24px) 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; color: #dbe3e9; padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 18px; }
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .m-actions { margin-top: 28px; display: flex; gap: 12px; align-items: center; }
body.menu-open { overflow: hidden; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; background: var(--ink); color: #fff;
  min-height: 620px; display: flex; align-items: center; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 620px; height: 620px;
  border: 1px solid rgba(255,255,255,.06); border-radius: 50%;
  pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 90px 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-dark);
  padding: 7px 12px; font: 600 11px/1 var(--mono); letter-spacing: .12em; color: #b9c6d1;
  margin-bottom: 26px;
}
.hero-badge i { width: 6px; height: 6px; background: var(--accent); display: block; }
.hero h1 { font-size: clamp(38px, 5.2vw, 68px); line-height: 1.12; letter-spacing: -.025em; }
.hero h1 .hl { color: var(--accent); display: block; }
.hero h1 .thin { font-weight: 300; color: #c8d3dc; display: block; font-size: .42em; letter-spacing: .08em; margin-top: 18px; }
.hero-desc { color: #aebcc8; max-width: 540px; margin: 26px 0 34px; font-size: 16px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-visual .frame {
  position: relative; width: 100%; aspect-ratio: 16 / 10;
  border: 1px solid var(--line-dark);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(217,80,42,.10), transparent 62%),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.02) 39px 40px);
  display: grid; place-items: center; overflow: hidden;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.hero-visual .corner { position: absolute; width: 16px; height: 16px; border-color: var(--accent); }
.hero-visual .c1 { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.hero-visual .c2 { right: -1px; top: -1px; border-right: 2px solid; border-top: 2px solid; }
.hero-visual .c3 { left: -1px; bottom: -1px; border-left: 2px solid; border-bottom: 2px solid; }
.hero-visual .c4 { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.hero-visual .vlabel {
  position: absolute; left: 16px; bottom: 14px; z-index: 3;
  font: 500 10px/1.6 var(--mono); color: #9fb0bd; letter-spacing: .08em;
}
.hero-visual .vlabel b { color: #fff; }

/* 入场动画 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .09s; }
.reveal.d2 { transition-delay: .18s; }
.reveal.d3 { transition-delay: .27s; }

/* ============================================================
   产品 / 场景卡片
   ============================================================ */
.card-grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); padding: 0;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--ink); box-shadow: 0 12px 28px rgba(22,33,43,.08); }
.card-media { position: relative; aspect-ratio: 16/10; background: var(--paper-2); overflow: hidden; border-bottom: 1px solid var(--line); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-media .idx { position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font: 600 11px/1 var(--mono); padding: 9px 11px; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 19px; margin-bottom: 8px; }
.card-body .sub { color: var(--steel); font-size: 13px; margin-bottom: 14px; line-height: 1.6; }
.card-body .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card-body .foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.card-body .foot .more { font-weight: 600; font-size: 13px; color: var(--accent); }
.card-body .foot .more .arrow { font-family: var(--mono); margin-left: 4px; }

/* 产品详情页：左右结构 */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-media { border: 1px solid var(--line); background: var(--paper-2); position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split-media .cap { position: absolute; left: 0; bottom: 0; background: var(--ink); color: #fff; font: 500 11px/1 var(--mono); padding: 9px 13px; }

/* 流程节点 */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.flow-step { position: relative; padding: 30px 24px; border-left: 1px solid var(--line); background: #fff; transition: background .2s; }
.flow-step:first-child { border-left: 0; }
.flow-step:hover { background: var(--paper); }
.flow-step .n { font: 700 12px/1 var(--mono); color: var(--accent); }
.flow-step .ico { font: 300 30px/1 var(--mono); color: var(--ink); margin: 16px 0 12px; }
.flow-step h4 { font-size: 17px; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--steel); margin: 0; line-height: 1.65; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; right: -9px; top: 50%; width: 16px; height: 16px;
  background: var(--white); border-top: 1px solid var(--line); border-right: 1px solid var(--line);
  transform: translateY(-50%) rotate(45deg); z-index: 2;
}

/* 特点列表（勾选） */
.check-list { display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 24px; color: var(--steel); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--accent); }
.check-list b { color: var(--ink); font-weight: 600; }

/* 关于/实力 大图+要点 */
.feature-stack { display: grid; gap: 28px; }
.feature-item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.feature-item:last-child { border-bottom: 0; }
.feature-item .num { font: 700 26px/1 var(--mono); color: var(--accent); }
.feature-item h4 { font-size: 18px; margin-bottom: 6px; }
.feature-item p { color: var(--steel); font-size: 14px; margin: 0; }

/* ---------- 图片图集 ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; border: 1px solid var(--line); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { padding: 10px 13px; font-size: 12px; color: var(--steel); background: #fff; border-top: 1px solid var(--line); }

/* ============================================================
   分类切换 Tabs
   ============================================================ */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.tabs button {
  border: 0; background: transparent; padding: 13px 26px; cursor: pointer;
  font-weight: 600; font-size: 15px; color: var(--steel);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .18s, border-color .18s;
}
.tabs button:hover { color: var(--ink); }
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* 产品条目（横向工程条目） */
.prod-entry {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  padding: 26px 28px; margin-bottom: 18px; background: #fff;
}
.prod-entry-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.prod-entry-head h3 { font-size: 21px; }
.prod-entry-head .code { font: 500 11px/1 var(--mono); color: var(--steel); letter-spacing: .08em; margin-bottom: 8px; }
.prod-entry .oneline { color: var(--steel); margin: 8px 0 18px; }
.prod-entry-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 18px; }
.prod-entry-cols h5 { font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
.prod-entry-cols p, .prod-entry-cols li { font-size: 13px; color: var(--steel); margin: 0 0 6px; }
.prod-entry .spec-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); align-items: center; }
.prod-entry .spec-row .lbl { font: 600 11px/1 var(--mono); color: var(--steel); letter-spacing: .06em; margin-right: 4px; }
.prod-entry .cta { margin-top: 18px; }

/* 应用领域行 */
.app-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.app-row:last-child { border-bottom: 1px solid var(--line); }
.app-row .app-name { padding: 30px 24px 30px 0; border-right: 1px solid var(--line); }
.app-row .app-name .n { font: 600 11px/1 var(--mono); color: var(--accent); }
.app-row .app-name h3 { font-size: 20px; margin-top: 10px; }
.app-row .app-body { padding: 30px 0 30px 34px; }
.app-row .app-body p { color: var(--steel); margin-bottom: 14px; }
.app-row .rec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.app-row .rec span { color: var(--steel); }
.app-row .rec .tag-accent { font-weight: 600; }

/* ============================================================
   表单
   ============================================================ */
.form-card { border: 1px solid var(--line); background: #fff; padding: 32px; }
.form-card h3 { font-size: 21px; margin-bottom: 6px; }
.form-card .hint { color: var(--steel); font-size: 13px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 0;
  padding: 12px 13px; color: var(--ink); outline: none; transition: border-color .18s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field textarea { min-height: 104px; resize: vertical; }
.field .err { color: var(--accent); font-size: 12px; display: none; margin-top: 5px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent); }
.field.invalid .err { display: block; }
.trap { position: absolute; left: -9999px; }
.form-note { font-size: 12px; color: var(--steel-2); margin-top: 14px; line-height: 1.6; }
.form-msg { display: none; padding: 13px 15px; font-size: 13px; margin-top: 16px; border: 1px solid; }
.form-msg.ok { display: block; color: var(--ok); border-color: var(--ok); background: #eef7f3; }
.form-msg.fail { display: block; color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* 联系信息块 */
.contact-block { border: 1px solid var(--line); padding: 26px 26px 8px; background: #fff; }
.contact-item { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item .k { font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.contact-item .v { font-size: 15px; line-height: 1.7; }
.contact-item .v.big { font: 700 25px/1.2 var(--mono); color: var(--ink); }
.map-box { border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 16/9; position: relative; overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px; }
.map-placeholder .pin { font: 700 30px/1 var(--mono); color: var(--accent); }
.map-placeholder p { color: var(--steel); margin: 0; font-size: 13px; }

/* 新闻列表 */
.news-list { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: background .18s; }
.news-item:hover { background: var(--paper); }
.news-item .date { font: 500 12px/1 var(--mono); color: var(--steel); }
.news-item .tt { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.news-item .ds { color: var(--steel); font-size: 13px; }
.news-item .go { font: 600 12px/1 var(--mono); color: var(--accent); }
.notice-line { border-left: 3px solid var(--warn); background: #fbf8ee; padding: 12px 16px; font-size: 13px; color: #6b5b2a; margin-bottom: 26px; }

/* CTA 转化条 */
.cta-bar { background: var(--ink); color: #fff; padding: 42px 0; }
.cta-bar .inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-bar h3 { font-size: clamp(21px, 2.5vw, 29px); }
.cta-bar p { color: #a9b8c4; margin: 6px 0 0; font-size: 14px; }
.cta-bar .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* 面包屑 */
.crumb { border-bottom: 1px solid var(--line); background: var(--paper); }
.crumb .wrap { display: flex; align-items: center; gap: 9px; padding: 13px 0; font-size: 12px; color: var(--steel); }
.crumb a:hover { color: var(--accent); }
.crumb .sep { font-family: var(--mono); color: var(--steel-2); }

/* Footer */
.site-footer { background: #111a22; color: #93a3b0; padding: 62px 0 0; border-top: 3px solid var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 46px; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 18px; letter-spacing: .04em; }
.site-footer p { font-size: 13px; line-height: 1.8; margin-bottom: 12px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-links li { margin-bottom: 9px; font-size: 13px; }
.footer-contact li { margin-bottom: 11px; font-size: 13px; line-height: 1.6; }
.footer-contact .big { color: #fff; font: 700 19px/1.3 var(--mono); }
.footer-bottom { border-top: 1px solid #2a3844; padding: 20px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12px; }
.footer-bottom .lang-mini { display: flex; gap: 10px; }
.footer-bottom .lang-mini button { background: none; border: 0; color: #8494a1; cursor: pointer; font: 600 11px/1 var(--mono); padding: 0; }
.footer-bottom .lang-mini button.active { color: var(--accent); }

/* ---------- 管理后台 ---------- */
.admin-wrap { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-head h1 { font-size: 26px; }
.admin-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.admin-stat { border: 1px solid var(--line); background: #fff; padding: 18px 20px; }
.admin-stat .n { font: 700 28px/1 var(--mono); }
.admin-stat .k { color: var(--steel); font-size: 12px; margin-top: 8px; }
.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
.admin-table th, .admin-table td { border: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
.admin-table th { background: var(--ink); color: #fff; font-weight: 600; white-space: nowrap; }
.admin-table tr.done td { background: #f5f7f8; color: var(--steel-2); }
.status-pill { display: inline-block; padding: 2px 8px; font: 600 11px/1.6 var(--mono); border: 1px solid; }
.status-pill.new { color: var(--accent); border-color: var(--accent); }
.status-pill.done { color: var(--ok); border-color: var(--ok); }
.admin-login { max-width: 420px; margin: 90px auto; border: 1px solid var(--line); padding: 36px; background: #fff; }
.admin-login h1 { font-size: 24px; margin-bottom: 6px; }
.admin-login p { color: var(--steel); font-size: 13px; margin-bottom: 24px; }
.icon-btn { border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 5px 9px; font-size: 12px; }
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn.del:hover { border-color: #b3261e; color: #b3261e; }

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .main-nav a { padding: 0 9px; font-size: 13px; }
  .header-inner { gap: 14px; }
  .brand-text small { display: none; }
  .hero-grid { gap: 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav, .header-phone { display: none; }
  .menu-toggle { display: block; margin-left: auto; }
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0; }
  .hero-visual { min-height: 300px; }
  .hero-visual .frame { aspect-ratio: 16/9; }
  .grid-3, .grid-2, .split, .gallery { grid-template-columns: 1fr; }
  .split.reverse { direction: ltr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid .stat:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .stat-grid .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .flow-step:nth-child(4) { border-top: 1px solid var(--line); }
  .app-row { grid-template-columns: 1fr; }
  .app-row .app-name { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .app-row .app-body { padding: 22px 0 0; }
  .prod-entry-cols { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .news-item { grid-template-columns: 96px 1fr; }
  .news-item .go { display: none; }
}
@media (max-width: 640px) {
  .wrap, .wrap-narrow { width: calc(100% - 32px); }
  .section { padding: 60px 0; }
  .stat-grid .stat { padding: 20px 16px; }
  .stat-num { font-size: 27px; }
  .hero h1 { font-size: 37px; }
  .hero-actions .btn { width: 100%; }
  .voice-phone { display: none; }
  .card-body { padding: 18px; }
  .form-card { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { border-left: 0 !important; border-top: 1px solid var(--line); }
  .flow-step:first-child { border-top: 0; }
  .flow-step::after { display: none; }
  .cta-bar .acts { width: 100%; }
  .cta-bar .acts .btn { flex: 1; }
  .admin-stats { grid-template-columns: 1fr; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px; }
}

/* ---------- 减少动态偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
