/* =========================================================
   德寰宇国际 / Дэхуаньюй — 全站样式 (v2 现代版)
   ========================================================= */
:root {
  /* 品牌色 */
  --navy: #0e2a4d;
  --navy-2: #123a6b;
  --blue: #2b6cf6;
  --blue-soft: #eaf1ff;
  --rose: #e0245e;
  --rose-soft: #ffeaf1;
  --gold: #f5a524;

  --primary: #123a6b;
  --primary-dark: #0b2240;
  --primary-light: #2b6cf6;
  --accent: #e0245e;
  --accent-light: #ffeaf1;

  /* 中性 */
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #101f33;
  --muted: #667999;
  --border: #e6ebf3;
  --line: #eef2f8;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-xs: 0 1px 2px rgba(16, 37, 64, .05);
  --shadow: 0 6px 22px -10px rgba(16, 37, 64, .18), 0 1px 2px rgba(16, 37, 64, .04);
  --shadow-lg: 0 24px 60px -28px rgba(12, 32, 62, .35), 0 2px 8px rgba(16, 37, 64, .06);
  --grad-brand: linear-gradient(120deg, #0b2240 0%, #16447f 45%, #2b6cf6 100%);
  --grad-rose: linear-gradient(120deg, #e0245e, #ff6b6b);
  --grad-gold: linear-gradient(120deg, #f5a524, #ffcf6b);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
a { color: var(--blue); text-decoration: none; transition: color .18s var(--ease); }
a:hover { color: var(--rose); }
img { max-width: 100%; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
::selection { background: #cfe0ff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: #c9d5e6; border-radius: 10px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #aebed4; }

/* ================= Header ================= */
.site-header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(230, 235, 243, .9);
}
.header-inner { display: flex; align-items: center; gap: 16px; height: 70px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; letter-spacing: -.2px;
  color: var(--navy); white-space: nowrap;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: 0 0 42px;
  background: transparent; color: #fff;
  display: block; object-fit: contain;
  font-size: 17px; box-shadow: none;
}
.logo .flag { display: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-txt small { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: .4px; }
.main-nav { display: flex; gap: 2px; flex: 1; justify-content: center; }
.main-nav a {
  position: relative; padding: 9px 13px; border-radius: 10px;
  color: #2b3d57; font-size: 14.5px; font-weight: 600; white-space: nowrap;
}
.main-nav a:hover { background: var(--blue-soft); color: var(--navy); }
.main-nav a.active { background: var(--navy); color: #fff; box-shadow: 0 8px 18px -10px rgba(18, 58, 107, .9); }
.main-nav a.active:hover { color: #fff; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  border: 1.5px solid #cfdcee; color: var(--navy); background: #fff;
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 800;
  cursor: pointer; white-space: nowrap; transition: all .18s var(--ease);
  letter-spacing: .2px;
}
.lang-btn:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateY(-1px); }
.nav-burger {
  display: none; border: 1px solid var(--border); background: #fff;
  width: 40px; height: 40px; border-radius: 12px; font-size: 18px;
  cursor: pointer; color: var(--navy); line-height: 1;
}
/* ---- 顶部导航防溢出 ----
   .container 最大 1200px（内容区 1156px），中文导航刚好放得下；
   俄/英/阿文案长得多（"Обучение за границей"、"Language Courses"…），
   原样会顶穿 header 造成整页横向溢出。这里按语种收紧。 */
.main-nav { gap: 0; }
.main-nav a { padding: 9px 11px; font-size: 14px; }
html[lang="ru"] .main-nav a,
html[lang="en"] .main-nav a,
html[lang="ar"] .main-nav a { padding: 9px 9px; font-size: 13.4px; }
html[lang="ru"] .logo-txt small,
html[lang="en"] .logo-txt small { display: none; }
html[lang="ru"] .logo-txt > span,
html[lang="en"] .logo-txt > span { font-size: 15px; }
html[lang="ru"] .header-inner,
html[lang="en"] .header-inner,
html[lang="ar"] .header-inner { gap: 10px; }

@media (max-width: 1240px) {
  .main-nav {
    display: none; position: absolute; top: 70px; left: 12px; right: 12px;
    background: #fff; flex-direction: column; padding: 12px; gap: 4px;
    border: 1px solid var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 14px; font-size: 15px; }
  .nav-burger { display: block; }
}

/* 窄手机：logo 下方那行小字最长，会把右侧汉堡按钮顶出屏幕 → 小屏只留站名 */
@media (max-width: 480px) {
  .logo-txt small { display: none; }
  .logo { font-size: 15px; }
  html[lang] .logo-txt > span { font-size: 13.5px; }
  html[lang] .header-inner { gap: 8px; }
  .site-header .container { padding: 0 14px; }
  .lang-btn { padding: 7px 12px; min-width: 48px; font-size: 12.5px; }
  .nav-burger { width: 36px; height: 36px; }
  /* 兜底：站名再长也只截断，绝不许把汉堡按钮顶出屏幕 */
  .logo { min-width: 0; overflow: hidden; }
  .logo-txt { min-width: 0; overflow: hidden; }
  .logo-txt > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  /* 俄语按钮文案长，窄屏允许折行，别把卡片撑破 */
  .btn { white-space: normal; max-width: 100%; }
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 26px; font-size: 14.5px; font-weight: 700;
  cursor: pointer; border: none; transition: all .2s var(--ease);
  font-family: inherit; white-space: nowrap; letter-spacing: .2px;
}
.btn-primary { background: var(--grad-rose); color: #fff; box-shadow: 0 14px 26px -14px rgba(224, 36, 94, .95); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 32px -14px rgba(224, 36, 94, .95); }
.btn-navy { background: var(--grad-brand); color: #fff; box-shadow: 0 14px 26px -16px rgba(18, 58, 107, .95); }
.btn-navy:hover { color: #fff; transform: translateY(-2px); }
.btn-ghost { background: var(--blue-soft); color: var(--navy); }
.btn-ghost:hover { background: #dbe7ff; color: var(--navy); transform: translateY(-2px); }
.btn-outline { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-outline:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-white { background: #fff; color: var(--navy); box-shadow: var(--shadow); }
.btn-white:hover { color: var(--navy); transform: translateY(-2px); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ================= Hero ================= */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-brand);
  padding: 96px 0 120px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(720px 420px at 88% 8%, rgba(43, 108, 246, .55), transparent 62%),
    radial-gradient(560px 380px at 6% 92%, rgba(224, 36, 94, .38), transparent 65%),
    radial-gradient(400px 300px at 62% 78%, rgba(245, 165, 36, .18), transparent 70%);
}
.hero::after {
  content: "МОСТ"; position: absolute; right: -40px; bottom: -70px;
  font-size: 210px; font-weight: 900; opacity: .05; letter-spacing: 14px; line-height: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px; padding: 7px 18px; font-size: 13px; font-weight: 600;
  margin-bottom: 22px; letter-spacing: .6px; backdrop-filter: blur(6px);
}
.hero .kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 0 4px rgba(110,231,168,.25); }
.hero h1 {
  font-size: 46px; line-height: 1.2; margin-bottom: 18px;
  letter-spacing: -1px; font-weight: 800;
}
@media (max-width: 640px) { .hero h1 { font-size: 32px; } .hero { padding: 64px 0 78px; } }
.hero h1 .hl {
  background: linear-gradient(100deg, #ffd479, #ff8fa3 55%, #9dc0ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .sub { font-size: 16.5px; color: rgba(255,255,255,.86); max-width: 620px; }
.hero .cta-row { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero .hero-tags { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .hero-tags span {
  font-size: 12.5px; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
}

/* Hero 右侧卡片 */
.hero-card {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius-lg); padding: 26px;
  backdrop-filter: blur(14px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.hero-card h3 { font-size: 15px; margin-bottom: 18px; letter-spacing: .4px; opacity: .92; font-weight: 700; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat { background: rgba(255,255,255,.1); border-radius: 16px; padding: 16px 18px; }
.hero-stat b { display: block; font-size: 30px; line-height: 1.1; letter-spacing: -1px; }
.hero-stat span { font-size: 12.5px; opacity: .8; }
.hero-consult {
  margin-top: 18px; display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.96); color: var(--navy);
  border-radius: 999px; padding: 9px 10px 9px 20px; cursor: pointer;
  border: none; width: 100%; font-family: inherit; font-size: 14.5px; font-weight: 700;
  transition: .2s var(--ease);
}
.hero-consult:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(0,0,0,.5); }
.hero-consult .hc-go {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%;
  background: var(--grad-rose); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px;
}

/* ================= Sections ================= */
.section { padding: 76px 0; }
.section.tight { padding: 52px 0; }
.section.soft { background: linear-gradient(180deg, #eef3fb, #f7f9fc); }
.section.dark { background: var(--grad-brand); color: #fff; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-head h2 { font-size: 32px; color: var(--navy); letter-spacing: -.6px; line-height: 1.28; }
.section-head h2 .bar { color: var(--gold); }
@media (max-width: 640px) { .section-head h2 { font-size: 24px; } .section { padding: 54px 0; } }
.section-head p { color: var(--muted); margin-top: 12px; font-size: 15px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head.left { text-align: left; }
.section-head.left p { margin-left: 0; }
.section.dark .section-head h2, .section.dark .section-head p { color: #fff; }
.section.dark .section-head .eyebrow { color: #9dc0ff; }

/* ================= Grids ================= */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 20px; }

/* ================= Card ================= */
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow); transition: transform .26s var(--ease), box-shadow .26s var(--ease), border-color .26s var(--ease);
  position: relative;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #d8e3f3; }
a.card { color: inherit; display: block; }

/* 业务卡片 */
.biz-card {
  text-align: left; cursor: pointer; overflow: hidden;
  padding: 30px 28px 28px; border-top: none;
}
.biz-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: var(--grad-brand);
}
.biz-card.biz-rose::before { background: var(--grad-rose); }
.biz-card.biz-gold::before { background: var(--grad-gold); }
.biz-card .icon {
  width: 58px; height: 58px; border-radius: 18px; font-size: 27px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  background: var(--blue-soft);
}
.biz-card.biz-rose .icon { background: var(--rose-soft); }
.biz-card.biz-gold .icon { background: #fff5e2; }
.biz-card h3 { font-size: 20px; color: var(--navy); margin-bottom: 10px; letter-spacing: -.3px; }
.biz-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.biz-card .more { color: var(--rose); font-weight: 800; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.biz-card .more::after { content: "→"; transition: transform .2s var(--ease); }
.biz-card:hover .more::after { transform: translateX(4px); }

/* 特色项 */
.feature-item { display: flex; gap: 15px; align-items: flex-start; }
.feature-item .fi {
  flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px;
  background: var(--blue-soft); display: flex; align-items: center; justify-content: center;
  font-size: 21px;
}
.feature-item h4 { font-size: 15.5px; margin-bottom: 5px; color: var(--navy); }
.feature-item p { font-size: 13.5px; color: var(--muted); }

/* ================= Page hero ================= */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--grad-brand); padding: 62px 0 66px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(560px 320px at 92% 10%, rgba(43,108,246,.5), transparent 65%),
    radial-gradient(420px 280px at 4% 95%, rgba(224,36,94,.32), transparent 68%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 34px; letter-spacing: -.7px; line-height: 1.28; }
@media (max-width: 640px) { .page-hero h1 { font-size: 25px; } .page-hero { padding: 44px 0 48px; } }
.page-hero p { color: rgba(255,255,255,.85); margin-top: 10px; font-size: 15.5px; max-width: 780px; }
.page-hero a { color: rgba(255,255,255,.88); }
.page-hero a:hover { color: #fff; }

/* ================= Filter bar ================= */
.filter-bar {
  background: rgba(255,255,255,.92); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end;
  box-shadow: var(--shadow); margin-bottom: 18px;
  position: sticky; top: 82px; z-index: 40;
  backdrop-filter: blur(10px);
}
@media (max-width: 860px) { .filter-bar { position: static; } }
.filter-group { display: flex; flex-direction: column; gap: 6px; flex: 1 1 170px; min-width: 150px; }
.filter-group label { font-size: 12px; color: var(--muted); font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.filter-group select, .filter-group input {
  border: 1.5px solid var(--border); border-radius: 12px; padding: 10px 12px;
  font-size: 14px; background: #fff; color: var(--text); font-family: inherit;
  transition: .18s var(--ease); width: 100%;
}
.filter-group select:focus, .filter-group input:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,108,246,.13);
}
.count-note { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; font-weight: 600; }

/* 筛选胶囊 */
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; }
.chip {
  border: 1.5px solid var(--border); background: #fff; color: #37496b;
  border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: .18s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 20px -12px rgba(18,58,107,.9); }

/* ================= University cards ================= */
.uni-card { display: flex; flex-direction: column; gap: 12px; cursor: pointer; }
.uni-card .uni-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.uni-card h3 { font-size: 17.5px; color: var(--navy); line-height: 1.42; letter-spacing: -.25px; }
.uni-flag {
  flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px;
  background: var(--blue-soft); display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--navy);
}
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800;
  border-radius: 999px; padding: 4px 11px; white-space: nowrap; letter-spacing: .2px;
}
.badge-full { background: #e4f7ec; color: #0d7a44; }
.badge-most { background: #fef3dd; color: #a86400; }
.badge-few { background: #e7f0ff; color: #1b4fa8; }
.badge-country { background: #f1f4f9; color: #47597a; }
.badge-hot { background: var(--rose-soft); color: var(--rose); }
.uni-meta { font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.uni-meta b { color: var(--text); font-weight: 700; }
.uni-levels { display: flex; flex-wrap: wrap; gap: 6px; }
.level-chip {
  font-size: 11.5px; font-weight: 700; background: #eef3fb; color: #24466f;
  border-radius: 8px; padding: 3px 9px;
}
.uni-price-row {
  display: flex; align-items: baseline; gap: 8px; padding-top: 12px;
  border-top: 1px dashed var(--line);
}
.uni-price-row .tp { font-size: 12px; color: var(--muted); font-weight: 700; }
.uni-price-row .tv { font-size: 16px; font-weight: 800; color: var(--rose); letter-spacing: -.3px; }
.card-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.card-actions .btn { flex: 1 1 140px; min-width: 0; }

/* ================= Program table ================= */
.program-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.program-row {
  display: grid; grid-template-columns: 1.5fr 1fr .8fr .95fr .9fr auto;
  gap: 14px; align-items: center; padding: 16px 20px;
  border-bottom: 1px solid var(--line); transition: background .18s var(--ease);
}
.program-row:last-child { border-bottom: none; }
.program-row:hover { background: #f8fbff; }
.program-head {
  background: linear-gradient(180deg, #f4f8ff, #eef4fd);
  font-size: 12px; font-weight: 800; color: #3a527a; letter-spacing: .9px; text-transform: uppercase;
  padding: 13px 20px;
}
.program-row .p-major { font-weight: 800; color: var(--navy); font-size: 15px; letter-spacing: -.2px; }
.program-row .p-major small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; letter-spacing: 0; }
.p-details { margin-top: 5px; font-weight: 500; }
.p-details summary {
  display: inline-flex; align-items: center; gap: 4px;
  cursor: pointer; font-size: 12px; font-weight: 700; color: var(--rose);
  list-style: none; user-select: none;
}
.p-details summary::-webkit-details-marker { display: none; }
.p-details summary::before { content: "▸"; font-size: 11px; transition: transform .18s var(--ease); }
.p-details[open] summary::before { transform: rotate(90deg); }
.p-detail-body {
  margin-top: 7px; padding: 10px 13px; border-radius: 12px;
  background: #f7f9fc; border: 1px solid #e4ebf5;
  font-size: 12.8px; font-weight: 500; line-height: 1.75; color: #45597a;
}
[dir="rtl"] .p-details summary::before { transform: scaleX(-1); }
[dir="rtl"] .p-details[open] summary::before { transform: scaleX(-1) rotate(90deg); }
.program-row .p-tuition { font-weight: 800; color: var(--rose); font-size: 14.5px; }
.program-row .p-cell { font-size: 13px; color: #45597a; }
.consult-mini {
  border: 1.5px solid #f4c2d3; background: #fff; color: var(--rose);
  border-radius: 999px; padding: 7px 15px; font-size: 12.5px; font-weight: 800;
  cursor: pointer; font-family: inherit; white-space: nowrap; transition: .18s var(--ease);
}
.consult-mini:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
@media (max-width: 860px) {
  .program-head { display: none; }
  .program-row {
    grid-template-columns: 1fr; gap: 8px; padding: 18px;
    border-radius: 14px; border: 1px solid var(--border); margin: 12px; border-bottom: 1px solid var(--border);
  }
  .program-wrap { border: none; box-shadow: none; background: transparent; }
  .program-row .p-cell::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 700; }
  .program-row .p-tuition::before { content: attr(data-l) ": "; color: var(--muted); font-weight: 700; }
  .consult-mini { width: 100%; padding: 10px; }
}

/* ================= Detail page ================= */
.detail-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.detail-card h3 {
  color: var(--navy); font-size: 17px; margin-bottom: 14px; padding-bottom: 12px;
  border-bottom: 2px solid var(--line); display: flex; align-items: center; gap: 8px; letter-spacing: -.2px;
}
.detail-card h3::before {
  content: ""; width: 4px; height: 17px; border-radius: 3px; background: var(--grad-rose); flex: 0 0 4px;
}
.detail-card p { font-size: 14.5px; white-space: pre-line; color: #2b3d57; }
.kv-list { display: grid; gap: 12px; }
.kv-list .row { display: flex; gap: 12px; font-size: 14px; align-items: flex-start; }
.kv-list .k { color: var(--muted); min-width: 96px; font-weight: 700; flex: 0 0 auto; }
.kv-list .row > span:last-child { color: #22334e; }
.side-card { position: sticky; top: 92px; }
@media (max-width: 900px) { .side-card { position: static; } }

/* 咨询侧栏 */
.consult-side {
  background: var(--grad-brand); color: #fff; border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.consult-side::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  right: -70px; top: -70px; background: rgba(255,255,255,.08);
}
.consult-side h3 { color: #fff; border: none; padding: 0; margin-bottom: 8px; font-size: 18px; }
.consult-side h3::before { display: none; }
.consult-side p { color: rgba(255,255,255,.85); font-size: 13.5px; }
.consult-side .btn { width: 100%; margin-top: 16px; }
.consult-side .wx-line {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 13px; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 8px;
}

/* ================= Course cards ================= */
.course-card { display: flex; flex-direction: column; gap: 12px; }
.course-card .course-level {
  align-self: flex-start; background: var(--grad-brand); color: #fff; font-weight: 800;
  border-radius: 10px; padding: 5px 14px; font-size: 13.5px; letter-spacing: .3px;
}
.course-card.hsk .course-level { background: var(--grad-rose); }
.course-card p { font-size: 14px; color: var(--muted); }
.course-price { font-size: 19px; font-weight: 800; color: var(--rose); letter-spacing: -.4px; }
.course-meta { font-size: 13px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 10px; }
.course-meta b { color: #3a527a; }

/* ================= Teachers ================= */
.teacher-card { text-align: center; }
.avatar {
  width: 92px; height: 92px; border-radius: 28px; margin: 0 auto 16px;
  background: var(--grad-brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 800; overflow: hidden;
  box-shadow: 0 16px 30px -18px rgba(18,58,107,.9);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.teacher-card h3 { font-size: 17px; color: var(--navy); }
.teacher-card .spec { font-size: 12.5px; color: var(--rose); font-weight: 700; margin: 7px 0 10px; }
.teacher-card p { font-size: 13.5px; color: var(--muted); text-align: left; }
.grid-3 { align-items: start; }
.teacher-card .t-title { font-size: 12.5px; color: #3a4d68; font-weight: 600; line-height: 1.55; margin: 2px 0 8px; }
.teacher-card details.t-details { margin-top: 12px; text-align: left; border-top: 1px dashed #e3e9f2; padding-top: 11px; }
.teacher-card details.t-details summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.teacher-card details.t-details summary::-webkit-details-marker { display: none; }
.teacher-card details.t-details summary::after { content: "＋"; color: var(--rose); font-weight: 800; font-size: 14px; }
.teacher-card details.t-details[open] summary::after { content: "−"; }
.teacher-card .t-body { font-size: 12.8px; color: var(--muted); line-height: 1.75; margin-top: 10px; max-height: 330px; overflow-y: auto; padding-right: 4px; }
.teacher-card .t-body .t-sec { font-weight: 800; color: var(--navy); font-size: 12.5px; margin: 13px 0 6px; letter-spacing: .02em; }
.teacher-card .t-body .t-sec:first-child { margin-top: 0; }
.teacher-card .t-body ul { margin: 0; padding-left: 16px; }
.teacher-card .t-body li { margin-bottom: 5px; }
.teacher-card .t-body li.t-sub { list-style: none; margin-left: -9px; color: #6b7a90; }

/* ================= Forms ================= */
.form-card { max-width: 660px; margin: 0 auto; }
.form-row { margin-bottom: 17px; }
.form-row label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; color: #2b3d57; }
.form-row label .req { color: var(--rose); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: 13px;
  padding: 12px 14px; font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
  transition: .18s var(--ease);
}
.form-row textarea { min-height: 116px; resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43,108,246,.13);
}
.form-row input:read-only { background: #f6f9fe; color: #3a527a; font-weight: 600; }
.form-msg { margin-top: 14px; font-size: 14px; display: none; padding: 12px 16px; border-radius: 13px; font-weight: 600; }
.form-msg.ok { display: block; background: #e4f7ec; color: #0d7a44; }
.form-msg.err { display: block; background: var(--rose-soft); color: var(--rose); }

/* ================= Steps / Timeline ================= */
.steps { counter-reset: step; }
.step-item { display: flex; gap: 18px; margin-bottom: 22px; }
.step-item .num {
  counter-increment: step; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 14px;
  background: var(--grad-brand); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 22px -14px rgba(18,58,107,.95);
}
.step-item .num::before { content: counter(step); }
.step-item h4 { font-size: 15.5px; color: var(--navy); }
.step-item p { font-size: 13.5px; color: var(--muted); }
#flowSteps .card { padding: 22px; }
#flowSteps .step-item .num { border-radius: 12px; }

/* ================= Downloads ================= */
.dl-card { display: flex; flex-direction: column; gap: 12px; }
.dl-card .dl-icon {
  width: 52px; height: 52px; border-radius: 16px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.dl-card h3 { font-size: 16.5px; color: var(--navy); }
.dl-card p { font-size: 13.5px; color: var(--muted); flex: 1; }
.pdf-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }

/* ================= Modal ================= */
.modal-mask {
  display: none; position: fixed; inset: 0; background: rgba(8, 20, 38, .6);
  z-index: 300; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-mask.open { display: flex; animation: fadeIn .2s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto; padding: 30px; position: relative;
  box-shadow: 0 40px 90px -30px rgba(4, 14, 30, .7);
  animation: riseIn .26s var(--ease);
}
.modal .close-x {
  position: absolute; top: 14px; right: 16px; font-size: 20px; border: none;
  background: #f2f5fa; cursor: pointer; color: var(--muted);
  width: 34px; height: 34px; border-radius: 50%; line-height: 1;
}
.modal .close-x:hover { background: var(--rose-soft); color: var(--rose); }
.modal h3 { color: var(--navy); margin-bottom: 12px; font-size: 20px; letter-spacing: -.3px; }
.modal .doc-body { font-size: 14.5px; white-space: pre-line; color: #2b3d57; }
.modal .modal-actions { margin-top: 20px; display: flex; gap: 10px; }

/* ================= 咨询顾问弹窗 ================= */
.consult-modal { max-width: 760px; padding: 30px 30px 26px; }
.ch-head { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.ch-avatar {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 18px;
  background: var(--grad-rose); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 26px -14px rgba(224,36,94,.9);
}
.ch-head h3 { margin: 0 0 4px; }
.ch-head p { font-size: 13px; color: var(--muted); }
.ch-ctx {
  background: var(--blue-soft); border: 1px dashed #b9cdf7; border-radius: 14px;
  padding: 13px 16px; font-size: 13.5px; margin-bottom: 20px;
  display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap;
}
.ch-ctx .cl { font-weight: 800; color: var(--blue); flex: 0 0 auto; }
.ch-ctx b { color: var(--navy); font-weight: 700; }
.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 720px) { .ch-grid { grid-template-columns: 1fr; gap: 22px; } }
.ch-col h4 { font-size: 14.5px; color: var(--navy); margin-bottom: 10px; }
.ch-col > p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.ch-benefits { list-style: none; display: grid; gap: 9px; margin-bottom: 18px; }
.ch-benefits li { font-size: 13px; color: #37496b; display: flex; gap: 9px; align-items: flex-start; }
.ch-benefits li::before {
  content: "✓"; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 6px;
  background: #e4f7ec; color: #0d7a44; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}
.wx-box {
  background: #f4f8ff; border: 1px solid #dbe7fb; border-radius: 16px;
  padding: 16px; display: flex; gap: 15px; align-items: center;
}
.wx-qr {
  flex: 0 0 92px; width: 92px; height: 92px; border-radius: 14px;
  background: #fff; border: 1px dashed #b9cdf7; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 10.5px; color: #8fa3c2; text-align: center; line-height: 1.35; padding: 6px;
}
.wx-qr img { width: 100%; height: 100%; object-fit: cover; }
.wx-info { min-width: 0; flex: 1; }
.wx-lab { font-size: 11.5px; color: var(--muted); font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.wx-info b {
  display: block; font-size: 16px; color: var(--navy); letter-spacing: -.2px;
  margin: 3px 0 9px; word-break: break-all;
}
.ch-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.ch-steps { counter-reset: cstep; display: grid; gap: 8px; margin-top: 14px; }
.ch-steps div { font-size: 12.5px; color: #37496b; display: flex; gap: 9px; align-items: flex-start; }
.ch-steps div::before {
  counter-increment: cstep; content: counter(cstep);
  flex: 0 0 19px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 10.5px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 3px;
}

/* ================= 悬浮按钮 & 底部咨询条 ================= */
.chat-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--grad-brand); color: #fff; font-size: 22px;
  box-shadow: 0 18px 36px -16px rgba(12,32,62,.75);
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s var(--ease);
}
.chat-fab:hover { transform: translateY(-3px) scale(1.04); }
.consult-fab {
  position: fixed; right: 22px; bottom: 90px; z-index: 200;
  height: 52px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--grad-rose); color: #fff; font-size: 14px; font-weight: 800;
  padding: 0 22px; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 18px 36px -14px rgba(224,36,94,.9);
  transition: transform .2s var(--ease); font-family: inherit;
}
.consult-fab:hover { transform: translateY(-3px); }
.consult-fab .pulse {
  width: 9px; height: 9px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,.8); animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,255,255,.85); }
  70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.chat-panel {
  position: fixed; right: 22px; bottom: 156px; z-index: 200;
  width: 340px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); display: none; overflow: hidden;
}
.chat-panel.open { display: block; animation: riseIn .24s var(--ease); }
.chat-panel .chat-head {
  background: var(--grad-brand); color: #fff; padding: 16px 18px;
  font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 8px;
}
.chat-panel .chat-body { padding: 20px 18px; font-size: 13.5px; color: var(--muted); }
/* 这里原来是个虚线占位框，写的是「待接入机器人」这类开发备注——访客点开就能看见。
   换成本站真有的两个动作：留资（唤起顾问弹窗）与 WhatsApp。 */
.chat-panel .chat-body .chat-acts { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.chat-panel .chat-body .chat-acts .btn { width: 100%; justify-content: center; }
.chat-panel .chat-body .chat-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.6; opacity: .8; }

/* 移动端底部咨询条 */
.mobile-consult-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 210;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border); padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-consult-bar button { flex: 1; }
@media (max-width: 720px) {
  .mobile-consult-bar { display: flex; }
  body { padding-bottom: 76px; }
  .chat-fab { bottom: 84px; width: 50px; height: 50px; font-size: 20px; }
  .consult-fab { bottom: 144px; height: 46px; padding: 0 16px; font-size: 13px; }
  .chat-panel { bottom: 200px; }
}

/* ================= Admin ================= */
.admin-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tab {
  border: 1.5px solid var(--border); background: #fff; border-radius: 999px;
  padding: 8px 20px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: inherit;
  color: #37496b; transition: .18s var(--ease);
}
.admin-tab:hover { border-color: var(--blue); color: var(--blue); }
.admin-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: 13.5px; }
.data-table th, .data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { background: #f2f7ff; color: #24466f; font-size: 12px; font-weight: 800; white-space: nowrap; letter-spacing: .5px; }
.data-table tr:hover td { background: #fafcff; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
.link-btn { border: none; background: none; color: var(--blue); cursor: pointer; font-size: 13px; text-decoration: underline; font-family: inherit; }
.link-btn.danger { color: var(--rose); }

/* ================= Footer ================= */
.site-footer { background: #081a30; color: #93a6c0; margin-top: 70px; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(43,108,246,.18), transparent 65%);
}
.footer-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 34px; padding: 54px 0 34px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 34px; } }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 14px; letter-spacing: .3px; }
.site-footer a { color: #93a6c0; font-size: 13.5px; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 13.5px; line-height: 1.75; }
/* 四站统一署名：法定主体全称 + 统一社会信用代码（2026-10-05 起四站页脚一致） */
.footer-legal {
  position: relative; border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0 0; font-size: 12.5px; text-align: center; color: #6c82a0;
  line-height: 1.7; word-break: break-word;
}
.footer-note {
  position: relative;
  padding: 6px 0 24px; font-size: 12.5px; text-align: center; color: #6c82a0;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-mark { box-shadow: none; }

/* ================= Utils ================= */
.loading { text-align: center; color: var(--muted); padding: 56px 0; font-size: 14px; }
.loading::after { content: ""; display: block; width: 26px; height: 26px; margin: 14px auto 0; border: 3px solid #dbe5f3; border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-note { text-align: center; color: var(--muted); padding: 56px 0; font-size: 14px; }
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.ribbon {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-gold); color: #4a2f00; font-weight: 800; font-size: 12px;
  border-radius: 999px; padding: 6px 15px; letter-spacing: .4px;
}
.hl-banner {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: var(--grad-brand); color: #fff; padding: 34px 36px; box-shadow: var(--shadow-lg);
}
.hl-banner::after {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  right: -110px; top: -110px; background: rgba(255,255,255,.07);
}
.hl-banner h2 { font-size: 24px; margin-bottom: 12px; letter-spacing: -.4px; }
.hl-banner p { color: rgba(255,255,255,.88); font-size: 14.5px; white-space: pre-line; position: relative; z-index: 2; }
.hl-banner .btn { margin-top: 20px; }
.chips-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; position: relative; z-index: 2; }
.chips-inline span { font-size: 12px; padding: 5px 13px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.24); }
.cta-band {
  background: var(--grad-brand); color: #fff; border-radius: var(--radius-lg);
  padding: 44px 40px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::after {
  content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  left: 50%; transform: translateX(-50%); bottom: -320px; background: rgba(255,255,255,.08);
}
.cta-band h2 { font-size: 27px; margin-bottom: 12px; letter-spacing: -.5px; position: relative; z-index: 2; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 620px; margin: 0 auto; position: relative; z-index: 2; }
.cta-band .row { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 2; }

/* ===== 链 B：学中文 → 来华留学 → 免费评估（2026-10-05 新增） ===== */
.path-band { display: flex; align-items: stretch; gap: 12px; margin-bottom: 26px; }
.path-step {
  flex: 1 1 0; min-width: 0; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px; display: flex; align-items: flex-start; gap: 12px;
  box-shadow: var(--shadow-xs); font-size: 13.8px; line-height: 1.65; color: var(--text);
  overflow-wrap: anywhere;
}
.path-step b {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.path-arrow { flex: 0 0 auto; display: flex; align-items: center; color: var(--blue); font-size: 20px; font-weight: 700; opacity: .5; }
.path-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.path-btns .btn { white-space: normal; }
html[dir="rtl"] .path-band { flex-direction: row-reverse; }
html[dir="rtl"] .path-arrow { transform: scaleX(-1); }
/* 注意：RTL 选择器带 html[dir] 属性，优先级 (0,2,1) 高于单类，手机端必须在媒体查询里
   用同样带 html[dir="rtl"] 的选择器覆盖，否则阿拉伯语下三张卡会挤成一行并横向溢出。 */
@media (max-width: 860px) {
  .path-band, html[dir="rtl"] .path-band { flex-direction: column; }
  .path-arrow, html[dir="rtl"] .path-arrow { justify-content: center; height: 22px; transform: rotate(90deg); }
}

/* ===== 多语言 / RTL（阿拉伯语） ===== */
.lang-btn { white-space: nowrap; min-width: 64px; }
html[dir="rtl"] body { font-family: Tahoma, "Segoe UI", "Noto Naskh Arabic", Arial, sans-serif; }
html[dir="rtl"] { text-align: right; }
html[dir="rtl"] .main-nav, html[dir="rtl"] .footer-grid, html[dir="rtl"] .hero-sub, html[dir="rtl"] .t-body { text-align: right; }
html[dir="rtl"] .program-row { flex-direction: row; }
html[dir="rtl"] .header-inner { flex-direction: row; }

/* ===== 宣传片区块（多语 / 点击才加载） ===== */
.promo-grid {
  display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 46px; align-items: center; justify-content: center;
  max-width: 940px; margin: 0 auto;
}
.promo-col { position: relative; min-width: 0; }
.promo-stage {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--primary-dark); box-shadow: var(--shadow-lg);
}
.promo-video { display: block; width: 100%; height: 100%; object-fit: cover; background: var(--primary-dark); }
.promo-veil {
  position: absolute; inset: 0; z-index: 2; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, rgba(8, 20, 40, .30), rgba(8, 20, 40, .62));
  color: #fff; font: inherit; padding: 24px; opacity: 1;
  transition: opacity .34s var(--ease);
}
.promo-veil.hide { opacity: 0; pointer-events: none; }
.promo-veil b { font-size: 17px; letter-spacing: .2px; }
.promo-veil small { font-size: 12.5px; color: rgba(255, 255, 255, .78); text-align: center; max-width: 240px; line-height: 1.55; }
.pv-bar {
  display: none; position: relative; width: 148px; height: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, .22); overflow: hidden;
}
.pv-bar i { position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: 999px; background: var(--gold); animation: pvBar 1.15s var(--ease) infinite; }
@keyframes pvBar { from { transform: translateX(-110%); } to { transform: translateX(340%); } }
.pv-load { display: none; }
.promo-veil.pv-loading { pointer-events: none; }
.promo-veil.pv-loading .pv-play,
.promo-veil.pv-loading .pv-cta,
.promo-veil.pv-loading small { display: none; }
.promo-veil.pv-loading .pv-bar,
.promo-veil.pv-loading .pv-load { display: block; }
.pv-play {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-gold); color: #2b1a00; font-size: 25px; padding-left: 5px;
  box-shadow: 0 14px 36px -12px rgba(245, 165, 36, .85), 0 0 0 10px rgba(245, 165, 36, .16);
  animation: pvPulse 2.6s var(--ease) infinite;
}
@keyframes pvPulse {
  0%, 100% { box-shadow: 0 14px 36px -12px rgba(245, 165, 36, .85), 0 0 0 10px rgba(245, 165, 36, .16); }
  50% { box-shadow: 0 14px 36px -12px rgba(245, 165, 36, .85), 0 0 0 18px rgba(245, 165, 36, .06); }
}
@media (prefers-reduced-motion: reduce) { .pv-play { animation: none; } }
.promo-langs {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px;
  padding: 26px 14px 13px;
  background: linear-gradient(180deg, rgba(6, 16, 32, 0), rgba(6, 16, 32, .86));
}
.pl-t { font-size: 11.5px; color: rgba(255, 255, 255, .62); }
.pl-b {
  font: inherit; font-size: 12px; line-height: 1; padding: 6px 12px; border-radius: 999px; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.pl-b:hover { background: rgba(255, 255, 255, .24); }
.pl-b.on { background: var(--gold); border-color: transparent; color: #2b1a00; font-weight: 700; }

.promo-side h3 { font-size: 22px; color: var(--navy); letter-spacing: -.4px; }
.promo-side > p { color: var(--muted); font-size: 14.5px; margin-top: 10px; }
.promo-list { list-style: none; margin: 20px 0 0; display: grid; gap: 11px; }
.promo-list li { position: relative; padding-left: 29px; font-size: 14.5px; color: var(--text); }
.promo-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #2b1a00; background: var(--grad-gold);
}
.promo-qr {
  margin-top: 24px; display: flex; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-xs);
}
.promo-qr img {
  width: 104px; height: 104px; flex: 0 0 104px; border-radius: 10px;
  border: 1px solid var(--line); image-rendering: pixelated;
}
.pq-txt { min-width: 0; }
.pq-txt b { display: block; font-size: 14px; color: var(--navy); line-height: 1.5; margin-bottom: 10px; }
.pq-txt .btn { margin: 0 8px 8px 0; }
.promo-note { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.62; }

html[dir="rtl"] .promo-list li { padding-left: 0; padding-right: 29px; }
html[dir="rtl"] .promo-list li::before { left: auto; right: 0; }
html[dir="rtl"] .promo-qr { flex-direction: row-reverse; }
html[dir="rtl"] .pq-txt .btn { margin: 0 0 8px 8px; }

@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr; gap: 26px; }
  .promo-col { display: flex; flex-direction: column; max-width: 340px; margin: 0 auto; }
  /* 手机上语言切换移到画面上方，否则会被右下角悬浮按钮压住 */
  .promo-stage { order: 2; }
  .promo-langs { order: 1; position: static; padding: 0 0 12px; background: none; gap: 7px; }
  .pl-t { color: var(--muted); }
  .pl-b { color: var(--navy); background: #fff; border-color: var(--border); }
  .pl-b:hover { background: var(--blue-soft); color: var(--navy); }
  .pl-b.on { background: var(--gold); color: #2b1a00; border-color: transparent; }
  .promo-side h3 { font-size: 19px; text-align: center; }
  .promo-side > p { text-align: center; }
  .promo-list, .promo-note { text-align: left; }
  html[dir="rtl"] .promo-list, html[dir="rtl"] .promo-note { text-align: right; }
  .promo-qr { max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 420px) {
  .promo-qr { flex-direction: column; align-items: flex-start; }
  html[dir="rtl"] .promo-qr { flex-direction: column; align-items: flex-end; }
  .promo-qr img { width: 124px; height: 124px; flex: 0 0 124px; }
}

/* ===== 资料下载页：招生简章下载卡 ===== */
.dl-sub {
  font-size: 17px; color: var(--navy); letter-spacing: -.2px; margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.dl-sub::before { content: ""; width: 4px; height: 17px; border-radius: 2px; background: var(--grad-gold); }

.guide-card {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.gc-cover {
  position: relative; display: block; background: var(--primary-dark);
  border-right: 1px solid var(--border);
}
.gc-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.gc-cover::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 20, 40, 0) 55%, rgba(8, 20, 40, .38));
  opacity: 0; transition: opacity .24s var(--ease);
}
.gc-cover:hover::after { opacity: 1; }
.gc-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  font-size: 11.5px; font-weight: 700; letter-spacing: .6px;
  padding: 5px 10px; border-radius: 7px; color: #2b1a00; background: var(--grad-gold);
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .55);
}

.gc-main { padding: 30px 34px 28px; min-width: 0; }
.gc-meta {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .2px;
  color: var(--navy); background: var(--blue-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 14px;
}
.gc-main h2 { font-size: 22px; line-height: 1.34; color: var(--navy); letter-spacing: -.4px; }
.gc-main > p { color: var(--muted); font-size: 14.5px; line-height: 1.72; margin-top: 11px; }
.gc-list { list-style: none; margin: 20px 0 0; display: grid; gap: 10px; }
.gc-list li { position: relative; padding-left: 29px; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.gc-list li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 19px; height: 19px; border-radius: 50%; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: #2b1a00; background: var(--grad-gold);
}
.gc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.gc-actions .btn { margin: 0; }
.gc-note { margin-top: 16px; font-size: 12px; color: var(--muted); line-height: 1.62; }

html[dir="rtl"] .gc-cover { border-right: 0; border-left: 1px solid var(--border); }
html[dir="rtl"] .gc-badge { left: auto; right: 14px; }
html[dir="rtl"] .gc-list li { padding-left: 0; padding-right: 29px; }
html[dir="rtl"] .gc-list li::before { left: auto; right: 0; }
html[dir="rtl"] .dl-sub { flex-direction: row-reverse; }

@media (max-width: 820px) {
  .guide-card { grid-template-columns: 1fr; }
  .gc-cover { max-width: 268px; margin: 26px auto 0; border-right: 0; border-radius: var(--radius-sm); overflow: hidden; }
  html[dir="rtl"] .gc-cover { border-left: 0; margin: 26px auto 0; }
  .gc-main { padding: 22px 22px 24px; text-align: center; }
  .gc-main h2 { font-size: 19px; }
  .gc-list { text-align: left; max-width: 460px; margin-left: auto; margin-right: auto; }
  html[dir="rtl"] .gc-list { text-align: right; }
  .gc-actions { justify-content: center; }
  .gc-actions .btn { flex: 1 1 210px; }
  .dl-sub { justify-content: center; }
}
