/* ==========================================================
   麒麟港生活 - 身份规划页（identity.html）专属样式
   依赖：style.css（变量/基础） + common.css（公共头部/尾部）
   ========================================================== */

/* 通用板块标题：英文 Times + 小副标题（与 education .edu-head 同风格） */
.id-head { text-align: center; }
.id-head h2 {
  font-family: var(--title-font);
  font-size: 40px; font-weight: 400; letter-spacing: 1px;
  line-height: 1.4;
  color: var(--navy);
}
.id-head p { margin-top: 2px; font-size: 14px; letter-spacing: 3px; color: #6b7a93; }
.id-head.light h2 { color: #fff; }
.id-head.light p { color: rgba(255,255,255,.72); }

.id-head h2.st1 { color: #48443b; }
.id-head p.st2 { color:#48443b }


/* 带箭头按钮：通用箭头 hover 动画（本页所有箭头按钮复用） */
.idb-btn i, .vc-btn i, .icase-btn i, .cta-btn i {
  font-style: normal; display: inline-block;
  transition: transform .3s ease;
}
.idb-btn:hover i, .vc-btn:hover i, .icase-btn:hover i, .cta-btn:hover i {
  transform: translateX(6px);
}

/* ======================= Banner ======================= */
.id-banner {
  /* 头部为 fixed(88px)，banner 整体下移，避免顶部被导航遮挡 */
  margin-top: 88px;
  min-height: 600px;
  display: flex; align-items: center;
  text-align: center;
  background:
    /* linear-gradient(rgba(13,26,50,.42), rgba(13,26,50,.52)), */
    url("../images/sub/identity/banner.jpg") center/cover no-repeat;
}
.id-banner .container { width: 100%; }
.idb-tag {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--title-font);
  font-size: 15px; letter-spacing: 5px; color: #49423a;
}
.idb-tag i { display: block; width: 64px; height: 1px; background: #49423a; }
.id-banner h1 {
  margin-top: 26px;
  font-family: "Times New Roman", "STSong", "SimSun", "NSimSun", var(--cn-font);
  font-size: 44px; font-weight: 700; letter-spacing: 3px;
  color: #49423a;
  text-shadow: 0.06px 0 0 #49423a, -0.06px 0 0 #49423a;
}
.id-banner h1 .gd { color: #49423a; }
.idb-sub {
  max-width: 820px; margin: 20px auto 0;
  font-size: 16px; letter-spacing: 1.5px; line-height: 2;
  color: #49423a;
}
.idb-btn {
  display: inline-block; margin-top: 44px; padding: 14px 44px;
  background: linear-gradient(100deg, #ceb891, #efe3cb 55%, #ceb891);
  border-radius: 8px;
  color: #49423a; font-size: 17px; font-weight: 700; letter-spacing: 3px;
  box-shadow: 0 8px 12px rgba(0,0,0,.08);
  transition: filter .25s, transform .25s;
}
.idb-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

/* ======================= P1：Why Us ======================= */
.id-why { background: #f8f7f2; padding: 84px 0 66px; }
.why-body { display: flex; gap: 90px; align-items: flex-start; margin-top: 60px; }
.why-left { width: 40%; flex: none; }
.why-left h3 {
  font-family: "Times New Roman", "STSong", "SimSun", "NSimSun", var(--cn-font);
  font-size: 36px; font-weight: 600; line-height: 1.75; color: var(--navy);
}
.why-left h3 .gd { color: var(--gold-deep); }
.why-quote { margin-top: 42px; padding-left: 22px; border-left: 3px solid var(--gold); }
.why-quote .q-tag { font-size: 13px; letter-spacing: 2px; color: #9aa3b5; }
.why-quote .q-main { margin-top: 12px; font-size: 19px; font-weight: 600; line-height: 1.9; color: var(--navy); }
.why-right { flex: 1; padding-top: 4px; }
.why-item { display: flex; gap: 26px; align-items: flex-start; padding: 27px 0; }
.why-item + .why-item { border-top: 1px solid #dcd9cf; }
.why-item:first-child { padding-top: 0; }
.why-item:last-child { padding-bottom: 0; }
.why-ico { flex: none; width: 46px; height: 46px; margin-top: 2px; }
.why-ico svg {
  width: 100%; height: 100%;
  fill: none; stroke: var(--gold-deep);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.why-item h4 { font-size: 17px; font-weight: 700; letter-spacing: 1px; color: var(--gold-deep); }
.why-item p { margin-top: 10px; font-size: 14px; line-height: 1.9; color: #44526b; text-align: justify; }

/* ======================= P2：Visa Categories（4张卡片） ======================= */
.id-visa { background: #FAF8F4; padding: 66px 0 96px; }
.visa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 60px; }
.visa-card {
  position: relative; display: flex; flex-direction: column;
  min-height: 360px; padding: 36px 24px 24px;
  border-radius: 14px; overflow: hidden; text-align: center;
  box-shadow: 0 14px 34px rgba(17,36,67,.16);
  transition: transform .3s ease, box-shadow .3s ease;
}
/* 桌面 4 列时按 UI 卡片比例再整体缩短一档 */
@media (min-width: 1201px) {
  .visa-card { aspect-ratio: 4 / 5; min-height: 0; }
}
/* 卡片背景（url 相对本文件：css/ -> images/） */
.vc-1 { background:  url("../images/sub/identity/img1.png") center/cover no-repeat; }
.vc-2 { background:  url("../images/sub/identity/img2.png") center/cover no-repeat; }
.vc-3 { background:  url("../images/sub/identity/img3.png") center/cover no-repeat; }
.vc-4 { background:  url("../images/sub/identity/img4.png") center/cover no-repeat; }
.visa-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(17,36,67,.26); }
.vc-en {
  font-family: var(--title-font);
  font-size: 40px; font-weight: 400; letter-spacing: 2px; line-height: 1.2;
  color: #e8d2a9;
}
.vc-cn { margin-top: 12px; font-size: 19px; font-weight: 600; letter-spacing: 2px; color: #fff; }
/* 三行描述文字靠左对齐；卡片左右 padding 对称(24px)，文字块占满内容区后左右间距相等 */
.vc-desc { margin-top: 20px; padding-left: 60px; font-size: 13px; line-height: 2.1; color:#fff; text-align: left; }
.vc-foot { margin-top: auto; padding-top: 18px; position: relative; }
.vc-foot::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: rgba(255,255,255,.28);
}
.vc-btn {
  display: inline-block; padding: 9px 22px;
  background: #e6d3a9; border-radius: 4px;
  color: #676050; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  transition: background .25s, filter .25s;
}
.vc-btn:hover { background: var(--gold); filter: brightness(1.06); }

/* ======================= P3：The 7-Year Timeline（时间轴，SVG 实现） ======================= */
.id-timeline {  padding: 88px 0 60px;
  background: url("../images/sub/identity/bg1.jpg") center/cover no-repeat;;
}
.tl-title {
  margin-top: 52px; text-align: center;
  font-family: "Times New Roman", "STSong", "SimSun", "NSimSun", var(--cn-font);
  font-size: 34px; font-weight: 600; letter-spacing: 2px;
  color: #49423a;
}
.tl-svg-wrap { max-width: 1080px; margin: 10px auto 0; }
.tl-svg { display: block; width: 100%; height: auto; }
/* 发光蛇形路径 */
.tl-path {
  fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round;
  filter:
  drop-shadow(0 0 2px rgba(233,213,163,.85))
  drop-shadow(0 0 4px rgba(255, 200, 80, 0.5));
}
/* 6 个节点：统一样式（外白圈+中黄+中心白点），4 大 2 小，仅保留发光 */
.tl-dot {
  filter: drop-shadow(0 0 6px rgba(243,226,184,.95)) drop-shadow(0 0 16px rgba(233,213,163,.55));
}
/* SVG 内文字 */
.tl-svg text { font-family: var(--cn-font); }
.tl-svg .st-no { font-size: 15px; letter-spacing: 2px; fill: #49423a; font-family: var(--title-font); }
.tl-svg .st-h  { font-size: 17px; font-weight: 600; letter-spacing: 1px; fill: #49423a; }
.tl-svg .st-p  { font-size: 13.5px; fill: #49423a; }
/* 移动端纵向列表（<992px 显示） */
.tl-list { display: none; }

/* ======================= P4：The Experts（团队 暂停） ======================= */
.id-experts { background: #f8f7f2; padding: 88px 0 96px; }
.exp-title {
  margin-top: 52px; text-align: center;
  font-family: "Times New Roman", "STSong", "SimSun", "NSimSun", var(--cn-font);
  font-size: 30px; font-weight: 600; letter-spacing: 3px;
  color: #112444;
}
.exp-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 56px;
  max-width: 1160px; margin: 48px auto 0;
}
/* 图片比例 1:1.05；sbg.png 上下渐变遮罩；hover 人物轻微放大 */
.exp-pic {
  position: relative; aspect-ratio: 1 / 1.05;
  background: #d9d9d9; overflow: hidden; border-radius: 2px; border-radius: 10px;
}
.exp-pic img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .45s ease;
}
.exp-card:hover .exp-pic img { transform: scale(1.06); }
/* sbg.png：不再铺满整图，铺在照片底部——宽度=图片宽，高度按原图比例(928x157)自动 */
.exp-shade {
  position: absolute; left: 0; right: 0; bottom: 0;
  aspect-ratio: 928 / 157; pointer-events: none;
  background: url("../images/sub/identity/sbg.png") bottom center / 100% 100% no-repeat;
}
.exp-name { margin-top: 12px; font-family: var(--title-font); font-size: 25px; letter-spacing: 1px; color: var(--gold-deep); line-height: 1.2;  }
.exp-role { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--navy); }
.exp-panel {
  max-width: 1160px; margin: 72px auto 0; padding: 56px 48px 52px;
  background: var(--navy); border-radius: 16px; text-align: center;
}
.exp-panel h3 {
  font-family: "Times New Roman", "STSong", "SimSun", "NSimSun", var(--cn-font);
  font-size: 28px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold-light);
}
.exp-panel .ep-desc {
  max-width: 820px; margin: 18px auto 0;
  font-size: 14px; line-height: 2; color: rgba(255,255,255,.78);
}
.exp-cols { display: flex; justify-content: center; gap: 90px; margin-top: 42px; text-align: left; }
.exp-col .ec-head { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--gold-light); }
.exp-col .ec-head svg { width: 20px; height: 20px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.exp-col ul { margin-top: 16px; }
.exp-col li { font-size: 14px; line-height: 2.2; color: rgba(255,255,255,.85); }

/* ======================= P5：Success Cases（案例） ======================= */
.id-cases { background: #eeeae1; padding: 88px 0 96px; }
.case3-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  max-width: 1160px; margin: 60px auto 0;
}
.icase-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: 14px; padding: 38px 34px 34px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.icase-card::after {
  content: ""; position: absolute; right: -50px; top: -50px; width: 230px; height: 230px;
  background: radial-gradient(circle, rgba(17,36,67,.055) 0%, rgba(17,36,67,0) 70%);
  pointer-events: none;
}
.ic-top { display: flex; align-items: baseline; gap: 6px; color: var(--gold-deep); }
.ic-top .num { font-family: var(--title-font); font-size: 58px; font-weight: 700; line-height: 1; }
.ic-top .unit { font-size: 16px; font-weight: 700; }
.icase-card h3 { margin-top: 22px; font-size: 21px; font-weight: 700; letter-spacing: 1px; color: var(--navy); }
.icase-card ul { margin-top: 24px; }
.icase-card li { font-size: 14px; line-height: 2.2; color: #44526b; }
.icase-btn {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 16px; border-radius: 6px; line-height: 1.4;
  background: linear-gradient(100deg, #c2a374, #dfc28a);
  color: #16294b; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  transition: filter .25s;
}
.icase-btn:hover { filter: brightness(1.07); }

/* ======================= P6：CTA + 评估表单 ======================= */
.id-cta { background: linear-gradient(to right, #d0b894, #f1e5cd,#d0b894); padding: 0 0 110px; }
#idContact { scroll-margin-top: 76px; }
.cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.cta-left .cta-tag { font-family: var(--title-font); font-size: 14px; letter-spacing: 5px; color: #49423a; }
.cta-left h2 {
  margin-top: 26px;
  font-family: "Times New Roman", "STSong", "SimSun", "NSimSun", var(--cn-font);
  font-size: 42px; font-weight: 600; line-height: 1.7; letter-spacing: 3px;
  color: #49423a;
}
.cta-panel {
  flex: none; width: 720px; max-width: 100%; padding: 36px 32px 28px;
  background: #fff; margin-top: 50px;
  border: 1px solid #9c9384; border-radius: 16px;
}
.cta-row { display: flex; gap: 16px; }
.cta-panel .fg { flex: 1; }
.cta-panel .fg.mt { margin-top: 16px; }
.cta-panel input, .cta-panel select {
  width: 100%; height: 48px; padding: 0 14px;
  background: #f2eadd;
  border: 1px solid #9f7835; border-radius: 8px;
  color: #a6a39e; font-size: 14px; outline: none;
  transition: border-color .25s;
}
.cta-panel input:focus, .cta-panel select:focus { border-color: var(--gold); }
.cta-panel input::placeholder { color:#a6a39e; }
.cta-panel select { color:#a6a39e; }
.cta-panel select option { color: #4b423b; }
.cta-btn {
  margin-top: 22px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 48px; border: none; border-radius: 8px; cursor: pointer;
  background: linear-gradient(100deg, #cfb791, #ece1c5 55%, #cfb791);
  color: #4b423b; font-size: 16px; font-weight: 700; letter-spacing: 2px;
  transition: filter .25s;
}
.cta-btn:hover { filter: brightness(1.08); }
.id-cta .form-tip { color: #ff9d8a; }
.id-cta .form-tip.ok { color: #8fd694; }


/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1200px) {
  .visa-grid { grid-template-columns: repeat(2, 1fr); }
  .case3-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .id-banner { min-height: 480px; }
  .why-body { flex-direction: column; gap: 48px; }
  .why-left { width: 100%; }

  /* 时间轴：H5 退化为纵向列表 */
  .tl-svg-wrap { display: none; }
  .tl-list { display: block; max-width: 560px; margin: 32px auto 0; }
  .tl-list li { position: relative; padding-left: 20px; margin-bottom: 30px; }
  .tl-list li::before {
    content: ""; position: absolute; left: 0; top: 8px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #ecd7a4; box-shadow: 0 0 8px rgba(236,215,164,.8);
  }
  .tl-list li:last-child { margin-bottom: 0; }
  .tl-list .st-no { font-family: var(--title-font); font-size: 14px; letter-spacing: 3px; color: rgba(255,255,255,.6); }
  .tl-list h4 { margin-top: 4px; font-size: 16px; font-weight: 600; color: var(--gold-light); }
  .tl-list p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.78); }

  .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .exp-cols { flex-direction: column; align-items: flex-start; gap: 34px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .case3-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .cta-wrap { flex-direction: column; align-items: flex-start; gap: 44px; }
  .cta-panel { width: 100%; }
}

@media (max-width: 640px) {
  .id-banner { margin-top: 68px; min-height: 430px; }
  .id-banner h1 { font-size: 27px; letter-spacing: 2px; }
  .idb-sub { font-size: 14px; padding: 0 4%; }
  .idb-btn { margin-top: 34px; padding: 12px 34px; font-size: 15px; }
  .id-head h2 { font-size: 30px; }

  .id-why { padding: 56px 0 40px; }
  .why-left h3 { font-size: 26px; }
  .why-quote .q-main { font-size: 16px; }

  .id-visa { padding: 46px 0 64px; }
  .visa-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .visa-card { min-height: 0; padding: 36px 22px 26px; }

  .vc-desc { margin-bottom: 30px;}

  .id-timeline { padding: 60px 0 40px; }
  .tl-title { margin-top: 36px; font-size: 24px; }

  .id-experts { padding: 60px 0 64px; }
  .exp-title { margin-top: 36px; font-size: 24px; }
  .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .exp-panel { margin-top: 48px; padding: 40px 24px; }
  .exp-panel h3 { font-size: 22px; }

  .id-cases { padding: 60px 0 64px; }
  .case3-grid { margin-top: 40px; }
  .icase-card { padding: 30px 22px; }

  .id-cta { padding-bottom: 70px; }
  .cta-left h2 { font-size: 28px; }
  .cta-panel { padding: 28px 20px 22px; }
  .cta-row { flex-direction: column; gap: 16px; }
  .cta-panel .fg.mt { margin-top: 0; }
  .cta-btn { font-size: 14px; letter-spacing: 1px; }
}
