/* ==========================================================================
   青胜移民 · 站点样式
   沿用原站设计语言：主色 #2e88ed / 深色 #393d49 / 浅灰底 #f5f7fa
   仅补充原站未覆盖的移民业务组件，不改动静态资源里的原有样式
   ========================================================================== */

:root {
  --imm-blue: #2e88ed;
  --imm-blue-d: #1f6fd0;
  --imm-blue-l: #eaf3fe;
  --imm-ink: #1d2430;
  --imm-ink-2: #4a5260;
  --imm-ink-3: #7b8698;
  --imm-line: #e8eaee;
  --imm-bg: #f5f7fa;
}

/* ---------- 首屏 Banner ---------- */
.imm-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}
.imm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 18, 30, .9) 0%, rgba(10, 18, 30, .72) 48%, rgba(10, 18, 30, .4) 100%);
}
.imm-hero > .layui-container { position: relative; z-index: 2; }

.imm-hero-home { padding: 96px 0 104px; }
.imm-hero-page { padding: 64px 0 58px; }

.imm-eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #8fc0f7;
  margin-bottom: 16px;
}
.imm-hero h1 {
  font-size: 42px;
  line-height: 1.28;
  font-weight: 600;
  margin: 0 0 14px;
  color: #fff;
}
.imm-hero-page h1 { font-size: 32px; }
.imm-hero .en-title {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 18px;
}
.imm-hero .lead {
  font-size: 15.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .82);
  max-width: 720px;
  margin: 0;
}
.imm-hero .btns {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.imm-hero-tags {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.imm-hero-tags span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 100px;
  padding: 5px 14px;
}

/* ---------- 按钮 ---------- */
.imm-btn {
  display: inline-block;
  height: 46px;
  line-height: 44px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14.5px;
  background: var(--imm-blue);
  color: #fff;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.imm-btn:hover { background: var(--imm-blue-d); color: #fff; }
.imm-btn.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}
.imm-btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.imm-btn.sm { height: 38px; line-height: 36px; padding: 0 20px; font-size: 13.5px; }

/* ---------- 面包屑 ---------- */
.imm-crumb {
  font-size: 13px;
  color: var(--imm-ink-3);
  padding: 16px 0;
  border-bottom: 1px solid var(--imm-line);
  background: #fff;
}
.imm-crumb a { color: var(--imm-ink-3); text-decoration: none; }
.imm-crumb a:hover { color: var(--imm-blue); }
.imm-crumb i { font-style: normal; margin: 0 8px; color: #c3cad6; }

/* ---------- 页面主体两栏 ---------- */
.imm-wrap {
  display: grid;
  grid-template-columns: minmax(0, 862px) 296px;
  gap: 58px;
  justify-content: center;
  align-items: start;
  padding: 44px 0 76px;
}
.imm-main > section + section { margin-top: 50px; }

/* ---------- 标题 ---------- */
.imm-h2 {
  position: relative;
  font-size: 22px;
  font-weight: 600;
  color: var(--imm-ink);
  margin: 0 0 6px;
  padding-left: 15px;
  line-height: 1.4;
}
.imm-h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  bottom: 7px;
  width: 3px;
  border-radius: 2px;
  background: var(--imm-blue);
}
.imm-h2-en {
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aab5c4;
  padding-left: 15px;
  margin-bottom: 20px;
}
.imm-h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--imm-ink);
  margin: 26px 0 12px;
}

/* ---------- 正文 ---------- */
.imm-p {
  font-size: 15px;
  line-height: 1.95;
  color: var(--imm-ink-2);
  margin: 0 0 14px;
}
.imm-p strong { color: var(--imm-ink); font-weight: 600; }

/* ---------- 要点提示框 ---------- */
.imm-note {
  border: 1px solid #d6e6fb;
  background: #f4f9ff;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #3b5675;
  margin: 20px 0;
}
.imm-note b { color: #1f4e79; }

/* ---------- 特性卡片 ---------- */
.imm-feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 22px;
}
.imm-feat-grid.cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.imm-feat {
  border: 1px solid var(--imm-line);
  border-radius: 10px;
  background: #fff;
  padding: 20px 18px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.imm-feat:hover {
  border-color: #cfe3fb;
  box-shadow: 0 8px 22px rgba(46, 136, 237, .09);
  transform: translateY(-2px);
}
.imm-feat .ic {
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 8px;
  background: var(--imm-blue-l);
  color: var(--imm-blue);
  font-size: 15px;
  margin-bottom: 12px;
}
.imm-feat h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--imm-ink);
  margin: 0 0 7px;
  line-height: 1.5;
}
.imm-feat p {
  font-size: 13px;
  line-height: 1.8;
  color: #6b7688;
  margin: 0;
}

/* ---------- 勾选列表 ---------- */
.imm-check {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 6px 26px;
}
.imm-check li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--imm-ink-2);
}
.imm-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--imm-blue);
  border-bottom: 2px solid var(--imm-blue);
  transform: rotate(-45deg);
}

/* ---------- 编号步骤 ---------- */
.imm-steps { margin-top: 22px; }
.imm-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--imm-line);
}
.imm-step:last-child { border-bottom: 0; padding-bottom: 0; }
.imm-step .n {
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: var(--imm-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.imm-step h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--imm-ink);
  margin: 4px 0 8px;
}
.imm-step ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.imm-step ul li {
  position: relative;
  padding-left: 15px;
  font-size: 13.5px;
  line-height: 1.85;
  color: #5a6376;
}
.imm-step ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #b9c6d8;
}
.imm-step p { font-size: 13.5px; line-height: 1.85; color: #5a6376; margin: 0; }

/* ---------- 表格 ---------- */
.imm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-top: 18px;
  background: #fff;
}
.imm-table th {
  background: #f0f4f9;
  color: #33405a;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--imm-line);
  white-space: nowrap;
}
.imm-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--imm-line);
  color: var(--imm-ink-2);
  line-height: 1.8;
  vertical-align: top;
}
.imm-table tr:last-child td { border-bottom: 0; }
.imm-table-wrap {
  border: 1px solid var(--imm-line);
  border-radius: 10px;
  overflow: hidden;
}

/* ---------- FAQ ---------- */
.imm-faq { margin-top: 20px; }
.imm-faq details {
  background: #fff;
  border: 1px solid var(--imm-line);
  border-radius: 8px;
  padding: 0 18px;
  margin-bottom: 10px;
}
.imm-faq details[open] { border-color: #cfe3fb; }
.imm-faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 15px 30px 15px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--imm-ink);
  line-height: 1.6;
}
.imm-faq summary::-webkit-details-marker { display: none; }
.imm-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 13px;
  font-size: 18px;
  color: var(--imm-blue);
  line-height: 1;
}
.imm-faq details[open] summary::after { content: "\2212"; }
.imm-faq .a {
  padding: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.9;
  color: #5a6376;
  border-top: 1px solid #f0f2f5;
  padding-top: 12px;
}

/* ---------- 侧栏 ---------- */
.imm-side { position: sticky; top: 20px; }
.imm-side-box {
  background: #fff;
  border: 1px solid var(--imm-line);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 16px;
}
.imm-side-box > .ttl {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #a3aebd;
  padding: 10px 10px 6px;
}
.imm-side-nav a {
  display: block;
  font-size: 13.5px;
  color: #5a6376;
  padding: 9px 10px;
  border-left: 2px solid transparent;
  text-decoration: none;
  line-height: 1.5;
}
.imm-side-nav a:hover { color: var(--imm-blue); border-left-color: #cfe3fb; background: #f7fbff; }
.imm-side-nav a.on { color: var(--imm-blue); border-left-color: var(--imm-blue); background: #f2f8ff; font-weight: 500; }

.imm-side-cta {
  background: var(--imm-ink);
  border-radius: 10px;
  padding: 22px 18px;
  color: #fff;
  margin-bottom: 16px;
}
.imm-side-cta h4 { font-size: 15px; font-weight: 600; margin: 0 0 8px; color: #fff; }
.imm-side-cta p { font-size: 12.5px; line-height: 1.8; color: rgba(255, 255, 255, .68); margin: 0 0 16px; }
.imm-side-cta .row { font-size: 13px; color: rgba(255, 255, 255, .9); margin-bottom: 8px; }
.imm-side-cta .row b { color: #ffd724; font-weight: 500; }
.imm-side-cta .imm-btn { width: 100%; text-align: center; padding: 0; height: 42px; line-height: 40px; }

.imm-side-list a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: #5a6376;
  padding: 9px 10px;
  text-decoration: none;
  border-bottom: 1px solid #f2f4f7;
}
.imm-side-list a:last-child { border-bottom: 0; }
.imm-side-list a:hover { color: var(--imm-blue); }
.imm-side-list a span { color: #c3cad6; font-size: 12px; }

/* ---------- 首页服务卡片 ---------- */
.imm-band { background: var(--imm-bg); padding: 66px 0; }
.imm-band.dark { background: var(--imm-ink); }
.imm-band .center-head { text-align: center; margin-bottom: 40px; }
.imm-band .center-head h2 {
  font-size: 27px;
  font-weight: 600;
  color: var(--imm-ink);
  margin: 0 0 8px;
}
.imm-band.dark .center-head h2 { color: #fff; }
.imm-band .center-head .en {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a3aebd;
}
.imm-band.dark .center-head .en { color: rgba(255, 255, 255, .45); }
.imm-band .center-head p {
  font-size: 14.5px;
  color: #6b7688;
  margin: 12px 0 0;
}
.imm-band.dark .center-head p { color: rgba(255, 255, 255, .68); }

.imm-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.imm-svc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--imm-line);
  border-radius: 12px;
  padding: 26px 24px 22px;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.imm-svc-card:hover {
  border-color: #cfe3fb;
  box-shadow: 0 10px 28px rgba(46, 136, 237, .1);
  transform: translateY(-3px);
}
.imm-svc-card .tag {
  display: block;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a3aebd;
}
.imm-svc-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--imm-ink);
  margin: 9px 0 4px;
  line-height: 1.45;
}
.imm-svc-card .cn-sub { font-size: 12.5px; color: var(--imm-blue); margin-bottom: 12px; }
.imm-svc-card p {
  font-size: 13.5px;
  line-height: 1.85;
  color: #6b7688;
  margin: 0 0 18px;
  flex: 1;
}
.imm-svc-card .more { font-size: 13px; color: var(--imm-blue); }
.imm-svc-card .more::after { content: " →"; }

/* ---------- 底部 CTA ---------- */
.imm-cta {
  background: var(--imm-ink);
  border-radius: 14px;
  padding: 44px 40px;
  text-align: center;
  margin-top: 20px;
}
.imm-cta h3 {
  font-size: 23px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
}
.imm-cta p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .7);
  margin: 0 auto 24px;
  max-width: 620px;
}
.imm-cta .btns { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- 表单 ---------- */
.imm-form { margin-top: 6px; }
.imm-form .field { margin-bottom: 16px; }
.imm-form label {
  display: block;
  font-size: 13px;
  color: #5a6376;
  margin-bottom: 7px;
}
.imm-form label em { color: #e0685a; font-style: normal; }
.imm-form input,
.imm-form select,
.imm-form textarea {
  width: 100%;
  border: 1px solid var(--imm-line);
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 14px;
  color: var(--imm-ink);
  background: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  font-family: inherit;
}
.imm-form input:focus,
.imm-form select:focus,
.imm-form textarea:focus {
  border-color: var(--imm-blue);
  box-shadow: 0 0 0 3px rgba(46, 136, 237, .1);
}
.imm-form textarea { min-height: 116px; resize: vertical; }
.imm-form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---------- 联系信息块 ---------- */
.imm-info-list { list-style: none; margin: 0; padding: 0; }
.imm-info-list li {
  display: flex;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--imm-line);
  font-size: 14px;
  color: var(--imm-ink-2);
  line-height: 1.7;
}
.imm-info-list li:last-child { border-bottom: 0; }
.imm-info-list .ic {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 8px;
  background: var(--imm-blue-l);
  color: var(--imm-blue);
  font-size: 13px;
}
.imm-info-list b { display: block; font-size: 12px; color: #a3aebd; font-weight: 400; margin-bottom: 2px; }

/* ---------- 关于页数据条 ---------- */
.imm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--imm-line);
  border: 1px solid var(--imm-line);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 26px;
}
.imm-stats .item { background: #fff; padding: 22px 18px; text-align: center; }
.imm-stats .item b { display: block; font-size: 26px; font-weight: 600; color: var(--imm-blue); line-height: 1.2; }
.imm-stats .item span { font-size: 12.5px; color: #8a94a6; }

/* ---------- 时间轴 ---------- */
.imm-timeline { margin-top: 24px; border-left: 2px solid #e6ebf2; padding-left: 24px; }
.imm-timeline .node { position: relative; padding-bottom: 22px; }
.imm-timeline .node:last-child { padding-bottom: 0; }
.imm-timeline .node::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--imm-blue);
}
.imm-timeline .yr { font-size: 14px; font-weight: 600; color: var(--imm-blue); }
.imm-timeline .tt { font-size: 14.5px; font-weight: 600; color: var(--imm-ink); margin: 2px 0 4px; }
.imm-timeline p { font-size: 13.5px; line-height: 1.85; color: #5a6376; margin: 0; }

/* ---------- 页脚 ---------- */
.floating-bottom-bar .qr-code { display: none; }
.imm-foot-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 24px;
  padding: 36px 0 26px;
}
.imm-foot-col { flex: 1 1 0; min-width: 130px; }
.imm-foot-col.wide { flex: 1.6 1 0; min-width: 200px; }
.imm-foot-col.qr { flex: 0 0 120px; }
.imm-foot-cols h4.widget-title {
  font-size: 14px;
  font-weight: 600;
  color: #2b3340;
  margin: 0 0 14px;
}
.imm-foot-cols ul { list-style: none; margin: 0; padding: 0; }
.imm-foot-cols li {
  font-size: 13px;
  line-height: 1.9;
  color: #6b7688;
  margin-bottom: 6px;
}
.imm-foot-cols li a { color: #6b7688; text-decoration: none; }
.imm-foot-cols li a:hover { color: var(--imm-blue); }
.imm-foot-cols .contact li { display: flex; gap: 8px; align-items: flex-start; }
.imm-foot-cols .contact i { color: var(--imm-blue); font-size: 12px; margin-top: 5px; }
.imm-foot-cols .qr img { display: block; border-radius: 6px; }
.ws-footer .footer-bottom {
  padding: 16px 0 88px;
  font-size: 12.5px;
  color: #8a94a6;
  border-top: 1px solid rgba(0, 0, 0, .06);
}
@media screen and (max-width: 900px) {
  .imm-foot-col { flex: 1 1 40%; }
  .imm-foot-col.wide { flex: 1 1 100%; }
  .imm-foot-col.qr { flex: 0 0 110px; }
  .ws-footer .footer-bottom { padding-bottom: 84px; }
}

/* ---------- 响应式 ---------- */
/* 底部固定悬浮咨询条留白 */
.imm-wrap { padding-bottom: 110px; }

/* layui 容器在窄屏下改为自适应，避免固定宽度导致横向裁切 */
@media screen and (max-width: 1100px) {
  .layui-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
  .kw-topbar-item { white-space: normal; }
  body { overflow-x: hidden; }
}
@media screen and (max-width: 1100px) {
  .imm-wrap { grid-template-columns: minmax(0, 1fr) 262px; gap: 32px; }
  .imm-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 900px) {
  .imm-wrap { grid-template-columns: 1fr; }
  /* 表格 min-width 会撑开 grid 列，必须允许收缩 */
  .imm-main, .imm-side { min-width: 0; }
  .imm-table-wrap { max-width: 100%; }
  .imm-side { position: static; }
  .imm-side-box:first-child { display: none; }
  .imm-hero-home { padding: 68px 0 72px; }
  .imm-hero h1 { font-size: 30px; }
  .imm-hero-page h1 { font-size: 25px; }
  .imm-hero .lead { font-size: 14px; }
  .imm-band { padding: 48px 0; }
  .imm-band .center-head h2 { font-size: 22px; }
  .imm-stats { grid-template-columns: repeat(2, 1fr); }
  .imm-cta { padding: 34px 22px; }
  .imm-cta h3 { font-size: 20px; }
  .imm-form .grid2 { grid-template-columns: 1fr; }
  .imm-feat-grid.cols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .imm-table-wrap { overflow-x: auto; }
  .imm-table { min-width: 560px; }
}
@media screen and (max-width: 600px) {
  .imm-hero-home { padding: 52px 0 56px; }
  .imm-hero h1 { font-size: 24px; }
  .imm-hero-page h1 { font-size: 22px; }
  .imm-hero .lead { font-size: 13.5px; }
  .imm-hero .btns { margin-top: 22px; }
  .imm-btn { height: 42px; line-height: 40px; padding: 0 20px; font-size: 14px; }
  .imm-svc-grid { grid-template-columns: 1fr; }
  .imm-feat-grid { grid-template-columns: 1fr; }
  .imm-feat-grid.cols3 { grid-template-columns: 1fr; }
  .imm-check { grid-template-columns: 1fr; }
  .imm-hero-tags span { font-size: 12px; }
  .imm-wrap { padding: 30px 0 56px; }
  .imm-main > section + section { margin-top: 38px; }
}
