/* ==========================================================================
   Lenrine Tec — Components
   导航 / 按钮 / Hero / 卡片 / 页脚 等所有可复用块。
   ========================================================================== */

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 600; font-size: clamp(13.5px, 1vw, 14.5px); line-height: 1;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn .arrow { transition: transform .18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }

.btn-accent { background: var(--yellow); color: #16243a; }
.btn-accent:hover { background: var(--yellow-hi); }

.btn-quiet { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-quiet:hover { background: var(--navy); color: #fff; }

.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: rgba(255,255,255,.06); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}

.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; }
/* 文字商标 Lenrine Tec —— 就是 logo 本体，不再用图形标记 */
.brand-wordmark { display: flex; flex-direction: column; gap: 6px; flex: 0 0 auto; }
.brand-wordmark .wm {
  display: flex; align-items: baseline; gap: 7px;
  font-family: var(--sans); font-size: 23px; font-weight: 800;
  letter-spacing: .05em; line-height: 1; color: var(--navy);
}
.brand-wordmark .wm .tec { color: var(--blue); }
.brand-wordmark .rule {
  height: 3px;
  background: linear-gradient(90deg, var(--yellow) 0 46%, var(--line) 46% 100%);
}
.brand-text {
  display: flex; flex-direction: column; line-height: 1.1;
  border-left: 1px solid var(--line); padding-left: 14px;
}
.brand-text .l1 { font-size: 15px; font-weight: 800; color: var(--navy); letter-spacing: .02em; white-space: nowrap; }
.brand-text .l2 { font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 3px; white-space: nowrap; }
.lang-cn .brand-text .l1 { font-family: var(--cn); font-size: 14px; }

.nav-links { display: flex; align-items: center; gap: 8px; font-size: clamp(13.5px, 1.05vw, 15px); font-weight: 600; color: var(--muted); }
.nav-links > a,
.nav-item > a {
  position: relative; display: block;
  padding: 26px 14px 23px;          /* 左右内边距给悬停色块留出面积 */
  border-bottom: 3px solid transparent;
  transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease);
}
/* 悬停：文字转深蓝 + 浅色底块 + 黄色下划线，三重反馈，扫一眼就知道停在哪一项 */
.nav-links > a:hover,
.nav-item:hover > a {
  color: var(--navy);
  background: var(--paper);
  border-bottom-color: var(--yellow);
}
/* 当前所在页：只用下划线和深色文字，不加底块，跟悬停区分开 */
.nav-links > a.active,
.nav-item > a.active { color: var(--navy); border-bottom-color: var(--yellow); }

.nav-item { position: relative; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-2); padding: 10px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  z-index: 110;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 20px; font-size: 14.5px; font-weight: 600; color: var(--navy);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.lang-cn .dropdown a { font-family: var(--cn); }
.dropdown a:hover { background: var(--paper); color: var(--blue); }
.dropdown a .d-alt { font-family: var(--sans); font-size: 11px; font-weight: 500; color: var(--silver); margin-left: auto; }

.nav-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

/* 语言切换 */
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .06em;
}
.lang-switch a { padding: 7px 12px; color: var(--muted); transition: background .15s var(--ease), color .15s var(--ease); }
.lang-switch a:hover { background: var(--paper); color: var(--navy); }
.lang-switch a[aria-current="true"] { background: var(--navy); color: #fff; }

/* 移动端汉堡 */
.nav-toggle {
  display: none; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
}
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--navy); transition: background .15s; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--navy);
  transition: transform .2s var(--ease), top .2s var(--ease);
}
.nav-toggle:hover { background: var(--paper); border-color: var(--silver); }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav-inner { height: 64px; }
  .brand-logo { height: 38px; }
  .nav-actions .btn { display: none; }

  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - 64px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
    box-shadow: var(--shadow-2);
  }
  .nav[data-open="true"] .nav-links { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links > a, .nav-item > a {
    padding: 15px 0; border-bottom: 1px solid var(--line);
    font-size: 16px; color: var(--navy);
  }
  .nav-links > a:hover, .nav-item:hover > a { border-bottom-color: var(--line); }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; min-width: 0; padding: 4px 0 12px;
    display: none;
  }
  .nav-item[data-open="true"] .dropdown { display: block; }
  .dropdown a { padding: 11px 16px; font-size: 14px; background: var(--paper); border-radius: var(--radius-sm); margin-bottom: 4px; }
}
@media (max-width: 560px) { .brand-text { display: none; } }

/* ==========================================================================
   HERO — 首页大图
   ========================================================================== */
.hero { position: relative; background: var(--navy); overflow: hidden; }
/* 三张堆叠的 hero 底图 —— 与三支柱一一对应，只切换 opacity，不触发重排 */
.hero__frame { position: absolute; inset: 0; opacity: 0; transition: opacity .55s var(--ease); }
.hero__frame.is-on { opacity: 1; }
.hero__media { position: relative; height: min(78vh, 720px); min-height: 480px; }
.hero__media .ph, .hero__media video, .hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* 画面主体（浮标）在原图正中。窗口变窄时会左右裁切，
     偏左取景可以把主体推到画面右侧，避开左下角那张信息卡。 */
  object-position: 38% center;
}
.hero__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,31,51,.35) 0%, rgba(11,31,51,0) 30%, rgba(11,31,51,.55) 100%),
    linear-gradient(90deg, rgba(11,31,51,.5) 0%, rgba(11,31,51,0) 55%);
}

.hero__badge {
  position: absolute; top: 24px; right: var(--gutter); z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(11,31,51,.55); backdrop-filter: blur(12px);
  color: #fff; padding: 8px 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.18); border-radius: 2px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(240,180,41,.18);
}

.hero__card {
  position: absolute; left: var(--gutter); bottom: 72px; z-index: 4;
  /* 660px 时右边缘会压到画面正中的主体上，收窄到 560 让出主体位置 */
  max-width: min(560px, 42vw);
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  padding: 38px 42px 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-3);
}
.hero__card h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 4.4vw, 56px);
  font-weight: 800; line-height: 1.06; letter-spacing: -.015em;
  color: var(--navy);
}
.lang-cn .hero__card h1 { font-family: var(--cn); line-height: 1.14; }
.hero__card .h1-alt {
  font-family: var(--sans);
  font-size: clamp(14px, 1.5vw, 18px); font-weight: 600;
  color: var(--blue); letter-spacing: .01em;
}
.hero__card .lede {
  margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: clamp(14px, 1.2vw, 15.5px); line-height: 1.75; color: var(--muted);
}
.hero__ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* 放在右侧偏上 —— 避开右下角固定的 .fab 快捷联系条 */
.hero__play {
  position: absolute; right: calc(var(--gutter) + 2%); top: 42%; z-index: 4;
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(11,31,51,.6); backdrop-filter: blur(14px);
  color: #fff; padding: 9px 22px 9px 9px;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px;
  font-size: 14px; font-weight: 500;
  transition: background .2s var(--ease);
}
.hero__play:hover { background: rgba(11,31,51,.78); }
.hero__play .circle {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; padding-left: 3px;
  transition: transform .2s var(--ease);
}
.hero__play:hover .circle { transform: scale(1.06); }
.hero__play .meta { font-family: var(--mono); font-size: 11px; color: rgba(255,255,255,.7); letter-spacing: .1em; }

/* 1200px 以下不再让信息卡压在图上 —— 宽度不够时一定会盖住画面主体。
   改成图在上、卡在下的堆叠式，任何窗口宽度下产品主体都完整可见。 */
@media (max-width: 1200px) {
  .hero__media { height: auto; min-height: 0; aspect-ratio: 16/9; }
  .hero__card {
    position: static; max-width: none; border-radius: 0;
    padding: 32px var(--gutter) 30px; box-shadow: none;
    background: #fff;
  }
  /* 移动端 hero__card 变成文档流，play 按钮如果继续绝对定位会压到标题上。
     改为跟在卡片之后的普通按钮 —— 它落在 .hero 的深色底上，所以用浅色描边。 */
  .hero__play {
    position: static; transform: none;
    margin: 0 var(--gutter) 32px;
    background: transparent;
    border-color: rgba(255,255,255,.38);
    color: #fff;
    padding: 8px 20px 8px 8px;
    align-self: flex-start;
  }
  .hero__play:hover { background: rgba(255,255,255,.1); }
  .hero__play .circle { background: #fff; color: var(--navy); width: 34px; height: 34px; font-size: 11px; }
  .hero__play .meta { display: none; }
}
@media (max-width: 560px) {
  .hero__badge { right: auto; left: var(--gutter); top: 16px; font-size: 10px; }
  .hero__ctas .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   PILLARS — 三支柱条（压在 Hero 下沿）
   ========================================================================== */
.pillars {
  position: relative; z-index: 5; margin-top: -44px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-3); border-radius: var(--radius); overflow: hidden;
}
.pillar {
  padding: 32px 32px 30px;
  border: 0; border-right: 1px solid var(--line);
  background: #fff; font: inherit; color: inherit; text-align: left;
  cursor: pointer; transition: background .2s var(--ease);
}
.pillar:last-child { border-right: 0; }
.pillar:not(.is-active):hover { background: var(--paper); }
.pillar.is-active { background: var(--navy); color: #fff; }
.pillar__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.pillar__n { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--silver); }
.pillar.is-active .pillar__n { color: var(--yellow); }
.pillar__tag { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); }
.pillar.is-active .pillar__tag { color: var(--yellow); }
.pillar h3 { margin: 0; font-size: clamp(20px, 2vw, 24px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.lang-cn .pillar h3 { font-family: var(--cn); }
.pillar h3 .alt { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 10px; }
.pillar.is-active h3 .alt { color: var(--on-dark-3); }
.pillar p { margin: 12px 0 0; font-size: clamp(13.5px, 1.1vw, 14.5px); line-height: 1.7; color: var(--muted); max-width: 34ch; }
.pillar.is-active p { color: var(--on-dark-2); }

/* Hero 卡在 1200px 以下已经落到文档流里，支柱条就不能再往上压 —— 会盖住 CTA 按钮 */
@media (max-width: 1200px) {
  .pillars { margin-top: 0; }
}
@media (max-width: 560px) { .brand-wordmark .wm { font-size: 20px; } }
@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
}

/* ==========================================================================
   PRODUCT CARDS — 首页产品与服务
   ========================================================================== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--silver); }
.card__media { aspect-ratio: 4/3; position: relative; background: var(--paper); }
.card__media .ph, .card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__index { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--silver); }
.card__title { margin: 10px 0 3px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 800; line-height: 1.25; letter-spacing: -.005em; color: var(--navy); }
.lang-cn .card__title { font-family: var(--cn); }
.card__alt { font-size: 12.5px; font-weight: 600; color: var(--blue); margin-bottom: 12px; }
.card__desc { font-size: clamp(13.5px, 1.1vw, 14.5px); line-height: 1.7; color: var(--muted); flex: 1; }
.card .chips { margin-top: 16px; }
.card__more {
  display: flex; align-items: center; gap: 6px; margin-top: 20px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 600; color: var(--blue);
}
.card__more::after { content: '→'; transition: transform .2s var(--ease); }
.card:hover .card__more::after { transform: translateX(3px); }

.card--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.card--dark:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.card--dark .card__index { color: var(--yellow); }
.card--dark .card__title { color: #fff; }
.card--dark .card__alt   { color: var(--yellow); }
.card--dark .card__desc  { color: var(--on-dark-2); }
.card--dark .card__more  { color: var(--yellow); }

@media (max-width: 1040px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 640px)  { .cards { grid-template-columns: 1fr; } }

/* ---- 技术标签条 ---- */
.techstrip {
  margin-top: 44px; padding: 26px 32px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.techstrip__lead { max-width: 62ch; }
.techstrip__lead .label { display: block; margin-top: 6px; font-size: clamp(14.5px, 1.2vw, 16px); font-weight: 700; line-height: 1.5; color: var(--navy); }
.lang-cn .techstrip__lead .label { font-family: var(--cn); }
@media (max-width: 640px) { .techstrip { gap: 18px; } .techstrip .btn { width: 100%; } }
.techstrip__tags { display: flex; gap: 10px; flex-wrap: wrap; }
.ttag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--navy);
}
.ttag .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex: 0 0 auto; }

/* ==========================================================================
   APPLICATIONS & PROJECTS
   ========================================================================== */
.scenes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 32px; }
.scene {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end;
}
.scene .ph { position: absolute; inset: 0; }
.scene__label {
  position: relative; z-index: 2; width: 100%;
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, rgba(11,31,51,0) 0%, rgba(11,31,51,.85) 100%);
  color: #fff;
}
.scene__label .n { font-family: var(--mono); font-size: 10px; letter-spacing: .18em; color: var(--yellow); }
.scene__label h4 { margin: 8px 0 2px; font-size: clamp(14px, 1.35vw, 16px); font-weight: 700; }
.lang-cn .scene__label h4 { font-family: var(--cn); }
.scene__label .alt { font-size: 11.5px; color: var(--on-dark-3); }

.feature {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: #fff;
}
.feature__media { position: relative; min-height: 380px; }
.feature__media .ph { position: absolute; inset: 0; }
.feature__flag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  background: var(--yellow); color: var(--navy);
  font-family: var(--mono); font-size: 10.5px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 2px;
}
.feature__body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; }
.feature__body h3 { margin: 12px 0 6px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.24; color: var(--navy); }
.lang-cn .feature__body h3 { font-family: var(--cn); }
.feature__body .alt { font-size: 13.5px; font-weight: 600; color: var(--blue); }
.feature__body p { margin: 16px 0 0; font-size: clamp(14px, 1.15vw, 15px); line-height: 1.8; color: var(--muted); }
.feature__body .chips { margin-top: 22px; }
.feature__body .btn { margin-top: 26px; align-self: flex-start; }

@media (max-width: 1040px) { .scenes { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 260px; aspect-ratio: 16/9; }
  .feature__body { padding: 28px var(--gutter) 32px; }
}
@media (max-width: 560px) { .scenes { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ==========================================================================
   STATS
   ========================================================================== */
.statbar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.statbar .s { padding: 28px 26px; border-right: 1px solid var(--line); }
.statbar .s:last-child { border-right: none; }
.statbar .v { font-family: var(--sans); font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--navy); line-height: 1; }
.statbar .v .u { font-size: 17px; font-weight: 600; color: var(--blue); margin-left: 4px; }
.statbar .k { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.lang-cn .statbar .k { font-family: var(--cn); }
@media (max-width: 860px) {
  .statbar { grid-template-columns: repeat(2, 1fr); }
  .statbar .s:nth-child(2n) { border-right: none; }
  .statbar .s:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ---- 双栏图文 ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split__img { aspect-ratio: 5/4; border-radius: var(--radius); overflow: hidden; }
.split h3 { margin: 14px 0 14px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 800; line-height: 1.26; color: var(--navy); }
.lang-cn .split h3 { font-family: var(--cn); }
.split p { margin: 0 0 14px; font-size: clamp(14.5px, 1.15vw, 15.5px); line-height: 1.85; color: var(--muted); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   COMPLIANCE STRIP — 标准与合规（国际站关键信任块）
   ========================================================================== */
.compliance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--on-dark-line); border: 1px solid var(--on-dark-line); border-radius: var(--radius); overflow: hidden; }
.compliance .c { padding: 26px 24px; background: rgba(255,255,255,.03); }
.compliance .c .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.compliance .c h4 { margin: 14px 0 6px; font-size: 17px; font-weight: 700; color: #fff; }
.lang-cn .compliance .c h4 { font-family: var(--cn); }
.compliance .c p { margin: 0; font-size: 13.5px; line-height: 1.7; color: var(--on-dark-2); }
@media (max-width: 900px) { .compliance { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .compliance { grid-template-columns: 1fr; } }

/* ==========================================================================
   INSIGHTS TEASER
   ========================================================================== */
.alist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acard {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.acard:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-1); }
.acard__media { aspect-ratio: 16/9; }
.acard__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.acard__meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.acard h4 { margin: 12px 0 8px; font-size: clamp(16px, 1.4vw, 18px); font-weight: 700; line-height: 1.4; color: var(--navy); }
.lang-cn .acard h4 { font-family: var(--cn); }
.acard p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--muted); flex: 1; }
@media (max-width: 900px) { .alist { grid-template-columns: 1fr; } }

/* ==========================================================================
   CONTACT / INQUIRY
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-grid h2 { margin: 10px 0 16px; font-size: clamp(26px, 3vw, 40px); font-weight: 800; line-height: 1.2; color: #fff; }
.lang-cn .contact-grid h2 { font-family: var(--cn); }
.contact-grid h2 .en,
.contact-grid h2 .sub { display: block; margin-top: 8px; font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--on-dark-3); }
.lang-cn .contact-grid h2 .sub { font-family: var(--cn); font-weight: 500; }
.contact-grid > div > p { margin: 0 0 28px; font-size: 15.5px; line-height: 1.8; color: var(--on-dark-2); max-width: 48ch; }

.info-list { display: flex; flex-direction: column; }
.info-row { display: grid; grid-template-columns: 132px 1fr; gap: 18px; padding: 14px 0; border-top: 1px solid var(--on-dark-line); }
.info-row:first-child { border-top: none; padding-top: 0; }
.info-row .k { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); font-weight: 600; padding-top: 3px; }
.info-row .v { font-size: 15px; line-height: 1.55; color: #fff; }
.info-row .v .sub { display: block; font-family: var(--sans); font-size: 12.5px; color: var(--on-dark-3); margin-top: 3px; }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* 询价表单 */
.inquiry {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 30px 32px;
}
.inquiry h3 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: #fff; }
.lang-cn .inquiry h3 { font-family: var(--cn); }
.inquiry .hint { margin: 0 0 22px; font-size: 13px; color: var(--on-dark-3); line-height: 1.6; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--on-dark-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px;
  background: rgba(255,255,255,.06); color: #fff;
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14.5px;
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.field textarea { min-height: 96px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.38); }
/* 表单框原本只有 :focus 反馈，鼠标划过时毫无变化，不容易看出哪里可以填 */
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.4); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--yellow); background: rgba(255,255,255,.1); outline: none;
}
.field select option { background: var(--navy); color: #fff; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.inquiry .btn { width: 100%; margin-top: 8px; }
.inquiry .note { margin: 14px 0 0; font-size: 11.5px; color: var(--on-dark-3); line-height: 1.6; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .info-row { grid-template-columns: 1fr; gap: 4px; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 56px 0 28px; background: #071624; color: var(--on-dark-2); font-size: 13.5px; }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .f-l1 { font-size: 16px; font-weight: 800; color: #fff; letter-spacing: .01em; }
.lang-cn .footer-brand .f-l1 { font-family: var(--cn); }
.footer-brand .f-l2 { font-size: 12px; font-weight: 500; color: var(--on-dark-3); letter-spacing: .03em; margin-top: 4px; }
.footer-brand p { margin: 14px 0 0; font-size: 13px; line-height: 1.7; color: var(--on-dark-3); max-width: 400px; }
.footer-col h4 { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: #fff; letter-spacing: .04em; }
.lang-cn .footer-col h4 { font-family: var(--cn); }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a, .footer-col li { font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); transition: color .18s var(--ease); }
.footer-col a:hover { color: var(--yellow); }
.footer-col .k { display: block; margin-bottom: 2px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 12px; color: rgba(255,255,255,.45); }
.footer-bottom .legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-bottom a:hover { color: rgba(255,255,255,.85); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ==========================================================================
   FAB — 侧边快捷联系
   ========================================================================== */
.fab {
  position: fixed; right: 22px; bottom: 28px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.fab-item {
  position: relative; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 12px;
  background: #fff; color: var(--navy);
  border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-1);
  font-size: 13.5px; font-weight: 600; line-height: 1;
  cursor: pointer; /* 微信那一项是 div[role=button]，不加会显示默认箭头光标 */
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.lang-cn .fab-item { font-family: var(--cn); }
.fab-item:hover { transform: translateX(-3px); box-shadow: var(--shadow-2); border-color: var(--yellow); }
.fab-item .ico { width: 28px; height: 28px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 14px; color: var(--blue); flex: 0 0 auto; }
.fab-item.primary { background: var(--yellow); color: var(--navy); border-color: var(--yellow); padding-right: 18px; }
.fab-item.primary .ico { background: rgba(11,31,51,.12); color: var(--navy); }
.fab-qr {
  display: none; position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%);
  background: #fff; border: 1px solid var(--line); padding: 10px; border-radius: 10px;
  box-shadow: var(--shadow-2); width: 132px;
}
.fab-qr .qr-ph { width: 112px; height: 112px; background: repeating-linear-gradient(45deg,#f5f5f5,#f5f5f5 4px,#e8e8e8 4px,#e8e8e8 8px); border-radius: 6px; }
.fab-qr .qr-cap { margin-top: 6px; font-size: 11.5px; color: var(--muted); text-align: center; font-weight: 600; }
.fab-item.wechat:hover .fab-qr, .fab-item.wechat:focus-within .fab-qr { display: block; }
/* 视口宽度接近版心（1440 + 左右留白）时，右侧悬浮条会压在正文上。
   收成纯图标圆钮，正好落在版心外的留白里。 */
@media (min-width: 901px) and (max-width: 1560px) {
  .fab-item .label { display: none; }
  .fab-item, .fab-item.primary { padding: 12px; border-radius: 50%; }
}

/* 中小屏：竖排悬浮球会盖住正文和 CTA 按钮。改成底部固定操作条 ——
   只占底部一条，不侵占横向内容区，同时给 body 留出等高的下边距。 */
@media (max-width: 900px) {
  .fab {
    left: 0; right: 0; bottom: 0;
    flex-direction: row; align-items: stretch; gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(11,31,51,.08);
  }
  .fab-item {
    flex: 1; justify-content: center;
    padding: 13px 8px; border-radius: var(--radius);
    box-shadow: none; border-color: var(--line);
  }
  .fab-item:hover { transform: none; }
  .fab-item.primary { flex: 1.3; }
  .fab-item .ico { display: none; }
  /* 微信二维码靠 hover 展示，触屏上没有意义 —— 移动端不显示 */
  .fab-item.wechat { display: none; }
  body { padding-bottom: 72px; }
}

/* ==========================================================================
   中文站的小标签排版修正
   这些位置原本走等宽英文 + 全大写 + 大字距，装中文会散架 —— 改回中文字体、
   收紧字距、取消大写变换。注意 .ph__cap 里是文件路径，仍然保持等宽。
   ========================================================================== */
.lang-cn .eyebrow,
.lang-cn .pillar__tag,
.lang-cn .card__index,
.lang-cn .card__more,
.lang-cn .scene__label .n,
.lang-cn .acard__meta,
.lang-cn .info-row .k,
.lang-cn .footer-col .k,
.lang-cn .feature__flag,
.lang-cn .compliance .c .k {
  font-family: var(--cn);
  letter-spacing: .08em;
  text-transform: none;
}
.lang-cn .eyebrow    { font-size: 12.5px; font-weight: 600; }
.lang-cn .card__more { font-size: 12.5px; }
.lang-cn .info-row .k,
.lang-cn .footer-col .k { font-size: 11.5px; }
