/* ============================================================
   莱驰云 · 官方站主题 ——「Blueprint Editorial」建筑图纸编辑风
   暖纸白 + 墨黑 + 单一电光钴蓝强调 + 发丝线构图 + 等宽规格标签
   组织：tokens → base → layout 背景壳 → 组件 → 站头/页脚 → 首页模块
        → 内页模块 → 正文排版 → 响应式
   ============================================================ */

/* ---------- 1. 设计令牌 ---------- */
:root {
  --paper:   #F3F0E9;
  --paper-2: #E9E4D9;
  --card:    #FBFAF5;

  --ink:     #12140F;
  --ink-2:   #3C4038;
  --muted:   #5F655A;

  --line:    rgba(18, 20, 15, .14);
  --line-2:  rgba(18, 20, 15, .32);

  --accent:  #1B36E0;
  --accent-ink: #0B1670;
  --sand:    #C9BFA8;

  /* 墨黑反白章节 */
  --dk-line:  rgba(255, 255, 255, .16);
  --dk-line-2: rgba(255, 255, 255, .34);
  --dk-txt:   rgba(243, 240, 233, .72);
  --dk-blue:  #7D93FF;

  --r: 2px;
  --r-card: 3px;
  --wrap: 1240px;

  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Consolas, monospace;

  --ease: cubic-bezier(.22, .61, .36, 1);
  color-scheme: light;
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-2);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; }
p { margin: 0; }
dl, dd, dt { margin: 0; }
button { font: inherit; }
time, b { font-weight: inherit; }

::selection { background: var(--accent); color: #fff; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

body.nav-open { overflow: hidden; }
.tint { color: var(--accent); }

/* ---------- 3. 布局与背景壳 ---------- */
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

.sec { padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 6.5vw, 88px); position: relative; }
/* 章节之间通栏发丝线；hero / 页头后的一节不画（避免双线） */
.sec + .sec { border-top: 1px solid var(--line); }
.hero + .sec, .page-head + .sec, .nf404 + .sec { border-top: 0; }

/* 反白断点章节 */
.sec-dark { background: var(--ink); color: #F3F0E9; }
.sec-dark + .sec, .sec + .sec-dark { border-top: 0; } /* 墨黑块自带色差，不叠线 */

/* 图纸底纹：极淡方格 + 噪点，铺满视口 */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: var(--paper); }
.bg-fx i { position: absolute; inset: 0; display: block; }
.fx-grid { background-image:
  linear-gradient(rgba(18, 20, 15, .045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(18, 20, 15, .045) 1px, transparent 1px);
  background-size: 44px 44px; }
.fx-noise { opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .4 0 0 0 0 .36 0 0 0 .04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* 滚动进度：钴蓝细条 */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 80; background: var(--accent); }

/* ---------- 入场动效（克制：14px 上移 + 透明度；stagger 由 JS 写 --rd） ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ---------- 4. 组件：按钮 / 标签 / 通用卡 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; font-size: 14.5px; font-weight: 600; letter-spacing: .02em;
  line-height: 1.4; border: 1px solid transparent; border-radius: var(--r);
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--card); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* 描边小标签（行业 / 分类） */
.tag {
  display: inline-flex; align-items: center;
  padding: 3px 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em;
  color: var(--muted); border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card); white-space: nowrap;
}

/* 眉题：mono 规格 */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px; font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 9px; height: 9px; background: var(--accent); flex: none; }

/* 面包屑 */
.crumb { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; color: var(--muted); }
.crumb a { border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.crumb a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- 5. 站头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper); border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { background: #EFEBE2; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(18, 20, 15, .55); }
.header-in { display: flex; align-items: center; gap: 32px; height: 72px; }

/* 品牌：纯线条几何标识 */
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; flex: none; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: none; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name { font-size: 16.5px; font-weight: 800; letter-spacing: .02em; color: var(--ink); white-space: nowrap; }

/* 导航：小字号 + 当前项 1px 钴蓝短下划线 */
.site-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-link {
  position: relative; padding: 9px 13px; font-size: 14px; color: var(--muted);
  transition: color .2s;
}
.nav-link:hover { color: var(--ink); }
.nav-link.on { color: var(--ink); font-weight: 600; }
.nav-link.on::after {
  content: ""; position: absolute; left: 13px; bottom: 3px; width: 16px; height: 1px;
  background: var(--accent);
}

/* 「关于」下拉（桌面 hover/focus-within 纯 CSS，点击增补 .drop-open） */
.nav-drop { position: relative; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  background: none; border: 0; padding: 9px 13px; font-size: 14px; color: var(--muted);
}
.nav-drop-toggle:hover { color: var(--ink); }
.nav-drop.on-parent .nav-drop-toggle { color: var(--ink); font-weight: 600; }
.nav-drop.on-parent .nav-drop-toggle::after {
  content: ""; position: absolute; left: 13px; bottom: 3px; width: 16px; height: 1px; background: var(--accent);
}
.chev { width: 10px; height: 7px; opacity: .7; transition: transform .25s var(--ease), opacity .2s; }
.nav-drop:hover > .nav-drop-toggle .chev,
.nav-drop:focus-within > .nav-drop-toggle .chev,
.nav-drop.drop-open .nav-drop-toggle .chev { transform: rotate(180deg); opacity: 1; }

.nav-drop-panel {
  position: absolute; top: 100%; left: 6px; min-width: 168px; padding: 10px; z-index: 65;
  display: grid; gap: 2px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: 0 18px 40px -20px rgba(18, 20, 15, .5);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop-panel::before { content: ""; position: absolute; top: -9px; left: 0; right: 0; height: 9px; } /* 防断桥 */
.nav-drop:hover > .nav-drop-panel,
.nav-drop:focus-within > .nav-drop-panel,
.nav-drop.drop-open > .nav-drop-panel { opacity: 1; visibility: visible; transform: none; }

.drop-item {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 9px 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); white-space: nowrap;
  transition: color .2s, background .2s;
}
.drop-item::after { content: "→"; opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; font-size: 12px; }
.drop-item:hover { color: var(--accent); background: var(--paper-2); }
.drop-item:hover::after { opacity: 1; transform: none; }
.drop-item.on { color: var(--accent); font-weight: 600; }
.drop-item.on::after { display: none; }

/* 顶部 CTA：直角描边 + mono 号码 */
.header-cta {
  display: inline-flex; align-items: center; gap: 12px; flex: none;
  padding: 9px 16px; border: 1px solid var(--line-2); border-radius: var(--r);
  font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .04em;
  color: var(--ink); transition: border-color .2s, color .2s, background .2s;
}
.header-cta .cta-label {
  font-family: var(--font); font-size: 11.5px; letter-spacing: .14em; color: var(--muted);
  padding-right: 10px; border-right: 1px solid var(--line);
}
.header-cta:hover { border-color: var(--accent); color: var(--accent); background: var(--card); }
.nav-phone { display: none; }

/* 汉堡（3 段线） */
.nav-toggle {
  display: none; position: relative; width: 42px; height: 42px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20.5px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- 6. 页脚（墨黑收尾） ---------- */
.site-footer { background: var(--ink); color: var(--dk-txt); border-top: 1px solid var(--line-2); }
.foot-in { padding-top: clamp(56px, 7vw, 96px); }
.foot-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--dk-line); }
.foot-mission { font-size: clamp(1.65rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.24; color: #F3F0E9; max-width: 20em; }
.foot-mission em { font-style: normal; color: var(--dk-blue); }
.foot-cta { display: inline-flex; align-items: center; gap: 10px; flex: none; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; color: #F3F0E9; border: 1px solid var(--dk-line-2); padding: 13px 22px; border-radius: var(--r); transition: border-color .2s, color .2s, background .2s; }
.foot-cta:hover { border-color: var(--dk-blue); color: var(--dk-blue); }

.foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding: clamp(40px, 5vw, 60px) 0; }
.foot-label { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(243, 240, 233, .42); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.foot-label::after { content: ""; flex: 1; height: 1px; background: var(--dk-line); }
.foot-brandline { font-size: 14.5px; line-height: 1.8; color: var(--dk-txt); max-width: 30em; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.foot-nav a, .foot-contact a { color: var(--dk-txt); font-size: 14px; width: fit-content; transition: color .2s; }
.foot-nav a:hover, .foot-contact a:hover { color: var(--dk-blue); }
.foot-contact p { margin: 8px 0; font-size: 14px; line-height: 1.7; }
.foot-beian a { font-size: 13px; font-family: var(--mono); letter-spacing: .04em; }

.foot-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 22px 0 26px; border-top: 1px solid var(--dk-line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: rgba(243, 240, 233, .4);
}
.foot-bar a { color: rgba(243, 240, 233, .55); border-bottom: 1px solid rgba(243, 240, 233, .2); padding-bottom: 1px; transition: color .2s, border-color .2s; }
.foot-bar a:hover { color: var(--dk-blue); border-color: var(--dk-blue); }

/* ============================================================
   7. 首页
   ============================================================ */

/* ---- hero：左 7 栏文案 / 右 5 栏建筑线稿 ---- */
.hero { padding-top: clamp(64px, 8.5vw, 128px); }
.hero-copy { position: relative; min-width: 0; max-width: 660px; }
.hero-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 5vw, 72px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: 26px;
}
.hero-badge i { width: 12px; height: 1px; background: var(--accent); }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 4.8rem); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.06; color: var(--ink);
  text-wrap: balance;
  margin-bottom: 26px;
}
.hero-sub { font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.85; color: var(--ink-2); max-width: 32em; margin-bottom: 38px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 34px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border: 1px solid var(--accent); flex: none; }
/* 线稿标注：移动端隐藏次要标签（.hl 由视图标注） */
@media (max-width: 720px) {
  .hero-svg .hl { display: none; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* 右侧线稿：底衬淡方格，撑住版面 */
.hero-art { position: relative; min-width: 0; }
.hero-art::before {
  content: ""; position: absolute; inset: -6% -4%;
  background-image:
    linear-gradient(rgba(18, 20, 15, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 15, .06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-svg { position: relative; width: 100%; height: auto; }

/* ---- 规格带：4 个数据，竖发丝线分隔，无卡片 ---- */
.specband {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.spec-item { padding: clamp(24px, 3vw, 40px) clamp(20px, 3vw, 44px) clamp(28px, 3.4vw, 44px); }
.spec-item + .spec-item { border-left: 1px solid var(--line); }
.spec-idx { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--muted); display: block; margin-bottom: 14px; }
.stat-num {
  display: block; font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(1.9rem, 3vw, 2.5rem); letter-spacing: -.02em; line-height: 1.1; color: var(--ink);
}
.spec-label { display: block; margin-top: 8px; font-size: 13.5px; letter-spacing: .04em; color: var(--muted); }

/* ---- 章节头 ---- */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 430px) 132px; align-items: end; gap: 24px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.sec-title { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.18; color: var(--ink); }
.sec-desc { max-width: 30em; font-size: 15px; color: var(--muted); padding-bottom: 6px; }
.sec-desc-right { text-align: right; }
.sec-index { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--muted); align-self: start; text-align: right; padding-top: 4px; white-space: nowrap; }

/* ---- 服务：12 栏编辑栅格（2 大 + 3 中，无孤儿） ---- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.svc-grid { gap: 18px; }
.svc-grid > li { grid-column: span 4; }
.svc-grid > li:nth-child(1) { grid-column: span 7; }
.svc-grid > li:nth-child(2) { grid-column: span 5; }
.svc-grid > li:nth-child(n+6) { grid-column: span 4; } /* 超过 5 项回标准栅格 */

.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.svc-card::before { /* 顶部 2px 钴蓝条滑入 */
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.svc-card > a { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2.6vw, 34px); }
.svc-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
.svc-idx { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--muted); padding-top: 2px; }
.icon-svc { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r); color: var(--accent); background: var(--paper); transition: color .25s, border-color .25s, background .25s; }
.icon-svc .ic { width: 22px; height: 22px; }
.svc-card:hover .icon-svc { background: var(--accent); border-color: var(--accent); color: #fff; }

.svc-card h3 { font-size: clamp(1.15rem, 1.7vw, 1.42rem); font-weight: 700; letter-spacing: -.01em; line-height: 1.4; margin-bottom: 10px; }
.svc-card > a > p { font-size: 14.5px; line-height: 1.75; color: var(--muted); flex: 1; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.svc-foot > .svc-more:only-child { margin-left: auto; }
.svc-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-2); transition: color .2s; }
.svc-more i { font-style: normal; transition: transform .25s var(--ease); }
.svc-card:hover .svc-more { color: var(--accent); }
.svc-card:hover .svc-more i { transform: translateX(3px); }

.card-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.card-tags i {
  font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em;
  color: var(--muted); border: 1px solid var(--line); padding: 2px 8px; border-radius: var(--r);
}

/* ---- 反白「服务承诺」：蓝图网格 + 4 数据 + 双卡 ---- */
.sec-dark::before { /* 通栏蓝图网格层 */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .09) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, #000 30%, transparent 90%);
}
.sec-dark > .wrap { position: relative; }
.sec-dark .eyebrow { color: var(--dk-blue); }
.sec-dark .sec-title { color: #F3F0E9; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: clamp(36px, 4.5vw, 56px); }
.stats-grid .stat { padding: 26px 28px; }
.stats-grid .stat + .stat { border-left: 1px solid var(--dk-line); }
.sec-dark .stat-num { color: #F3F0E9; }
.sec-dark .spec-label { color: var(--dk-txt); }

.reasons { gap: 20px; }
.reason {
  grid-column: span 6;
  padding: clamp(26px, 3vw, 38px);
  border: 1px solid var(--dk-line-2); border-radius: var(--r-card);
  background: rgba(255, 255, 255, .02);
}
.reason h3 { color: #F3F0E9; font-size: 1.25rem; font-weight: 700; margin-bottom: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--dk-line); display: flex; align-items: baseline; gap: 14px; }
.reason h3 .r-idx { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--dk-blue); letter-spacing: .14em; }
.reason-list li { position: relative; padding: 7px 0 7px 22px; font-size: 14.5px; line-height: 1.7; color: var(--dk-txt); }
.reason-list li::before { content: "+"; position: absolute; left: 0; top: 7px; font-family: var(--mono); color: var(--dk-blue); }

/* ---- 案例列表页与首页共用：编辑式横排（视觉 5 栏 + 文本 7 栏），1 条也不失衡 ---- */
.cases-grid { gap: 22px; }
.case-tags-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.case-card {
  grid-column: span 12;
  display: grid; grid-template-columns: 5fr 7fr;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.case-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.case-card > a { display: grid; grid-template-columns: subgrid; grid-column: 1 / -1; }
.case-visual {
  position: relative; display: grid; place-items: center; overflow: hidden;
  border-right: 1px solid var(--line); background: var(--paper-2);
  min-height: 240px; padding: 28px;
}
.case-visual::before { /* 视觉底衬淡方格 */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(18, 20, 15, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 20, 15, .06) 1px, transparent 1px);
  background-size: 26px 26px;
}
.case-visual svg { position: relative; width: 72%; max-width: 320px; height: auto; color: var(--ink-2); }
.case-cover { position: relative; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; }
.case-idx { font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .18em; color: var(--accent); }
.case-body h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.35; }
.case-body > p { font-size: 14.5px; line-height: 1.8; color: var(--muted); max-width: 46em; }
.case-body .svc-more { padding-top: 10px; }

/* ---- 资讯：编辑式列表行 ---- */.news-mini { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item > a {
  display: grid; grid-template-columns: 128px minmax(0, 1fr) auto; align-items: baseline; gap: clamp(20px, 3vw, 44px);
  padding: clamp(20px, 2.6vw, 30px) 4px;
  transition: background .25s var(--ease), padding .25s var(--ease);
}
.news-item > a:hover { background: var(--paper-2); padding-inline: 12px 4px; }
.news-item time { font-family: var(--mono); font-size: 13px; letter-spacing: .06em; color: var(--muted); }
.news-txt b { display: block; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 700; color: var(--ink); line-height: 1.5; transition: color .2s; }
.news-item > a:hover .news-txt b { color: var(--accent); }
.news-txt p { font-size: 14px; color: var(--muted); margin-top: 4px; display: none; }
.news-mini .news-txt p { display: block; }
.news-row-arrow { font-family: var(--mono); font-size: 16px; color: var(--muted); transition: transform .25s var(--ease), color .2s; align-self: center; }
.news-item > a:hover .news-row-arrow { transform: translateX(3px); color: var(--accent); }
.news-cat {
  display: inline-flex; padding: 2px 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em;
  color: var(--muted); border: 1px solid var(--line); border-radius: var(--r); white-space: nowrap;
}

/* ---- 合作生态：3×2 规格块（带序号、hover 转墨黑/钴蓝） ---- */
.coop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: clamp(44px, 5vw, 64px); }
.coop-grid li { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; padding: 18px 20px; transition: background .25s var(--ease); }
.coop-grid li:hover { background: var(--card); }
.coop-idx { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--muted); flex: none; transition: color .2s; }
.coop-name { font-size: 13.5px; letter-spacing: .08em; color: var(--muted); transition: color .2s; }
.coop-grid li:hover .coop-idx { color: var(--accent); }
.coop-grid li:hover .coop-name { color: var(--ink); }

.cta-final { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-final h2 { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.16; color: var(--ink); text-wrap: balance; }
.cta-final .btn { padding: 17px 34px; font-size: 15px; }

/* ---- sec-more（章节尾链） ---- */
.sec-more-row { margin-top: clamp(28px, 3.6vw, 44px); }
.sec-more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--ink); border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: color .2s, border-color .2s; }
.sec-more i { font-style: normal; transition: transform .25s var(--ease); }
.sec-more:hover { color: var(--accent); border-color: var(--accent); }
.sec-more:hover i { transform: translateX(3px); }

/* ---------- 8. 内页公共：编辑式页头 ---------- */
.page-head { padding: clamp(48px, 6vw, 88px) 0 clamp(20px, 2.4vw, 36px); }
/* 分隔线到首个内容块收紧，避免死白 */
.page-head + .sec { padding-top: clamp(32px, 3.6vw, 52px); }
.ph-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(24px, 4vw, 64px); align-items: end; }
.page-head .crumb { margin-bottom: 22px; }
.ph-eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.ph-eyebrow::after { content: ""; width: 52px; height: 1px; background: var(--accent); }
.ph-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; color: var(--ink); }
.ph-lead { font-size: 15.5px; line-height: 1.85; color: var(--ink-2); padding-bottom: 8px; }
.ph-lead-block { max-width: 46em; margin-top: clamp(18px, 2.4vw, 28px); }
.ph-rule { position: relative; margin-top: clamp(28px, 3.4vw, 44px); border: 0; height: 1px; background: var(--line-2); }
.ph-rule::before { content: ""; position: absolute; left: 0; top: 0; width: 96px; height: 1px; background: var(--accent); }


/* ---------- 分类页签（直角描边，当前墨黑实心） ---------- */
.cats { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.cats a {
  padding: 8px 18px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em;
  color: var(--ink-2); border: 1px solid var(--line-2); border-radius: var(--r); background: transparent;
  transition: border-color .2s, color .2s, background .2s, transform .2s var(--ease);
}
.cats a:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.cats a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cats a.on:hover { transform: none; }

/* ---------- 资讯列表页（亦可复用 news-mini 风格；此处行式布局含摘要） ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-list .news-item > a { grid-template-columns: 150px minmax(0, 1fr) 200px 24px; }
.news-list .news-txt p { display: block; max-width: 52em; }
.news-list .news-meta-side { display: flex; align-items: center; justify-content: flex-end; }

/* ---------- 分页（40px 方格） ---------- */
.pager { display: flex; gap: 8px; margin-top: clamp(32px, 4vw, 48px); }
.pager a {
  display: grid; place-items: center; width: 40px; height: 40px;
  font-family: var(--mono); font-size: 13.5px; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .2s, color .2s, background .2s;
}
.pager a:hover { border-color: var(--ink); color: var(--ink); }
.pager a.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ============================================================
   9. 详情页 / 正文排版
   ============================================================ */
.detail-head { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 3.6vw, 48px); }
.detail-head .crumb { margin-bottom: 24px; }
.detail-title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.22; color: var(--ink); max-width: 24em; }
.detail-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; color: var(--muted);
}
.detail-meta .dot { width: 3px; height: 3px; background: var(--muted); border-radius: 50%; }

/* 详情行：左窄元信息栏（粘性）+ 中部正文，正文约 72ch */
.detail-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 220px; gap: clamp(28px, 4vw, 56px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }
.detail-side { position: sticky; top: 96px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); }
.detail-side dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail-side .dspec { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.detail-side dt { font-size: 10.5px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.detail-side dd { font-size: 11px; color: var(--ink-2); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.prose-card {
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-card);
  box-shadow: 0 1px 0 rgba(18, 20, 15, .04), 0 18px 40px -32px rgba(18, 20, 15, .5);
  padding: clamp(26px, 4vw, 52px);
}
.prose-col { max-width: 780px; margin-inline: auto; }
.prose-card .cover { width: 100%; height: auto; border: 1px solid var(--line); background: var(--paper-2); margin-bottom: clamp(20px, 3vw, 32px); }

/* ---- prose 全量重做 ---- */
.prose { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3 { color: var(--ink); font-weight: 700; }
.prose h2 {
  counter-increment: prs-h2;
  margin: 44px 0 18px; padding-left: 16px;
  border-left: 1px solid var(--accent);
  font-size: 1.45rem; line-height: 1.45; letter-spacing: -.01em;
}
.prose h2::before { content: "0" counter(prs-h2); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent); margin-right: 12px; vertical-align: .26em; }
.prose { counter-reset: prs-h2; }
.prose h3 { margin: 30px 0 12px; font-size: 1.13rem; }
.prose p { margin: 14px 0; }
.prose ul, .prose ol { margin: 14px 0; }
.prose li { position: relative; padding: 4px 0 4px 24px; }
.prose ul li::before { content: "+"; position: absolute; left: 2px; top: 4px; font-family: var(--mono); color: var(--accent); }
.prose ol { counter-reset: prs-ol; }
.prose ol li { padding-left: 30px; }
.prose ol li::before {
  counter-increment: prs-ol; content: counter(prs-ol, decimal-leading-zero);
  position: absolute; left: 0; top: 5px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent);
}
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(27, 54, 224, .4); transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose blockquote {
  margin: 22px 0; padding: 16px 22px;
  border-left: 1px solid var(--accent); background: var(--paper-2); color: var(--ink-2);
  font-size: 15.5px;
}
.prose code {
  font-family: var(--mono); font-size: .86em; padding: 2px 7px;
  background: var(--paper-2); border: 1px solid var(--line); color: var(--accent-ink);
}
.prose pre { margin: 20px 0; padding: 18px 22px; overflow-x: auto; background: var(--ink); border: 1px solid var(--ink); }
.prose pre code { padding: 0; border: 0; background: none; color: #E3EDFF; font-size: 13.5px; line-height: 1.7; }
.prose table { width: 100%; margin: 22px 0; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--line-2); }
.prose th, .prose td { padding: 10px 16px; border: 1px solid var(--line); text-align: left; }
.prose th { background: var(--paper-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
.prose img {
  display: block; max-width: 100%; height: auto; margin: 22px auto;
  border: 1px solid var(--line); background: var(--paper-2);
}
.prose hr { border: 0; height: 1px; margin: 32px 0; background: var(--line-2); }

/* figure.media / video / figcaption —— 内容渲染契约，必须可用 */
.prose figure.media, .body-md figure.media { margin: 28px auto; width: 100%; text-align: center; }
.prose figure.media img, .body-md figure.media img { margin: 0 auto; }
.prose figure.media video, .body-md figure.media video,
.prose video, .body-md video {
  display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain;
  background: var(--ink); border: 1px solid var(--line-2);
}
.prose figure.media img + figcaption,
.prose figure.media video + figcaption,
.body-md figure.media img + figcaption,
.body-md figure.media video + figcaption { margin-top: 12px; }
.prose figure.media figcaption, .body-md figure.media figcaption,
.prose .media-caption, .body-md .media-caption {
  color: var(--muted); font-size: 13px; line-height: 1.65; letter-spacing: .05em;
  text-align: center; padding: 0 12px;
}
.prose figure.media > :last-child, .body-md figure.media > :last-child { margin-bottom: 0; }
.prose p:has(figure.media), .body-md p:has(figure.media) { margin-block: 0; }

/* ---- 相关阅读：行式列表 ---- */
.related { padding-bottom: clamp(56px, 7vw, 96px); }
.related > h2 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.related > h2::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.related ul { border-top: 1px solid var(--line); }
.related li { border-bottom: 1px solid var(--line); }
.related li a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 16px 4px;
  transition: background .2s, padding .2s;
}
.related li a:hover { background: var(--paper-2); padding-inline: 10px 4px; }
.related b { font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.6; transition: color .2s; }
.related a:hover b { color: var(--accent); }
.related time { font-family: var(--mono); font-size: 12px; color: var(--muted); flex: none; }

/* ============================================================
   10. 联系页
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 4vw, 64px); align-items: start; padding-bottom: clamp(56px, 7vw, 96px); }

/* 左：规格表 */
.info { position: sticky; top: 96px; }
.info > .eyebrow { margin-bottom: 20px; }
.info dl { border-top: 1px solid var(--line-2); }
.info-row { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row dt {
  display: flex; align-items: center; gap: 10px; align-self: start;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .16em; color: var(--muted);
  padding-top: 3px;
}
.info-row dt .ic { width: 15px; height: 15px; color: var(--accent); flex: none; }
.info-row .icon-mini { width: 26px; height: 26px; background: transparent; border: 0; padding: 0; color: var(--accent); }
.info-row .icon-mini .ic { width: 17px; height: 17px; }
.info-row dd { font-size: 15px; line-height: 1.7; color: var(--ink); word-break: break-word; }
.info-row dd a { border-bottom: 1px solid var(--line-2); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.info-row dd a:hover { color: var(--accent); border-color: var(--accent); }

/* 右：表单（白底 + 1px 线 + focus 钴蓝环） */
.form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: clamp(26px, 3.6vw, 44px);
}
.form .hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form p { position: relative; margin-bottom: 18px; }
.form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--ink-2); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  transition: border-color .2s, box-shadow .2s;
}
.form ::placeholder { color: #9A9E93; }
.form input:focus, .form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(27, 54, 224, .18); outline: none; }
.form textarea { resize: vertical; min-height: 128px; }
.form .ok, .form .err { display: block; padding: 12px 14px; font-size: 14px; border-radius: var(--r); margin-bottom: 18px; }
.form .ok { color: var(--accent-ink); background: var(--paper-2); border: 1px solid var(--accent); }
.form .err { color: #8A1E1E; background: #F6ECEA; border: 1px solid rgba(138, 30, 30, .35); }
.form-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.form-foot .btn { min-width: 220px; }
.form-foot .form-note { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--muted); align-self: center; margin-right: auto; }

/* ============================================================
   11. 404
   ============================================================ */
.nf404 { padding: clamp(56px, 8vw, 120px) 0; min-height: 62vh; display: flex; align-items: center; }
.nf-rule {
  height: 16px; max-width: 460px; margin-bottom: 24px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 10px);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.nf-rule::after { /* 十字定位标记 */
  content: ""; position: absolute; right: -22px; bottom: -12px; width: 22px; height: 22px;
  background:
    linear-gradient(var(--accent), var(--accent)) 50% 0 / 1px 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 50% / 100% 1px no-repeat;
}
.nf-code {
  font-family: var(--mono); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(110px, 20vw, 260px); line-height: .96; letter-spacing: -.05em; color: var(--ink);
}
.nf-code::after { content: ""; display: inline-block; width: .12em; height: .12em; margin-left: .06em; background: var(--accent); }
.nf404 h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.01em; margin: 30px 0 12px; }
.nf-sub { color: var(--muted); max-width: 34em; margin-bottom: 34px; }
.nf-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   12. 响应式：1100 / 720
   ============================================================ */
@media (max-width: 1100px) {
  .header-in { gap: 16px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: fixed; inset: 73px 0 0; z-index: 55;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 20px 24px 40px; overflow-y: auto;
  }
  .nav-open .site-nav { display: flex; }
  .site-nav .nav-link, .site-nav .nav-drop-toggle {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 15px 4px; font-size: 16px; color: var(--ink);
    border-bottom: 1px solid var(--line); border-radius: 0;
  }
  .nav-link.on::after, .nav-drop.on-parent .nav-drop-toggle::after { display: none; }
  .site-nav .nav-link.on, .site-nav .nav-drop.on-parent .nav-drop-toggle { color: var(--accent); }
  .site-nav .chev { flex: none; }
  .nav-drop-panel {
    position: static; min-width: 0; padding: 0; display: none;
    opacity: 1; visibility: visible; transform: none;
    border: 0; background: transparent; box-shadow: none;
  }
  .drop-open > .nav-drop-panel { display: grid; }
  .drop-item { padding: 12px 18px; font-size: 14.5px; color: var(--ink-2); border-left: 1px solid var(--line-2); transition: none; }
  .drop-item.on { color: var(--accent); background: transparent; }
  .drop-item::after { display: none; }
  .nav-phone {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 24px;
    padding: 14px 18px; font-family: var(--mono); font-size: 15px; font-weight: 600;
    border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); width: fit-content;
  }
  .nav-phone:hover { border-color: var(--accent); color: var(--accent); }

  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-art { max-width: 560px; }
  .hero-title { font-size: clamp(2.5rem, 8.4vw, 4.4rem); }

  .sec-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .sec-desc-right { text-align: left; }
  .sec-index { display: none; }
  .svc-grid > li, .svc-grid > li:nth-child(1), .svc-grid > li:nth-child(2), .svc-grid > li:nth-child(n+6) { grid-column: span 6; }
  .svc-grid > li:nth-child(odd):nth-last-child(1) { grid-column: span 12; } /* 奇数末张放大，避免半行孤儿 */
  .reason { grid-column: span 12; }
  .contact-grid { grid-template-columns: 1fr; }
  .info { position: static; }
  .ph-in { grid-template-columns: 1fr; align-items: start; }
  .ph-lead { padding-bottom: 0; }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 220px; }
  .detail-side { grid-row: 1; grid-column: 2; }
  .prose-card, .detail-head { grid-column: 1; }
  .news-list .news-item > a { grid-template-columns: 118px minmax(0, 1fr) 24px; }
  .news-list .news-meta-side { display: none; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-col:first-child { grid-column: 1 / -1; }
  .foot-top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--wrap), 100% - 40px); }
  .hero { padding-top: 40px; }
  .specband { grid-template-columns: 1fr 1fr; }
  .spec-item:nth-child(3) { border-left: 0; }
  .spec-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec-item { padding-inline: 4px; }
  .spec-item + .spec-item { border-left: 1px solid var(--line); }
  .spec-item:nth-child(odd) { border-left: 0; }
  .svc-grid > li, .svc-grid > li:nth-child(1), .svc-grid > li:nth-child(2), .svc-grid > li:nth-child(n+6) { grid-column: span 12; }
  .stat, .stats-grid .stat { padding: 20px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; margin-bottom: 40px; }
  .stats-grid .stat + .stat { border-left: 0; }
  .stats-grid .stat:nth-child(even) { border-left: 1px solid var(--dk-line); }
  .stats-grid .stat:nth-child(n+3) { border-top: 1px solid var(--dk-line); }
  .case-card, .case-card > a { grid-template-columns: 1fr; }
  .case-card > a { display: block; }
  .case-visual { border-right: 0; border-bottom: 1px solid var(--line); min-height: 200px; padding: 20px; }
  .news-mini .news-item > a, .news-list .news-item > a { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .news-item .news-row-arrow { display: none; }
  .news-item time { font-size: 12px; }
  .coop-grid { grid-template-columns: 1fr; }
  .cta-final { align-items: flex-start; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; grid-row: auto; grid-column: 1; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .foot-cols { grid-template-columns: 1fr; gap: 36px; }
  .foot-top { padding-bottom: 32px; }
  .foot-mission { font-size: clamp(1.5rem, 6.4vw, 2.1rem); }
  .foot-cta { width: 100%; justify-content: space-between; }
  .foot-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .info-row { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
  .prose-card { padding: 22px 18px; }
  .btn { padding: 13px 22px; }
  .hero-cta .btn { flex: 1 0 auto; }
}

@media (max-width: 390px) {
  .wrap { width: min(var(--wrap), 100% - 32px); }
  .brand-name { font-size: 15px; }
  .header-in { gap: 12px; }
  .hero-title { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .specband { grid-template-columns: 1fr 1fr; }
  .spec-item { padding-inline: 6px; }
  .spec-item:nth-child(odd) { border-left: 0; }
  .spec-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat, .stats-grid .stat + .stat, .stats-grid .stat:nth-child(even) { border-left: 0; border-top: 1px solid var(--dk-line); padding: 18px 0; }
  .stats-grid .stat:first-child { border-top: 0; }
  .stats-grid .stat:nth-child(even) { border-left: 1px solid var(--dk-line); }
  .form-foot .btn { min-width: 0; width: 100%; }
  .form-foot { justify-content: stretch; }
}
