/* =========================================================
   蒲公英移民 · 官网样式系统
   风格：高端奢华 · 暗金 (Dark Gold Luxury)
   设计稿参考：Ardot 文件 742004928994971
   响应式：移动优先，断点 768px / 1024px
   ========================================================= */

:root {
  /* 色彩 */
  --ink: #0b0b0d;          /* 主背景 深墨 */
  --ink-2: #0e0d0a;        /* 导航/页脚 */
  --panel: #14141a;        /* 卡片 */
  --gold: #c9a24b;         /* 主金 */
  --gold-soft: #e8c977;    /* 浅金 */
  --gold-bright: #d4af37;  /* 亮金（标题/Logo） */
  --text: #f5f1e8;         /* 主文字 暖白 */
  --text-2: #c9c2b5;       /* 次文字 */
  --muted: #a8a29a;        /* 弱化文字 */
  --faint: #7e786e;        /* 最弱文字 */
  --gold-line: rgba(201, 162, 75, 0.3);
  --gold-line-strong: rgba(201, 162, 75, 0.5);

  /* 字体 */
  --serif: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC",
          "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* 尺度 */
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

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

ul { margin: 0; padding: 0; list-style: none; }

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

/* ---------- 通用排版工具 ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  text-align: center;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
  color: var(--muted);
  font-size: 17px;
}

.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
/* 紧跟栏目标题区(hero--sub)的内容区：收窄顶部间距，避免标题与内容割裂 */
.section--sub { padding-top: 28px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 162, 75, 0.35); }
.btn--ghost {
  background: rgba(201, 162, 75, 0.12);
  color: var(--gold-soft);
  border-color: var(--gold-line-strong);
}
.btn--ghost:hover { background: rgba(201, 162, 75, 0.2); transform: translateY(-2px); }

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 13, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gold-line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
}
.nav__logo-icon { height: 32px; width: auto; display: block; }
.nav__logo-mark { color: var(--gold-bright); }
.nav__logo-sub { color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--text-2);
  padding: 8px 0;
  transition: color 0.2s ease;
}
.nav__link:hover, .nav__link.is-active, .nav__item.is-active > .nav__link { color: var(--gold-soft); }

/* 有二级分类时显示下拉箭头 */
.nav__item.has-sub > .nav__link::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.2s ease;
}
.nav__item.has-sub:hover > .nav__link::after { transform: rotate(225deg); }

/* 二级分类下拉菜单 */
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 180px;
  margin-top: 6px;
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 60;
}
.nav__item.has-sub:hover > .nav__sub,
.nav__item.has-sub:focus-within > .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a {
  display: block;
  padding: 10px 14px;
  color: var(--text-2);
  font-size: 15px;
  white-space: nowrap;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav__sub a:hover { background: rgba(212, 175, 55, 0.12); color: var(--gold-bright); }
.nav__cta { padding: 10px 22px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 24px; height: 2px; background: var(--gold-soft); border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 140px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(201,162,75,0.16), transparent 60%),
    linear-gradient(180deg, #0b0b0d 0%, #1a1712 60%, #14110c 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 85% 20%, rgba(232,201,119,0.12), transparent 70%);
  pointer-events: none;
}
.hero__deco {
  position: absolute;
  top: 60px; right: 8%;
  width: 220px; height: 220px;
  opacity: 0.85;
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(38px, 6vw, 66px);
  margin: 18px auto 24px;
  color: var(--text);
}
.hero__sub {
  max-width: 760px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--text-2);
}
.hero__actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 90px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--gold-line);
}
.stat__num {
  font-family: "Playfair Display", var(--serif);
  font-weight: 700;
  font-size: 44px;
  color: var(--gold-bright);
}
.stat__label { color: var(--muted); font-size: 14px; margin-top: 6px; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold-line-strong); box-shadow: var(--shadow); }
.card__tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}
.card__title { font-size: 22px; margin-bottom: 12px; }
.card__desc { color: var(--muted); font-size: 14.5px; }
.card__img {
  height: 180px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  background: linear-gradient(180deg, #2a2418 0%, #0b0b0d 100%);
}
.card__enter { margin-top: 18px; color: var(--gold); font-weight: 600; font-size: 14px; }

/* ---------- 国家卡（带图） ---------- */
.country {
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.country:hover { transform: translateY(-4px); border-color: var(--gold-line-strong); }
.country__img { height: 200px; background: linear-gradient(180deg, #2a2418 0%, #0b0b0d 100%); }
.country__body { padding: 22px 24px 26px; }
.country__region { color: var(--gold); font-size: 13px; font-weight: 600; }
.country__name { font-size: 24px; margin: 6px 0 10px; }
.country__hi { color: var(--muted); font-size: 14px; }

/* ---------- 流程 ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step__num {
  font-family: "Playfair Display", var(--serif);
  font-weight: 700;
  font-size: 56px;
  color: var(--gold);
  line-height: 1;
}
.step__title { font-size: 20px; margin: 14px 0 8px; }
.step__desc { color: var(--muted); font-size: 14px; }

/* ---------- 资讯 ---------- */
.news { background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--radius); overflow: hidden; }
.news__img { height: 160px; background: linear-gradient(180deg, #2a2418 0%, #0b0b0d 100%); }
.news__body { padding: 22px 24px 24px; }
.news__meta { color: var(--gold); font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.news__title { font-size: 18px; line-height: 1.35; margin-bottom: 10px; }
.news__desc { color: var(--muted); font-size: 13.5px; }

/* ---------- 评价 ---------- */
.review {
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 32px;
}
.review__quote { font-family: var(--serif); font-size: 18px; line-height: 1.7; color: var(--text); }
.review__name { color: var(--gold); font-weight: 600; margin-top: 22px; font-size: 16px; }
.review__role { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* ---------- CTA 条 ---------- */
.cta-band {
  background: var(--panel);
  border: 1px solid var(--gold-line-strong);
  border-radius: 16px;
  padding: 56px 32px;
  text-align: center;
}
.cta-band h2 { font-size: 28px; margin-bottom: 28px; }

/* ---------- 关于页 ---------- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-intro__title { font-size: 28px; color: var(--gold-bright); margin-bottom: 20px; }
.about-intro__text { color: var(--text-2); font-size: 16px; line-height: 1.9; }
.about-intro__img { height: 360px; border-radius: var(--radius); background: linear-gradient(180deg, #2a2418 0%, #0b0b0d 100%); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.timeline__year { font-family: "Playfair Display", var(--serif); font-weight: 700; font-size: 28px; color: var(--gold-bright); }
.timeline__desc { color: var(--muted); font-size: 14px; margin-top: 8px; }

/* ---------- 表单 ---------- */
.form { background: var(--panel); border: 1px solid var(--gold-line); border-radius: var(--radius); padding: 36px; }
.form h3 { font-size: 20px; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field input, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 120px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info__title { font-size: 28px; color: var(--gold-bright); margin-bottom: 24px; }
.contact-info p { color: var(--text-2); font-size: 16px; margin-bottom: 16px; }
.map-ph {
  height: 360px; border-radius: var(--radius);
  background: linear-gradient(180deg, #2a2418 0%, #0b0b0d 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 18px;
  border: 1px dashed var(--gold-line);
}

/* ---------- 百科 ---------- */
.cat-card {
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 32px 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--gold-line-strong); }
.cat-card__title { font-size: 22px; margin-bottom: 12px; }
.cat-card__desc { color: var(--muted); font-size: 14px; flex: 1; }
.cat-card__enter { color: var(--gold); font-weight: 600; margin-top: 18px; }
.article-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.article-row:hover { border-color: var(--gold-line-strong); transform: translateX(4px); }
.article-row__title { font-family: var(--serif); font-weight: 700; font-size: 18px; }
.article-row__meta { color: var(--muted); font-size: 13px; margin-top: 6px; }
.article-row__arrow { color: var(--gold); font-size: 22px; flex: none; }

/* ---------- 页脚 ---------- */
.footer { background: var(--ink-2); border-top: 1px solid var(--gold-line); padding: 72px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 24px; }
.footer__logo-icon { height: 30px; width: auto; display: block; }
.footer__logo-mark { color: var(--gold-bright); }
.footer__logo-sub { color: var(--text); }
.footer__slogan { color: var(--text-2); font-size: 15px; margin-top: 12px; }
.footer__desc { color: var(--faint); font-size: 13px; margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer__col h4 { font-family: var(--sans); font-size: 15px; color: var(--text); margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 12px; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--gold-soft); }
.footer__bar { text-align: center; color: var(--faint); font-size: 13px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--gold-line); }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 护照项目（首页栏目，动态调用 passport 模块） ---------- */
.passport__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.passport__titles { flex: 1 1 420px; }
.passport__titles .section-desc { margin-bottom: 0; }
.passport__arrows { display: flex; gap: 12px; padding-bottom: 6px; }
.passport__arrow {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  color: var(--gold-soft);
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.passport__arrow:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

.passport__viewport {
  margin-top: 36px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.passport__viewport::-webkit-scrollbar { display: none; }
.passport__viewport { scrollbar-width: none; }
.passport__track { display: flex; gap: 24px; width: max-content; }

.pp-card {
  flex: 0 0 360px;
  max-width: 85vw;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pp-card:hover { transform: translateY(-6px); border-color: var(--gold-line-strong); box-shadow: 0 22px 50px rgba(0,0,0,0.5); }

.pp-card__media {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #1c1a14, #0e0d0a);
  overflow: hidden;
}
.pp-card__media::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(11,11,13,0.85) 0%, rgba(11,11,13,0.28) 38%, rgba(11,11,13,0) 66%);
}
.pp-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-card__brand {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: var(--serif); font-weight: 700; font-size: 14px;
  color: #0b0b0d;
  padding: 5px 10px; border-radius: 8px;
  background: rgba(212,175,55,0.92);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.pp-card__tagline {
  position: absolute; bottom: 14px; left: 14px; z-index: 2;
  max-width: 80%;
  padding: 6px 12px;
  font-size: 12px; color: #0b0b0d; font-weight: 600;
  background: rgba(212,175,55,0.92);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.pp-card__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pp-card__head { display: flex; align-items: center; gap: 10px; }
.pp-card__flag {
  flex: 0 0 auto; width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
}
.pp-card__title {
  flex: 1 1 auto;
  font-family: var(--serif); font-weight: 700; font-size: 18px;
  color: var(--text); line-height: 1.3;
}
.pp-card__price { flex: 0 0 auto; color: var(--gold-bright); font-weight: 700; font-size: 16px; white-space: nowrap; }

.pp-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-tag {
  padding: 4px 12px; font-size: 12px;
  color: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
}

.pp-card__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.pp-cell {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--gold-line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 4px;
}
.pp-cell__k { font-size: 12px; color: var(--muted); }
.pp-cell__v { font-size: 15px; font-weight: 600; color: var(--text); }

.pp-card__stars { color: var(--gold-bright); font-size: 15px; letter-spacing: 2px; }
.pp-card__desc { font-size: 13px; color: var(--text-2); line-height: 1.7; }

.passport__dots { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.passport__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(212,175,55,0.35); border: 0; padding: 0; cursor: pointer;
  transition: background 0.2s ease, width 0.2s ease;
}
.passport__dot.is-active { background: var(--gold-bright); width: 22px; border-radius: 999px; }
.passport__more { display: flex; justify-content: center; margin-top: 24px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process, .timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero__deco { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; gap: 18px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(14,13,10,0.97); padding: 24px; border-bottom: 1px solid var(--gold-line);
  }
  /* 移动端：二级菜单直接展开，无需悬浮 */
  .nav__links.is-open .nav__item { width: 100%; flex-direction: column; align-items: flex-start; gap: 2px; }
  .nav__links.is-open .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    min-width: 0; width: 100%; margin: 0; padding: 4px 0 4px 16px;
    background: transparent; border: 0; box-shadow: none;
  }
  .nav__links.is-open .nav__sub a { white-space: normal; padding: 8px 12px; }
  .nav__links.is-open .nav__item.has-sub > .nav__link::after { display: none; }
  .hero { padding: 90px 0 100px; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .grid--3, .grid--2, .grid--4, .about-intro, .contact-grid { grid-template-columns: 1fr; }
  .process, .timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bar { margin-top: 40px; }
  .passport__head { align-items: center; }
  .passport__arrows { width: 100%; justify-content: center; padding-bottom: 0; }
  .pp-card { flex-basis: 80vw; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__actions .btn { width: 100%; max-width: 280px; }
}

/* ---------- 可访问性 ---------- */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .country, .cat-card, .article-row { transition: none; }
}

/* =========================================================
   迅睿动态页（列表 / 详情 / 单页 / 面包屑 / 分页）
   ========================================================= */
.hero--sub {
  padding: 64px 0 22px;
  background: linear-gradient(135deg, #221b12 0%, #0e0d0a 72%);
  border-bottom: 1px solid var(--gold-line);
}
.hero--sub .hero__inner { max-width: 860px; }
.hero--sub .eyebrow { margin-bottom: 14px; }

/* 各栏目 hero 配色：按 $cat.id 区分（3→cyan / 4→purple / 5→green / 6→teal / 13→rose），
   其余栏目沿用 .hero--sub 默认暗金；均保持缩小高度与同色底边线 */
.hero--c-cyan  { background: linear-gradient(135deg, #0f232c 0%, #0e0d0a 72%); border-bottom-color: #56a0b4; }
.hero--c-purple{ background: linear-gradient(135deg, #1f1531 0%, #0e0d0a 72%); border-bottom-color: #9678c8; }
.hero--c-green { background: linear-gradient(135deg, #0f261c 0%, #0e0d0a 72%); border-bottom-color: #78b864; }
.hero--c-teal  { background: linear-gradient(135deg, #0f2622 0%, #0e0d0a 72%); border-bottom-color: #4fb0a0; }
.hero--c-rose  { background: linear-gradient(135deg, #2a1620 0%, #0e0d0a 72%); border-bottom-color: #d4869a; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px; color: var(--faint); margin: 12px 0 18px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb .sep { opacity: .45; }

.article { max-width: 860px; margin: 0 auto; }
.article__title { font-family: var(--serif); font-size: 32px; line-height: 1.4; color: var(--gold-bright); margin: 6px 0 14px; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--muted);
  padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--gold-line);
}
.article__body { font-size: 16px; line-height: 1.9; color: var(--text-2); }
.article__body p { margin: 0 0 18px; }
.article__body img { max-width: 100%; border-radius: 10px; margin: 18px 0; }
.article__body h2, .article__body h3 { color: var(--text); margin: 28px 0 12px; }
.article__pager {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--gold-line); font-size: 14px;
}
.article__pager a:hover { color: var(--gold-soft); }

.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 32px 0 8px; }
.pager a, .pager span, .pager b {
  display: inline-flex; min-width: 40px; height: 40px; padding: 0 12px;
  align-items: center; justify-content: center; font-size: 14px; color: var(--text-2);
  border: 1px solid var(--gold-line); border-radius: var(--radius-sm);
}
.pager a:hover, .pager b {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: #1a1408; border-color: transparent; font-weight: 600;
}

.card--media { padding: 0; overflow: hidden; }
.card__thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 18px 20px 22px; }
.card__tag { display: inline-block; font-size: 12px; letter-spacing: .08em; color: var(--gold-soft); margin-bottom: 10px; }
.card__title { font-size: 18px; color: var(--text); margin-bottom: 8px; }
.card__desc { font-size: 14px; color: var(--muted); line-height: 1.7; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 18px; }
.related-grid .card__title { font-size: 16px; }

.cta-band {
  background: linear-gradient(135deg, #14110a, #1c160c);
  border: 1px solid var(--gold-line); border-radius: 16px;
  padding: 48px; text-align: center; max-width: 980px; margin: 56px auto;
}
.cta-band h2 { font-family: var(--serif); color: var(--gold-bright); font-size: 28px; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 720px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; color: var(--text-2); }
.form-field input, .form-field textarea, .form-field select {
  background: var(--ink-2); border: 1px solid var(--gold-line); border-radius: var(--radius-sm);
  color: var(--text); padding: 12px 14px; font-size: 15px; font-family: var(--sans);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold-soft);
}
.form-note { font-size: 13px; color: var(--faint); margin-top: 14px; }

@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .article__title { font-size: 26px; }
  .cta-band { padding: 32px 22px; }
}

/* ===== 移民项目页：条件筛选 + 图文列表 ===== */
.proj-filter {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  padding: 10px;
  margin-bottom: 14px;
}
.pfr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.pfl {
  flex: 0 0 64px;
  color: var(--gold-soft);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg-btn {
  font: inherit;
  font-size: 12.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
}
.seg-btn:hover { color: var(--text); border-color: var(--gold-line-strong); }
.seg-btn.is-active {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: var(--gold-bright);
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(201, 162, 75, 0.3);
}

/* 筛选行保持无彩色背景（沿用 .pfr 基础样式） */

.proj-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 2px 22px;
}
.proj-count { color: var(--muted); font-size: 13px; }
.proj-count b { color: var(--gold-soft); }
.proj-reset {
  font: inherit;
  font-size: 13px;
  color: var(--text-2);
  background: none;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: color .2s, border-color .2s;
}
.proj-reset:hover { color: var(--text); border-color: var(--gold-line-strong); }

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.proj-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-line-strong);
  box-shadow: var(--shadow);
}
.proj-card.is-hidden { display: none; }
.proj-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-2);
}
.proj-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.proj-card:hover .proj-thumb img { transform: scale(1.05); }
.proj-flag {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 22px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55));
}
.proj-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.proj-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.proj-flag-emoji { font-size: 18px; }
.ptags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ptag {
  font-size: 12px;
  color: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  padding: 3px 10px;
}
.pjine { margin-left: auto; color: var(--gold-bright); font-weight: 700; font-size: 15px; }
.spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(201, 162, 75, 0.16);
  border-bottom: 1px solid rgba(201, 162, 75, 0.16);
}
.spec div { display: flex; flex-direction: column; gap: 2px; }
.spec span { font-size: 11px; color: var(--muted); }
.spec b { font-size: 13.5px; color: var(--text); font-weight: 600; }
.pstars {
  position: relative;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 2px;
}
.pstars .ps-track { color: rgba(201, 162, 75, 0.2); }
.pstars .ps-fill {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-bright);
  width: calc(var(--z, 5) / 5 * 100%);
  overflow: hidden;
  white-space: nowrap;
}
.proj-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.proj-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 60px 0;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .proj-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr; }
  .pfl { flex-basis: 56px; }
}
