/* ==========================================================================
   绵阳市互联网协会 · 官方网站
   样式表  style.css
   ========================================================================== */

/* ---------- 设计变量 ---------- */
:root {
  --navy:        #12325c;
  --navy-deep:   #0d2544;
  --navy-2:      #1a4a86;
  --navy-3:      #2f6bb5;
  --blue-soft:   #eaf0f8;
  --blue-mist:   #f4f7fb;

  --gold:        #a8791f;
  --gold-light:  #d9b46a;   /* logo 外圈金 */
  --gold-soft:   #fbf6ec;

  --ink:         #17202e;
  --ink-2:       #33404f;
  --gray:        #5f6d80;
  --gray-2:      #8b98a8;

  --bg:          #ffffff;
  --bg-alt:      #f6f8fb;
  --line:        #e4eaf2;
  --line-2:      #eef2f7;

  --red:         #c0392b;
  --green:       #2e7d5b;

  --radius-s:    8px;
  --radius:      14px;
  --radius-l:    22px;

  --shadow-s:    0 2px 8px rgba(18, 50, 92, .06);
  --shadow:      0 10px 30px rgba(18, 50, 92, .09);
  --shadow-l:    0 22px 55px rgba(18, 50, 92, .16);

  --wrap:        1200px;
  --nav-h:       72px;

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB",
          system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.78;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; border: 0; }

a { color: var(--navy-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--navy-3); }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: .2px;
}

p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.35em; }
li { margin-bottom: .45em; }

::selection { background: var(--navy-2); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.sec { padding: 92px 0; }
.sec--tight { padding: 64px 0; }
.sec--alt { background: var(--bg-alt); }
.sec--mist { background: var(--blue-mist); }

/* ---------- 通用标题块 ---------- */
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}
.sec-head--center .eyebrow::after {
  content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px;
}

.sec-head h2 { font-size: 34px; margin-bottom: 16px; letter-spacing: -.3px; }
.sec-head p  { font-size: 16.5px; color: var(--gray); margin: 0; }

.sec-head h2 .hl { color: var(--navy-2); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .3px;
  border: 1px solid transparent; cursor: pointer;
  transition: all .22s ease; white-space: nowrap;
}
.btn--primary { background: var(--navy-2); color: #fff; box-shadow: 0 8px 22px rgba(26, 74, 134, .28); }
.btn--primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(26, 74, 134, .36); }

.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 8px 22px rgba(168, 121, 31, .28); }
.btn--gold:hover { background: #95691a; color: #fff; transform: translateY(-2px); }

.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: rgba(255, 255, 255, .08); }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }

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

.btn--sm { padding: 9px 20px; font-size: 14px; }

.arrow::after { content: "→"; transition: transform .22s ease; }
.btn:hover.arrow::after { transform: translateX(4px); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--navy-deep); color: rgba(255, 255, 255, .78);
  font-size: 13px; line-height: 1;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 16px; }
.topbar .tag { display: flex; align-items: center; gap: 8px; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: #4caf7d; box-shadow: 0 0 0 3px rgba(76, 175, 125, .18); }
.topbar .links { display: flex; align-items: center; gap: 20px; }
.topbar a { color: rgba(255, 255, 255, .78); }
.topbar a:hover { color: #fff; }

/* ---------- 导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.is-stuck { box-shadow: 0 6px 24px rgba(18, 50, 92, .08); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand svg { width: 42px; height: 42px; flex: 0 0 auto; }
.brand .logo-img { width: 46px; height: 46px; flex: 0 0 auto; }
.brand-txt {
  display: flex; flex-direction: column; line-height: 1.15;
  padding-left: 12px; border-left: 1px solid var(--line);
}
.brand-myia {
  font-style: normal; font-size: 9.5px; font-weight: 800;
  letter-spacing: 2.6px; color: var(--gold); margin-bottom: 1px;
}
.brand-cn { font-size: 17.5px; font-weight: 800; color: var(--navy); letter-spacing: .5px; }
.brand-en { font-size: 9.5px; letter-spacing: 1.5px; color: var(--gray-2); text-transform: uppercase; }

.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menu a {
  position: relative; padding: 10px 15px; border-radius: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.menu a:hover { background: var(--blue-mist); color: var(--navy-2); }
.menu a.on { color: var(--navy); font-weight: 700; }
.menu a.on::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--navy-2);
}
.nav .btn { margin-left: 12px; }

.burger { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; padding: 0; }
.burger span { display: block; width: 18px; height: 2px; background: var(--navy); margin: 3.5px auto; border-radius: 2px; transition: .25s; }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; min-height: 660px;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 42%;
  transform: scale(1.04);
  animation: heroZoom 22s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 30, 56, .95) 0%, rgba(12, 40, 74, .88) 34%, rgba(13, 45, 82, .42) 62%, rgba(13, 45, 82, .18) 100%),
    linear-gradient(to top, rgba(9, 30, 56, .85) 0%, rgba(9, 30, 56, 0) 42%);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 130px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  font-size: 13px; letter-spacing: .6px; color: rgba(255, 255, 255, .92);
  backdrop-filter: blur(4px); margin-bottom: 26px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: #f0c674; display: block; }

.hero h1 {
  font-size: 52px; line-height: 1.18; color: #fff;
  letter-spacing: -.6px; margin-bottom: 22px; max-width: 15em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .3);
}
.hero h1 em { font-style: normal; color: #f5cd7f; }
.hero .lead {
  font-size: 17.5px; line-height: 1.85; color: rgba(255, 255, 255, .82);
  max-width: 33em; margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero 底部数据条 */
.hero-stats {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: linear-gradient(to top, rgba(7, 24, 46, .96), rgba(7, 24, 46, .72));
  border-top: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(8px);
}
.hero-stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 24px; padding-bottom: 24px; }
.stat { text-align: left; padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .13); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: 32px; font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.5px; }
.stat b small { font-size: 15px; font-weight: 600; margin-left: 1px; color: rgba(255, 255, 255, .8); }
.stat span { font-size: 13px; color: rgba(255, 255, 255, .62); letter-spacing: .4px; }

/* ---------- 内页页头 ---------- */
.phero {
  position: relative; padding: 108px 0 84px; color: #fff; overflow: hidden;
  background: var(--navy-deep);
}
.phero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 32%;
  opacity: .26;
}
.phero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(9, 30, 56, .97) 0%, rgba(11, 38, 72, .92) 46%, rgba(13, 45, 82, .84) 100%);
}
.phero .wrap { position: relative; z-index: 2; }
.crumb { font-size: 13.5px; color: rgba(255, 255, 255, .62); margin-bottom: 16px; }
.crumb a { color: rgba(255, 255, 255, .78); }
.crumb a:hover { color: #fff; }
.crumb i { font-style: normal; margin: 0 9px; opacity: .5; }
.phero h1 { font-size: 42px; color: #fff; margin-bottom: 14px; letter-spacing: -.4px; }
.phero p { font-size: 16.5px; color: rgba(255, 255, 255, .76); max-width: 46em; margin: 0; }

/* ---------- 卡片 ---------- */
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d5e1f0; }

/* 带图卡片 */
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--blue-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media--tall { aspect-ratio: 4 / 3; }
.card-body { padding: 24px 24px 26px; }
.card-body h3 { font-size: 19px; margin-bottom: 10px; }
.card-body p { font-size: 15px; color: var(--gray); margin: 0 0 14px; }
.card-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .93); color: var(--navy);
  font-size: 12px; font-weight: 700; letter-spacing: .4px;
  box-shadow: var(--shadow-s);
}

.card-link { font-size: 14.5px; font-weight: 600; color: var(--navy-2); display: inline-flex; align-items: center; gap: 6px; }
.card-link::after { content: "→"; transition: transform .22s ease; }
.card:hover .card-link::after { transform: translateX(4px); }

/* 纯文字卡（服务矩阵） */
.tile {
  padding: 30px 26px 28px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: all .28s ease; position: relative; overflow: hidden;
}
.tile::before {
  content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0;
  background: var(--navy-2); transition: height .3s ease;
}
.tile:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.tile:hover::before { height: 100%; }
.tile .ico {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-soft); color: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.tile .ico svg { width: 26px; height: 26px; }
.tile h3 { font-size: 17.5px; margin-bottom: 9px; }
.tile p { font-size: 14.6px; color: var(--gray); margin: 0; }

/* ---------- 图文分栏 ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.split--flip .split-txt { order: 2; }

.split-img { position: relative; }
.split-img .main { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 4 / 3; }
.split-img .main img { width: 100%; height: 100%; object-fit: cover; }
.split-img .sub {
  position: absolute; right: -26px; bottom: -34px; width: 46%;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--shadow); aspect-ratio: 4 / 3;
}
.split-img .sub img { width: 100%; height: 100%; object-fit: cover; }
.split-img .chip {
  position: absolute; left: -20px; top: 28px; z-index: 3;
  background: var(--navy-2); color: #fff; border-radius: var(--radius-s);
  padding: 12px 18px; text-align: center; box-shadow: var(--shadow);
}
.split-img .chip b { display: block; font-size: 22px; line-height: 1.2; }
.split-img .chip span { font-size: 11.5px; opacity: .8; letter-spacing: .5px; }

/* 要点列表 */
.pts { list-style: none; padding: 0; margin: 0 0 26px; }
.pts li {
  position: relative; padding-left: 30px; margin-bottom: 13px;
  font-size: 15.6px; color: var(--ink-2);
}
.pts li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue-soft) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a4a86' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
.pts b { color: var(--navy); }

/* ---------- 数据统计（内容区） ---------- */
.stats-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.stats-band .item { background: #fff; padding: 30px 22px; text-align: center; }
.stats-band .item b { display: block; font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.15; letter-spacing: -.6px; }
.stats-band .item b small { font-size: 15px; margin-left: 2px; }
.stats-band .item span { font-size: 13.5px; color: var(--gray); }

/* ---------- 图片网格 / 照片墙 ---------- */
.masonry { columns: 3; column-gap: 18px; }
.masonry figure {
  margin: 0 0 18px; break-inside: avoid; border-radius: var(--radius);
  overflow: hidden; position: relative; cursor: zoom-in; background: var(--blue-soft);
}
.masonry img { width: 100%; height: auto; transition: transform .55s cubic-bezier(.2, .8, .3, 1); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px;
  background: linear-gradient(to top, rgba(9, 30, 56, .88), rgba(9, 30, 56, 0));
  color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: .3px;
  opacity: 0; transform: translateY(8px); transition: all .3s ease;
}
.masonry figure:hover figcaption { opacity: 1; transform: none; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters button {
  padding: 9px 22px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: 14.5px; font-weight: 500;
  cursor: pointer; font-family: inherit; transition: all .2s ease;
}
.filters button:hover { border-color: var(--navy-3); color: var(--navy-2); }
.filters button.on { background: var(--navy-2); border-color: var(--navy-2); color: #fff; font-weight: 600; box-shadow: 0 6px 18px rgba(26, 74, 134, .22); }

.is-hidden { display: none !important; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(to bottom, var(--navy-2), var(--blue-soft));
}
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item::before {
  content: ""; position: absolute; left: -34px; top: 7px;
  width: 18px; height: 18px; border-radius: 50%;
  background: #fff; border: 3px solid var(--navy-2);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-year {
  display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px;
  color: var(--gold); background: var(--gold-soft);
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.tl-item h3 { font-size: 18px; margin-bottom: 8px; }
.tl-item p { font-size: 15px; color: var(--gray); margin: 0; }

/* ---------- 组织架构图 ---------- */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-node {
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 16px 26px; text-align: center; min-width: 190px;
  transition: all .25s ease; box-shadow: var(--shadow-s);
}
.org-node:hover { border-color: var(--navy-3); transform: translateY(-2px); box-shadow: var(--shadow); }
.org-node b { display: block; font-size: 16px; color: var(--navy); }
.org-node span { font-size: 12.5px; color: var(--gray-2); }
.org-node--main { background: var(--navy); border-color: var(--navy); padding: 18px 40px; }
.org-node--main b { color: #fff; font-size: 18px; }
.org-node--main span { color: rgba(255, 255, 255, .68); }
.org-node--accent { background: var(--gold-soft); border-color: #e8d7b3; }
.org-node--accent b { color: var(--gold); }
.org-line { width: 2px; height: 26px; background: var(--line); }
.org-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; position: relative; padding-top: 26px; }
.org-row::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 2px; background: var(--line); }
.org-row > * { position: relative; }
.org-row > *::before { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; background: var(--line); }

/* ---------- 人员卡 ---------- */
.person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; transition: all .25s ease;
}
.person:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.person .ava {
  width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--blue-soft); color: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
}
.person b { display: block; font-size: 17px; color: var(--navy); }
.person span { font-size: 13px; color: var(--gray-2); letter-spacing: .5px; }

/* ---------- 荣誉 ---------- */
.honors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.honor {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold);
  border-radius: var(--radius-s); padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: all .22s ease;
}
.honor:hover { box-shadow: var(--shadow-s); transform: translateX(3px); }
.honor svg { width: 22px; height: 22px; flex: 0 0 auto; color: var(--gold); }

/* ---------- 制度文件列表 ---------- */
.doc {
  display: flex; align-items: flex-start; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; transition: all .25s ease;
}
.doc:hover { box-shadow: var(--shadow); border-color: #d5e1f0; }
.doc .no {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-soft); color: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px;
}
.doc h3 { font-size: 17px; margin-bottom: 6px; }
.doc p { font-size: 14.4px; color: var(--gray); margin: 0; }
.doc .file { margin-top: 10px; font-size: 13px; color: var(--gray-2); display: flex; align-items: center; gap: 6px; }

/* ---------- 流程步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step::after {
  content: ""; position: absolute; top: 24px; right: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step .n {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%;
  background: #fff; border: 2px solid var(--navy-2); color: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 800; position: relative; z-index: 2;
}
.step h3 { font-size: 15.5px; margin-bottom: 6px; }
.step p { font-size: 13.5px; color: var(--gray); margin: 0; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label i { font-style: normal; color: var(--red); margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3.5px rgba(47, 107, 181, .12);
}

/* ---------- 表单提交结果 ---------- */
.form-result {
  border: 1px solid var(--line); background: var(--blue-mist);
  border-radius: var(--radius); padding: 20px 22px;
  display: flex; flex-direction: column; gap: 13px;
}
.form-result[hidden] { display: none; }
.form-result > p { margin: 0; font-size: 14.4px; color: var(--ink-2); line-height: 1.7; }
.form-result .acts { display: flex; gap: 12px; flex-wrap: wrap; }
.form-result .acts .btn { padding: 11px 22px; font-size: 14.6px; }
.form-result .note { font-size: 13.2px; color: var(--gray-2); }
.form-result .note span { display: inline-block; margin-right: 20px; }
.form-result .note a { color: var(--navy-2); font-weight: 600; }
.form-result .note a:hover { color: var(--gold); }
.form-result pre {
  margin: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; font-size: 13px; line-height: 1.8; color: var(--gray);
  font-family: inherit; white-space: pre-wrap; word-break: break-word;
  max-height: 230px; overflow: auto;
}

/* ---------- 联系方式 ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px dashed var(--line); font-size: 15.4px; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--navy-2); margin-top: 3px; }
.contact-list b { display: block; font-size: 13px; color: var(--gray-2); font-weight: 500; letter-spacing: .4px; }
.contact-list a { color: var(--navy-2); font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.todo {
  display: inline-block; padding: 1px 9px; border-radius: 6px;
  border: 1px dashed #d8c9a8; background: var(--gold-soft); color: var(--gold);
  font-size: 12.5px; font-weight: 600;
}

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, var(--navy-deep) 0%, var(--navy) 46%, var(--navy-2) 100%);
  border-radius: var(--radius-l); padding: 58px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(245, 205, 127, .22), transparent 68%);
}
.cta::after {
  content: ""; position: absolute; left: -90px; bottom: -140px; width: 300px; height: 300px;
  border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 70%);
}
.cta > div { position: relative; z-index: 2; }
.cta h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.cta p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 40em; font-size: 15.6px; }

/* ---------- 页脚 ---------- */
.footer { background: #0b1f3a; color: rgba(255, 255, 255, .6); padding: 62px 0 0; font-size: 14.4px; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 44px; padding-bottom: 46px; }
.footer h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; letter-spacing: .5px; }
.footer a { color: rgba(255, 255, 255, .6); }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 11px; line-height: 1.5; }
.footer .brand-cn { color: #fff; }
.footer .brand-en { color: rgba(255, 255, 255, .38); }
.footer .brand-myia { color: var(--gold-light); }
.footer .brand-txt { border-left-color: rgba(255, 255, 255, .16); }
.footer .brand svg, .footer .brand .logo-img { width: 40px; height: 40px; }
.footer .about { margin-top: 18px; line-height: 1.8; max-width: 30em; }
.footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255, 255, 255, .42);
}
.footer .bottom a.icp { color: inherit; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.footer .bottom a.icp:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .55); }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(6, 18, 34, .94); align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox.on { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox .cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .82); font-size: 14px; }
.lightbox .x, .lightbox .prev, .lightbox .next {
  position: absolute; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; border-radius: 50%; width: 46px; height: 46px; cursor: pointer;
  font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox .x:hover, .lightbox .prev:hover, .lightbox .next:hover { background: rgba(255, 255, 255, .22); }
.lightbox .x { top: 26px; right: 28px; }
.lightbox .prev { left: 28px; top: 50%; margin-top: -23px; }
.lightbox .next { right: 28px; top: 50%; margin-top: -23px; }

/* ---------- 回到顶部 ---------- */
.totop {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy-2); color: #fff; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(26, 74, 134, .34);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .28s ease;
}
.totop.on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--navy); }

/* ---------- 滚动进场动画 ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.3,1), transform .7s cubic-bezier(.2,.8,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }
.rv-d5 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 右侧目录（长页面） ---------- */
.side-nav { position: sticky; top: calc(var(--nav-h) + 24px); }
.side-nav h4 { font-size: 13px; letter-spacing: 1.4px; color: var(--gray-2); text-transform: uppercase; margin-bottom: 14px; }
.side-nav a {
  display: block; padding: 9px 14px; border-left: 2px solid var(--line);
  font-size: 14.6px; color: var(--gray); margin-bottom: 2px;
}
.side-nav a:hover { color: var(--navy-2); border-left-color: var(--navy-3); background: var(--blue-mist); }
.side-nav a.on { color: var(--navy); font-weight: 700; border-left-color: var(--navy-2); }

.layout-side { display: grid; grid-template-columns: 210px 1fr; gap: 54px; align-items: start; }

/* ---------- 内容排版 ---------- */
.prose { font-size: 16px; line-height: 1.95; color: var(--ink-2); }
.prose h2 { font-size: 24px; margin: 42px 0 16px; padding-left: 15px; border-left: 4px solid var(--navy-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18.5px; margin: 30px 0 12px; color: var(--navy); }
.prose p { margin-bottom: 1.1em; }
.prose strong { color: var(--ink); }
.prose ul li { margin-bottom: .5em; }

.quote {
  background: var(--gold-soft); border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 22px 26px; font-size: 15.6px; color: #6b5527; margin: 26px 0;
}
.quote p:last-child { margin: 0; }

.note {
  background: #eef4fb; border: 1px solid #dde8f6; border-left: 3px solid var(--navy-3);
  border-radius: var(--radius); padding: 22px 26px; font-size: 15.2px; color: var(--gray);
}
.note b { color: var(--navy); }
.note a { color: var(--navy-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.note a:hover { color: var(--gold); }

/* ---------- 公众号文章列表 ---------- */
.posts { display: flex; flex-direction: column; gap: 20px; }

.post {
  display: grid; grid-template-columns: 320px 1fr;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.post:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d5e1f0; }
.post-media { position: relative; overflow: hidden; background: var(--blue-soft); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.post:hover .post-media img { transform: scale(1.05); }
.post-media .card-tag { background: rgba(255, 255, 255, .95); }

.post-body { padding: 26px 30px 24px; display: flex; flex-direction: column; }
.post-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--gray-2); margin-bottom: 12px;
}
.post-meta .src { color: var(--navy-2); font-weight: 700; }
.post-meta .sep { width: 1px; height: 11px; background: var(--line); display: block; }
.post-body h3 { font-size: 21px; line-height: 1.45; margin-bottom: 11px; }
.post-body h3 a { color: var(--ink); }
.post-body h3 a:hover { color: var(--navy-2); }
.post-body p { font-size: 14.8px; color: var(--gray); margin: 0 0 18px; }
.post-links { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 14.5px; font-weight: 600; }
.post-links a { display: inline-flex; align-items: center; gap: 6px; }
.post-links .ext::after { content: "↗"; font-size: 13px; transition: transform .22s ease; }
.post-links .ext:hover::after { transform: translate(2px, -2px); }
.post-links .in::after { content: "→"; transition: transform .22s ease; }
.post-links .in:hover::after { transform: translateX(4px); }

/* 侧栏订阅卡 */
.sub-card {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy-2));
  color: #fff; border-radius: var(--radius); padding: 26px 24px;
}
.sub-card h4 { color: #fff; font-size: 16.5px; margin-bottom: 10px; }
.sub-card p { font-size: 14px; color: rgba(255, 255, 255, .78); margin: 0 0 16px; }
.sub-card .qr {
  width: 132px; height: 132px; border-radius: 10px; margin-bottom: 14px;
  background: rgba(255, 255, 255, .1); border: 1px dashed rgba(255, 255, 255, .38);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255, 255, 255, .68); text-align: center; padding: 10px;
}
.sub-card .meta { font-size: 13px; color: rgba(255, 255, 255, .62); line-height: 1.8; }
.sub-card .meta b { color: #fff; font-weight: 600; }

/* ---------- 动态列表 ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 116px 1fr auto; gap: 26px; align-items: start;
  padding: 24px 6px; border-bottom: 1px solid var(--line);
  transition: background .22s ease, padding .22s ease;
}
.news-item:hover { background: var(--blue-mist); }
.news-date { padding-top: 3px; }
.news-date b {
  display: block; font-size: 21px; font-weight: 800; color: var(--navy);
  letter-spacing: -.5px; line-height: 1.25;
}
.news-date span { font-size: 12.5px; color: var(--gray-2); letter-spacing: .4px; }
.news-main h3 { font-size: 17.5px; margin-bottom: 8px; }
.news-main p { font-size: 14.6px; color: var(--gray); margin: 0; }
.news-tag {
  align-self: center; flex: 0 0 auto; white-space: nowrap;
  padding: 5px 13px; border-radius: 999px;
  background: var(--blue-soft); color: var(--navy-2);
  font-size: 12.5px; font-weight: 700; letter-spacing: .3px;
}

/* ---------- 文章正文（公众号长文） ---------- */
.article-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.article-head .kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  color: var(--navy-2); background: var(--blue-soft); border-radius: 999px;
  padding: 5px 16px; margin-bottom: 18px;
}
.article-head h1 { font-size: 32px; line-height: 1.42; margin-bottom: 14px; }
.article-head .byline { font-size: 13.5px; color: var(--gray-2); }
.article-head .byline i { font-style: normal; margin: 0 9px; opacity: .5; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body figure { margin: 30px 0; }
.article-body figure img { width: 100%; border-radius: var(--radius); }
.article-body figcaption { font-size: 12.8px; color: var(--gray-2); text-align: center; margin-top: 10px; letter-spacing: .3px; }
.article-foot {
  max-width: 720px; margin: 46px auto 0; padding-top: 26px;
  border-top: 1px solid var(--line); text-align: right;
  font-size: 15.4px; font-weight: 700; color: var(--navy);
}

/* ---------- 订阅指引 ---------- */
.subscribe {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius-l); padding: 46px 48px;
}
.subscribe .qr-lg {
  width: 178px; height: 178px; border-radius: 14px; background: #fff;
  border: 1px dashed #cfd8e6; box-shadow: var(--shadow-s);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 14px; font-size: 13px; color: var(--gray-2);
  margin-left: auto;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
  .sec { padding: 74px 0; }
  .hero h1 { font-size: 42px; }
  .split { grid-template-columns: 1fr; gap: 46px; }
  .split--flip .split-txt { order: 0; }
  .split-img .sub { right: 0; bottom: -24px; }
  .split-img .chip { left: 0; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; gap: 34px; }
  .layout-side { grid-template-columns: 1fr; gap: 32px; }
  .side-nav { position: static; display: none; }
  .masonry { columns: 2; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .step::after { display: none; }
}

@media (max-width: 860px) {
  :root { --nav-h: 62px; }
  .menu {
    position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 89;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 20px 22px; margin: 0;
    box-shadow: 0 20px 40px rgba(18, 50, 92, .12);
    max-height: 0; overflow: hidden; opacity: 0; transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
    padding-top: 0; padding-bottom: 0;
  }
  .menu.open { max-height: 78vh; overflow: auto; opacity: 1; padding-top: 10px; padding-bottom: 22px; }
  .menu a { padding: 14px 12px; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 16px; }
  .menu a.on::after { display: none; }
  .menu a.on { background: var(--blue-mist); }
  .burger { display: block; margin-left: auto; }
  .nav .btn { display: none; }
  .topbar .links { display: none; }
  .topbar .wrap { justify-content: center; }

  .hero { min-height: 560px; }
  .hero h1 { font-size: 33px; }
  .hero .lead { font-size: 15.6px; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat { border-right: 0; }
  .stat b { font-size: 25px; }
  .hero .wrap { padding-bottom: 200px; }

  .phero { padding: 74px 0 58px; }
  .phero h1 { font-size: 30px; }
  .sec-head h2 { font-size: 26px; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .honors { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 28px; flex-direction: column; align-items: flex-start; text-align: left; }
  .cta h2 { font-size: 24px; }
  .masonry { columns: 1; }
  .gallery-grid { columns: 1; }
  .footer .cols { grid-template-columns: 1fr; gap: 28px; }
  .split-img .sub { display: none; }
  .timeline { padding-left: 28px; }
  .tl-item::before { left: -28px; }

  .post { grid-template-columns: 1fr; }
  .post-media { aspect-ratio: 16 / 9; }
  .post-body { padding: 22px 22px 20px; }
  .news-item { grid-template-columns: 88px 1fr; gap: 16px; padding: 20px 4px; }
  .news-date b { font-size: 18px; }
  .news-tag { display: none; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .sec { padding: 58px 0; }
  .hero h1 { font-size: 28px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .g-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .brand .logo-img { width: 40px; height: 40px; }
  .brand-en { display: none; }
  .brand-cn { font-size: 16px; }
}

/* ---------- 打印 ---------- */
@media print {
  .nav, .topbar, .totop, .hero-stats, .lightbox, .filters { display: none !important; }
  body { font-size: 12pt; }
  .card, .tile, .doc { box-shadow: none !important; break-inside: avoid; }
}
