/* =========================================================
   立奥矩阵 Leomatrix — 官方网站样式（设计系统 v2）
   品牌：白 / 深海军蓝 / 立奥矩阵品牌蓝 / 青蓝高光
   原则：编辑式版式、克制层次、几何元素延展、留白驱动
   ========================================================= */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 色彩：来自 Leomatrix Logo */
  --c-navy: #070e22;
  --c-navy-2: #0c1531;
  --c-navy-soft: #111d3d;
  --c-navy-line: rgba(255, 255, 255, 0.14);

  --c-brand: #0a57d0;
  --c-brand-strong: #0847ab;
  --c-brand-soft: rgba(10, 87, 208, 0.08);

  --c-cyan: #29c5e6;
  --c-cyan-soft: rgba(41, 197, 230, 0.14);

  --c-ink: #0f1a30;
  --c-ink-soft: #1c2742;
  --c-text: #475166;
  --c-muted: #7a8699;
  --c-line: #e3e8f0;
  --c-line-2: #d8dfeb;

  --c-bg: #ffffff;
  --c-bg-soft: #f4f7fc;
  --c-bg-tint: #eef3fa;

  --c-accent: var(--c-brand);

  /* 尺寸 */
  --header-h: 76px;
  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section-y: clamp(72px, 9vw, 140px);
  --section-y-lg: clamp(96px, 11vw, 168px);

  /* 动效 */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;

  /* 字号层级（流体） */
  --fs-display: clamp(2.4rem, 5.2vw, 4.25rem);
  --fs-h2: clamp(1.625rem, 2.8vw, 2.25rem);
  --fs-h3: clamp(1.0625rem, 1.3vw, 1.1875rem);
  --fs-body: clamp(0.9375rem, 1vw, 1rem);
  --fs-small: 0.8125rem;
  --fs-label: 0.6875rem;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans KR",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-feature-settings: "ss01", "kern";
}

body.is-locked {
  overflow: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

p { margin: 0; }

ul, ol, dl, dd {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

img, svg {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--c-brand-soft);
  color: var(--c-brand-strong);
}

::focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--c-navy);
  color: #ffffff;
  padding: 12px 18px;
  font-size: 0.875rem;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* 锚点定位补偿固定导航高度 */
[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* ---------- 2. 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  will-change: transform;
}

.btn-solid {
  background: var(--c-brand);
  color: #ffffff;
}

.btn-solid:hover {
  background: var(--c-brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px -18px rgba(10, 87, 208, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--c-brand);
  border-color: var(--c-brand);
}

.btn-outline:hover {
  background: var(--c-brand-soft);
  border-color: var(--c-brand-strong);
  color: var(--c-brand-strong);
  transform: translateY(-1px);
}

.btn-sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.9375rem;
}

/* ---------- 3. 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* 顶部右侧容器：语言切换 + 导航（桌面）/ 汉堡按钮（手机） */
.header-end {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  min-width: 0;
}

/* 语言切换：中文 / 한국어
   设计意图：彻底去掉按钮外观（无边框 / 无底色 / 无圆角 / 无内边距），
   做成与导航同源的纯文字元素，视觉上像企业官网原生的语言选择。
   字号略小于主导航（0.8125rem vs 0.9375rem），不抢主导航与「咨询合作」按钮。 */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-btn {
  /* 抹平浏览器默认按钮外观 */
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  padding: 2px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--c-muted); /* 未选中：灰蓝 */
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.lang-btn:hover {
  color: var(--c-ink-soft); /* hover：同色系轻微加深，不改变色相 */
}

/* 当前语言：品牌蓝 + 略重字重 */
.lang-btn[aria-pressed="true"] {
  color: var(--c-brand);
  font-weight: 600;
}

/* 分隔符 / —— 颜色刻意压低，只作视觉分隔，不形成竖线边框感 */
.lang-sep {
  color: var(--c-muted);
  opacity: 0.4;
  font-size: 0.75rem;
  line-height: 1;
  user-select: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--c-ink);
  letter-spacing: 0.01em;
}

.brand-text em {
  font-style: normal;
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  color: var(--c-brand);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.9375rem;
  color: var(--c-ink-soft);
  font-weight: 500;
  transition: color var(--dur) var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--c-brand);
}

.nav-link.is-active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* 顶部导航 CTA —— 中韩共用一套自适应逻辑
   设计意图：做一个精致、紧凑的商务按钮，而不是一大块蓝色色块。
   - 宽度完全由文字内容决定：中文「咨询合作」与韩语「비즈니스 문의」
     切换后自然改变宽度，不使用任何固定宽度
   - 高度明显低于原来的 42px，上下 padding 收到最小
   - white-space: nowrap 保证文字永远单行，绝不折成两行
   - 保留品牌蓝背景 + 白色文字 + 克制的圆角 */
.nav-cta {
  width: auto;
  flex: 0 0 auto;
  min-height: 34px;
  padding: 7px 16px;
  font-size: 0.875rem;
  line-height: 1.2;
  letter-spacing: 0;
  border-radius: 3px;
  white-space: nowrap;
}

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: 2px;
  background: #fff;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.28s var(--ease), opacity 0.24s var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* ---------- 4. 首屏 Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 7.5vw, 116px) 0 clamp(76px, 9vw, 132px);
  background:
    radial-gradient(900px 520px at 86% 18%, rgba(10, 87, 208, 0.08), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--c-bg-soft) 100%);
  overflow: hidden;
}

.hero::after {
  /* 极细水平线，作为首屏与下方内容的呼吸分隔 */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line) 20%, var(--c-line) 80%, transparent);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  max-width: var(--container);
  position: relative;
}

.hero-copy { max-width: 42rem; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: clamp(22px, 2.8vw, 34px);
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: clamp(26px, 3vw, 38px);
  color: var(--c-ink);
}

.hero-title .accent { color: var(--c-brand); }

.hero-intro { max-width: 36em; }

.hero-intro p {
  font-size: clamp(0.95rem, 1.05vw, 1.0625rem);
  line-height: 1.9;
  color: var(--c-text);
}

.hero-intro p + p { margin-top: 0.85em; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(34px, 3.8vw, 50px);
}

/* Hero 右侧品牌视觉：Logo 几何延展 */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.hero-visual svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ---------- 5. 通用区块 ---------- */
.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  /* 编号 → 大标题：自然、克制的上下留白 */
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(44px, 5.5vw, 76px);
}

/* 编号 + 栏目名：位于大标题左上方。
   编号使用品牌蓝，栏目名使用灰色文字；字号保持克制（明显小于大标题）。 */
.section-index {
  display: flex;
  align-items: baseline;
  gap: 10px;
  white-space: nowrap;
  margin: 0;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.section-index span {
  color: var(--c-brand);
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-size: var(--fs-h2);
  line-height: 1.28;
  letter-spacing: -0.024em;
  font-weight: 700;
  color: var(--c-ink);
  max-width: 22em;
}

.section-title em {
  font-style: normal;
  color: var(--c-brand);
}

/* ---------- 6. 核心业务（编辑式编号行） ---------- */
.service-list {
  border-top: 1px solid var(--c-line-2);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 2.4fr) minmax(0, 1.6fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(34px, 4.4vw, 56px) 0;
  border-bottom: 1px solid var(--c-line-2);
  align-items: start;
  position: relative;
  transition: padding 0.4s var(--ease);
}

.service-num {
  display: inline-block;
  font-size: clamp(2rem, 3.2vw, 2.875rem);
  font-weight: 700;
  color: var(--c-line-2);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.service-title {
  font-size: clamp(1.1875rem, 1.6vw, 1.4375rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  transition: transform 0.5s var(--ease);
}

.service-desc {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--c-text);
  max-width: 34em;
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.service-points li {
  position: relative;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--c-ink-soft);
}

.service-row:hover { padding-left: 6px; }
.service-row:hover .service-num {
  color: var(--c-brand);
  transform: translateX(4px);
}
.service-row:hover .service-title { transform: translateX(4px); }

/* ---------- 7. 合作优势（双栏编辑式） ---------- */
.advantages .container {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.advantages-head {
  position: sticky;
  top: calc(var(--header-h) + 36px);
  max-width: 26em;
  margin-bottom: 0;
  gap: clamp(16px, 2vw, 28px);
}

.advantage-list {
  border-top: 1px solid var(--c-line-2);
}

.advantage-row {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  padding: clamp(30px, 3.8vw, 46px) 0;
  border-bottom: 1px solid var(--c-line-2);
  align-items: start;
  transition: padding 0.4s var(--ease);
}

.advantage-num {
  display: inline-block;
  font-size: clamp(1.625rem, 2.4vw, 2.125rem);
  font-weight: 700;
  color: var(--c-line-2);
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.4s var(--ease), transform 0.5s var(--ease);
}

.advantage-title {
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  margin-bottom: 10px;
  letter-spacing: -0.012em;
}

.advantage-desc {
  font-size: var(--fs-body);
  line-height: 1.9;
  color: var(--c-text);
  max-width: 36em;
}

.advantage-row:hover { padding-left: 8px; }
.advantage-row:hover .advantage-num {
  color: var(--c-brand);
  transform: translateX(4px);
}

/* ---------- 8. 重点合作 ATPGA ---------- */
.partnership {
  background: var(--c-bg-soft);
  padding: var(--section-y-lg) 0;
  position: relative;
  overflow: hidden;
}

.partnership::before {
  /* 顶部品牌细线分隔 */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line) 20%, var(--c-line) 80%, transparent);
}

.pt-intro {
  margin-bottom: clamp(56px, 7vw, 96px);
}

.pt-head {
  display: grid;
  grid-template-columns: 1fr;
  /* 编号 → 大标题：与其他板块一致，克制、明显的上下留白 */
  gap: clamp(14px, 1.6vw, 22px);
  /* 大标题 → 正文：与其他板块标题与内容之间的留白保持一致 */
  margin-bottom: clamp(34px, 4vw, 52px);
}

.pt-title {
  margin: 0;
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -0.028em;
  font-weight: 700;
  color: var(--c-ink);
}

.pt-title-leo { color: var(--c-ink); }
.pt-title-x {
  display: inline-block;
  margin: 0 0.35em;
  color: var(--c-muted);
  font-weight: 400;
}
.pt-title-atpga { color: var(--c-brand); }

.pt-statement {
  margin: 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.85;
  color: var(--c-text);
  max-width: 42em;
  font-weight: 500;
}

.pt-block {
  margin-top: clamp(56px, 7vw, 88px);
  position: relative;
}

.pt-block + .pt-block {
  padding-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--c-line);
}

.pt-block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin: 0 0 clamp(20px, 2.4vw, 30px);
}

.pt-figure,
.pt-photo,
.pt-auth-figure {
  margin: 0;
}

/* 活动现场大图 */
.pt-event-figure {
  max-width: 1080px;
}

.pt-shot {
  display: block;
  width: 100%;
  padding: 0;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 0;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 0.4s var(--ease), box-shadow 0.5s var(--ease);
}

.pt-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
}

.pt-shot:hover,
.pt-shot:focus-visible {
  border-color: var(--c-line-2);
  box-shadow: 0 30px 60px -45px rgba(15, 26, 48, 0.35);
}

.pt-shot:hover img,
.pt-shot:focus-visible img {
  transform: scale(1.015);
}

/* 战略合作授权：左文字 + 品牌蓝竖线 + 右图 */
.pt-block-auth .pt-block-title {
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.pt-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.pt-auth-text {
  position: relative;
  max-width: 36em;
}

.pt-auth-text p {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.95;
  color: var(--c-text);
}

.pt-auth-figure {
  max-width: 520px;
  margin-left: auto;
}

.pt-auth-figure .pt-shot {
  box-shadow: 0 40px 80px -55px rgba(15, 26, 48, 0.4);
}

/* 图片缺失占位（由 main.js 自动添加 is-missing） */
.pt-shot.is-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
  cursor: default;
  background: var(--c-bg);
}

.pt-event-figure .pt-shot.is-missing { min-height: clamp(220px, 26vw, 340px); }
.pt-auth-figure .pt-shot.is-missing { min-height: 240px; }

.pt-shot.is-missing img { display: none; }

.pt-shot.is-missing::after {
  content: "图片待补充";
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  color: var(--c-muted);
}

/* ---------- 9. 案例（预留，默认 hidden） ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.case-item {
  padding-top: 26px;
  border-top: 1px solid var(--c-line-2);
}

.case-meta {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 12px;
}

.case-title {
  font-size: 1.1875rem;
  margin-bottom: 12px;
}

.case-desc {
  font-size: var(--fs-body);
  line-height: 1.85;
}

/* ---------- 10. 联系我们 + 页脚（统一企业级收尾） ---------- */
.contact {
  background: var(--c-bg);
  color: var(--c-text);
  position: relative;
  padding: var(--section-y) 0 clamp(72px, 9vw, 128px);
  overflow: hidden;
}

.contact .container { position: relative; }

.contact-head {
  margin-bottom: clamp(52px, 6.5vw, 88px);
}

.contact-head .section-index { color: var(--c-muted); }
.contact-head .section-index span { color: var(--c-brand); }
.contact-head .section-title { color: var(--c-ink); max-width: 18em; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-intro {
  padding-top: 6px;
  max-width: 28em;
}

.contact-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.contact-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: block;
}

.contact-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.contact-logo-text strong {
  color: var(--c-ink);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-logo-text em {
  font-style: normal;
  color: var(--c-brand);
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.3em;
  margin-top: 4px;
}

.contact-name {
  color: var(--c-ink);
  font-size: clamp(1.0625rem, 1.3vw, 1.25rem);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.contact-tag {
  font-size: var(--fs-body);
  line-height: 1.85;
  color: var(--c-text);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(28px, 4vw, 56px);
  border-top: 1px solid var(--c-line);
  padding-top: clamp(32px, 4vw, 48px);
}

.contact-label {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--c-muted);
  margin-bottom: 18px;
}

.contact-value {
  color: var(--c-ink);
  font-size: 1.0625rem;
  word-break: break-word;
  line-height: 1.7;
}

/* 商务邮箱为纯文本：无 <a>、无 mailto、无下划线、无 hover 态。
   仍可正常选中复制，但不会唤起邮件客户端。颜色沿用正文深墨色，不用链接蓝。 */

.qr-box {
  width: 180px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
}

.qr-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-caption {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--c-ink);
  font-weight: 500;
}

.contact-footer-note {
  margin-top: clamp(44px, 5.5vw, 72px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--c-line);
  max-width: 46em;
  font-size: var(--fs-small);
  line-height: 1.9;
  color: var(--c-muted);
}

/* 页脚 */
.site-footer {
  background: var(--c-navy-2);
  border-top: 1px solid var(--c-navy-line);
  padding: clamp(28px, 3.4vw, 40px) 0;
  color: #6a7896;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-meta { text-align: right; }

.footer-meta p,
.footer-tag {
  font-size: var(--fs-small);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.footer-tag {
  color: #8494b0;
}

/* ---------- 11. 滚动出现（轻微） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--rd, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1180px) {
  .service-row {
    grid-template-columns: minmax(0, 0.4fr) minmax(0, 2fr) minmax(0, 1.4fr);
    gap: clamp(20px, 3vw, 44px);
  }
}

@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .service-row { grid-template-columns: minmax(0, 0.35fr) minmax(0, 1.65fr); }
  .service-row .service-points {
    grid-column: 2;
    margin-top: 16px;
    border-top: 1px solid var(--c-line);
    padding-top: 16px;
  }
  .advantages .container { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); }
  .advantages-head { position: static; max-width: none; }
  .pt-auth-grid { gap: clamp(32px, 5vw, 60px); }
  .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: block;
    padding: 8px var(--gutter) 24px;
    background: #fff;
    border-bottom: 1px solid var(--c-line);
    box-shadow: 0 18px 30px -22px rgba(0, 0, 0, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-list { display: block; }
  .nav-list li { border-bottom: 1px solid var(--c-line); }
  .nav-link {
    display: flex;
    align-items: center;
    min-height: 54px;
    font-size: 1rem;
    color: var(--c-ink);
  }
  .nav-link::after { display: none; }

  /* 移动端下拉菜单内的 CTA：与桌面端同一套自适应逻辑，
     宽度由文字内容决定，不再是占满整行的 50px 大蓝色色块 */
  .nav-cta {
    display: inline-flex;
    margin-top: 18px;
    min-height: 38px;
    padding: 9px 20px;
    font-size: 0.9375rem;
    vertical-align: top;
  }

  .hero { padding: clamp(48px, 8vw, 72px) 0 clamp(60px, 9vw, 96px); }

  .service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 28px 0;
  }
  .service-row .service-points {
    grid-column: 1;
    border-top: 1px solid var(--c-line);
    padding-top: 14px;
    margin-top: 6px;
  }
  .service-row:hover { padding-left: 0; }

  .advantage-row { grid-template-columns: 60px minmax(0, 1fr); padding: 24px 0; }

  .pt-auth-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pt-auth-figure { max-width: 340px; margin-left: 0; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .contact-list { grid-template-columns: minmax(0, 1fr); gap: 36px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { text-align: left; }
}

/* 手机端：右侧品牌图形自动移到文字下方 */
@media (max-width: 640px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-visual {
    max-width: 240px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .hero-title { font-size: clamp(2.05rem, 9vw, 2.6rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { max-width: 200px; }
  .qr-box { width: 100%; max-width: 220px; }
  .pt-event-figure { max-width: 100%; }
  .pt-meta { letter-spacing: 0.2em; }
  .pt-title { letter-spacing: -0.022em; }
}

/* ---------- 13. 图片查看器（Lightbox） ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(6, 12, 26, 0.94);
}

.lightbox[hidden] { display: none; }

.lb-close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-navy-line);
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.lb-close:hover { background: rgba(255, 255, 255, 0.14); }

.lb-inner {
  max-width: min(100%, 1100px);
  margin: 0;
  text-align: center;
}

.lb-img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  margin: 0 auto;
  border-radius: 4px;
}

.lb-cap {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #a9b6cd;
}

body.is-locked { overflow: hidden; }

/* ---------- 14. 无障碍与动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav-link::after,
  .nav-toggle-bar,
  .site-nav,
  .btn,
  .service-num,
  .service-title,
  .advantage-num,
  .pt-shot img {
    transition: none;
    animation: none;
  }
}

/* ---------- 15. 中韩双语：语言切换响应式 ---------- */
@media (max-width: 520px) {
  .lang-btn { font-size: 0.75rem; }
  .lang-switch { gap: 6px; }
  .header-end { gap: 12px; }
}

/* =========================================================
   16. 韩文排版（仅 <html lang="ko"> 生效）

   目标：韩语版拥有一套独立适配的 typography，视觉气质接近
        韩国大型企业官网；中文版排版完全不受影响。

   七条原则：
   1) 字号整体比中文版低一档 —— 韩文字形更饱满，同字号视觉更大更重
   2) 标题行高放宽到 1.34~1.45 —— 韩文有收音（받침），中文式 1.1 会拥挤
   3) 取消中文式大幅负字距（-0.035em），改用韩文习惯的 -0.02em 左右
   4) 正文行宽收紧到 30em 以内 —— 避免形成过长的单行
   5) word-break: keep-all —— 韩文按词换行，绝不从单词中间断开
   6) text-wrap: balance（标题）/ pretty（正文）—— 消除孤字与孤立末行
   7) 只用系统可用韩文字体，不加载任何外部字体
   ========================================================= */

html[lang="ko"] {
  /* 韩文字号体系：整体比中文版低一档 */
  --fs-body: clamp(0.875rem, 0.95vw, 0.9375rem); /* 14 → 15px */
  --fs-label: 0.75rem; /* 12px 栏目标签 */
}

/* 韩文字体栈：现代 Sans-serif，优先使用系统已装的韩文字体 */
html[lang="ko"] body {
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo",
    "Malgun Gothic", "Nanum Gothic", "Segoe UI", Roboto, sans-serif;
  word-break: keep-all;
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* 标题：统一放宽行高、收紧字距（不继承中文版的 1.2 / -0.018em） */
html[lang="ko"] h1,
html[lang="ko"] h2,
html[lang="ko"] h3,
html[lang="ko"] h4 {
  line-height: 1.36;
  letter-spacing: -0.022em;
}

/* ---------- 首屏大标题 ----------
   韩文文字更长，字号下调约 40%，保证两行完整且均衡，
   不会挤成三行、也不会出现孤零零一个词落到下一行。 */
html[lang="ko"] .hero-copy {
  max-width: 44rem;
}

html[lang="ko"] .hero-title {
  font-size: clamp(1.5rem, 2.9vw, 2.25rem);
  line-height: 1.34;
  letter-spacing: -0.022em;
  margin-bottom: clamp(24px, 2.8vw, 34px);
  text-wrap: balance;
}

html[lang="ko"] .hero-intro {
  max-width: 30em;
}

html[lang="ko"] .hero-intro p {
  font-size: clamp(0.9375rem, 1vw, 1rem);
  line-height: 1.85;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

/* ---------- 区块大标题 ---------- */
html[lang="ko"] .section-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.4;
  letter-spacing: -0.024em;
  max-width: 20em;
  text-wrap: balance;
}

/* ---------- 栏目标签：收紧中文版的 0.22~0.26em 宽字距 ---------- */
html[lang="ko"] .eyebrow,
html[lang="ko"] .section-index,
html[lang="ko"] .pt-block-title,
html[lang="ko"] .case-meta {
  letter-spacing: 0.08em;
}

html[lang="ko"] .eyebrow,
html[lang="ko"] .pt-block-title {
  letter-spacing: 0.06em;
}

/* ---------- 核心业务 / 合作优势：正文 ---------- */
html[lang="ko"] .service-title {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.45;
  letter-spacing: -0.018em;
  margin-bottom: 12px;
}

html[lang="ko"] .advantage-title,
html[lang="ko"] .case-title {
  line-height: 1.5;
  letter-spacing: -0.018em;
}

html[lang="ko"] .service-desc,
html[lang="ko"] .advantage-desc {
  font-size: var(--fs-body);
  line-height: 1.82;
  letter-spacing: -0.005em;
  max-width: 30em; /* 控制行宽，避免过长单行 */
  text-wrap: pretty;
}

html[lang="ko"] .service-points li {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ---------- 重点合作 ---------- */
/* 该标题内容为纯拉丁字母（LEOMATRIX × ATPGA），沿用中文版紧凑行高 */
html[lang="ko"] .pt-title {
  line-height: 1.2;
  letter-spacing: -0.025em;
}

html[lang="ko"] .pt-statement {
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: -0.01em;
  max-width: 34em;
  text-wrap: pretty;
}

html[lang="ko"] .pt-auth-text {
  max-width: 30em;
}

html[lang="ko"] .pt-auth-text p {
  font-size: clamp(0.9375rem, 1.05vw, 1rem);
  line-height: 1.85;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

/* ---------- 联系我们（三栏统一） ---------- */
html[lang="ko"] .contact-name {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

/* WeChat / KakaoTalk / 비즈니스 이메일：统一字号、字距与颜色。
   中文版为 0.6875rem + 0.24em 宽字距，拉丁字母在韩语版里会显得
   又小又散，这里统一收紧为 0.8125rem + 0.06em。 */
html[lang="ko"] .contact-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-ink-soft);
  margin-bottom: 16px;
}

/* 二维码下方说明文字：字号适当减小，与二维码保持合理距离 */
html[lang="ko"] .contact-caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--c-text);
}

html[lang="ko"] .contact-value {
  font-size: 1rem;
  letter-spacing: 0;
}

/* ---------- 页脚 ---------- */
html[lang="ko"] .footer-brand strong {
  letter-spacing: 0;
}

/* ---------- 品牌标识：韩文名与英文名保持原有字距关系 ---------- */
html[lang="ko"] .brand-text strong,
html[lang="ko"] .contact-logo-text strong {
  letter-spacing: 0.01em;
}

html[lang="ko"] .brand-text em,
html[lang="ko"] .contact-logo-text em {
  letter-spacing: 0.24em;
}

/* ---------- 顶部导航 CTA（仅桌面端） ----------
   韩文「비즈니스 문의」比中文「咨询合作」长得多，字号再收一档、
   左右 padding 再收 1px，让按钮在变宽的同时依然保持紧凑。
   移动端下拉菜单内的 CTA 由 ≤860px 响应式规则统一处理。 */
@media (min-width: 861px) {
  html[lang="ko"] .nav-cta {
    font-size: 0.8125rem;
    padding: 7px 15px;
    letter-spacing: -0.005em;
  }
}

/* ---------- 图片查看器说明 ---------- */
html[lang="ko"] .lb-cap {
  font-size: 0.875rem;
}

