/*
Theme Name: HWC Dominica 多米尼克移民（v2 转化版）
Theme URI: https://duominijia.com
Author: hiwcai
Description: 多米尼克移民网前端模板 v2，面向移民咨询转化与 GEO/AI 搜索优化：Hero 内嵌留资表单、费用测算器、资格自测、富结构化数据、语义化长文排版。
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: hwc-dominica
*/

/* ==========================================================================
   1. 设计变量
   ========================================================================== */
:root {
  --ink: #0e1b2a;
  --ink-2: #17293d;
  --body: #435062;
  --muted: #71808f;
  --line: #e3e8ef;
  --line-2: #eef1f6;
  --paper: #ffffff;
  --paper-2: #f6f7f9;
  --paper-3: #f0f3f7;
  --brand: #0d3b66;
  --brand-2: #14507f;
  --brand-3: #092a4a;
  --sea: #0f7d74;
  --sea-2: #0b6a62;
  --sand: #c9a063;
  --sand-2: #dcbb82;
  --sand-3: #a9854c;
  --ok: #1f7a4d;
  --warn: #b45309;
  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 22px;
  --shadow-s: 0 1px 2px rgba(14, 27, 42, .04), 0 4px 14px rgba(14, 27, 42, .05);
  --shadow-m: 0 12px 34px rgba(14, 27, 42, .09);
  --shadow-l: 0 28px 68px rgba(14, 27, 42, .18);
  --maxw: 1180px;
  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", "Songti SC", serif;
}

/* ==========================================================================
   2. 基础
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }
h1, h2, h3, h4, h5 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.28; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 4.2vw, 52px); letter-spacing: -.02em; }
h2 { font-size: clamp(25px, 3vw, 38px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); }
h4 { font-size: 17px; }
strong, b { color: var(--ink); font-weight: 700; }
button { font-family: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }
.sec { padding: 92px 0; position: relative; }
.sec--soft { background: var(--paper-2); }
.sec--tight { padding: 64px 0; }
.sec--dark { background: linear-gradient(155deg, #0b2c4c 0%, #092139 55%, #071a2e 100%); color: rgba(255, 255, 255, .78); }
.sec--dark h1, .sec--dark h2, .sec--dark h3, .sec--dark h4, .sec--dark strong { color: #fff; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ==========================================================================
   3. 区块标题（编辑式左对齐）
   ========================================================================== */
.sec-head { max-width: 760px; margin-bottom: 46px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--sea); opacity: .7; }
.sec--dark .eyebrow { color: var(--sand-2); }
.sec--dark .eyebrow::before { background: var(--sand-2); }
.sec-head h2 { margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 17px; margin: 0; max-width: 680px; }
.sec-head--center p { margin-left: auto; margin-right: auto; }
.sec--dark .sec-head p { color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   4. 按钮
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 1px solid transparent;
  font-size: 16px; font-weight: 700; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: all .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--brand { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(13, 59, 102, .22); }
.btn--brand:hover { background: var(--brand-2); box-shadow: 0 14px 30px rgba(13, 59, 102, .28); }
.btn--gold { background: linear-gradient(135deg, var(--sand), var(--sand-3)); color: #fff; box-shadow: 0 10px 24px rgba(169, 133, 76, .26); }
.btn--gold:hover { filter: brightness(1.05); box-shadow: 0 14px 30px rgba(169, 133, 76, .32); }
.btn--ghost { border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn--ghost:hover { border-color: var(--sand-2); color: var(--sand-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 10px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand); font-size: 15px; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==========================================================================
   5. 顶部信息条 + 导航
   ========================================================================== */
.topbar { background: var(--brand-3); color: rgba(255, 255, 255, .68); font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; padding: 8px 0; }
.topbar a { color: rgba(255, 255, 255, .86); }
.topbar a:hover { color: var(--sand-2); }
.topbar__right { display: flex; align-items: center; gap: 22px; }
.topbar__phone { color: var(--sand-2) !important; font-weight: 700; letter-spacing: .02em; }

.hdr { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand__mark {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-2), var(--brand-3));
  color: var(--sand-2); font-family: var(--serif); font-weight: 700; font-size: 17px;
  letter-spacing: .04em; box-shadow: inset 0 0 0 1px rgba(220, 187, 130, .34);
}
.brand__cn { display: block; font-size: 19px; font-weight: 800; color: var(--ink); letter-spacing: .04em; line-height: 1.2; }
.brand__en { display: block; font-size: 10.5px; letter-spacing: .22em; color: var(--sand-3); font-weight: 700; margin-top: 1px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > li { position: relative; }
.nav > li > a {
  display: block; padding: 10px 13px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  border-radius: 8px;
}
.nav > li > a:hover, .nav > li > a.is-active { color: var(--brand); background: var(--paper-2); }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .5; }
.sub { position: absolute; left: 0; top: calc(100% + 8px); min-width: 208px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-m); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s ease; z-index: 950; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); }
.sub a:hover { background: var(--paper-2); color: var(--brand); }
.nav__cta { margin-left: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ==========================================================================
   6. 表单
   ========================================================================== */
.field { margin-bottom: 12px; }
.field > label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fbfcfe;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2371808f' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 38px; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea); background: #fff; box-shadow: 0 0 0 3px rgba(15, 125, 116, .12);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 4px 0 14px; }
.check input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 16px; accent-color: var(--sea); }
.check a { color: var(--brand); text-decoration: underline; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 10px; text-align: center; }
.msg { display: none; margin-top: 12px; padding: 11px 14px; border-radius: 10px; font-size: 14px; }
.msg--ok { display: block; background: #eaf7ef; color: #17643c; border: 1px solid #bde5cb; }
.msg--err { display: block; background: #fdeeee; color: #a72b2b; border: 1px solid #f2c9c9; }

/* ==========================================================================
   7. 卡片通用
   ========================================================================== */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-s); }
.card__pad { padding: 30px 28px; }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 4px 11px; border-radius: 999px; background: rgba(15, 125, 116, .1); color: var(--sea); }
.tag--gold { background: rgba(201, 160, 99, .16); color: var(--sand-3); }
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }

/* ==========================================================================
   8. 页脚
   ========================================================================== */
.ftr { background: #071a2e; color: rgba(255, 255, 255, .6); font-size: 14px; padding-top: 70px; }
.ftr__grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1.2fr; gap: 46px; padding-bottom: 52px; }
.ftr h4 { color: #fff; font-size: 15px; letter-spacing: .06em; margin-bottom: 18px; }
.ftr p { line-height: 1.9; color: rgba(255, 255, 255, .56); }
.ftr a { color: rgba(255, 255, 255, .66); }
.ftr a:hover { color: var(--sand-2); }
.ftr__brand .brand__cn { color: #fff; }
.ftr__links li { padding: 6px 0; }
.ftr__contact li { padding: 7px 0; display: flex; gap: 10px; }
.ftr__contact b { color: var(--sand-2); font-weight: 600; flex: 0 0 38px; }
.ftr__bottom { border-top: 1px solid rgba(255, 255, 255, .09); padding: 20px 0; font-size: 12.5px; color: rgba(255, 255, 255, .38); }
.ftr__bottom .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.ftr__bottom a:hover { color: var(--sand-2); }

/* ==========================================================================
   9. 浮动转化条
   ========================================================================== */
.rail { position: fixed; right: 16px; bottom: 96px; z-index: 850; display: flex; flex-direction: column; gap: 10px; }
.rail a, .rail button {
  width: 56px; height: 56px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-m); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 11.5px; font-weight: 700; color: var(--brand); cursor: pointer;
}
.rail a:hover, .rail button:hover { background: var(--brand); color: var(--sand-2); border-color: var(--brand); }
.rail .i { font-size: 19px; line-height: 1; }
.mbar { display: none; }

@media (max-width: 768px) {
  .rail { display: none; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line);
    box-shadow: 0 -6px 24px rgba(14, 27, 42, .08);
  }
  .mbar .btn { padding: 13px 10px; font-size: 15px; }
  body { padding-bottom: 78px; }
}

/* ==========================================================================
   10. Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--brand-3); color: #fff; padding: 72px 0 80px; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7, 26, 46, .96) 0%, rgba(7, 26, 46, .84) 44%, rgba(7, 26, 46, .42) 100%); }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; gap: 54px; align-items: center; }
.hero__tag { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid rgba(220, 187, 130, .45); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--sand-2); margin-bottom: 22px; }
.hero__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--sand-2); font-style: normal; }
.hero h1 { color: #fff; margin: 0 0 18px; }
.hero h1 em { font-style: normal; color: var(--sand-2); display: inline-block; }
.hero__lead { font-size: 17px; line-height: 1.85; color: rgba(255, 255, 255, .8); max-width: 540px; margin-bottom: 24px; }
.hero__points { display: grid; gap: 9px; margin-bottom: 28px; }
.hero__points li { position: relative; padding-left: 25px; font-size: 15.5px; color: rgba(255, 255, 255, .9); }
.hero__points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--sea); background: rgba(15, 125, 116, .28); width: 17px; height: 17px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; line-height: 1; font-weight: 700; margin-top: 6px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: rgba(255, 255, 255, .58); }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero__trust b { color: rgba(255, 255, 255, .86); font-weight: 700; }

.form-card { background: #fff; border-radius: var(--radius-l); padding: 30px 28px 26px; box-shadow: var(--shadow-l); color: var(--body); }
.form-card__head { margin-bottom: 18px; }
.form-card__head h2 { font-size: 21px; margin-bottom: 5px; letter-spacing: 0; }
.form-card__head p { font-size: 13px; color: var(--muted); margin: 0; }
.form-card .btn { margin-top: 4px; }

/* ==========================================================================
   11. 信任条
   ========================================================================== */
.trustbar { background: #fff; border-bottom: 1px solid var(--line); }
.trustbar__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustbar__it { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line-2); }
.trustbar__it:last-child { border-right: 0; }
.trustbar__num { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -.01em; }
.trustbar__num i { font-style: normal; font-size: 16px; margin-left: 2px; color: var(--sand-3); }
.trustbar__lab { font-size: 13px; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   12. 项目介绍（图文）
   ========================================================================== */
.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.split h3 { font-size: 24px; margin-bottom: 14px; }
.split p { color: var(--body); line-height: 1.95; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0 26px; }
.facts > div { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--sea); border-radius: 10px; padding: 13px 16px; }
.facts b { display: block; font-size: 17px; color: var(--brand); }
.facts span { font-size: 12.5px; color: var(--muted); }
.figure { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.figure img { width: 100%; height: 520px; object-fit: cover; }
.figure__cap { position: absolute; left: 20px; bottom: 20px; right: 20px; background: rgba(7, 26, 46, .88); color: #fff; border-radius: 12px; padding: 14px 18px; font-size: 13px; line-height: 1.65; border-left: 3px solid var(--sand); backdrop-filter: blur(4px); }
.figure__cap b { color: var(--sand-2); }

/* ==========================================================================
   13. 方案卡片
   ========================================================================== */
.plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 32px 30px; overflow: hidden; transition: all .28s ease; }
.plan::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--sea), var(--sea-2)); }
.plan--gold::before { background: linear-gradient(90deg, var(--sand), var(--sand-3)); }
.plan:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.plan h3 { font-size: 21px; margin: 14px 0 6px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.plan__price b { font-family: var(--serif); font-size: 34px; color: var(--brand); letter-spacing: -.02em; }
.plan__price span { font-size: 13.5px; color: var(--muted); }
.plan ul { display: grid; gap: 0; margin-bottom: 20px; }
.plan li { position: relative; padding: 10px 0 10px 24px; font-size: 14.5px; color: var(--body); border-bottom: 1px dashed var(--line); }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: var(--sea); font-weight: 700; }
.plan__note { font-size: 12.5px; color: var(--muted); line-height: 1.75; padding-top: 14px; border-top: 1px solid var(--line-2); margin-bottom: 18px; }
.plan .btn { margin-top: auto; }

/* ==========================================================================
   14. 费用测算器
   ========================================================================== */
.calc { display: grid; grid-template-columns: .92fr 1.08fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-m); }
.calc__form { padding: 34px 32px; }
.calc__form h3 { font-size: 20px; margin-bottom: 6px; }
.calc__form > p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.calc__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; background: var(--paper-3); padding: 5px; border-radius: 12px; margin-bottom: 20px; }
.calc__seg button { padding: 11px 8px; border: 0; border-radius: 9px; background: transparent; font-size: 14.5px; font-weight: 700; color: var(--muted); cursor: pointer; }
.calc__seg button.is-on { background: #fff; color: var(--brand); box-shadow: var(--shadow-s); }
.calc__row { display: grid; grid-template-columns: 1fr 118px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.calc__row:last-of-type { border-bottom: 0; }
.calc__row label { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.calc__row small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.calc__row input, .calc__row select { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; font-family: inherit; font-size: 15px; text-align: center; background: #fbfcfe; }
.calc__row input:focus, .calc__row select:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(15, 125, 116, .12); }
.calc__out { background: linear-gradient(160deg, #0b2c4c, #071a2e); color: rgba(255, 255, 255, .72); padding: 34px 32px; display: flex; flex-direction: column; }
.calc__out h3 { color: #fff; font-size: 17px; margin-bottom: 18px; letter-spacing: .02em; }
.calc__total { font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--sand-2); line-height: 1; letter-spacing: -.02em; }
.calc__total span { font-family: var(--font); font-size: 15px; color: rgba(255, 255, 255, .6); margin-left: 6px; letter-spacing: 0; }
.calc__lines { margin: 20px 0 22px; display: grid; gap: 0; }
.calc__line { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.calc__line b { color: #fff; font-weight: 600; }
.calc__hint { font-size: 12px; color: rgba(255, 255, 255, .48); line-height: 1.7; margin-top: auto; padding-top: 14px; }

/* ==========================================================================
   15. 优势网格
   ========================================================================== */
.adv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adv__it { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; overflow: hidden; transition: all .28s ease; }
.adv__it::after { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--sea); transition: height .32s ease; }
.adv__it:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.adv__it:hover::after { height: 100%; }
.adv__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; background: rgba(15, 125, 116, .09); margin-bottom: 16px; }
.adv__it h3 { font-size: 17.5px; margin-bottom: 8px; }
.adv__it p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.78; }

/* ==========================================================================
   16. 申请条件 + 资格自测
   ========================================================================== */
.cond { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cond__list { display: grid; gap: 0; }
.cond__list li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cond__list li:last-child { border-bottom: 0; }
.cond__no { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: var(--sand-2); font-weight: 800; font-size: 15px; font-family: var(--serif); }
.cond__list h4 { font-size: 16.5px; margin-bottom: 4px; }
.cond__list p { font-size: 14.5px; color: var(--muted); margin: 0; }

.quiz { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-l); padding: 30px 28px; box-shadow: var(--shadow-s); }
.quiz h3 { font-size: 19px; margin-bottom: 4px; }
.quiz > p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.quiz__q { padding: 14px 0; border-top: 1px solid var(--line-2); }
.quiz__q:first-of-type { border-top: 0; }
.quiz__q .t { font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.quiz__opts { display: flex; gap: 8px; }
.quiz__opts label { flex: 1; text-align: center; padding: 9px 6px; border: 1px solid var(--line); border-radius: 9px; font-size: 14px; color: var(--body); cursor: pointer; background: #fbfcfe; transition: all .18s ease; }
.quiz__opts input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__opts input:checked + label, .quiz__opts label:has(input:checked) { border-color: var(--sea); background: rgba(15, 125, 116, .08); color: var(--sea-2); font-weight: 700; }
.quiz__result { display: none; margin-top: 16px; padding: 16px 18px; border-radius: 12px; font-size: 14.5px; line-height: 1.7; }
.quiz__result.is-on { display: block; }
.quiz__result.ok { background: #eaf7ef; border: 1px solid #bde5cb; color: #17643c; }
.quiz__result.no { background: #fff7ed; border: 1px solid #f5d9b4; color: #8a5210; }

/* ==========================================================================
   17. 流程时间轴
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.steps__it { position: relative; padding: 0 0 30px 54px; }
.steps__it::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: -4px; width: 1px; background: rgba(255, 255, 255, .14); }
.steps__it:nth-last-child(-n+2)::before { display: none; }
.steps__no { position: absolute; left: 0; top: 2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--sand-2); border: 1px solid rgba(220, 187, 130, .45); background: rgba(220, 187, 130, .08); }
.steps__it h3 { color: #fff; font-size: 17px; margin-bottom: 5px; }
.steps__it p { color: rgba(255, 255, 255, .58); font-size: 14px; margin: 0; line-height: 1.75; }
.steps__note { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .62); }
.steps__note b { color: var(--sand-2); }

/* ==========================================================================
   18. 免签国家
   ========================================================================== */
.visa { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.visa__c { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: all .25s ease; }
.visa__c:hover { border-color: rgba(15, 125, 116, .45); box-shadow: var(--shadow-m); transform: translateY(-3px); }
.visa__c h3 { font-size: 16px; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.visa__c h3 span { font-size: 18px; }
.visa__c li { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--body); padding: 6px 0; border-bottom: 1px dashed var(--line-2); }
.visa__c li:last-child { border-bottom: 0; }
.visa__c li i { font-style: normal; color: var(--sea); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.visa__head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 36px; }
.visa__big { font-family: var(--serif); font-size: 64px; font-weight: 700; color: var(--brand); line-height: 1; letter-spacing: -.03em; }
.visa__big i { font-style: normal; font-size: 26px; color: var(--sand-3); }
.visa__txt { font-size: 14px; color: var(--muted); max-width: 220px; line-height: 1.6; }

/* ==========================================================================
   19. 案例
   ========================================================================== */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; }
.case:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.case__top { padding: 22px 24px 18px; background: linear-gradient(150deg, #0b2c4c, #0d3b66); }
.case__top h3 { color: #fff; font-size: 16.5px; margin-top: 10px; }
.case__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.case__body p { font-size: 14.5px; color: var(--body); flex: 1; margin-bottom: 16px; }
.case__meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--sand-3); font-weight: 700; }

/* ==========================================================================
   20. 资讯
   ========================================================================== */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news__c { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; display: flex; flex-direction: column; transition: all .25s ease; }
.news__c:hover { border-color: rgba(15, 125, 116, .4); box-shadow: var(--shadow-m); transform: translateY(-3px); }
.news__date { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--sand-3); margin-bottom: 10px; }
.news__c h3 { font-size: 17px; line-height: 1.5; margin-bottom: 10px; }
.news__c h3 a:hover { color: var(--brand); }
.news__c p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 14px; }

/* ==========================================================================
   21. FAQ
   ========================================================================== */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details:hover { border-color: rgba(15, 125, 116, .4); }
.faq details[open] { border-color: rgba(15, 125, 116, .55); box-shadow: var(--shadow-s); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 22px; text-align: center; font-size: 20px; font-weight: 400; color: var(--sea); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; font-size: 15px; line-height: 1.9; color: var(--body); border-top: 1px dashed var(--line-2); padding-top: 16px; }

/* ==========================================================================
   22. 转化区
   ========================================================================== */
.cta { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.cta__info h2 { color: #fff; margin-bottom: 16px; }
.cta__info > p { color: rgba(255, 255, 255, .7); margin-bottom: 24px; }
.cta__list { display: grid; gap: 0; margin-bottom: 26px; }
.cta__list li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15px; color: rgba(255, 255, 255, .82); display: flex; gap: 10px; }
.cta__list li b { color: var(--sand-2); }
.cta__contact { font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.9; }
.cta__contact a { color: #fff; font-weight: 700; }
.cta__contact a:hover { color: var(--sand-2); }
.cta__phone { font-family: var(--serif); font-size: 26px !important; color: var(--sand-2) !important; letter-spacing: .01em; display: inline-block; margin-bottom: 6px; }

/* ==========================================================================
   23. 内页：banner / 摘要 / 目录 / 正文
   ========================================================================== */
.banner { background: linear-gradient(150deg, #0b2c4c, #071a2e); color: #fff; padding: 56px 0 60px; }
.banner h1 { color: #fff; margin: 10px 0 14px; }
.banner__desc { max-width: 780px; color: rgba(255, 255, 255, .68); font-size: 16px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.crumbs a { color: rgba(255, 255, 255, .78); }
.crumbs a:hover { color: var(--sand-2); }
.crumbs i { font-style: normal; opacity: .45; }
.banner__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .5); }

.doc { padding: 64px 0 80px; }
.doc__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: start; }
.doc__main { min-width: 0; }
.doc__side { position: sticky; top: 100px; display: grid; gap: 18px; }

.tldr { display: grid; grid-template-columns: auto 1fr; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--sea); border-radius: 12px; padding: 22px 24px; margin-bottom: 34px; }
.tldr__lab { font-size: 11.5px; font-weight: 800; letter-spacing: .14em; color: var(--sea); text-transform: uppercase; padding-top: 3px; white-space: nowrap; }
.tldr p { margin: 0; font-size: 15.5px; line-height: 1.85; color: var(--ink-2); }

.toc { background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; margin-bottom: 8px; }
.toc__t { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.toc ol { counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 9px; padding: 6px 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--serif); font-size: 12px; color: var(--sea); font-weight: 700; flex: 0 0 18px; }
.toc a:hover { color: var(--sea-2); }
.toc a.lv3 { padding-left: 27px; font-size: 13.5px; color: var(--muted); }
.toc a.lv3::before { content: "·"; font-size: 16px; }

.entry { font-size: 16.5px; line-height: 1.95; color: var(--body); }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 25px; margin: 44px 0 16px; padding-top: 6px; scroll-margin-top: 100px; }
.entry h3 { font-size: 19px; margin: 30px 0 10px; color: var(--ink-2); scroll-margin-top: 100px; }
.entry h2 + h3 { margin-top: 16px; }
.entry p { margin-bottom: 16px; }
.entry ul, .entry ol { margin: 0 0 18px; padding-left: 4px; display: grid; gap: 8px; }
.entry ul li { position: relative; padding-left: 22px; }
.entry ul li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--sea); opacity: .55; }
.entry ol { counter-reset: ol; padding-left: 0; }
.entry ol li { position: relative; padding-left: 30px; counter-increment: ol; }
.entry ol li::before { content: counter(ol); position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(15, 125, 116, .1); color: var(--sea); font-size: 12px; font-weight: 700; display: grid; place-items: center; font-family: var(--serif); }
.entry :where(table) { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.entry :where(th, td) { padding: 13px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.entry :where(thead th) { background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .02em; border-bottom: 0; }
.entry :where(tbody tr:last-child td) { border-bottom: 0; }
.entry :where(tbody tr:nth-child(even)) { background: #fafbfd; }
.entry :where(tbody th) { background: #fafbfd; font-weight: 600; color: var(--ink-2); }
.entry blockquote { margin: 24px 0; padding: 18px 22px; background: #fff8ef; border: 1px solid #f2e2c9; border-left: 3px solid var(--sand); border-radius: 10px; color: #6b5324; font-size: 15px; line-height: 1.85; }
.entry blockquote strong { color: #4d3a13; }
.entry .table-note { font-size: 13px; color: var(--muted); line-height: 1.8; margin-top: 12px; }
.entry a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.entry a:hover { color: var(--sea-2); }
.entry img { border-radius: 12px; margin: 22px 0; }

/* 费用表（页面内容沿用的类名） */
.fee-wrap { margin: 40px 0 8px; }
.fee-wrap h3 { text-align: left; font-size: 19px; margin-bottom: 6px; }
.fee-sub { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.fee-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 15px; }
.fee-table th, .fee-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); }
.fee-table thead th { background: var(--brand); color: #fff; font-weight: 700; font-size: 14px; border-bottom: 0; }
.fee-table tbody tr:nth-child(even) { background: #fafbfd; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table td.num { color: var(--sand-3); font-weight: 700; white-space: nowrap; font-family: var(--serif); font-size: 15.5px; }

/* 联系卡片（联系页沿用） */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 8px 0 34px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.contact-card .ico { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: rgba(15, 125, 116, .09); }
.contact-card h3 { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.contact-card p { font-size: 17px; font-weight: 700; color: var(--ink); margin: 0; }
.contact-card a:hover { color: var(--sea-2); }

/* 作者 / 来源 / 相关 */
.author { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--paper-2); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin: 42px 0 0; }
.author__ava { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(150deg, var(--brand-2), var(--brand-3)); color: var(--sand-2); font-family: var(--serif); font-weight: 700; font-size: 17px; }
.author h4 { font-size: 15.5px; margin-bottom: 5px; }
.author p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.8; }
.author__meta { margin-top: 8px; font-size: 12px; color: var(--muted); }

.sources { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-top: 18px; }
.sources h4 { font-size: 15px; margin-bottom: 10px; }
.sources li { font-size: 13.5px; color: var(--muted); padding: 6px 0; border-bottom: 1px dashed var(--line-2); line-height: 1.7; }
.sources li:last-child { border-bottom: 0; }

.related { margin-top: 44px; }
.related h2 { font-size: 19px; margin-bottom: 16px; }
.related__g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related__c { display: block; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 18px; transition: all .22s ease; }
.related__c:hover { border-color: rgba(15, 125, 116, .45); box-shadow: var(--shadow-s); }
.related__c span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; color: var(--sand-3); margin-bottom: 6px; }
.related__c b { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.5; font-weight: 600; }

/* 侧栏 */
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; }
.side-card h3 { font-size: 16px; margin-bottom: 6px; }
.side-card p { font-size: 13.5px; color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.side-card--dark { background: linear-gradient(160deg, #0b2c4c, #071a2e); border-color: transparent; }
.side-card--dark h3 { color: #fff; }
.side-card--dark p { color: rgba(255, 255, 255, .6); }
.side-links { display: grid; gap: 2px; }
.side-links a { display: flex; justify-content: space-between; gap: 8px; padding: 9px 0; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); }
.side-links a:last-child { border-bottom: 0; }
.side-links a::after { content: "→"; color: var(--sea); font-size: 13px; }
.side-links a:hover { color: var(--sea-2); }

/* 分页 */
.pager { margin-top: 42px; display: flex; justify-content: center; gap: 8px; }
.pager .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14.5px; color: var(--ink-2); background: #fff; }
.pager .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .page-numbers:hover { border-color: var(--sea); color: var(--sea-2); }

/* ==========================================================================
   24. FAQ 兼容（页面内容里的 .faq-item 结构）
   ========================================================================== */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item[open] { border-color: rgba(15, 125, 116, .55); box-shadow: var(--shadow-s); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 700; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 22px; text-align: center; font-size: 20px; font-weight: 400; color: var(--sea); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .arrow { display: none; }
.faq-item .a { padding: 0 22px 20px; font-size: 15px; line-height: 1.9; color: var(--body); border-top: 1px dashed var(--line-2); padding-top: 16px; }

/* ==========================================================================
   25. 工具类
   ========================================================================== */
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.note-line { font-size: 13px; color: var(--muted); line-height: 1.8; }
.band { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.band h3 { font-size: 18px; margin-bottom: 8px; }
.band p:last-child { margin-bottom: 0; }
.hero__bg--lazy { background-color: var(--brand-3); }

/* ==========================================================================
   26. 响应式
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__in { grid-template-columns: 1fr; gap: 40px; }
  .hero__lead { max-width: none; }
  .doc__grid { grid-template-columns: 1fr; gap: 40px; }
  .doc__side { position: static; grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; gap: 36px; }
  .calc { grid-template-columns: 1fr; }
  .adv { grid-template-columns: repeat(2, 1fr); }
  .news { grid-template-columns: repeat(2, 1fr); }
  .visa { grid-template-columns: repeat(2, 1fr); }
  .related__g { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
  .figure img { height: 420px; }
}

@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 34px; }
  .cond { grid-template-columns: 1fr; gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .steps__it::before { display: none; }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .figure img { height: 360px; }

  .burger { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-m);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 18px 18px;
  }
  .nav.is-open { display: flex; }
  .nav > li > a { padding: 13px 8px; font-size: 16px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
  .nav .has-sub > a::after { float: right; margin-top: 8px; }
  .sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 14px; display: none;
  }
  .has-sub.is-open .sub { display: block; }
  .nav__cta { margin: 14px 0 0; text-align: center; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .sec { padding: 62px 0; }
  .sec-head { margin-bottom: 32px; }
  .sec-head p { font-size: 15.5px; }
  .wrap { padding: 0 18px; }
  .topbar__right span:nth-child(2) { display: none; }
  .hdr__in { min-height: 66px; }
  .brand__mark { width: 40px; height: 40px; border-radius: 10px; font-size: 15px; }
  .brand__cn { font-size: 17px; }
  .brand__en { font-size: 9.5px; letter-spacing: .18em; }
  .hero { padding: 48px 0 56px; }
  .hero__in { gap: 30px; }
  .form-card { padding: 24px 20px 20px; }
  .trustbar__in { grid-template-columns: repeat(2, 1fr); }
  .trustbar__it:nth-child(2) { border-right: 0; }
  .trustbar__it:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .trustbar__num { font-size: 26px; }
  .doc { padding: 44px 0 60px; }
  .doc__side { grid-template-columns: 1fr; }
  .tldr { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .entry h2 { font-size: 21px; margin-top: 34px; }
  .entry h3 { font-size: 17.5px; }
  .banner { padding: 40px 0 44px; }
  .calc__form, .calc__out { padding: 26px 22px; }
  .calc__total { font-size: 38px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 36px; }
  .ftr { padding-top: 52px; }
  .news, .adv, .visa, .related__g { grid-template-columns: 1fr; }
  .figure img { height: 300px; }
  .figure__cap { left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; font-size: 12.5px; }
  .author { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .entry :where(table) { display: block; overflow-x: auto; white-space: nowrap; }
  .entry :where(th, td) { padding: 11px 13px; font-size: 14px; }
  .fee-table { display: block; overflow-x: auto; white-space: nowrap; }
  .fee-table th, .fee-table td { padding: 12px 14px; font-size: 14px; }
  .quiz { padding: 24px 20px; }
  .steps__it { padding-left: 46px; }
}

@media (max-width: 560px) {
  .field--row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .hero__trust { gap: 6px 14px; font-size: 12.5px; }
  .visa__big { font-size: 50px; }
  .visa__head { gap: 10px; }
  .visa__txt { max-width: 150px; font-size: 13px; }
  .plan { padding: 26px 22px; }
  .cta__phone { font-size: 22px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   27. 补充：导航容器 / 表单标题 / 侧栏适配
   ========================================================================== */
.navwrap { display: flex; align-items: center; position: static; }
.form-card__title { font-size: 21px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 5px; letter-spacing: -.01em; }
.side-card .form-card__title { font-size: 17px; }
.side-card .form-card__head { margin-bottom: 14px; }
.side-card .form-card__head p { font-size: 12.5px; }
.side-card .btn { padding: 12px 16px; font-size: 15px; }
.side-card .field { margin-bottom: 10px; }
.side-card .field input { padding: 11px 13px; font-size: 14.5px; }
.side-card .check { font-size: 11.5px; }
.form-card .msg { margin-bottom: 0; }
.hero__form .form-card { box-shadow: var(--shadow-l); }
.banner__meta span + span::before { content: "·"; margin-right: 20px; opacity: .5; }
@media (max-width: 768px) {
  .banner__meta span + span::before { content: ""; margin: 0; }
  .form-card__title { font-size: 19px; }
}

/* ==========================================================================
   28. 知识库（合集页 / 类型页 / 详情页）
   ========================================================================== */
.kb-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, #0b2c4c, #071a2e); color: #fff; padding: 64px 0 70px; }
.kb-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 80% -10%, rgba(15,125,116,.28), transparent), radial-gradient(700px 360px at 10% 120%, rgba(201,160,99,.18), transparent); }
.kb-hero__in { position: relative; z-index: 2; max-width: 860px; }
.kb-hero h1 { font-family: var(--serif); font-size: 46px; line-height: 1.12; font-weight: 700; letter-spacing: -.01em; margin-bottom: 16px; color: #fff; }
.kb-hero h1 span { color: var(--sand-2); }
.kb-hero p { font-size: 16.5px; color: rgba(255,255,255,.72); max-width: 680px; margin-bottom: 26px; line-height: 1.85; }
.search { display: flex; gap: 10px; background: #fff; padding: 8px; border-radius: 14px; box-shadow: var(--shadow-l); max-width: 640px; }
.search input { flex: 1; border: 0; outline: none; padding: 12px 14px; font-size: 15.5px; font-family: inherit; color: var(--ink); }
.search .btn { padding: 12px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; padding: 7px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.08); color: rgba(255,255,255,.78); cursor: pointer; border: 1px solid rgba(255,255,255,.14); transition: .2s; }
.chip:hover { background: rgba(255,255,255,.16); }
.chip.is-on, .chip:hover.is-on { background: var(--sand); color: #3a2a10; border-color: var(--sand); }

.cat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat__c { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.cat__c::before { content: ""; position: absolute; left: 0; top: 0; width: 3px; height: 0; background: var(--sea); transition: .3s; }
.cat__c:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.cat__c:hover::before { height: 100%; }
.cat__ico { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 22px; background: rgba(15,125,116,.09); margin-bottom: 16px; }
.cat__c h3 { font-size: 19px; color: var(--ink); margin-bottom: 6px; }
.cat__c p { font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; margin-bottom: 16px; }
.cat__meta { display: flex; align-items: center; justify-content: space-between; }
.cat__n { font-family: var(--serif); font-size: 15px; color: var(--sand-3); font-weight: 700; }
.cat__go { font-size: 14px; font-weight: 700; color: var(--brand); }
.cat__c:hover .cat__go { color: var(--sea-2); }

.feat { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.feat__big { position: relative; border-radius: var(--radius-l); overflow: hidden; min-height: 300px; background: linear-gradient(160deg, #0b2c4c, #071a2e); color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: flex-end; transition: .25s; }
.feat__big:hover { box-shadow: var(--shadow-m); }
.feat__big .lab { position: absolute; top: 22px; left: 22px; font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--sand-2); background: rgba(220,187,130,.14); padding: 6px 12px; border-radius: 999px; }
.feat__big h3 { font-size: 25px; line-height: 1.3; margin-bottom: 10px; max-width: 92%; }
.feat__big p { color: rgba(255,255,255,.72); font-size: 14.5px; margin-bottom: 18px; max-width: 92%; }
.feat__col { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.feat__sm { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: center; transition: .25s; }
.feat__sm:hover { box-shadow: var(--shadow-m); transform: translateY(-3px); }
.feat__sm .lab { font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--sea); margin-bottom: 8px; }
.feat__sm h3 { font-size: 18px; color: var(--ink); line-height: 1.4; margin-bottom: 8px; }
.feat__sm p { font-size: 13.5px; color: var(--muted); }

.browse { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 90px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.filters h4 { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; margin: 18px 0 12px; }
.filters h4:first-child { margin-top: 0; }
.filt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; font-size: 14.5px; color: var(--ink-2); transition: .18s; }
.filt:hover { background: var(--paper-2); }
.filt.is-on { background: rgba(15,125,116,.08); color: var(--sea-2); font-weight: 700; }
.filt .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sea); flex: 0 0 auto; }
.filt .cnt { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); cursor: pointer; background: var(--paper-2); transition: .18s; }
.topic:hover { border-color: var(--sea); color: var(--sea-2); }
.topic.is-on { background: var(--sea); color: #fff; border-color: var(--sea); }

.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.bgrid .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .25s; display: flex; flex-direction: column; box-shadow: none; }
.bgrid .card:hover { box-shadow: var(--shadow-m); transform: translateY(-2px); }
.bgrid .card h3 { font-size: 16.5px; line-height: 1.45; color: var(--ink); margin-bottom: 8px; }
.bgrid .card p { font-size: 13.5px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 14px; }
.card__ft { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); border-top: 1px dashed var(--line-2); padding-top: 12px; }
.card__ft .go { font-weight: 700; color: var(--brand); }
.empty { display: none; grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); }

.badge { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.b-百科 { background: rgba(15,125,116,.1); color: var(--sea-2); }
.b-问答 { background: rgba(20,80,127,.1); color: var(--brand-2); }
.b-专题 { background: rgba(201,160,99,.16); color: var(--sand-3); }
.b-知识 { background: rgba(31,122,77,.1); color: var(--ok); }
.b-讲座 { background: rgba(11,42,74,.08); color: var(--brand-3); }
.b-官方文件 { background: rgba(180,83,9,.1); color: var(--warn); }

.docgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.kb-file { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); padding: 18px; display: flex; flex-direction: column; gap: 6px; transition: .2s; }
.kb-file:hover { box-shadow: var(--shadow-s); border-color: var(--sea); }
.kb-file .ic { font-size: 20px; }
.kb-file h4 { font-size: 14px; color: var(--ink); line-height: 1.4; }
.kb-file span { font-size: 11.5px; color: var(--muted); }
.kb-file .dl { margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--sea-2); }

.kb-cta { background: linear-gradient(150deg, #0b2c4c, #071a2e); color: #fff; border-radius: var(--radius-l); padding: 44px; text-align: center; }
.kb-cta h2 { font-size: 26px; margin-bottom: 10px; color: #fff; }
.kb-cta p { color: rgba(255,255,255,.7); margin-bottom: 22px; max-width: 520px; margin-left: auto; margin-right: auto; }

.kb-lecture .kb-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b2c4c; box-shadow: var(--shadow-m); }
.kb-lecture .kb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.kb-transcript { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; font-size: 15px; line-height: 1.95; color: var(--body); white-space: pre-wrap; }

.kb-doc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-s); }
.kb-doc__head { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.kb-doc__row { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.kb-doc__row span { color: var(--muted); min-width: 84px; }
.kb-doc__row b { color: var(--ink); }
.kb-doc__act { flex: 0 0 auto; }

@media (max-width: 960px) {
  .cat { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: 1fr; }
  .browse { grid-template-columns: 1fr; }
  .filters { position: static; }
  .bgrid { grid-template-columns: 1fr; }
  .docgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .kb-hero h1 { font-size: 34px; }
  .cat { grid-template-columns: 1fr; }
  .docgrid { grid-template-columns: 1fr; }
  .sec { padding: 48px 0; }
  .kb-cta { padding: 32px 22px; }
  .kb-hero { padding: 44px 0 50px; }
}
