/* Alboriva Consulting
   配色取自亚得里亚海与黄铜门牌；字体全部用系统自带中文字体，
   不依赖境外字体服务，国内访问不会卡。 */

:root {
  --deep: #0e2f3a;      /* 深海 */
  --sea: #1d5967;       /* 海水 */
  --stone: #eef1ee;     /* 石灰岩 */
  --paper: #ffffff;
  --ink: #16211f;
  --muted: #55645f;
  --brass: #a37f3a;     /* 黄铜 */
  --brass-light: #d9bd7e;
  --rule: #cfd6d2;

  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --latin: "Didot", "Bodoni 72", "Bodoni MT", "Playfair Display", Georgia, serif;

  --wrap: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.3; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

.test-banner { background: var(--brass-light); color: var(--deep); text-align: center; font-size: 13px; padding: 6px 16px; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep);
  color: #fff;
  border-bottom: 1px solid rgba(217, 189, 126, .35);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--brass-light);
  font-family: var(--latin); font-size: 22px; color: var(--brass-light);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--latin); font-size: 22px; letter-spacing: .04em; }
.brand-sub { font-family: var(--latin); font-size: 12px; letter-spacing: .28em; color: var(--brass-light); }

.site-nav { display: flex; align-items: center; gap: 34px; font-size: 15px; }
.site-nav a { text-decoration: none; color: rgba(255,255,255,.86); padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: #fff; border-bottom-color: var(--brass-light); }
.site-nav .nav-cta { border: 1px solid var(--brass-light); color: var(--brass-light); padding: 7px 18px; }
.site-nav .nav-cta:hover { background: var(--brass-light); color: var(--deep); }

.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; font: inherit; font-size: 14px; padding: 6px 14px; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn { display: inline-block; text-decoration: none; font-size: 16px; padding: 13px 30px; border: 1px solid transparent; transition: background .2s, color .2s; }
.btn-brass { background: var(--brass-light); color: var(--deep); font-weight: 600; }
.btn-brass:hover { background: #e7cf97; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- 首屏 ---------- */
.hero { background: var(--deep); color: #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(34px, 4.4vw, 58px); line-height: 1.28; letter-spacing: .02em; }
.hero-lead { margin-top: 28px; max-width: 34em; color: rgba(255,255,255,.82); font-size: 18px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; max-width: 34em; }
.hero-facts dt { font-family: var(--serif); font-size: 28px; color: var(--brass-light); line-height: 1.2; }
.hero-facts dd { margin-top: 6px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.72); }

.hero-map svg { width: 100%; height: auto; display: block; }
.hero-map figcaption { text-align: right; font-size: 12px; color: rgba(255,255,255,.45); margin-top: 6px; }
.hero-map .land { fill: #174552; }
.hero-map .coast { fill: none; stroke: var(--brass-light); stroke-width: 1; opacity: .7; }
.hero-map .route { fill: none; stroke: var(--brass-light); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.hero-map .city circle { fill: #fff; }
.hero-map .city .port { fill: var(--brass-light); stroke: var(--deep); stroke-width: 2; }
.hero-map .city text { fill: rgba(255,255,255,.85); font-size: 15px; font-family: var(--sans); }
.hero-map .country-name { fill: #fff; font-family: var(--serif); font-weight: 700; font-size: 26px; }
.hero-map .country-role { fill: var(--brass-light); font-size: 14px; font-family: var(--sans); }
.hero-map .sea-label { fill: rgba(255,255,255,.3); font-family: var(--serif); font-size: 15px; letter-spacing: .5em; }

@media (prefers-reduced-motion: no-preference) {
  .hero-map .route { animation: sail 2.4s linear infinite; }
  @keyframes sail { to { stroke-dashoffset: -20; } }
}

/* ---------- 通用版块 ---------- */
.section { padding: 104px 0; }
.section-stone { background: var(--stone); }
.section-deep { background: var(--deep); color: #fff; }

.section-head { max-width: 46em; margin-bottom: 56px; }
.section-head h2, .contact-grid h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: .02em; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 2px; background: var(--brass); margin-top: 20px; }
.section-head p { margin-top: 22px; color: var(--muted); }

.source-note { margin-top: 18px; font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 64em; }

/* ---------- 优势：两岸 ---------- */
.shores { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--paper); border-top: 3px solid var(--deep); }
.shore { padding: 44px 44px 40px; }
.shore + .shore { border-left: 1px solid var(--rule); }
.shore h3 { font-size: 28px; }
.shore h3 span { display: block; font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--brass); margin-top: 6px; }
.facts { margin-top: 28px; }
.facts li { display: grid; grid-template-columns: 9.5em 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.facts b { font-family: var(--serif); font-size: 21px; color: var(--sea); line-height: 1.3; }
.facts span { font-size: 15px; line-height: 1.7; color: var(--ink); }
.fit { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 15px; color: var(--muted); }

.combo { margin-top: 2px; background: var(--deep); color: #fff; padding: 44px; }
.combo h3 { font-size: 24px; color: var(--brass-light); }
.combo-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.combo-grid p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.8); }
.combo-grid b { display: block; font-family: var(--serif); font-size: 17px; color: #fff; margin-bottom: 8px; }

.table-title { font-size: 24px; margin-top: 80px; margin-bottom: 22px; }
.table-scroll { overflow-x: auto; background: var(--paper); border-top: 3px solid var(--deep); }
.compare { border-collapse: collapse; width: 100%; min-width: 820px; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--rule); line-height: 1.5; }
.compare thead th { font-family: var(--serif); font-size: 16px; }
.compare tbody th { font-weight: 400; color: var(--muted); width: 15em; }
.compare .hl { background: #f6f1e4; font-weight: 600; }
.compare thead .hl { color: var(--deep); border-bottom: 2px solid var(--brass); }

.candid { margin-top: 80px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; border-left: 3px solid var(--brass); padding: 8px 0 8px 36px; }
.candid h3 { font-size: 24px; }
.candid li { position: relative; padding: 0 0 14px 22px; font-size: 16px; }
.candid li::before { content: ""; position: absolute; left: 0; top: .8em; width: 10px; height: 1px; background: var(--brass); }

/* ---------- 企业服务 ---------- */
.service-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 72px; border-top: 3px solid var(--deep); }
.service-list article { padding: 30px 0; border-bottom: 1px solid var(--rule); }
.service-list h3 { font-size: 21px; }
.service-list p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.steps-title { font-size: 24px; margin-top: 80px; margin-bottom: 28px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 28px 28px 0 0; border-top: 1px solid var(--deep); }
.steps li::before {
  content: counter(step);
  position: absolute; top: -17px; left: 0;
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--deep); color: var(--brass-light);
  font-family: var(--latin); font-size: 17px;
}
.steps b { display: block; font-family: var(--serif); font-size: 19px; margin-top: 8px; }
.steps span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ---------- 移民 ---------- */
.tabs { display: flex; gap: 0; border-bottom: 1px solid var(--deep); }
.tabs button {
  font: inherit; font-family: var(--serif); font-size: 19px; font-weight: 700;
  padding: 14px 36px; cursor: pointer;
  background: transparent; color: var(--muted);
  border: 1px solid transparent; border-bottom: 0;
}
.tabs button[aria-selected="true"] { background: var(--deep); color: #fff; }
.tabs button:not([aria-selected="true"]):hover { color: var(--deep); }

.tab-panel { background: var(--paper); padding: 40px 44px 44px; }
.panel-lead { max-width: 52em; color: var(--muted); }
.routes { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 40px; }
.routes article { border-top: 2px solid var(--brass); padding: 22px 0 12px; }
.routes h3 { font-size: 20px; }
.threshold { margin-top: 6px; font-family: var(--serif); font-size: 17px; color: var(--sea); }
.routes ul { margin-top: 14px; }
.routes li { position: relative; padding: 0 0 10px 16px; font-size: 15px; line-height: 1.7; }
.routes li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 1px; background: var(--muted); }

/* ---------- 团队 ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.portrait {
  aspect-ratio: 4 / 5;
  background: var(--stone);
  border: 1px solid var(--rule);
  display: grid; place-items: center;
  color: #93a09b; font-size: 14px;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { font-size: 21px; margin-top: 20px; }
.member .role { margin-top: 4px; color: var(--brass); font-size: 15px; }
.member .role + p { margin-top: 10px; font-size: 15px; color: var(--muted); line-height: 1.7; }

.principles { margin-top: 88px; background: var(--stone); padding: 40px 44px; display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.principles h3 { font-size: 24px; }
.principles li { padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 16px; }
.principles li:first-child { padding-top: 0; }
.principles li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: start; }
.contact-grid p { margin: 22px 0 34px; color: rgba(255,255,255,.8); max-width: 30em; }
.contact-list > div { display: grid; grid-template-columns: 6em 1fr; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-list > div:first-child { border-top: 1px solid rgba(255,255,255,.2); }
.contact-list dt { color: var(--brass-light); font-size: 15px; }
.contact-list dd { font-size: 16px; }

/* ---------- 页脚 ---------- */
.site-footer { background: #0a232c; color: rgba(255,255,255,.6); padding: 44px 0; font-size: 13px; line-height: 1.8; }
.site-footer p { max-width: 70em; }
.site-footer p + p { margin-top: 12px; }
.footer-brand { font-family: var(--latin); font-size: 18px; letter-spacing: .06em; color: #fff; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 40px; }
  .hero-map { max-width: 460px; margin: 0 auto; width: 100%; }
  .shores { grid-template-columns: 1fr; }
  .shore + .shore { border-left: 0; border-top: 3px solid var(--deep); }
  .combo-grid { grid-template-columns: 1fr 1fr; }
  .candid, .principles, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .service-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 40px; }

  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--deep); padding: 8px 20px 20px;
    border-bottom: 1px solid rgba(217,189,126,.35);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav .nav-cta { margin-top: 16px; text-align: center; padding: 12px; }

  .hero h1 { font-size: 30px; }
  .hero-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 40px; }
  .shore, .combo, .tab-panel, .principles { padding: 28px 22px; }
  .facts li { grid-template-columns: 1fr; gap: 4px; }
  .combo-grid { grid-template-columns: 1fr; gap: 22px; }
  .candid { padding-left: 22px; }
  .steps { grid-template-columns: 1fr; }
  .tabs button { flex: 1; padding: 12px 8px; font-size: 17px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 32px 18px; }
  .table-title, .steps-title, .candid { margin-top: 56px; }
  .principles { margin-top: 56px; }
}
