/* 欧路通追踪站 — 天空蓝 + 港口背景 */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;
  --sky-800: #075985;
  --sky-900: #0c4a6e;
  --ink: #0b3a55;
  --muted: #5b7a90;
  --line: rgba(14, 165, 233, 0.18);
  --surface: rgba(255, 255, 255, 0.94);
  --shadow: 0 18px 50px rgba(2, 48, 80, 0.18);
  --radius: 18px;
  --font: "Manrope", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body.track-ui {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background: #eef6fb;
}

body.track-ui a {
  color: var(--sky-700);
  text-decoration: none;
}

/* 全幅港口背景首屏 */
.hero-stage {
  position: relative;
  isolation: isolate;
  padding: 0 0 48px;
  background:
    linear-gradient(180deg, rgba(7, 89, 133, 0.72) 0%, rgba(12, 74, 110, 0.55) 42%, rgba(238, 246, 251, 0.92) 88%, #eef6fb 100%),
    url("bg2.jpg") center top / cover no-repeat;
  animation: heroFade 1s ease both;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 18% 20%, rgba(56, 189, 248, 0.28), transparent 60%),
    radial-gradient(700px 360px at 82% 30%, rgba(14, 165, 233, 0.22), transparent 55%);
  pointer-events: none;
}

@keyframes heroFade {
  from { opacity: 0.86; }
  to { opacity: 1; }
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-stage .site-shell {
  padding-top: 22px;
}

.page-body {
  padding: 8px 0 48px;
}

/* 头部品牌 */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(145deg, #38bdf8, #0284c7);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  box-shadow: 0 8px 20px rgba(2, 80, 130, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
  text-shadow: 0 2px 12px rgba(0, 30, 60, 0.35);
}

.brand-sub {
  margin: 0;
  color: rgba(224, 242, 254, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.brand img {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font: 600 0.92rem var(--font);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
  color: #fff;
}

/* 首屏文案：品牌级 */
.hero {
  margin-bottom: 22px;
  max-width: 720px;
  animation: rise 0.7s ease both;
}

.hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.22);
  border: 1px solid rgba(186, 230, 253, 0.35);
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0, 30, 60, 0.35);
}

.hero p {
  margin: 0;
  max-width: 100%;
  color: rgba(240, 249, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.55;
  text-shadow: 0 2px 10px rgba(0, 30, 60, 0.25);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 查询面板 */
.query-panel {
  margin-bottom: 0;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  animation: rise 0.8s ease 0.08s both;
}

.query-panel .tips {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 14px;
  margin-bottom: 14px;
}

.query-panel label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sky-900);
}

.query-panel #com {
  color: var(--sky-600) !important;
  font-weight: 800;
}

.query-panel .example {
  color: var(--muted);
  font-size: 0.92rem;
}

.query-panel .example a {
  color: var(--sky-600);
  font-weight: 700;
  border-bottom: 1px dashed rgba(2, 132, 199, 0.45);
}

#rule {
  display: none;
}

.text_inquire {
  margin-bottom: 14px;
}

.textarea_1,
#num {
  display: block;
  width: 100%;
  min-height: 148px;
  resize: vertical;
  padding: 16px 18px;
  border: 1px solid rgba(2, 132, 199, 0.22);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: 500 1rem/1.55 var(--font);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#num:focus {
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.16);
}

.button_set {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button_set a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  font: 700 1rem var(--font);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button_set a#query,
.button_set a.bold {
  background: linear-gradient(135deg, var(--sky-500), var(--sky-700));
  color: #fff;
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.28);
}

.button_set a#query:hover,
.button_set a.bold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(2, 132, 199, 0.34);
}

.button_set a:not(#query):not(.bold) {
  background: rgba(224, 242, 254, 0.95);
  color: var(--sky-800);
  border: 1px solid rgba(2, 132, 199, 0.18);
}

.button_set a:not(#query):not(.bold):hover {
  background: #fff;
}

.service-line {
  margin: 22px 0 24px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-line strong {
  color: var(--sky-800);
  font-weight: 700;
}

.search_result {
  display: none;
  clear: both;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  animation: rise 0.45s ease both;
}

.search_result.is-open {
  display: block;
}

.ks_dl_table,
.ks_dl_table1,
.ks_dl_table2 {
  display: flex !important;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100% !important;
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0;
  background: transparent !important;
  border: 0 !important;
  line-height: 1.45 !important;
}

.ks_dl_table {
  background: linear-gradient(135deg, var(--sky-700), var(--sky-500)) !important;
  color: #fff;
  font-weight: 700;
}

.ks_dl_table dd,
.ks_dl_table1 dd,
.ks_dl_table2 dd {
  float: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: auto !important;
  min-height: 48px;
  padding: 12px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-bottom: 0 !important;
  color: inherit !important;
  font-family: var(--font) !important;
  word-break: break-word;
}

.ks_dl_table1,
.ks_dl_table2 {
  border-bottom: 1px solid rgba(14, 165, 233, 0.12) !important;
  background: rgba(248, 252, 255, 0.98) !important;
  color: var(--ink) !important;
}

.ks_dl_table1:hover,
.ks_dl_table2:hover {
  background: rgba(224, 242, 254, 0.75) !important;
}

.ks_dl_table1 dd,
.ks_dl_table2 dd {
  border-right: 1px solid rgba(14, 165, 233, 0.12) !important;
}

.ks_dl_table dd:last-child,
.ks_dl_table1 dd:last-child,
.ks_dl_table2 dd:last-child {
  border-right: 0 !important;
}

.col-bill { flex: 0 0 16%; width: 16%; }
.col-trans { flex: 0 0 22%; width: 22%; word-break: break-all; }
.col-date { flex: 0 0 14%; width: 14%; }
.col-dest { flex: 0 0 10%; width: 10%; }
.col-intro { flex: 0 0 22%; width: 22%; }
.col-action { flex: 0 0 16%; width: 16%; }

.ks_yichu {
  min-height: 48px !important;
}

.ks_yichu a,
.ks_yichu2 a {
  color: var(--sky-700) !important;
  font-size: 0.95rem !important;
  font-weight: 700;
}

#ks_trackdiv,
#ks_trackitemdiv {
  float: none !important;
  width: 100% !important;
  clear: both;
}

#ks_trackitemdiv > div {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  border-top: 1px solid rgba(14, 165, 233, 0.14);
}

.ks_xx_info {
  display: none;
  width: 100% !important;
  padding: 12px 16px !important;
  background: rgba(224, 242, 254, 0.65) !important;
  border-bottom: 1px solid rgba(14, 165, 233, 0.12) !important;
  color: var(--ink);
  line-height: 1.55 !important;
}

.ks_loadimage,
.ks_loadimage_item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.site-footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(14, 165, 233, 0.14);
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.site-footer a {
  color: var(--sky-700);
}

.logo_full,
.nav_full,
.company_intr,
.w960,
.mt10,
.b_color,
.pane_inquire,
.form_set {
  all: unset;
  display: block;
}

.container.w960.mt10,
.site-shell .container {
  width: auto;
  margin: 0;
}

.sky-grid,
.sky-route {
  display: none;
}

@media (max-width: 860px) {
  .hero-stage {
    padding-bottom: 28px;
  }

  .site-shell {
    width: calc(100% - 24px);
  }

  .topbar {
    margin-bottom: 24px;
  }

  .brand-sub {
    white-space: normal;
  }

  .query-panel {
    padding: 16px;
  }

  .ks_dl_table,
  .ks_dl_table1,
  .ks_dl_table2 {
    flex-wrap: wrap !important;
  }

  .ks_dl_table dd,
  .ks_dl_table1 dd,
  .ks_dl_table2 dd {
    width: 50% !important;
    flex: 1 1 50% !important;
    justify-content: flex-start;
    text-align: left;
    padding-left: 14px;
  }

  .ks_dl_table dd[style*="31%"],
  .ks_dl_table1 dd[style*="31%"],
  .ks_dl_table dd[style*="53.5%"],
  .ks_dl_table2 dd[style*="53.5%"] {
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-stage,
  .hero,
  .query-panel,
  .search_result {
    animation: none !important;
  }
}
