/* =====================================================
   sea.css — 越南站 (/vn/) + 泰国站 (/th/) 共用样式
   body.theme-vn : 越南市场 —— 简洁直爽、强对比、红色 CTA（幸运色）
   body.theme-th : 泰国市场 —— 柔和粉彩、紫金贵气、圆润分层
   ===================================================== */

.sea-body {
  --ink: #1F1E1B;
  --ink-2: #55534D;
  --muted: #8A877E;
  --line: #E4E1D8;
  --line-2: #CFCBC0;
  --surface: #FFFFFF;
  --surface-2: #F6F4EE;
  --brand: #12805C;
  --brand-soft: #E4F5EC;
  --accent: #12805C;
  --accent-dark: #0C5C43;
  --accent-soft: #E4F5EC;
  --gold: #B98A2F;
  --radius: 10px;
  --radius-lg: 14px;
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
}

/* ---------- 越南主题 ---------- */
body.theme-vn {
  --accent: #C8102E;
  --accent-dark: #9C0C24;
  --accent-soft: #FCEAEC;
  --hero-bg: #FFF7F7;
  --radius: 6px;
  --radius-lg: 8px;
}

/* ---------- 泰国主题 ---------- */
body.theme-th {
  --font: "Sarabun", "Leelawadee UI", "Noto Sans Thai", Tahoma, sans-serif;
  --accent: #6A4FA3;
  --accent-dark: #52398A;
  --accent-soft: #EFE9F8;
  --hero-bg: #F7F4FB;
  --surface-2: #F8F5FC;
  --radius: 18px;
  --radius-lg: 22px;
}
body.theme-th .sea-section { background: #FBF9FE; }
body.theme-th .sea-section + .sea-section { background: #FFFFFF; }

/* ---------- 印尼主题 ----------
   深海军蓝（信任，印尼 B2B 银行/电信常用）
   + sogan 金褐（batik 传统色，仅作点缀）
   + 米白底与极淡 parang 斜纹（蜡染纹样，非宗教符号） */
body.theme-id {
  --font: "Plus Jakarta Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ink: #14232F;
  --ink-2: #4A5A67;
  --muted: #7C8B96;
  --line: #E3E6E4;
  --line-2: #C9D4D8;
  --surface: #FFFFFF;
  --surface-2: #F7F4EC;
  --brand: #0E5C86;
  --brand-soft: #E3EFF6;
  --accent: #0E5C86;
  --accent-dark: #0B4767;
  --accent-soft: #E3EFF6;
  --gold: #A9772F;
  --hero-bg: #F2F7FA;
  --radius: 12px;
  --radius-lg: 16px;
}
body.theme-id .hero {
  background-image:
    repeating-linear-gradient(135deg, rgba(169, 119, 47, 0.055) 0 2px, transparent 2px 15px),
    linear-gradient(180deg, #F2F7FA 0%, #FAF7F0 100%);
  border-bottom: 1px solid var(--line-2);
}
body.theme-id .hero h1 { font-weight: 600; letter-spacing: -0.01em; }
body.theme-id .hero-kicker { color: var(--gold); letter-spacing: 0.12em; }
body.theme-id .sea-section { background: #FBF9F4; }
body.theme-id .sea-section + .sea-section { background: #FFFFFF; }
body.theme-id .btn-primary { background: var(--accent); }
body.theme-id .btn-primary:hover { background: var(--accent-dark); }
body.theme-id .section-kicker { color: var(--gold); }
body.theme-id .stat strong { color: var(--accent-dark); }
body.theme-id .sea-footer { background: #0E2E4A; }
body.theme-id .sea-footer h4 { color: #E8C88A; }

/* WhatsApp 悬浮按钮（印尼商务沟通以 WhatsApp 为主） */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26); text-decoration: none; }
@media (max-width: 600px) {
  .wa-float { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

*, *::before, *::after { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
.sea-body a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; font-weight: 500; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent); color: #fff; padding: 8px 14px; z-index: 99;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
.sea-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}
.sea-header .shell { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 16.5px; font-weight: 500; color: var(--ink); }
.brand-text em { font-style: normal; font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }

.sea-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.sea-nav a {
  padding: 9px 13px; border-radius: var(--radius);
  font-size: 14px; color: var(--ink-2); white-space: nowrap;
}
.sea-nav a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.sea-nav a.is-active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-row { display: flex; gap: 5px; }
.lang-row a {
  font-size: 12px; color: var(--muted); padding: 5px 8px; line-height: 1.2;
  border-radius: var(--radius); border: 1px solid var(--line-2); background: #fff;
  font-weight: 500;
}
.lang-row a.is-active { color: #fff; background: var(--accent-dark); border-color: var(--accent-dark); font-weight: 600; }
.lang-row a:hover { color: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.lang-row a.is-active:hover { color: #fff; }
/* 移动端菜单内的语言切换（桌面隐藏） */
.sea-lang-mobile { display: none; }
.sea-lang-label { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius);
  font-size: 14.5px; font-weight: 500; border: 1px solid transparent;
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent-dark); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; }

/* ---------- hero ---------- */
.hero { background: var(--hero-bg); border-bottom: 1px solid var(--line); }
.hero .shell { max-width: 1180px; margin: 0 auto; padding: 72px 22px 58px; }
.hero-kicker {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin: 0 0 14px;
}
body.theme-th .hero-kicker { color: var(--gold); }
.hero h1 { font-size: clamp(26px, 4.4vw, 40px); max-width: 21em; }
.hero .lead { font-size: 16.5px; color: var(--ink-2); max-width: 44em; margin: 18px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.badges span {
  font-size: 12.5px; color: var(--ink-2);
  border: 1px solid var(--line-2); background: #fff;
  border-radius: 999px; padding: 6px 13px;
}

/* ---------- 通用 section ---------- */
.shell { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.sea-section { padding: 62px 0; border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 34px; max-width: 46em; }
.section-kicker {
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); font-weight: 500; margin: 0 0 10px;
}
body.theme-th .section-kicker { color: var(--gold); }
.section-head h2 { font-size: clamp(21px, 3vw, 27px); }
body.theme-th .section-head h2 { border-inline-start: 3px solid var(--gold); padding-inline-start: 14px; }
.section-head p { color: var(--ink-2); margin: 12px 0 0; font-size: 15px; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 18px; background: var(--surface);
}
.stat strong { font-size: 24px; font-weight: 500; color: var(--accent-dark); }
body.theme-th .stat strong { color: var(--accent); }
.stat span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* ---------- 客户类型 / 产品卡片 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); padding: 24px 22px; display: flex; flex-direction: column; gap: 10px;
}
.card .badge {
  align-self: flex-start; font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 999px; padding: 5px 11px;
}
body.theme-th .card .badge { color: var(--accent); }
.card h3 { font-size: 17.5px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.card .spec-row { margin: 6px 0 0; padding: 0; display: grid; gap: 6px; list-style: none; }
.card .spec-row li { font-size: 13px; color: var(--ink-2); border-top: 1px dashed var(--line); padding-top: 6px; }
.card .spec-row li strong { color: var(--ink); font-weight: 500; }
.card .link-more { margin-top: auto; font-size: 14px; font-weight: 500; padding-top: 6px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.sea-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.sea-table th, .sea-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sea-table thead th { background: var(--surface-2); font-weight: 500; font-size: 13px; color: var(--ink-2); }
.sea-table tbody tr:last-child td { border-bottom: 0; }
.sea-table td:first-child { font-weight: 500; color: var(--ink); }

/* ---------- 应用网格 ---------- */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 18px; background: var(--surface);
}
.app h3 { font-size: 15.5px; }
.app p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------- why / 步骤 ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { border-top: 2px solid var(--accent); padding-top: 16px; }
body.theme-th .feature { border-top-color: var(--gold); }
.feature .no { font-size: 13px; color: var(--muted); letter-spacing: 0.1em; }
.feature h3 { font-size: 16.5px; margin-top: 8px; }
.feature p { margin: 10px 0 0; font-size: 14px; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px 18px; background: #fff; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-size: 13px; color: var(--accent); font-weight: 500; letter-spacing: 0.08em;
}
body.theme-th .step::before { color: var(--gold); }
.step h3 { font-size: 15.5px; margin-top: 8px; }
.step p { margin: 8px 0 0; font-size: 13.5px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer; padding: 16px 20px; font-size: 15px; font-weight: 500;
  list-style: none; display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 18px; }
.faq details[open] summary::after { content: "–"; }
.faq .faq-body { padding: 0 20px 16px; font-size: 14px; color: var(--ink-2); }
.faq .faq-body p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent-soft); border-bottom: 1px solid var(--line); }
.cta-band .shell { padding-top: 46px; padding-bottom: 46px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-band h2 { font-size: clamp(19px, 2.6vw, 24px); }
.cta-band p { margin: 8px 0 0; color: var(--ink-2); font-size: 15px; max-width: 40em; }
.cta-band .btn { margin-left: auto; }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: start; }
.sea-form { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 26px 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.sea-form label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; }
.sea-form input, .sea-form select, .sea-form textarea {
  width: 100%; padding: 11px 13px; font: inherit; font-size: 14.5px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; color: var(--ink);
}
.sea-form textarea { min-height: 120px; resize: vertical; }
.sea-form input:focus, .sea-form select:focus, .sea-form textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.hp-field { position: absolute; left: -999px; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 12px 0 16px; }
.form-status { font-size: 14px; margin: 0 0 12px; min-height: 1em; }

.msg-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.msg-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius);
  font-size: 14px; font-weight: 500; border: 1px solid var(--line-2); color: var(--ink);
}
.msg-btn:hover { border-color: var(--accent); text-decoration: none; }
.msg-btn .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

.info-cards { display: grid; gap: 14px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; padding: 18px 20px; }
.info-card h3 { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.info-card p, .info-card a { font-size: 14.5px; color: var(--ink); margin: 6px 0 0; display: block; }

/* ---------- footer ---------- */
.sea-footer { background: #191813; color: #CFCBC0; }
.sea-footer .shell { max-width: 1180px; margin: 0 auto; padding: 44px 22px 30px; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 26px; }
.sea-footer .brand-text strong { color: #fff; }
.sea-footer .brand-text em { color: #9B978C; }
.sea-footer p { font-size: 13.5px; margin: 12px 0 0; line-height: 1.75; }
.sea-footer h4 { color: #fff; font-size: 13px; margin-bottom: 10px; }
.sea-footer nav a, .footer-contact a { display: block; font-size: 13.5px; color: #CFCBC0; padding: 3px 0; }
.sea-footer nav a:hover, .footer-contact a:hover { color: #fff; }
.footer-base { border-top: 1px solid #33322B; margin-top: 30px; padding-top: 18px; font-size: 12.5px; color: #9B978C; }
.footer-base .shell { padding: 0 22px; }

/* ---------- 响应式 ---------- */
@media (max-width: 920px) {
  .cards, .apps, .why { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .sea-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 10px 22px 16px;
  }
  .sea-nav.is-open { display: flex; }
  .burger { display: block; margin-left: auto; }
  .header-actions { margin-left: auto; }
  .header-actions > .lang-row { display: none; }
  .sea-nav.is-open .sea-lang-mobile {
    display: block; margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line);
  }
  .sea-nav.is-open .sea-lang-mobile .sea-lang-label { display: block; margin-bottom: 8px; }
  .sea-nav.is-open .sea-lang-mobile .lang-row { flex-wrap: wrap; gap: 6px; }
  .sea-nav.is-open .sea-lang-mobile .lang-row a { font-size: 13px; padding: 7px 14px; }
}
@media (max-width: 600px) {
  .cards, .apps, .why, .steps, .stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero .shell { padding: 48px 22px 40px; }
  .sea-section { padding: 44px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-band .btn { margin-left: 0; }
}

/* ---------- articles hub & article pages ---------- */
.art-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line-2); max-width: 880px; }
.art-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 30px;
  align-items: baseline;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
}
.art-row:last-child { border-bottom: 0; }
.art-main { min-width: 0; }
.art-main h3 { margin: 6px 0 0; font-size: 17px; line-height: 1.45; }
.art-main h3 a { color: var(--ink); text-decoration: none; }
.art-main h3 a:hover { color: var(--accent-dark); }
.art-main p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }
.art-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.art-date { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.art-meta { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.art-meta time { color: var(--accent-dark); font-weight: 600; }
.art-sec h2 { font-size: clamp(19px, 2.6vw, 24px); margin-bottom: 14px; }
.art-sec .body-p { margin: 0 0 14px; max-width: 46em; }
.art-steps { margin: 0 0 14px; padding-left: 22px; max-width: 46em; }
.art-steps li { margin: 8px 0; font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.art-rel { list-style: none; margin: 0; padding: 0; max-width: 46em; }
.art-rel li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.art-rel li:last-child { border-bottom: 0; }
.art-rel a { color: var(--ink); font-weight: 500; text-decoration: none; }
.art-rel a:hover { color: var(--accent-dark); }
@media (max-width: 640px) {
  .art-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 16px 0; }
  .art-date { order: -1; font-size: 12px; }
}
