/* =========================================================
   首页专属样式
   ========================================================= */

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: 96px 0 144px;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(31, 79, 180, 0.45), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: #fff;
}
/* 航图网格 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero__copy { max-width: 540px; }
.hero__title {
  margin-bottom: 28px;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700; line-height: 1.25; letter-spacing: -0.5px;
}
.hero__title span { color: #8FB4FF; }
.hero__lead {
  margin-bottom: 10px; padding-left: 14px;
  border-left: 3px solid var(--red);
  font-size: 20px; font-weight: 600; line-height: 1.4;
}
.hero__desc { padding-left: 17px; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, 0.7); }
.hero__modes {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 14px 32px;
  margin: 32px 0 40px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero__modes li { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, 0.85); }
.hero__modes .icon { width: 18px; height: 18px; color: #8FB4FF; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { min-width: 160px; }

/* Route card */
.route-card {
  padding: 24px; border-radius: var(--radius-lg);
  background: #fff; color: var(--text);
  box-shadow: var(--shadow);
}
.route-card__head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; font-weight: 700; color: var(--text-muted);
}
.route-card__tag {
  padding: 3px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 12px; letter-spacing: 0.08em;
}
.route-card__map {
  position: relative;
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 16px 0 20px; padding: 56px 0 16px;
  border-bottom: 1px dashed var(--border);
}
.route-card__end strong { display: block; font-size: 16px; font-weight: 800; color: var(--navy-800); }
.route-card__end span { font-size: 12px; color: var(--text-muted); }
.route-card__end::before {
  content: ""; display: block; width: 12px; height: 12px; margin-bottom: 8px;
  border: 3px solid #fff; border-radius: 50%; background: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}
.route-card__end--right { text-align: right; }
.route-card__end--right::before { margin-left: auto; background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.route-card__line {
  position: absolute; left: 6px; right: 6px; top: 8px; width: calc(100% - 12px); height: 64px;
  overflow: visible;
}
.route-card__line path {
  fill: none; stroke: var(--blue); stroke-width: 2; stroke-dasharray: 6 6;
  vector-effect: non-scaling-stroke;
  animation: dash 1.2s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -12; } }
.route-card__plane {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(31, 79, 180, 0.35);
}
.route-card__plane .icon { width: 18px; height: 18px; transform: rotate(45deg); }

.route-card__list li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  padding: 12px 0;
}
.route-card__list li + li { border-top: 1px solid var(--border); }
.route-card__list strong { display: block; font-size: 15px; font-weight: 700; }
.route-card__list span { font-size: 13px; color: var(--text-muted); }
.route-card__list em {
  font-style: normal; font-size: 12px; font-weight: 700; white-space: nowrap;
  padding: 4px 10px; border-radius: 999px; background: var(--bg-soft); color: var(--navy-700);
}
.route-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
}
.route-card__icon .icon { width: 20px; height: 20px; }
.route-card__icon--red { background: #FDECEC; color: var(--red); }
.route-card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.route-card__icon--amber { background: #FEF5DC; color: #B57F00; }

/* ===== Key figures（压在首屏底部） ===== */
.figures { position: relative; z-index: 1; margin-top: -64px; }
.figures__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius-lg); background: #fff;
  box-shadow: 0 16px 40px rgba(6, 22, 52, 0.10);
}
.figures__grid > div { padding: 28px 32px; }
.figures__grid > div + div { border-left: 1px solid var(--border); }
.figures dt {
  font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; line-height: 1.1;
  color: var(--navy-800); font-variant-numeric: tabular-nums;
}
.figures__grid > div:nth-child(2) dt { color: var(--red); }
.figures__grid > div:nth-child(3) dt { color: var(--blue); }
.figures__grid > div:nth-child(4) dt { color: #C98C00; }
.figures dd { margin-top: 8px; font-size: 14px; color: var(--text-muted); }

/* ===== End-to-end flow ===== */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.flow__step {
  position: relative;
  padding: 24px 20px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s;
}
.flow__step:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -13px; z-index: 1;
  width: 10px; height: 10px;
  border-top: 2px solid var(--blue); border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}
.flow__no { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 800; color: var(--text-faint); }
.flow__step > .icon { width: 28px; height: 28px; margin-bottom: 16px; color: var(--blue); }
.flow__step h3 { margin-bottom: 6px; font-size: 17px; font-weight: 700; }
.flow__step p { font-size: 13px; line-height: 1.7; color: var(--text-muted); }

.promise {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 24px; padding: 20px 28px;
  border-radius: var(--radius); background: var(--navy-800); color: #fff;
}
.promise__title { font-size: 16px; font-weight: 700; }
.promise__list { display: flex; flex-wrap: wrap; gap: 12px 32px; }
.promise__list li { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.promise__list .icon { width: 20px; height: 20px; color: #8FB0F0; }

/* ===== Audience ===== */
.audience__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 20px;
  border-radius: 12px; background: var(--blue-soft); color: var(--blue);
}
.audience h3 { margin-bottom: 8px; font-size: 18px; font-weight: 700; }
.audience p { font-size: 14px; line-height: 1.75; color: var(--text-muted); }

/* ===== Routes ===== */
.lane {
  --c: var(--blue); --c-soft: var(--blue-soft);
  display: flex; flex-direction: column;
  padding: 28px; border: 1px solid var(--border); border-top: 4px solid var(--c);
  border-radius: var(--radius); background: #fff;
}
.lane--red { --c: var(--red); --c-soft: #FDECEC; }
.lane--amber { --c: #D99A00; --c-soft: #FEF5DC; }
.lane__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.lane__head h3 { font-size: 20px; font-weight: 800; }
.lane__head span { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-faint); }
.lane__icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--c-soft); color: var(--c);
}
.lane__path { position: relative; margin-bottom: 24px; counter-reset: lane; }
.lane__path::before {
  content: ""; position: absolute; left: 11px; top: 12px; bottom: 12px;
  border-left: 2px dashed var(--border);
}
.lane__path li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 8px 0; font-size: 15px; font-weight: 600;
  counter-increment: lane;
}
.lane__path li::before {
  content: counter(lane);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--c); color: #fff; font-size: 12px; font-weight: 800;
}
.lane__note {
  margin-top: auto; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--bg-soft); font-size: 13px; line-height: 1.7; color: var(--text-muted);
}
.lane__note strong { display: block; font-size: 14px; color: var(--text); }

/* ===== Network ===== */
.network__nodes {
  position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.network__nodes::before {
  content: ""; position: absolute; left: 10%; right: 10%; top: 23px;
  border-top: 2px dashed rgba(255, 255, 255, 0.25);
}
.network__nodes li { position: relative; text-align: center; }
.network__dot {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin: 0 auto 20px;
  border: 4px solid var(--navy-900); border-radius: 50%;
  font-size: 16px; font-weight: 800; color: #fff;
}
.network__dot--blue { background: var(--blue); }
.network__dot--sky { background: #3D7BE0; }
.network__dot--amber { background: var(--amber); color: var(--navy-900); }
.network__dot--red { background: var(--red); }
.network__dot--green { background: var(--green); }
.network__nodes strong { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 700; }
.network__nodes span { font-size: 14px; color: rgba(255, 255, 255, 0.65); }

/* ===== Local pillars ===== */
.pillar {
  --c: var(--blue);
  padding: 32px 28px; border-radius: var(--radius);
  background: var(--bg-soft); border-top: 4px solid var(--c);
}
.pillar--red { --c: var(--red); }
.pillar--amber { --c: #D99A00; }
.pillar__label { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.pillar__big {
  margin: 14px 0 16px;
  font-size: 40px; font-weight: 800; line-height: 1.1; color: var(--c);
}
.pillar p { font-size: 14px; line-height: 1.8; color: var(--text-muted); }

/* ===== About ===== */
.about__head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.about__head .section-head { margin-bottom: 0; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px;
  border-left: 2px solid var(--border);
}
.timeline li { position: relative; }
.timeline li + li { margin-top: 20px; }
.timeline li::before {
  content: ""; position: absolute; left: -28px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--bg-soft);
}
.timeline li + li::before { background: var(--amber); }
.timeline strong { display: block; font-size: 20px; font-weight: 800; color: var(--navy-800); }
.timeline span { font-size: 14px; line-height: 1.7; color: var(--text-muted); }

.photo { overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.photo img { width: 100%; height: auto; aspect-ratio: 60 / 38; object-fit: cover; }
.photo figcaption { padding: 16px 20px; }
.photo strong { display: block; font-size: 16px; font-weight: 700; }
.photo span { font-size: 13px; color: var(--text-muted); }

/* ===== Quote ===== */
.quote { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); }
.quote__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-list { margin-top: 32px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 16px; font-weight: 600; }
.contact-list .icon { width: 22px; height: 22px; color: #8FB0F0; }
.contact-list small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.contact-list a:hover { text-decoration: underline; }

.quote-form {
  padding: 32px; border-radius: var(--radius-lg);
  background: #fff; color: var(--text); box-shadow: var(--shadow);
}
.quote-form h3 { margin-bottom: 20px; font-size: 18px; font-weight: 800; }
.quote-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.quote-form .span-2 { grid-column: 1 / -1; }
.quote-form input,
.quote-form select {
  height: 46px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: var(--bg-soft); font-size: 15px; color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.quote-form input:focus,
.quote-form select:focus { outline: none; border-color: var(--blue); background: #fff; }
.quote-form .btn { width: 100%; }
.quote-form__hint { margin-top: 12px; font-size: 12px; line-height: 1.6; color: var(--text-faint); text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow__step:nth-child(3)::after { display: none; }
}

@media (max-width: 960px) {
  .hero { padding: 56px 0 112px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__copy { max-width: none; }

  .figures__grid { grid-template-columns: repeat(2, 1fr); }
  .figures__grid > div:nth-child(3) { border-left: 0; }
  .figures__grid > div:nth-child(n + 3) { border-top: 1px solid var(--border); }

  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow__step::after { display: none; }
  .promise { flex-direction: column; align-items: flex-start; }

  .network__nodes { grid-template-columns: 1fr; gap: 0; }
  .network__nodes::before { left: 23px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, 0.25); }
  .network__nodes li { display: grid; grid-template-columns: 48px 1fr; column-gap: 20px; align-items: center; padding: 10px 0; text-align: left; }
  .network__dot { grid-row: span 2; margin: 0; }
  .network__nodes strong { margin: 0; align-self: end; }
  .network__nodes span { align-self: start; }

  .about__head { grid-template-columns: 1fr; gap: 32px; }
  .quote__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 96px; }
  .hero__lead { font-size: 18px; }
  .hero__modes { gap: 12px 20px; margin: 24px 0 28px; padding-top: 20px; }
  .hero__actions .btn { width: 100%; }

  .route-card { padding: 20px; }
  .route-card__list li { grid-template-columns: auto 1fr; }
  .route-card__list em { grid-column: 2; justify-self: start; }

  .figures { margin-top: -56px; }
  .figures__grid > div { padding: 20px; }
  .figures dd { font-size: 13px; }

  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow__step { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; padding: 18px 20px; }
  .flow__step > .icon { grid-row: span 2; margin: 0; }
  .flow__no { top: 18px; }
  .promise { padding: 20px; }
  .promise__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  .pillar__big { font-size: 34px; }

  .quote-form { padding: 24px 20px; }
  .quote-form__grid { grid-template-columns: 1fr; }
}
