/* ============================================================
   身份规划总览页 identity.html
   依赖 style.css / themes.css
   ============================================================ */

/* ---------- Hero ---------- */
.id-hero {
  position: relative;
  overflow: hidden;
  /* 顶到页面最上沿，让固定头部悬停在深色图上（白色 LOGO 生效） */
  margin-top: calc(var(--header-h) * -1);
  padding: calc(var(--header-h) + 84px) 0 78px;
  color: #f4f3ec;
  background: var(--navy-900);
}
.id-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.id-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(.92) contrast(1.04);
}
.id-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(var(--scrim-rgb), .94) 0%, rgba(var(--scrim-rgb), .86) 42%, rgba(var(--scrim-rgb), .52) 100%);
}
.id-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.id-hero .eyebrow { color: var(--acc); }
.id-hero .eyebrow::before { background: var(--acc); }
.id-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.id-hero h1 em { font-style: italic; color: var(--acc); }
.id-hero-lead {
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.95;
  color: rgba(244, 243, 236, .74);
}
.id-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.id-hero-chips a {
  padding: 9px 16px;
  font-size: 12.5px;
  letter-spacing: .04em;
  color: #f4f3ec;
  border: 1px solid rgba(244, 243, 236, .3);
  border-radius: 2px;
  transition: border-color .2s ease, background .2s ease;
}
.id-hero-chips a:hover {
  border-color: var(--acc);
  background: rgba(47, 107, 255, .16);
  color: #fff;
}
.id-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(244, 243, 236, .18);
}
.id-hero-facts div { display: flex; flex-direction: column; gap: 5px; }
.id-hero-facts strong {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1;
  color: #fff;
}
.id-hero-facts span {
  font-size: 11.5px;
  letter-spacing: .12em;
  color: rgba(244, 243, 236, .5);
}

/* ---------- Section shell ---------- */
.id-body { padding: 0 0 96px; }
.id-sec { padding: 74px 0 0; }
.id-sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.id-sec-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--blue-600);
  margin-bottom: 10px;
}
.id-sec-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: .01em;
  line-height: 1.3;
}
.id-sec-head h2 em { font-style: italic; color: var(--blue-600); }
.id-sec-note {
  max-width: 360px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-500);
}

/* ---------- 香港：五条通道 ---------- */
.hk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--on-acc);
  background: var(--acc);
  border-radius: 2px;
  margin-bottom: 16px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.route-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  background: #fdfeff;
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
.route-card:hover {
  border-color: rgba(var(--brand-rgb), .5);
  box-shadow: 0 16px 38px rgba(15, 40, 92, .1);
  transform: translateY(-3px);
}
.route-card.is-main { border-top: 3px solid var(--blue-600); }
.route-mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--ink-300);
  margin-bottom: 8px;
}
.route-card h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
.route-sub { font-size: 12px; color: var(--ink-300); margin-bottom: 16px; letter-spacing: .04em; }
.route-cond {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink-700);
  margin-bottom: 16px;
  flex: 1;
}
.route-cond b { color: var(--ink-900); font-weight: 700; }
.route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.route-meta span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--ink-500);
  background: #f2f6fd;
  padding: 4px 9px;
  border-radius: 2px;
}
.route-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hk-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding: 26px 30px;
  background: var(--navy-900);
  border-radius: 3px;
  color: #f4f3ec;
}
.hk-cta-band p { font-size: 13.5px; line-height: 1.8; color: rgba(244, 243, 236, .7); max-width: 560px; }
.hk-cta-band p b { color: #fff; font-weight: 600; }
.hk-cta-band .btn { flex-shrink: 0; }

/* ---------- 其他目的地 ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.dest-card {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.dest-card:hover {
  border-color: rgba(var(--brand-rgb), .45);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(15, 40, 92, .09);
}
.dest-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.dest-head h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: .02em;
}
.dest-head span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--ink-300);
  text-transform: uppercase;
}
.dest-routes { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.dest-routes span {
  font-size: 11px;
  color: var(--blue-700, var(--blue-600));
  background: #f2f6fd;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: .02em;
}
.dest-card p { font-size: 12.5px; line-height: 1.8; color: var(--ink-500); }
.id-note {
  margin-top: 18px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--ink-300);
}

/* ---------- 怎么选 ---------- */
.logic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.logic-cell {
  padding: 24px 22px;
  background: #fff;
}
.logic-cell span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  color: var(--blue-600);
  margin-bottom: 10px;
}
.logic-cell h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.logic-cell p { font-size: 12.5px; line-height: 1.8; color: var(--ink-500); }

/* ---------- CTA + 免责 ---------- */
.id-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  margin-top: 64px;
  padding: 48px 44px;
  border-radius: 3px;
  background: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-deep, #174a9b) 100%);
  color: #fff;
}
.id-cta-txt h2 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  margin-bottom: 10px;
}
.id-cta-txt p { font-size: 13.5px; line-height: 1.85; color: rgba(255, 255, 255, .82); max-width: 560px; }
.id-cta-act { display: flex; gap: 10px; flex-wrap: wrap; }
.id-cta .btn-primary { background: #fff; color: var(--blue-700, #0f3570); border-color: #fff; }
.id-cta .btn-line { color: #fff; border-color: rgba(255, 255, 255, .55); }
.id-cta .btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.id-disclaimer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--ink-300);
}

@media (max-width: 1080px) {
  .route-grid { grid-template-columns: repeat(2, 1fr); }
  .dest-grid { grid-template-columns: repeat(2, 1fr); }
  .logic-grid { grid-template-columns: repeat(2, 1fr); }
  .id-sec-note { max-width: none; }
}
@media (max-width: 720px) {
  .id-hero { padding: calc(var(--header-h) + 54px) 0 56px; }
  .id-hero-facts { gap: 30px; }
  .route-grid, .dest-grid { grid-template-columns: 1fr; }
  .logic-grid { grid-template-columns: 1fr; }
  .id-sec { padding-top: 54px; }
  .hk-cta-band, .id-cta { padding: 26px 22px; }
  .id-body { padding-bottom: 64px; }
}
