/* ==========================================================================
   报关tht · 外贸人网址导航
   视觉方向：航海蓝 / 海图质感 + 高密度目录排版
   ========================================================================== */

/* 设计变量 */
:root {
  --bg: #f2f6fc;
  --surface: #ffffff;
  --ink: #0b1f33;
  --ink-2: #2a4258;
  --muted: #5d7590;
  --line: #dfe8f4;
  --line-strong: #c9d9ec;
  --blue: #1668e3;
  --blue-ink: #0b4fb3;
  --cyan: #3fc9de;
  --navy: #061a2d;
  --radius: 14px;
  --wrap: 1200px;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --sans: "Inter", "HarmonyOS Sans SC", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   顶部栏
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand__logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 6px 14px -8px rgba(8, 30, 55, 0.5);
}

.brand__text strong {
  display: block;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand__text small {
  display: block;
  margin-top: 1px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topnav a {
  position: relative;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--ink-2);
  transition: color 0.18s ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.topnav a:hover {
  color: var(--blue);
}

.topnav a:hover::after {
  transform: scaleX(1);
}

.topbar__contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.pill svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pill:hover {
  color: var(--blue-ink);
  border-color: #b9d4f2;
  background: #f5faff;
}

.pill--qq:hover {
  color: #0b6ea8;
  border-color: #b3d7ec;
  background: #f2faff;
}

/* --------------------------------------------------------------------------
   首屏
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 62px;
  color: #eaf4ff;
  background:
    radial-gradient(120% 130% at 84% 4%, #155a92 0%, #0a2b4b 46%, #061a2d 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(143, 201, 255, 0.2) 1px, transparent 0);
  background-size: 26px 26px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(100deg, #000 8%, transparent 62%);
  mask-image: linear-gradient(100deg, #000 8%, transparent 62%);
  pointer-events: none;
}

.hero__in {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #7fd0ee;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.eyebrow--blue {
  color: var(--blue-ink);
}

.hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f4f9ff;
}

.hero h1 em {
  font-style: normal;
  color: #7cd2f4;
}

.hero__desc {
  max-width: 480px;
  font-size: 14.5px;
  line-height: 1.85;
  color: #a9c6e0;
}

.hero__desc a {
  color: #9bdcff;
  border-bottom: 1px solid rgba(155, 220, 255, 0.4);
  padding-bottom: 1px;
}

.hero__desc a:hover {
  color: #ccecff;
}

/* 搜索 */
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 540px;
  height: 54px;
  margin-top: 26px;
  padding: 0 10px 0 15px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.2s ease;
}

.search:focus-within {
  box-shadow: 0 0 0 3px rgba(63, 201, 222, 0.35), 0 20px 44px -24px rgba(0, 0, 0, 0.7);
}

.search__icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #5d7590;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}

.search input::placeholder {
  color: #8497ab;
}

.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search kbd {
  flex: none;
  padding: 1px 7px;
  border: 1px solid #d8e3f1;
  border-radius: 5px;
  background: #f5f9ff;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 18px;
  color: #7c90a6;
}

.search__clear {
  flex: none;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: #eaf1fe;
  color: var(--blue-ink);
  font-size: 12.5px;
  transition: background 0.18s ease;
}

.search__clear:hover {
  background: #dbe8fd;
}

/* 数据 */
.stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 34px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  gap: 2px;
  padding: 0 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat dt {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: #7fa4c6;
}

.stat dd {
  font-family: var(--mono);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #eaf5ff;
}

.stat dd span {
  font-size: 13px;
  opacity: 0.7;
}

/* 罗盘视觉 */
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.compass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #8fc9ff;
}

.hero__badge {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-top: -14px;
}

.hero__badge img {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  box-shadow:
    0 0 0 10px rgba(143, 201, 255, 0.05),
    0 0 0 1px rgba(143, 201, 255, 0.2),
    0 0 70px rgba(63, 201, 222, 0.28),
    0 28px 50px -22px rgba(0, 0, 0, 0.9);
  animation: float 7s ease-in-out infinite alternate;
}

.hero__badge span {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.34em;
  color: #9cc3e2;
}

.hero__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 201, 222, 0.75), transparent);
}

@keyframes float {
  from {
    transform: translateY(-4px);
  }

  to {
    transform: translateY(6px);
  }
}

/* --------------------------------------------------------------------------
   目录主体
   -------------------------------------------------------------------------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 54px 28px 78px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.section-head__note {
  padding-bottom: 5px;
  font-size: 12.5px;
  color: var(--muted);
}

.search-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 22px;
  font-size: 12.5px;
  color: #5b7691;
}

.search-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(63, 201, 222, 0.16);
}

.cats {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.cat {
  --tone: var(--blue);
  --tone-soft: #eaf1fe;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-margin-top: 92px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.26s ease,
    transform 0.22s ease;
}

.cat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--tone), rgba(255, 255, 255, 0) 68%);
  opacity: 0.85;
}

.cat::after {
  content: attr(data-index);
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--tone);
  opacity: 0.45;
}

.cat:hover {
  border-color: #bfd4ec;
  box-shadow: 0 22px 44px -30px rgba(8, 32, 58, 0.42);
  transform: translateY(-2px);
}

.cat--platform {
  grid-column: span 7;
  --tone: #1668e3;
  --tone-soft: #eaf1fe;
}

.cat--helper {
  grid-column: span 5;
  --tone: #0e8fa8;
  --tone-soft: #e4f6f9;
}

.cat--ports {
  grid-column: span 7;
  --tone: #3a4fc4;
  --tone-soft: #edeffe;
}

.cat--check {
  grid-column: span 5;
  --tone: #0f6c9a;
  --tone-soft: #e7f2fa;
}

.cat--single {
  grid-column: span 12;
  --tone: #2559c4;
  --tone-soft: #eaf0ff;
}

.cat--carrier {
  grid-column: span 12;
  --tone: #0d3a5c;
  --tone-soft: #e8eff6;
}

.cat--phones {
  grid-column: span 12;
  --tone: #0e5c8a;
  --tone-soft: #e6f3fb;
}

.cat__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding-bottom: 15px;
  padding-right: 34px;
  border-bottom: 1px dashed var(--line-strong);
}

.cat__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--tone-soft);
  color: var(--tone);
}

.cat__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cat__title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.cat__meta {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

/* 链接 */
.links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(126px, 1fr));
  gap: 2px 4px;
  margin-top: 14px;
}

.link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #1c3348;
  transition: color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.link::after {
  content: "↗";
  flex: none;
  margin-left: auto;
  font-size: 11px;
  color: var(--tone);
  opacity: 0;
  transform: translate(-3px, 3px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.link:hover,
.link:focus-visible {
  background: var(--tone-soft);
  color: var(--tone);
}

.link:hover::after,
.link:focus-visible::after {
  opacity: 1;
  transform: none;
}

.cat__note {
  margin-top: 16px;
  padding: 10px 12px;
  border-left: 2px solid var(--tone);
  border-radius: 0 8px 8px 0;
  background: #f6fafe;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.cat--helper .links {
  margin-bottom: 16px;
}

.cat--helper .cat__note {
  margin-top: auto;
}

/* 船公司分组 */
.cat__label {
  margin: 15px 0 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--tone);
  opacity: 0.85;
}

.ship-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 18px;
}

.links--stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 0;
}

.links--stack .link {
  padding-left: 10px;
  padding-right: 8px;
}

.agents-block {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}

.agents-block .cat__label {
  margin-top: 0;
  margin-bottom: 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: #2a4058;
  background: #fff;
  transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease,
    transform 0.16s ease;
}

.chip:hover,
.chip:focus-visible {
  color: var(--tone);
  border-color: var(--tone);
  background: var(--tone-soft);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   广告位
   -------------------------------------------------------------------------- */
.ad-slot {
  grid-column: span 12;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 26px 24px;
  border: 1px dashed #bcd3ec;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(63, 201, 222, 0.1), transparent 55%),
    linear-gradient(120deg, #f6faff 0%, #eef6ff 55%, #f7fbff 100%);
  text-align: center;
  overflow: hidden;
}

.ad-slot::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #1668e3, #3fc9de);
  opacity: 0.7;
}

.ad-slot__tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  padding: 3px 8px;
  border: 1px solid #b9d4f2;
  border-radius: 5px;
  background: #fff;
  color: var(--blue-ink);
}

.ad-slot__text {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #123a5e;
}

.ad-slot__link {
  padding-bottom: 2px;
  font-size: 12.5px;
  color: var(--blue);
  border-bottom: 1px solid rgba(22, 104, 227, 0.25);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.ad-slot__link:hover {
  color: var(--blue-ink);
  border-color: var(--blue);
}

/* --------------------------------------------------------------------------
   口岸电话卡片
   -------------------------------------------------------------------------- */
.phones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.phone-dir {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}

button.phone-dir:hover {
  border-color: var(--tone);
  background: var(--tone-soft);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -20px rgba(8, 32, 58, 0.55);
}

.phone-dir__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--tone-soft);
  color: var(--tone);
}

.phone-dir__icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone-dir__text {
  min-width: 0;
}

.phone-dir__text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.phone-dir__text small {
  display: block;
  margin-top: 1px;
  font-size: 11.5px;
  color: var(--muted);
}

.phone-dir__go {
  flex: none;
  margin-left: auto;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--tone-soft);
  color: var(--tone);
  font-size: 11px;
}

.phone-dir--empty {
  border-style: dashed;
  background: #fbfdff;
  cursor: default;
}

.phone-dir--empty .phone-dir__icon {
  background: #eff4fa;
  color: #93a8bd;
}

.phone-dir--empty small {
  color: #93a8bd;
}

/* --------------------------------------------------------------------------
   电话目录弹框
   -------------------------------------------------------------------------- */
.no-scroll {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 18, 32, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

.modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(880px, 100%);
  max-height: 86vh;
  overflow: hidden;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.75);
  animation: panelIn 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.modal__head h2 {
  margin: 8px 0 4px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.modal__meta {
  font-size: 12.5px;
  color: var(--muted);
}

.modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #5d7590;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.modal__close svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}

.modal__close:hover {
  color: var(--blue);
  border-color: #b9d4f2;
  background: #f5faff;
}

.modal__body {
  overflow: auto;
  padding: 4px 26px 26px;
  overscroll-behavior: contain;
}

.phone-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-ink);
}

.phone-group::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.phone-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.phone-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid var(--line-strong);
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

.phone-table:not(.phone-table--3col) th:nth-child(1) {
  width: 38%;
}

.phone-table--3col th:nth-child(1) {
  width: 22%;
}

.phone-table--3col th:nth-child(2) {
  width: 30%;
}

.phone-table--3col th:nth-child(3) {
  width: 48%;
}

.phone-table td {
  padding: 9px 10px;
  border-bottom: 1px dashed var(--line);
  vertical-align: top;
  line-height: 1.65;
  color: #243b51;
}

.phone-table td:first-child {
  font-weight: 600;
  color: var(--ink);
}

.phone-table tbody tr:hover td {
  background: #f7fbff;
}

.phone-table a[href^="tel"] {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--blue);
  border-bottom: 1px solid rgba(22, 104, 227, 0.28);
  white-space: nowrap;
}

.phone-table a[href^="tel"]:hover {
  color: var(--blue-ink);
  border-color: var(--blue);
}

.phone-table .sep {
  padding: 0 2px;
  color: #a9bdd1;
}

.modal__empty {
  padding: 54px 20px;
  text-align: center;
  color: var(--muted);
}

.modal__empty p {
  font-size: 14px;
  line-height: 1.9;
}

.modal__empty .modal__empty-sub {
  font-size: 12.5px;
  color: #7b90a6;
}

.modal__empty a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* 空状态 */
.empty {
  margin-top: 24px;
  padding: 56px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: #f8fbff;
  text-align: center;
  color: var(--muted);
}

.empty svg {
  width: 30px;
  height: 30px;
  margin: 0 auto 12px;
  fill: none;
  stroke: #a9bed4;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.empty p {
  font-size: 14px;
}

.empty button {
  margin-top: 14px;
  padding: 8px 18px;
  border: 1px solid #c6dcf6;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-ink);
  font-size: 13px;
  transition: background 0.18s ease;
}

.empty button:hover {
  background: #eef5ff;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-foot {
  padding: 46px 0 24px;
  color: #a9c5df;
  background: linear-gradient(160deg, #061a2d 0%, #0a2c4e 68%, #0e3a5f 100%);
}

.site-foot__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.site-foot__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-foot__brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(143, 201, 255, 0.22);
}

.site-foot__brand strong {
  display: block;
  font-size: 15.5px;
  color: #f0f7ff;
  letter-spacing: 0.01em;
}

.site-foot__brand p {
  margin-top: 4px;
  font-size: 12.5px;
  color: #8fa9c2;
}

.site-foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12.5px;
}

.site-foot__links a {
  color: #c9dff3;
  border-bottom: 1px solid rgba(201, 223, 243, 0.24);
  padding-bottom: 2px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.site-foot__links a:hover {
  color: #7fd2ff;
  border-color: rgba(127, 210, 255, 0.6);
}

/* 公司信息 */
.site-foot__company {
  max-width: var(--wrap);
  margin: 30px auto 0;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.company-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #eaf4ff;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 44px;
  margin-top: 12px;
}

.company-item {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 13px;
  line-height: 1.8;
  color: #c3d6e8;
}

.company-item--wide {
  grid-column: 1 / -1;
}

.company-item dt {
  padding-top: 2px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #7e9ab6;
  white-space: nowrap;
}

.company-item dd {
  margin: 0;
}

.company-item a {
  color: #cfe4f7;
  border-bottom: 1px solid rgba(207, 228, 247, 0.28);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.company-item a:hover {
  color: #7fd2ff;
  border-color: rgba(127, 210, 255, 0.6);
}

.site-foot__base {
  max-width: var(--wrap);
  margin: 30px auto 0;
  padding: 18px 28px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #7e9ab6;
}

.site-foot__base a {
  color: inherit;
  text-decoration: none;
}

.site-foot__base a:hover {
  color: #a9c4dc;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   入场动效
   -------------------------------------------------------------------------- */
body.reveal .cat:not(.is-in) {
  opacity: 0;
}

body.reveal .cat.is-in {
  animation: rise 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .topnav {
    display: none;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 32px;
  }

  .cat--platform,
  .cat--ports {
    grid-column: span 6;
  }

  .cat--helper,
  .cat--check {
    grid-column: span 6;
  }

  .ship-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
  }
}

@media (max-width: 860px) {
  .topbar__in {
    padding: 0 20px;
    gap: 16px;
  }

  .topbar__contact .pill:first-child {
    display: none;
  }

  .hero {
    padding: 46px 0 48px;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 20px;
  }

  .hero__visual {
    display: none;
  }

  .cat,
  .cat--platform,
  .cat--helper,
  .cat--ports,
  .cat--check,
  .cat--single,
  .cat--carrier {
    grid-column: span 12;
  }

  .wrap {
    padding: 40px 20px 60px;
  }

  .site-foot__in,
  .site-foot__company,
  .site-foot__base {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 600px) {
  .topbar__in {
    min-height: 60px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand__text small {
    display: none;
  }

  .brand__logo {
    width: 34px;
    height: 34px;
  }

  .pill {
    padding: 6px 10px;
    font-size: 12px;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero__in,
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: clamp(30px, 8.4vw, 38px);
  }

  .hero__desc {
    font-size: 13.5px;
  }

  .search {
    height: 50px;
    margin-top: 22px;
  }

  .search kbd {
    display: none;
  }

  .stats {
    margin-top: 26px;
  }

  .stat {
    padding: 0 16px;
  }

  .stat dd {
    font-size: 21px;
  }

  .stat dt {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .wrap {
    padding-top: 34px;
    padding-bottom: 52px;
  }

  .section-head__note {
    display: none;
  }

  .cats {
    gap: 14px;
  }

  .cat {
    padding: 20px 18px 18px;
  }

  .cat__head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding-right: 26px;
  }

  .cat__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .cat__icon svg {
    width: 19px;
    height: 19px;
  }

  .cat__title {
    font-size: 15.5px;
  }

  .cat::after {
    top: 18px;
    right: 18px;
    font-size: 10px;
  }

  .links {
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    margin-top: 10px;
  }

  .link {
    padding: 7px 8px;
    font-size: 13px;
  }

  .ship-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ad-slot {
    padding: 22px 18px;
    gap: 10px;
  }

  .ad-slot__text {
    font-size: 15.5px;
  }

  .site-foot {
    padding-top: 36px;
  }

  .site-foot__company {
    margin-top: 24px;
    padding: 20px 16px 0;
  }

  .company-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin-top: 8px;
  }

  .company-item--wide {
    grid-column: auto;
  }

  .site-foot__in {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-foot__base {
    flex-direction: column;
    margin-top: 24px;
    padding: 16px 16px 0;
  }
}

@media (max-width: 420px) {
  .ship-groups {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats .stat:nth-child(3) {
    display: none;
  }
}

/* 电话目录：小屏改为底部抽屉 + 卡片式行 */
@media (max-width: 760px) {
  .modal {
    align-items: end;
    padding: 0;
  }

  .modal__panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 16px 16px 0 0;
  }

  .modal__head {
    padding: 18px 18px 14px;
  }

  .modal__body {
    padding: 2px 18px 24px;
  }

  .phones {
    grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  }
}

@media (max-width: 560px) {
  .phone-table thead {
    display: none;
  }

  .phone-table,
  .phone-table tbody,
  .phone-table tr,
  .phone-table td {
    display: block;
    width: auto;
  }

  .phone-table tr {
    padding: 11px 0;
    border-bottom: 1px dashed var(--line);
  }

  .phone-table td {
    padding: 2px 0;
    border: 0;
  }

  .phone-table td:first-child {
    font-size: 13.5px;
  }

  .phone-table td:nth-child(3) {
    font-size: 11.5px;
    color: var(--muted);
  }

  .phone-table tbody tr:hover td {
    background: transparent;
  }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.reveal .cat:not(.is-in) {
    opacity: 1;
  }
}
