/* ==========================================================================
   index.html 首页专属样式
   母题：登机牌快速入口 / 八站持证旅程时间轴 / 行李牌优势 / 区县路点图
   ========================================================================== */

/* ---------- 1. Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(45,40,30,.55) 0%, rgba(45,40,30,.38) 48%, rgba(45,40,30,.66) 100%); }
.hero-inner { position: relative; z-index: 2; padding-top: 90px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: #efe9da; font-size: 13px; letter-spacing: .3em; font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: #c3b089; }
.hero-title { color: #fff; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.14; font-weight: 800; letter-spacing: .06em; margin-bottom: 20px; }
.hero-title .w1, .hero-title .w2, .hero-title .w3, .hero-title .w4 {
  display: inline-block; opacity: 0; transform: translateY(34px) rotate(1.5deg);
  animation: wordIn .9s var(--ease) forwards;
}
.hero-title .w1 { animation-delay: .15s; }
.hero-title .w2 { animation-delay: .3s; }
.hero-title .w3 { animation-delay: .45s; }
.hero-title .w4 { animation-delay: .6s; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-sub { color: rgba(255,255,255,.92); font-size: clamp(16px, 1.8vw, 19px); margin-bottom: 32px; letter-spacing: .02em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 52px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 24px; max-width: 720px; }
.hero-stats li { flex: 1 1 140px; display: flex; align-items: baseline; gap: 10px; }
.hero-stats strong { font-size: 30px; color: #fff; font-weight: 800; font-family: var(--font-serif); }
.hero-stats span { font-size: 13px; color: rgba(255,255,255,.78); letter-spacing: .06em; }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; }
.mouse { display: block; width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.75); border-radius: 14px; position: relative; }
.mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }

/* ---------- 2. 登机牌快速入口 ---------- */
.quick-section { background: var(--mist); }
.pass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pass {
  display: flex; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-m); overflow: hidden; min-height: 170px;
  box-shadow: var(--shadow-s); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pass:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-m); }
.pass-stub {
  flex: none; width: 46px; background: var(--khaki-200); color: var(--khaki-800);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-right: 1.5px dashed var(--khaki-400); position: relative;
}
.pass-stub::before, .pass-stub::after {
  content: ""; position: absolute; right: -8px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--mist);
}
.pass-stub::before { top: -8px; }
.pass-stub::after { bottom: -8px; }
.pass-stub i { font-size: 10px; letter-spacing: .18em; font-style: normal; writing-mode: vertical-lr; color: var(--khaki-600); }
.pass-stub b { font-size: 15px; font-weight: 800; letter-spacing: .05em; font-family: var(--font-mono); }
.pass-body { padding: 18px 16px; display: flex; flex-direction: column; flex: 1; }
.pass-no { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-faint); }
.pass-name { font-size: 20px; font-weight: 800; margin: 7px 0 4px; color: var(--ink); letter-spacing: .04em; }
.pass-dir { font-size: 12.5px; color: var(--ink-soft); }
.pass-go { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--khaki-600); display: inline-flex; align-items: center; gap: 5px; }
.pass:hover .pass-go { color: var(--stamp); }

/* ---------- 3. 持证旅程时间轴 ---------- */
.journey-section { background: var(--paper); overflow: hidden; position: relative; }
.journey-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--fog) 1.2px, transparent 1.2px);
  background-size: 26px 26px; opacity: .55;
}
.journey-wrap { position: relative; z-index: 1; max-width: 880px; margin-inline: auto; }
.journey-tl .tl-row { --tw: 110px; --aw: 56px; padding: 22px 0; }
.journey-tl .tl-time { text-align: right; padding-right: 18px; padding-top: 4px; }
.step-no { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--khaki-400); display: block; line-height: 1; }
.step-kicker { font-size: 12px; letter-spacing: .22em; color: var(--ink-faint); }
.tl-node {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--khaki-400);
  box-shadow: 0 0 0 6px var(--khaki-100);
}
.nd-ico {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--khaki-600); color: #fff; font-style: normal; font-size: 15px; font-weight: 700;
}
.journey-tl .tl-body { padding: 2px 0 6px 26px; }
.journey-tl .tl-body h3 { font-size: 18px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.journey-tl .tl-body h3::after { content: ""; flex: 1; max-width: 90px; border-top: 1.5px dashed var(--khaki-300); }
.journey-tl .tl-body p { font-size: 14.5px; color: var(--ink-soft); max-width: 520px; margin: 0; }
.journey-tl .tl-row:nth-child(even) .tl-body { background: linear-gradient(90deg, transparent, rgba(227,217,194,.25) 30%, transparent); border-radius: 10px; padding-top: 10px; padding-bottom: 10px; }
.journey-tl .tl-row:last-child::before { bottom: 50%; }

/* ---------- 4. 行李牌优势 ---------- */
.adv-section { background: var(--sand); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.adv-grid .luggage-tag { padding-top: 34px; }
.adv-grid .stamp { margin-top: 10px; }
.adv-grid p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- 5. 区县路点图 ---------- */
.area-section { background: var(--paper); }
.area-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.area-intro h2 { margin-bottom: 16px; }
.area-intro .btn { margin-top: 12px; }
.area-map { position: relative; min-height: 420px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.area-map::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px;
}
.map-hub {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  text-align: center; z-index: 2;
}
.map-hub svg { width: 84px; height: 84px; }
.map-hub strong { display: block; font-size: 20px; letter-spacing: .3em; color: var(--khaki-800); }
.map-hub span { font-size: 12px; color: var(--ink-faint); letter-spacing: .14em; }
.map-pin {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 7px;
  background: var(--paper); border: 1px solid var(--khaki-300); border-radius: 50px;
  padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 600; color: var(--khaki-800);
  box-shadow: var(--shadow-s); transition: all .3s var(--ease);
}
.map-pin i { width: 10px; height: 10px; border-radius: 50%; background: var(--stamp); box-shadow: 0 0 0 4px rgba(178,90,51,.15); transition: all .3s var(--ease); }
.map-pin:hover { background: var(--khaki-600); color: #fff; transform: translateY(-3px); border-color: var(--khaki-600); }
.map-pin:hover i { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); }
.pin-1 { left: 18%; top: 22%; }
.pin-2 { left: 12%; top: 58%; }
.pin-3 { right: 10%; top: 14%; }
.pin-4 { right: 6%; top: 44%; }
.pin-5 { left: 16%; top: 82%; }
.pin-6 { right: 16%; top: 74%; }
.pin-7 { left: 40%; top: 12%; }
.pin-8 { right: 34%; top: 30%; }

/* ---------- 6. 政策横幅 ---------- */
.policy-band { background: var(--khaki-800); padding: clamp(46px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.policy-band::after {
  content: "CONSTRUCTION·CERTIFIED"; position: absolute; right: -20px; bottom: -30px;
  font-size: 92px; font-weight: 800; letter-spacing: .08em; color: rgba(255,255,255,.05);
  white-space: nowrap;
}
.policy-inner { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 34px; align-items: center; position: relative; z-index: 1; }
.policy-text h2 { color: #fff; margin-bottom: 10px; }
.policy-text p { color: #d9d2bf; font-size: 14.5px; margin: 0; }
.policy-band .eyebrow { color: var(--khaki-300); }
.policy-points { display: flex; flex-wrap: wrap; gap: 10px; }
.policy-points li {
  border: 1px solid rgba(227,217,194,.4); color: #e9e3d3; border-radius: 50px;
  padding: 8px 18px; font-size: 13.5px; letter-spacing: .04em;
}

/* ---------- 7. 证书场景 ---------- */
.scene-section { background: var(--mist); }
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scene-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.scene-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s var(--ease); }
.scene-card:hover img { transform: scale(1.05); }
.scene-body { padding: 20px 22px 24px; position: relative; }
.scene-body h3 { font-size: 18px; margin-bottom: 6px; }
.scene-body p { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.scene-more { font-size: 13px; font-weight: 600; color: var(--khaki-600); }
.scene-card:hover .scene-more { color: var(--stamp); }

/* ---------- 8. 资讯列表 ---------- */
.news-section { background: var(--paper); }
.section-head { position: relative; }
.news-more {
  position: absolute; right: 0; top: 0; font-size: 14px; font-weight: 600;
  color: var(--khaki-600); border-bottom: 1.5px dashed var(--khaki-400); padding-bottom: 2px;
}
.news-more:hover { color: var(--stamp); }
.news-list { max-width: 960px; }
.news-row {
  display: flex; gap: 22px; align-items: center;
  border-bottom: 1.5px dashed var(--line); padding: 20px 6px;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}
.news-row:hover { background: var(--sand); padding-left: 16px; }
.news-thumb { width: 220px; height: 148px; object-fit: cover; border-radius: var(--radius-m); flex: none; }
.news-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.news-title { font-size: 17px; font-weight: 700; color: var(--ink); transition: color .25s var(--ease); }
.news-row:hover .news-title { color: var(--khaki-600); }
.news-zhaiyao { font-size: 13.5px; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 18px; align-items: center; }
.news-id { font-family: var(--font-mono); font-size: 11.5px; color: var(--khaki-500); letter-spacing: .1em; border: 1px solid var(--khaki-300); border-radius: 4px; padding: 1px 8px; }
.news-time { font-size: 13px; color: var(--ink-faint); font-family: var(--font-serif); }

/* ---------- 9. 在线咨询 ---------- */
.lead-section { background: var(--sand); }
.lead-panel {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: clamp(30px, 4.5vw, 56px); box-shadow: var(--shadow-s);
}
.lead-info h2 { margin-bottom: 14px; }
.lead-info > p { font-size: 14.5px; color: var(--ink-soft); }
.lead-contact { margin-top: 24px; display: grid; gap: 14px; }
.lead-contact li { display: flex; gap: 14px; align-items: center; }
.lead-contact svg { width: 22px; height: 22px; color: var(--khaki-500); flex: none; }
.lead-contact span { font-size: 14px; color: var(--ink-soft); }
.lead-contact b { display: block; font-size: 12px; color: var(--ink-faint); letter-spacing: .1em; }
.lead-contact a { color: var(--khaki-800); font-weight: 600; }
.lead-contact a:hover { color: var(--stamp); }
.btn-block { width: 100%; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .pass-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-grid { grid-template-columns: repeat(2, 1fr); }
  .scene-card:last-child { grid-column: 1 / -1; max-width: 520px; margin-inline: auto; }
  .policy-inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 768px) {
  .hero { min-height: 92vh; }
  .hero-stats li { flex: 1 1 46%; }
  .journey-tl .tl-row { --tw: 64px; --aw: 40px; }
  .journey-tl .tl-time { padding-right: 10px; }
  .step-no { font-size: 21px; }
  .tl-node { width: 38px; height: 38px; }
  .nd-ico { width: 26px; height: 26px; font-size: 13px; }
  .area-layout { grid-template-columns: 1fr; }
  .area-map { min-height: 340px; }
  .lead-panel { grid-template-columns: 1fr; }
  .news-row { flex-direction: column; align-items: flex-start; }
  .news-thumb { width: 100%; height: auto; aspect-ratio: 16/9; }
  .news-more { position: static; display: inline-block; margin-bottom: 14px; }
}

@media (max-width: 520px) {
  .pass-grid, .adv-grid, .scene-grid { grid-template-columns: 1fr; }
  .scene-card:last-child { grid-column: auto; max-width: none; }
  .journey-tl .tl-row { --tw: 46px; --aw: 34px; }
  .step-kicker { display: none; }
  .journey-tl .tl-body { padding-left: 14px; }
  .map-pin { font-size: 11.5px; padding: 4px 10px 4px 6px; }
  .map-pin i { width: 8px; height: 8px; }
}
