/* ==========================================================================
   内页专用样式（在 main.css 之后加载）
   ========================================================================== */

/* 内页页头 */
.page-head {
  position: relative;
  padding: calc(var(--nav-h) + clamp(56px, 9vw, 104px)) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-head__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(120% 90% at 22% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(120% 90% at 22% 0%, #000 0%, transparent 72%);
}
.page-head__glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 760px; height: 760px; right: -180px; top: -320px;
  background: radial-gradient(circle, rgba(0,224,164,0.13) 0%, transparent 66%);
}
.page-head__inner { position: relative; z-index: 1; }
.page-head h1 { max-width: 22ch; }
.page-head .lead { margin-top: 22px; max-width: 52ch; }

/* 页头下方的面包屑 */
.crumb { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted-2); margin-bottom: 22px; }
.crumb a:hover { color: var(--muted); }
.crumb span { opacity: 0.5; }

/* 区块标题组 */
.section-head { max-width: 56ch; margin-bottom: 44px; }

/* 通用信息块 */
.tile {
  border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 24px; background: #070707;
}
.tile__k { font-size: 13px; color: var(--muted-2); margin-bottom: 8px; }
.tile__v { font-size: 16px; font-weight: 600; }
.tile__d { font-size: 14px; color: var(--muted); margin-top: 8px; line-height: 1.75; }

/* 键值清单 */
.kv { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.kv__row {
  display: grid; grid-template-columns: 190px 1fr; gap: 20px;
  padding: 16px 22px; border-bottom: 1px solid var(--border); font-size: 14.5px;
}
.kv__row:last-child { border-bottom: 0; }
.kv__row:nth-child(odd) { background: #060606; }
.kv__k { color: var(--muted-2); }
.kv__v { color: var(--fg); }

/* 联系页布局 */
.contact-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }

/* 地图/地址占位（纯 CSS，避免引入第三方地图脚本与流量） */
.map-box {
  position: relative; border: 1px solid var(--border); border-radius: var(--r-xl);
  min-height: 260px; overflow: hidden; background: #050505;
  display: grid; place-items: center; text-align: center; padding: 32px;
}
.map-box__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.map-box__pin {
  position: relative; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px;
  background: var(--accent-dim); border: 1px solid var(--accent);
  margin: 0 auto 16px;
}
.map-box p { position: relative; z-index: 1; font-size: 14px; color: var(--muted); max-width: 34ch; line-height: 1.8; }

/* 平台详情行（技术平台页） */
.plat-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 24px;
  align-items: start; padding: 26px clamp(20px, 3vw, 32px);
  border-bottom: 1px solid var(--border);
  transition: background-color var(--dur-fast) var(--ease);
}
.plat-row:last-child { border-bottom: 0; }
.plat-row:hover { background: #060606; }
.plat-row__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 24px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
}
.plat-row__cat { font-size: 12px; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 8px; display: block; }
.plat-row__title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.plat-row__desc { font-size: 14.5px; color: var(--muted); line-height: 1.8; max-width: 62ch; }
.plat-row__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; max-width: 260px; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .plat-row { grid-template-columns: 52px 1fr; }
  .plat-row__tags { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .kv__row { grid-template-columns: 1fr; gap: 6px; }
}
