/* 联众拓海 · 站点样式。色值与字体全部出自 VI 规范（lianzhong-vi.pdf 第 6、7 页）。
   浪青 #3FDEC9 在白底对比度不足：只作图形与深底点缀；浅底上的链接与强调字用深青。 */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  --navy: #052e4c;
  --navy-deep: #031f35;
  --wave: #3fdec9;
  --teal: #0e7a70;
  --ivory: #f4f1ea;
  --mist: #5e6e7a;
  --ink: #102a3f;
  --line: rgba(5, 46, 76, 0.12);
  --cn: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, var(--cn);
  --display: "Montserrat", var(--cn);
  --radius: 16px;
  --header-h: 72px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--navy); line-height: 1.3; margin: 0; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }
h1, h2, .principle { text-wrap: balance; }
/* 中文标题只在标点处断行（不把词拆到两行）；超长无标点时退回任意处断 */
html[lang="zh-CN"] :is(h1, h2, h3, .principle) { word-break: keep-all; overflow-wrap: anywhere; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--wave); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--wave); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 760px; text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.8em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.55em 1.2em; font-size: 0.9375rem; }
.btn-lg { padding: 1em 2.2em; font-size: 1.0625rem; }
.btn-wave { background: var(--wave); color: var(--navy); }
.btn-wave:hover { background: #6fe8d8; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0a4570; }

/* ---------- 页头 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 26px; }
.nav a { color: rgba(255, 255, 255, 0.86); text-decoration: none; font-size: 0.9375rem; }
.nav ul a:hover, .nav .lang:hover { color: #fff; }
.nav .lang { font-family: var(--display); font-weight: 600; letter-spacing: 0.08em; font-size: 0.8125rem; padding: 4px 10px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; }
.nav .btn-wave { color: var(--navy); }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; background: transparent; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform 0.2s, background-color 0.2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  [data-open] .bars { background: transparent; }
  [data-open] .bars::before { transform: translateY(6px) rotate(45deg); }
  [data-open] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px var(--pad) 24px; border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
  }
  [data-open] .nav { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-size: 1rem; }
  .nav .lang { align-self: flex-start; margin: 18px 0 14px; }
  .nav .btn-wave { width: 100%; }
}

/* ---------- 首屏 ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 46, 76, 0.94) 0%, rgba(5, 46, 76, 0.78) 42%, rgba(5, 46, 76, 0.28) 100%),
    linear-gradient(0deg, rgba(5, 46, 76, 0.55) 0%, rgba(5, 46, 76, 0) 40%);
}
.hero-inner { position: relative; padding-block: clamp(96px, 14vh, 150px) clamp(120px, 16vh, 170px); }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4.25rem); letter-spacing: 0.02em; max-width: 14em; margin-top: 18px; }
html[lang="en"] .hero h1 { letter-spacing: -0.01em; max-width: 13em; }
.hero-lead { margin-top: 22px; max-width: 38em; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); color: rgba(255, 255, 255, 0.86); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(48px, 7vw, 110px); }

/* ---------- 通用区块 ---------- */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section-ivory { background: var(--ivory); }
.section-navy { background: var(--navy); color: rgba(255, 255, 255, 0.82); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.eyebrow { font-family: var(--display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--wave); vertical-align: middle; margin-right: 12px; transform: translateY(-2px); }
.eyebrow-light { color: var(--wave); }
.section-head h2 { margin-top: 14px; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); letter-spacing: 0.01em; }
html[lang="en"] .section-head h2 { letter-spacing: -0.01em; }
.section-lead { margin-top: 18px; font-size: 1.0625rem; color: var(--mist); }
.section-navy .section-lead { color: rgba(255, 255, 255, 0.78); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.note { margin-top: 20px; font-size: 0.875rem; color: var(--mist); }
.split { display: grid; gap: clamp(28px, 5vw, 64px); }
@media (min-width: 960px) {
  .split-head { grid-template-columns: 6fr 5fr; align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
  .split-head .section-head { margin-bottom: 0; }
  .split-media { grid-template-columns: 1fr 1fr; align-items: start; }
  .split-network { grid-template-columns: 5fr 6fr; align-items: center; }
}
.split-head { margin-bottom: 36px; }

/* 示意图角标 */
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: #d9d4c7; }
.frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.6s ease; }
.frame:hover img { transform: scale(1.03); }
.badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(5, 46, 76, 0.78); color: #fff; font-size: 0.75rem; letter-spacing: 0.04em; }

/* ---------- 身份导航 ---------- */
.audience-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .audience-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .audience-grid { grid-template-columns: repeat(4, 1fr); } }
.audience-card { position: relative; padding: 30px 26px 26px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.audience-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--wave)); }
.audience-card:hover { box-shadow: 0 18px 40px -24px rgba(5, 46, 76, 0.45); transform: translateY(-2px); }
.num { font-family: "Montserrat", var(--sans); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.12em; color: var(--teal); }
.audience-card h3 { font-size: 1.25rem; }
.pain { color: var(--mist); font-size: 0.9375rem; }
.offer { color: var(--ink); font-size: 0.9375rem; padding-top: 12px; border-top: 1px dashed var(--line); }
.more { margin-top: auto; padding-top: 6px; font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 会客厅 ---------- */
.functions { display: grid; gap: 18px; }
.functions li { padding-left: 18px; border-left: 3px solid var(--wave); }
.functions h3 { font-size: 1.0625rem; }
.functions p { color: var(--mist); font-size: 0.9375rem; margin-top: 4px; }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery-item { margin: 0; position: relative; }
.gallery-item .frame { height: 100%; }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px;
  border-radius: 0 0 var(--radius) var(--radius);
  background: linear-gradient(0deg, rgba(5, 46, 76, 0.82), rgba(5, 46, 76, 0));
  color: #fff; font-size: 0.9375rem; font-weight: 600; pointer-events: none;
}
@media (min-width: 960px) {
  /* 拼贴：首图占左侧两行，末图横跨右侧两列 */
  .gallery { grid-template-columns: 1.5fr 1fr 1fr; grid-auto-rows: 230px; gap: 18px; }
  .gallery-item:first-child { grid-row: span 2; }
  .gallery-item:last-child { grid-column: span 2; }
  .gallery .frame img { aspect-ratio: auto; height: 100%; }
}
.lounge-lower { display: grid; gap: 24px; margin-top: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .lounge-lower { grid-template-columns: 1fr 1fr; } }
.open-card { background: var(--navy); color: rgba(255, 255, 255, 0.84); border-radius: 20px; padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.open-card::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(63, 222, 201, 0.22), rgba(63, 222, 201, 0) 70%); pointer-events: none; }
.open-card h3 { color: #fff; font-size: 1.375rem; margin-bottom: 16px; }
.open-card p + p { margin-top: 14px; }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
@media (min-width: 640px) { .open-card .ticks { grid-template-columns: 1fr 1fr; } }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wave); font-weight: 700; }
.ticks-dark li::before { color: var(--teal); }
.ticks-dark { margin: 0 0 32px; }
.city-card { padding: clamp(28px, 4vw, 40px); }
.city-card h3 { font-size: 1.375rem; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 22px; font-size: 0.875rem; color: var(--mist); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
[data-status="open"] .dot { background: var(--teal); }
[data-status="preparing"] .dot { border: 2px solid var(--teal); background: #fff; }
[data-status="partner"] .dot { background: var(--mist); }
.city-groups { display: grid; gap: 24px; }
@media (min-width: 640px) { .city-groups { grid-template-columns: 1fr 1fr; } }
.city-group h4 { font-size: 0.8125rem; font-family: var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); font-weight: 600; margin-bottom: 6px; }
.city { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.city-name { font-weight: 700; color: var(--navy); white-space: nowrap; }
.city-focus { grid-column: 2 / 3; grid-row: 2; font-size: 0.8125rem; color: var(--mist); line-height: 1.5; }
.city-status { grid-column: 3; grid-row: 1; font-size: 0.75rem; color: var(--teal); font-weight: 600; white-space: nowrap; }
[data-status="partner"] .city-status { color: var(--mist); }

/* ---------- 主理人 ---------- */
.hosts-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .hosts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hosts-grid { grid-template-columns: repeat(3, 1fr); } }
.host { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 26px; align-items: start; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #fff; font-size: 1.5rem; font-weight: 700; font-family: var(--display);
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wave);
}
.host h3 { font-size: 1.1875rem; }
.role { color: var(--teal); font-weight: 600; font-size: 0.875rem; margin-top: 4px; line-height: 1.5; }
.city-line { color: var(--mist); font-size: 0.8125rem; margin-top: 2px; }
.bio { margin-top: 10px; font-size: 0.9375rem; color: var(--ink); }

/* ---------- 贸易 AI ---------- */
.steps { display: grid; gap: 28px; counter-reset: step; position: relative; }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px; background: rgba(63, 222, 201, 0.35); }
}
@media (max-width: 1099px) {
  .steps::before { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: rgba(63, 222, 201, 0.3); }
  .step { padding-left: 64px; }
  .step .step-num { position: absolute; left: 0; top: 0; }
}
.step { position: relative; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--wave); color: var(--wave); background: var(--navy);
  font-family: "Montserrat", var(--sans); font-weight: 600; position: relative; z-index: 1;
}
.step h3 { font-size: 1.125rem; margin-top: 18px; }
@media (max-width: 1099px) { .step h3 { margin-top: 8px; } }
.step p { margin-top: 8px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.74); }
.trade-foot { display: grid; gap: 24px; margin-top: clamp(44px, 6vw, 72px); }
@media (min-width: 960px) { .trade-foot { grid-template-columns: 1fr 1fr; align-items: center; } }
.principle { font-family: var(--display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 700; color: #fff; line-height: 1.45; padding-left: 22px; border-left: 4px solid var(--wave); }
.matching { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); border-radius: var(--radius); padding: 26px 28px; }
.matching h3 { font-size: 1.125rem; }
.matching p { margin-top: 8px; font-size: 0.9375rem; }

/* ---------- 物流 ---------- */
.media { margin: 0; }
.service-list { display: grid; gap: 22px; }
@media (min-width: 640px) { .service-list { grid-template-columns: 1fr 1fr; } }
.service-list li { padding-top: 16px; border-top: 2px solid var(--navy); }
.service-list h3 { font-size: 1.0625rem; }
.service-list p { margin-top: 6px; font-size: 0.9375rem; color: var(--mist); }

/* ---------- 资源网络 ---------- */
.browser { margin: 0; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -30px rgba(5, 46, 76, 0.45), 0 0 0 1px var(--line); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #eef0f2; border-bottom: 1px solid var(--line); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #c6ccd2; }
.url { flex: 1; font-size: 0.75rem; color: var(--mist); background: #fff; border-radius: 6px; padding: 3px 10px; font-family: var(--sans); }
.browser img { width: 100%; }
.browser figcaption { font-size: 0.75rem; color: var(--mist); padding: 8px 14px; border-top: 1px solid var(--line); }

/* ---------- 流程 ---------- */
.process { display: grid; gap: 20px; }
@media (min-width: 640px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process { grid-template-columns: repeat(4, 1fr); } }
.process li { padding: 24px 0 0; border-top: 2px solid var(--line); position: relative; }
.process li::before { content: ""; position: absolute; left: 0; top: -2px; width: 48px; height: 2px; background: var(--wave); }
.process .num { font-size: 1.75rem; color: var(--navy); letter-spacing: 0.02em; }
.process h3 { font-size: 1.125rem; margin-top: 6px; }
.process p { margin-top: 6px; font-size: 0.9375rem; color: var(--mist); }

/* ---------- 联系 ---------- */
.contact { background: radial-gradient(circle at 85% 0%, rgba(63, 222, 201, 0.2), rgba(63, 222, 201, 0) 45%), var(--navy); }
.contact .section-head { margin-inline: auto; }
.contact .eyebrow::before { display: none; }
.contact-mail { margin-top: 22px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.7); }
.contact-mail a { color: var(--wave); }

/* ---------- 页脚 ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.66); padding-block: 44px; font-size: 0.875rem; }
.footer-inner { display: grid; gap: 22px; align-items: center; }
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1fr auto auto; } }
.footer-brand { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
