/* ============================================================
   益环德福 YHDF 企业官网样式
   ============================================================ */
:root {
  --brand: #0b4da2;
  --brand-2: #00a1e9;
  --brand-dark: #08346e;
  --navy: #0a1f44;
  --grad: linear-gradient(135deg, #0b4da2 0%, #00a1e9 100%);
  --grad-dark: linear-gradient(135deg, #0a1f44 0%, #0b4da2 100%);
  --text: #2b3242;
  --text-2: #5a6480;
  --line: #e4e9f2;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 77, 162, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 77, 162, 0.16);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 900px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 2px solid transparent; transition: all .3s ease;
}
.btn .ico svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }

.more-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 12px;
  transition: gap .25s ease;
}
.more-link .ico svg { width: 16px; height: 16px; }
.more-link:hover { gap: 12px; }
.ico { display: inline-flex; align-items: center; justify-content: center; }
.ico svg { width: 100%; height: 100%; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all .35s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; transition: height .3s ease;
}
.site-header .logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo-mark { width: 42px; height: 42px; border-radius: 10px; flex: none; }
.logo-mark svg, .logo-mark img { width: 100%; height: 100%; }
.logo-mark img { border-radius: 10px; object-fit: cover; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text b { font-size: 21px; letter-spacing: 2px; font-weight: 700; }
.logo-text em { font-style: normal; font-size: 11px; letter-spacing: 1.5px; opacity: .75; }

.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav li { position: relative; }
.main-nav a.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 16px; color: #fff; font-size: 16px; font-weight: 500;
  transition: color .25s ease;
}
.main-nav a.nav-link .chev { width: 14px; height: 14px; transition: transform .25s ease; }
.main-nav li:hover > a.nav-link { color: #bfe3ff; }
.main-nav li:hover a.nav-link .chev { transform: rotate(180deg); }
.main-nav li.cur > a.nav-link { color: #bfe3ff; }

.subnav {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(14px);
  min-width: 320px; padding-top: 12px; opacity: 0; visibility: hidden;
  transition: all .28s ease;
}
.subnav-inner {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
.subnav-inner a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: var(--text); font-size: 14.5px; font-weight: 500;
  transition: all .2s ease;
}
.subnav-inner a:hover { background: #eef4fd; color: var(--brand); padding-left: 18px; }
.main-nav li:hover .subnav { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* 滚动后 / 非首页：白底深字 */
.site-header.scrolled, .site-header.solid {
  background: #fff; box-shadow: 0 2px 20px rgba(10, 31, 68, .10);
}
.site-header.scrolled .header-inner, .site-header.solid .header-inner { height: 66px; }
.site-header.scrolled .logo-text, .site-header.solid .logo-text { color: var(--navy); }
.site-header.scrolled a.nav-link, .site-header.solid a.nav-link { color: var(--text); }
.site-header.scrolled li:hover > a.nav-link, .site-header.solid li:hover > a.nav-link { color: var(--brand); }
.site-header.scrolled li.cur > a.nav-link, .site-header.solid li.cur > a.nav-link { color: var(--brand); }
.site-header.scrolled .logo-mark svg, .site-header.solid .logo-mark svg { color: var(--brand); }

/* 移动端菜单按钮 */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: all .3s ease; border-radius: 2px; }
.site-header.scrolled .nav-toggle span, .site-header.solid .nav-toggle span { background: var(--navy); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 620px; overflow: hidden; }
.hero-track { height: 100%; display: flex; transition: transform .8s cubic-bezier(.7, 0, .3, 1); }
.hero-slide {
  flex: 0 0 100%; position: relative; background-size: cover; background-position: center;
  display: flex; align-items: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 31, 68, .88) 0%, rgba(11, 77, 162, .62) 55%, rgba(0, 161, 233, .28) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; color: #fff; padding-top: 40px; }
.hero-tag {
  display: inline-block; padding: 6px 18px; border: 1px solid rgba(255,255,255,.5);
  border-radius: 999px; font-size: 13px; letter-spacing: 3px; margin-bottom: 22px;
}
.hero-content h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.25; letter-spacing: 2px; }
.hero-en { font-size: clamp(16px, 2vw, 22px); letter-spacing: 4px; color: #9fd6ff; margin: 14px 0 20px; font-weight: 300; }
.hero-desc { font-size: 16.5px; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots { position: absolute; left: 50%; bottom: 42px; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots .dot {
  width: 34px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: all .3s ease;
}
.hero-dots .dot.on { background: #fff; width: 54px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45);
  background: rgba(255,255,255,.08); color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all .3s ease;
}
.hero-arrow:hover { background: var(--brand-2); border-color: var(--brand-2); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }

/* ---------- 内页 Banner ---------- */
.page-banner { position: relative; height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-banner .banner-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  animation: bannerZoom 8s ease forwards;
}
@keyframes bannerZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 31, 68, .55) 0%, rgba(8, 31, 68, .82) 100%);
}
.banner-inner { position: relative; z-index: 2; color: #fff; padding-bottom: 54px; }
.banner-en {
  font-size: 15px; letter-spacing: 6px; color: #9fd6ff; font-weight: 500; margin-bottom: 10px;
}
.banner-cn { font-size: clamp(30px, 4vw, 46px); font-weight: 700; letter-spacing: 2px; }
.banner-bar { width: 64px; height: 4px; border-radius: 4px; background: var(--brand-2); margin-top: 20px; }

.breadcrumb {
  padding: 18px 24px; display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-2);
}
.breadcrumb a { color: var(--text-2); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .ico.mini { width: 14px; height: 14px; color: var(--brand-2); }
.breadcrumb a::after { content: "/"; margin: 0 8px; color: #c3ccdd; }
.breadcrumb span { color: var(--brand); font-weight: 600; }

/* ---------- 通用区块 ---------- */
.sec { padding: 84px 0; }
.sec.light { background: var(--bg-soft); }
.sec-title { margin-bottom: 42px; }
.sec-title.center { text-align: center; }
.sec-title .st-en {
  font-size: 13px; letter-spacing: 5px; color: var(--brand-2); font-weight: 600; text-transform: uppercase;
}
.sec-title .st-cn { font-size: clamp(26px, 3vw, 36px); color: var(--navy); font-weight: 700; letter-spacing: 1px; margin-top: 6px; }
.sec-title .st-line { display: block; width: 54px; height: 4px; border-radius: 4px; background: var(--grad); margin-top: 16px; }
.sec-title.center .st-line { margin: 16px auto 0; }
.lead { font-size: 16.5px; color: var(--text-2); }
.sec-more { text-align: center; margin-top: 38px; }

/* 图文分栏 */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.split-text .lead + .lead { margin-top: 16px; }
.split-img { position: relative; }
.split-img::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  background: var(--grad); border-radius: var(--radius); opacity: .12; z-index: 0;
}
.split-img img { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }

/* ---------- 服务范围卡片 ---------- */
.scope-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sc-card {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid var(--line); transition: all .32s ease; position: relative; overflow: hidden;
}
.sc-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.sc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.sc-card:hover::after { transform: scaleX(1); }
.sc-icon {
  width: 58px; height: 58px; border-radius: 14px; background: #eef4fd; color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px; transition: all .3s ease;
}
.sc-icon svg { width: 28px; height: 28px; }
.sc-card:hover .sc-icon { background: var(--grad); color: #fff; }
.sc-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.sc-card p { font-size: 14.5px; color: var(--text-2); }

/* ---------- 服务优势 ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.adv-item {
  background: #fff; border-radius: var(--radius); padding: 28px 22px;
  border: 1px solid var(--line); transition: all .32s ease; position: relative;
}
.adv-item:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-2); }
.adv-num {
  font-size: 34px; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px #c9d8f0;
  line-height: 1; margin-bottom: 12px;
}
.adv-item h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.adv-item p { font-size: 13.5px; color: var(--text-2); }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 14px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 12px 22px; font-size: 15px; color: var(--navy); font-weight: 500;
  transition: all .28s ease;
}
.chip .ico { width: 16px; height: 16px; color: var(--brand-2); }
.chip:hover { border-color: var(--brand-2); color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ---------- 案例卡片 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.case-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all .32s ease; display: flex; flex-direction: column;
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.case-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover .case-img img { transform: scale(1.06); }
.case-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.case-tag {
  align-self: flex-start; font-size: 12px; color: var(--brand); background: #eef4fd;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; font-weight: 600;
}
.case-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 10px; }
.case-body p {
  font-size: 14.5px; color: var(--text-2); display: -webkit-box;
  -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.case-body .more-link { margin-top: auto; padding-top: 14px; }

/* ---------- 上/下模块 ---------- */
.neighbors {
  display: flex; gap: 20px; padding: 0 24px; max-width: 1240px; margin: 0 auto 40px;
}
.nlink {
  flex: 1; display: flex; align-items: center; gap: 14px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; transition: all .3s ease;
}
.nlink:hover { border-color: var(--brand-2); box-shadow: var(--shadow); transform: translateY(-2px); }
.nlink.right { justify-content: flex-end; text-align: right; }
.nlabel { font-size: 12.5px; color: var(--text-2); }
.nname { font-size: 17px; font-weight: 700; color: var(--navy); }

/* ---------- CTA ---------- */
.cta-band {
  background: var(--grad-dark) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><circle cx='2' cy='2' r='1.4' fill='rgba(255,255,255,0.12)'/></svg>");
  padding: 60px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h3 { color: #fff; font-size: 28px; letter-spacing: 1px; }
.cta-inner p { color: rgba(255,255,255,.72); margin-top: 6px; }

/* ---------- 数据统计 ---------- */
.stats-band { background: var(--grad); padding: 64px 0; }
.stats-band .stats-head { margin-bottom: 10px; }
.stats-band .st-en { color: rgba(255,255,255,.65); }
.stats-band .st-cn { color: #fff; }
.stats-band .st-line { background: rgba(255,255,255,.8); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; color: #fff; }
.stat-num { font-size: clamp(38px, 5vw, 56px); font-weight: 800; line-height: 1.1; }
.stat-name { font-size: 14.5px; opacity: .85; margin-top: 6px; letter-spacing: 1px; }

/* ---------- 服务卡片 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.svc-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all .32s ease; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-top { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.svc-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,31,68,.05), rgba(8,31,68,.45)); }
.svc-body { padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.svc-en {
  font-size: 10.5px; letter-spacing: 2px; color: var(--brand-2); font-weight: 700; text-transform: uppercase;
  display: block; margin-bottom: 8px;
}
.svc-body h3 { font-size: 17.5px; color: var(--navy); margin-bottom: 8px; }
.svc-body p { font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svc-body .more-link { margin-top: auto; padding-top: 12px; }

/* ---------- 行业卡片 ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ind-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: all .32s ease; display: flex; flex-direction: column;
}
.ind-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ind-img { aspect-ratio: 16 / 9; background-size: cover; background-position: center; position: relative; }
.ind-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,31,68,.08), rgba(8,31,68,.55)); }
.ind-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.ind-en { font-size: 10.5px; letter-spacing: 2.5px; color: var(--brand-2); font-weight: 700; margin-bottom: 6px; }
.ind-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.ind-body p { font-size: 13.5px; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ind-body .more-link { margin-top: auto; padding-top: 12px; }

/* ---------- 业务类型 ---------- */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: all .32s ease;
}
.biz-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: transparent; }
.biz-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.biz-head .ico {
  width: 44px; height: 44px; border-radius: 12px; background: #eef4fd; color: var(--brand); flex: none;
}
.biz-head .ico svg { width: 22px; height: 22px; }
.biz-head h3 { font-size: 18px; color: var(--navy); }
.biz-card ul li {
  display: flex; gap: 8px; font-size: 14px; color: var(--text-2); padding: 5px 0;
  border-bottom: 1px dashed #edf1f7;
}
.biz-card ul li:last-child { border-bottom: 0; }
.biz-card ul li .ico { width: 15px; height: 15px; color: var(--brand-2); flex: none; margin-top: 4px; }

/* ---------- 特色能力 ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cap-item {
  background: #fff; border-radius: var(--radius); padding: 28px 26px;
  border-top: 4px solid var(--brand-2); box-shadow: var(--shadow); transition: all .32s ease;
}
.cap-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cap-num { font-size: 30px; font-weight: 800; color: #e3ecfb; margin-bottom: 6px; }
.cap-item h3 { font-size: 19px; color: var(--navy); }
.cap-sub { font-size: 13px; color: var(--brand-2); font-weight: 600; margin: 2px 0 12px; }
.cap-item ul li { position: relative; padding-left: 16px; font-size: 13.5px; color: var(--text-2); margin: 6px 0; }
.cap-item ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }

/* ---------- 荣誉认证 ---------- */
.certs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 16px; text-align: center; transition: all .3s ease;
}
.cert:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brand-2); }
.cert-icon { width: 46px; height: 46px; margin: 0 auto 12px; color: var(--brand-2); }
.cert-icon svg { width: 100%; height: 100%; }
.cert span { font-size: 14px; color: var(--navy); font-weight: 600; }

/* ---------- 关于我们 ---------- */
.about-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.about-intro .btn { margin-top: 26px; }
.val-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.val-card {
  background: #fff; border-radius: var(--radius); padding: 34px 26px; text-align: center;
  border: 1px solid var(--line); transition: all .32s ease;
}
.val-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.val-icon { width: 60px; height: 60px; margin: 0 auto 18px; color: var(--brand); }
.val-icon svg { width: 100%; height: 100%; }
.val-card h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.val-card p { font-size: 14px; color: var(--text-2); }

.mile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.mile {
  background: #fff; border-radius: var(--radius); padding: 30px 26px;
  border-left: 4px solid var(--brand-2); box-shadow: var(--shadow); transition: all .32s ease;
}
.mile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.mile-year { font-size: 26px; font-weight: 800; color: var(--brand-2); }
.mile h3 { font-size: 18px; color: var(--navy); margin: 8px 0 6px; }
.mile p { font-size: 13.5px; color: var(--text-2); }

/* ---------- 联系我们 ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 24px; text-align: center; transition: all .3s ease;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--brand-2); }
.contact-card .ico { width: 52px; height: 52px; margin: 0 auto 16px; color: var(--brand); }
.contact-card .ico svg { width: 100%; height: 100%; }
.contact-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--text-2); word-break: break-all; }
.contact-card a:hover { color: var(--brand); }

.contact-form {
  background: #fff; border-radius: var(--radius); padding: 40px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.contact-form h3 { font-size: 24px; color: var(--navy); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: block; font-size: 14px; color: var(--text-2); margin-bottom: 18px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%; margin-top: 8px; padding: 12px 16px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 15px; font-family: inherit; color: var(--text);
  background: #fafcff; transition: all .25s ease; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px rgba(0,161,233,.12); background: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy); color: #c9d6ea; }
.f-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; padding: 64px 0 48px; }
.f-brand .logo-text { color: #fff; }
.f-brand p { font-size: 13.5px; opacity: .72; margin-top: 16px; letter-spacing: 1px; }
.f-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; letter-spacing: 1px; }
.f-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.f-links a { font-size: 13.5px; color: #c9d6ea; transition: all .2s ease; }
.f-links a:hover { color: var(--brand-2); padding-left: 4px; }
.f-contact p { display: flex; align-items: center; gap: 10px; font-size: 13.5px; margin: 10px 0; }
.f-contact .ico { width: 16px; height: 16px; color: var(--brand-2); flex: none; }
.f-contact a:hover { color: var(--brand-2); }
.f-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  font-size: 13px; color: rgba(255,255,255,.5); text-align: center;
}

/* ---------- 滚动显现 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: #fff;
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; z-index: 90;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; padding: 20px 24px; gap: 0; }
  .main-nav a.nav-link { color: var(--text) !important; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; justify-content: space-between; }
  .main-nav li.cur > a.nav-link { color: var(--brand) !important; }
  .subnav { position: static; transform: none; opacity: 1; visibility: visible; min-width: 0; padding: 0; display: none; }
  .main-nav li.open .subnav { display: block; }
  .subnav-inner { box-shadow: none; grid-template-columns: 1fr; padding: 8px 0 8px 12px; }
  .subnav-inner a { padding: 10px 12px; }

  .scope-grid, .adv-grid, .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid, .ind-grid, .biz-grid, .val-grid, .mile-grid, .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .hero-arrow { display: none; }
}

@media (max-width: 640px) {
  .sec { padding: 56px 0; }
  .scope-grid, .adv-grid, .cap-grid, .svc-grid, .ind-grid, .biz-grid,
  .val-grid, .mile-grid, .contact-grid, .certs-grid, .case-grid, .stats-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr; gap: 28px; }
  .page-banner { height: 300px; }
  .neighbors { flex-direction: column; }
}

/* ============================================================
   多语言支持：语言切换器 / RTL / 蒙古文竖排
   ============================================================ */
@font-face {
  font-family: 'Noto Sans Mongolian';
  src: url('../fonts/NotoSansMongolian-Regular.ttf') format('truetype');
  font-display: swap;
}

/* ---------- 顶栏右侧：导航 + 语言切换 + 菜单按钮 ---------- */
.header-right { display: flex; align-items: center; gap: 18px; }

.langs { position: relative; }
.langs .ico { width: 15px; height: 15px; }
.langs .ico.chev { width: 12px; height: 12px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.38);
  color: #fff; padding: 7px 14px; border-radius: 999px;
  font-size: 13.5px; cursor: pointer; font-family: inherit;
  transition: all .25s ease;
}
.lang-btn .ico.globe { width: 15px; height: 15px; }
.lang-btn .chev { width: 12px; height: 12px; transition: transform .25s ease; }
.langs:hover .lang-btn, .langs.open .lang-btn { background: rgba(255,255,255,.16); }
.langs:hover .lang-btn .chev, .langs.open .lang-btn .chev { transform: rotate(180deg); }
.site-header.scrolled .lang-btn, .site-header.solid .lang-btn {
  color: var(--navy); background: transparent; border-color: #cdd8ea;
}
.lang-drop {
  position: absolute; top: calc(100% + 12px); right: 0;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; min-width: 168px; z-index: 130;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s ease;
}
.langs:hover .lang-drop, .langs.open .lang-drop { opacity: 1; visibility: visible; transform: none; }
.lang-drop .lg {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--text); font-size: 14px; transition: all .2s ease; text-align: left;
}
.lang-drop .lg:hover { background: #eef4fd; color: var(--brand); }
.lang-drop .lg.cur { color: var(--brand); font-weight: 700; cursor: default; }

/* ---------- 阿拉伯语 RTL ---------- */
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .lang-drop { right: auto; left: 0; }
html[dir="rtl"] .lang-drop .lg { text-align: right; }
html[dir="rtl"] .sec-title { text-align: right; }
html[dir="rtl"] .sec-title.center { text-align: center; }
html[dir="rtl"] .sec-title .st-line { margin-right: 0; margin-left: auto; }
html[dir="rtl"] .sec-title.center .st-line { margin: 16px auto 0; }
html[dir="rtl"] .hero-arrow.prev { left: auto; right: 26px; }
html[dir="rtl"] .hero-arrow.next { right: auto; left: 26px; }
html[dir="rtl"] .nlink.right { justify-content: flex-start; text-align: left; }
html[dir="rtl"] .contact-form input, html[dir="rtl"] .contact-form textarea { text-align: right; }
html[dir="rtl"] .footer .f-contact p, html[dir="rtl"] .contact-card p { text-align: right; }
html[dir="rtl"] .split-img::before { inset: 18px 18px -18px -18px; }

/* ---------- 蒙古文竖排（传统蒙古文） ---------- */
body.mn { font-family: "Noto Sans Mongolian", "PingFang SC", "Microsoft YaHei", sans-serif; }
body.mn .banner-cn,
body.mn .st-cn,
body.mn .hero-content h1,
body.mn .hero-desc,
body.mn .lead,
body.mn .case-body h3,
body.mn .case-body p,
body.mn .cta-inner h3,
body.mn .cta-inner p,
body.mn .val-card h3,
body.mn .mile h3 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: .1em;
  line-height: 1.9;
}
body.mn .lead, body.mn .case-body p, body.mn .hero-desc { height: 340px; }
body.mn .hero-content h1 { height: 300px; }
body.mn .banner-cn { height: 120px; }
body.mn .st-cn { height: 240px; }
body.mn .hero-desc { max-width: none; }
body.mn .val-card p, body.mn .mile p { font-size: 14px; }
/* 蒙古文首页：标题与详情并排在同一行 */
body.mn .hero-content {
  display: grid;
  grid-template-columns: 220px 1fr;
  column-gap: 44px;
  align-items: start;
}
body.mn .hero-tag { grid-column: 1 / -1; }
body.mn .hero-content h1 { grid-column: 1; grid-row: 2; }
body.mn .hero-en { position: absolute; top: 6px; right: 0; }
body.mn .hero-desc { grid-column: 2; grid-row: 2; min-width: 0; }
body.mn .hero-actions { grid-column: 1 / -1; grid-row: 3; }
body.mn .sec > .container:has(> .sec-title):has(> .about-intro) {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
body.mn .sec > .container:has(> .sec-title):has(> .about-intro) .sec-title { flex: 0 0 auto; margin-bottom: 0; }
body.mn .sec > .container:has(> .sec-title):has(> .about-intro) .about-intro { flex: 1 1 500px; min-width: 0; width: 100%; }
body.mn .about-intro .lead { width: 100%; height: 430px; }

/* 兜底：防止竖排内容意外撑宽页面 */
body.mn { overflow-x: hidden; }
/* 移动端：竖排蒙古文在窄屏会向右延伸撑宽页面，改为横排（桌面端保持竖排） */
@media (max-width: 640px) {
  body.mn .banner-cn,
  body.mn .st-cn,
  body.mn .hero-content h1,
  body.mn .hero-desc,
  body.mn .lead,
  body.mn .case-body h3,
  body.mn .case-body p,
  body.mn .cta-inner h3,
  body.mn .cta-inner p,
  body.mn .val-card h3,
  body.mn .mile h3 {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0;
    height: auto;
    max-width: none;
  }
  body.mn .hero-desc { max-width: 560px; }
}
