/* ============================================================
   ChinaSourceDirect — Two-Way China Trade Desk
   Static site stylesheet (no build step required)
   ============================================================ */

:root {
  --ink:        #0b0e0d;
  --ink-2:      #111714;
  --ink-3:      #1a211e;
  --forest:     #165f49;
  --forest-2:   #0f4a38;
  --mint:       #2ee6ae;
  --mint-deep:  #14c793;
  --paper:      #f6f5f1;
  --paper-2:    #efede7;
  --white:      #ffffff;
  --line:       #e2dfd7;
  --line-dark:  #28322d;
  --txt:        #1d2422;
  --txt-soft:   #4c5852;
  --txt-faint:  #7d8a84;
  --txt-dim:    #9aa8a2;   /* on dark */
  --gold:       #c8962c;
  --red:        #c4453c;
  --radius:     10px;
  --maxw:       1180px;
  --ease:       cubic-bezier(0.86, 0, 0.07, 1);
  --font-latin: 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-disp:  'Space Grotesk', 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-zh:    'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --font-ar:    'Tajawal', 'Inter', 'Segoe UI', Tahoma, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-latin);
  color: var(--txt);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="zh"] body { font-family: var(--font-zh); }
html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="ar"] .disp, html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--font-ar); letter-spacing: 0 !important; }

::selection { background: var(--mint); color: var(--ink); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* ---------- Typography ---------- */
.disp { font-family: var(--font-disp); }
html[lang="zh"] .disp { font-family: var(--font-zh); }

.label {
  font-family: var(--font-disp);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--forest);
}
html[lang="zh"] .label { font-family: var(--font-zh); letter-spacing: 0.32em; }
html[lang="ar"] .label { letter-spacing: 0.06em; }
.label.on-dark { color: var(--mint); }

h1, h2, h3 { font-family: var(--font-disp); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -0.01em; }
html[lang="zh"] h1, html[lang="zh"] h2, html[lang="zh"] h3 { font-family: var(--font-zh); letter-spacing: 0; }
.h-display { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.9rem); }
.h-page    { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); }
.h-sec     { font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.3rem); }
.h-card    { font-size: 1.22rem; line-height: 1.3; }
.lead { font-size: clamp(1.02rem, 0.96rem + 0.35vw, 1.2rem); color: var(--txt-soft); max-width: 62ch; }
.lead.on-dark { color: var(--txt-dim); }

.sec { padding-block: clamp(56px, 4vw + 40px, 104px); }
.sec-head { margin-bottom: clamp(28px, 3vw, 48px); max-width: 760px; }
.sec-head .label { display: block; margin-bottom: 14px; }
.sec-head p { margin-top: 14px; }

.dark { background: var(--ink); color: #eef3f0; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.tint { background: var(--paper-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 14, 13, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: linear-gradient(135deg, var(--mint), var(--forest));
  color: var(--ink); font-family: var(--font-disp); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center; letter-spacing: 0;
}
.brand-name { font-family: var(--font-disp); font-weight: 700; font-size: 15.5px; color: #fff; line-height: 1.15; }
.brand-name em { font-style: normal; color: var(--mint); }
.brand-tag { font-size: 10.5px; color: var(--txt-dim); letter-spacing: 0.08em; }
html[lang="ar"] .brand-tag { letter-spacing: 0; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.main-nav a {
  color: #cfd8d3; font-size: 13.5px; font-weight: 500;
  padding: 8px 10px; border-radius: 7px; white-space: nowrap;
  transition: color .2s, background .2s;
}
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.07); }
.main-nav a.active { color: var(--mint); }

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.lang-switch { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 7px;
  color: #cfd8d3; font-size: 13.5px; font-weight: 600;
  padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: 7px;
  transition: border-color .2s, color .2s;
}
.lang-btn:hover { border-color: var(--mint); color: #fff; }
.lang-btn .chev { width: 10px; height: 10px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); }
[dir="rtl"] .lang-btn .chev { border-right: none; border-left: 1.6px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.lang-menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 8px);
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 10px;
  min-width: 168px; padding: 6px; display: none;
  box-shadow: 0 18px 44px rgba(0,0,0,.45);
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 9px 12px; border-radius: 7px; color: #cfd8d3; font-size: 14px; }
.lang-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.lang-menu a.cur { color: var(--mint); }
.lang-menu a .native { font-size: 12.5px; color: var(--txt-dim); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 13px 22px; border-radius: 9px;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-mint { background: var(--mint); color: var(--ink); }
.btn-mint:hover { background: var(--mint-deep); box-shadow: 0 10px 26px rgba(46, 230, 174, .28); }
.btn-ghost { border-color: rgba(255,255,255,.32); color: #fff; }
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); }
.btn-forest { background: var(--forest); color: #fff; }
.btn-forest:hover { background: var(--forest-2); box-shadow: 0 10px 26px rgba(22, 95, 73, .3); }
.btn-outline { border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13.5px; border-radius: 8px; }
.btn .arr { font-family: var(--font-disp); transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
[dir="rtl"] .btn .arr { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arr { transform: scaleX(-1) translateX(4px); }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-dark); border-radius: 8px; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.8px; background: #fff; transition: transform .3s var(--ease), opacity .2s, top .3s; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 20px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

.mobile-menu { display: none; }
@media (max-width: 1023px) {
  .main-nav, .header-cta .btn { display: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .mobile-menu {
    display: block; position: fixed; inset: 68px 0 0 0; z-index: 99;
    background: var(--ink); padding: 26px 24px 40px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .3s var(--ease);
    overflow-y: auto;
  }
  body.nav-open .mobile-menu { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-menu a.mm-link {
    display: flex; justify-content: space-between; align-items: center;
    color: #eef3f0; font-family: var(--font-disp); font-size: 21px; font-weight: 700;
    padding: 15px 2px; border-bottom: 1px solid var(--line-dark);
  }
  html[lang="zh"] .mobile-menu a.mm-link { font-family: var(--font-zh); }
  html[lang="ar"] .mobile-menu a.mm-link { font-family: var(--font-ar); }
  .mobile-menu a.mm-link.active { color: var(--mint); }
  .mobile-menu .mm-cta { margin-top: 24px; display: grid; gap: 10px; }
  .mobile-menu .mm-langs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
  .mobile-menu .mm-langs a { padding: 8px 13px; border: 1px solid var(--line-dark); border-radius: 8px; color: #cfd8d3; font-size: 13.5px; }
  .mobile-menu .mm-langs a.cur { color: var(--mint); border-color: var(--mint); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #eef3f0; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(58% 46% at 82% 8%, rgba(46, 230, 174, .14), transparent 62%),
    radial-gradient(42% 40% at 8% 96%, rgba(22, 95, 73, .4), transparent 66%);
  pointer-events: none;
}
.hero-grid-lines {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 30%, #000, transparent);
}
.hero-in { position: relative; padding-block: clamp(64px, 6vw + 30px, 120px) clamp(48px, 5vw, 84px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero .label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 12px var(--mint); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--mint); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-micro { margin-top: 18px; font-size: 13.5px; color: var(--txt-dim); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-micro span { display: inline-flex; align-items: center; gap: 7px; }
.hero-micro .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

/* Hero dashboard panel */
.desk {
  position: relative; background: var(--ink-2);
  border: 1px solid var(--line-dark); border-radius: 16px;
  padding: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.desk-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.desk-title { font-family: var(--font-disp); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--txt-dim); }
html[lang="ar"] .desk-title { font-family: var(--font-ar); letter-spacing: .04em; }
.desk-live { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--mint); }
.desk-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(46,230,174,.5); } 55% { box-shadow: 0 0 0 7px rgba(46,230,174,0); } }
.desk-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
.desk-stat { border: 1px solid var(--line-dark); border-radius: 10px; padding: 13px 14px; background: rgba(255,255,255,.02); }
.desk-num { font-family: var(--font-disp); font-size: 24px; font-weight: 700; color: #fff; line-height: 1; }
html[lang="ar"] .desk-num { font-family: var(--font-disp); }
.desk-num em { font-style: normal; color: var(--mint); font-size: 15px; }
.desk-lab { font-size: 11px; color: var(--txt-dim); margin-top: 7px; line-height: 1.4; }
.desk-flow { border: 1px solid var(--line-dark); border-radius: 10px; padding: 14px; background: rgba(255,255,255,.02); }
.desk-flow-t { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--txt-dim); margin-bottom: 12px; }
html[lang="ar"] .desk-flow-t { letter-spacing: .02em; }
.desk-row { display: flex; align-items: center; gap: 10px; padding-block: 7px; }
.desk-row + .desk-row { border-top: 1px dashed var(--line-dark); }
.desk-ico { flex-shrink: 0; width: 26px; height: 26px; border-radius: 7px; background: rgba(46,230,174,.12); color: var(--mint); display: flex; align-items: center; justify-content: center; }
.desk-ico svg { width: 14px; height: 14px; }
.desk-row-t { font-size: 13px; color: #dbe4df; font-weight: 500; }
.desk-row-s { font-size: 11px; color: var(--txt-dim); }
.desk-check { margin-inline-start: auto; color: var(--mint); flex-shrink: 0; }
.desk-bar { height: 5px; border-radius: 4px; background: var(--ink-3); margin-top: 14px; overflow: hidden; }
.desk-bar i { display: block; height: 100%; width: 78%; border-radius: 4px; background: linear-gradient(90deg, var(--forest), var(--mint)); }
.desk-bar-lab { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--txt-dim); margin-top: 7px; }

@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
}

/* ---------- Dual service paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.path {
  position: relative; border-radius: 18px; padding: clamp(26px, 3vw, 40px);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.path:hover { transform: translateY(-5px); }
.path-a { background: var(--ink); color: #eef3f0; border: 1px solid var(--line-dark); }
.path-a:hover { box-shadow: 0 26px 60px rgba(11,14,13,.35); }
.path-a::after { content: ''; position: absolute; inset-inline-end: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(46,230,174,.16), transparent 65%); }
.path-b { background: var(--white); border: 1px solid var(--line); }
.path-b:hover { box-shadow: 0 26px 60px rgba(29,36,34,.12); }
.path-no { font-family: var(--font-disp); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
html[lang="ar"] .path-no { letter-spacing: .04em; }
.path-a .path-no { color: var(--mint); }
.path-b .path-no { color: var(--forest); }
.path-no::before { content: ''; width: 26px; height: 2px; background: currentColor; }
.path h3 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.85rem); margin-bottom: 12px; position: relative; }
.path-a h3 { color: #fff; }
.path > p { font-size: 15px; color: var(--txt-soft); margin-bottom: 20px; position: relative; }
.path-a > p { color: var(--txt-dim); }
.path-list { display: grid; gap: 11px; margin-bottom: 26px; position: relative; }
.path-list li { display: flex; gap: 11px; font-size: 14.5px; line-height: 1.5; }
.path-list .tick { flex-shrink: 0; width: 19px; height: 19px; margin-top: 2px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; }
.path-a .tick { background: rgba(46,230,174,.14); color: var(--mint); }
.path-b .tick { background: rgba(22,95,73,.1); color: var(--forest); }
.path-foot { margin-top: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; position: relative; }
.path-price { font-size: 12.5px; color: var(--txt-faint); }
.path-a .path-price { color: var(--txt-dim); }
@media (max-width: 860px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line-dark); }
.stat-cell { padding: clamp(22px, 2.6vw, 36px) 18px; text-align: center; }
.stat-cell + .stat-cell { border-inline-start: 1px solid var(--line-dark); }
.stat-num { font-family: var(--font-disp); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 700; color: #fff; line-height: 1; }
.stat-num em { font-style: normal; color: var(--mint); }
.stat-lab { font-size: 12.5px; color: var(--txt-dim); margin-top: 9px; }
@media (max-width: 760px) {
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(3) { border-inline-start: none; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: none; }
.step-n {
  width: 46px; height: 46px; border-radius: 12px; margin-top: 2px;
  background: var(--ink); color: var(--mint);
  font-family: var(--font-disp); font-size: 17px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step h4 { font-family: var(--font-disp); font-size: 17.5px; color: var(--ink); margin-bottom: 6px; }
html[lang="zh"] .step h4 { font-family: var(--font-zh); }
html[lang="ar"] .step h4 { font-family: var(--font-ar); }
.step p { font-size: 14.5px; color: var(--txt-soft); max-width: 68ch; }
.step .step-meta { margin-top: 8px; font-size: 12.5px; color: var(--forest); font-weight: 600; }
.dark .step { border-color: var(--line-dark); }
.dark .step h4 { color: #fff; }
.dark .step p { color: var(--txt-dim); }
.dark .step-n { background: rgba(46,230,174,.12); }
@media (max-width: 560px) { .step { grid-template-columns: 46px 1fr; gap: 14px; } .step-n { width: 38px; height: 38px; font-size: 15px; border-radius: 10px; } }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(29,36,34,.1); border-color: #cfccc2; }
.card .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(22,95,73,.09); color: var(--forest); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .ico svg { width: 21px; height: 21px; }
.card h4 { font-family: var(--font-disp); font-size: 16.5px; color: var(--ink); margin-bottom: 7px; }
html[lang="zh"] .card h4, html[lang="ar"] .card h4 { font-family: inherit; }
.card p { font-size: 14px; color: var(--txt-soft); }
.card .count { font-family: var(--font-disp); font-size: 12px; font-weight: 700; color: var(--forest); letter-spacing: .06em; margin-top: 12px; display: block; }

/* dark cards */
.dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.dark .card:hover { border-color: #3a4a43; box-shadow: 0 18px 44px rgba(0,0,0,.4); }
.dark .card h4 { color: #fff; }
.dark .card p { color: var(--txt-dim); }
.dark .card .ico { background: rgba(46,230,174,.12); color: var(--mint); }
.dark .card .count { color: var(--mint); }

/* ---------- Checklist / comparison ---------- */
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--txt); }
.check-list .ck { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--forest); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.dark .check-list li { color: #dbe4df; }
.dark .check-list .ck { background: var(--mint); color: var(--ink); }

.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .cmp { grid-template-columns: 1fr; } }
.cmp-col { border-radius: 14px; padding: 26px; }
.cmp-bad { background: var(--white); border: 1px solid var(--line); }
.cmp-good { background: var(--ink); border: 1px solid var(--line-dark); color: #eef3f0; }
.cmp-h { font-family: var(--font-disp); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
html[lang="ar"] .cmp-h { letter-spacing: .03em; font-family: var(--font-ar); }
.cmp-bad .cmp-h { color: var(--txt-faint); }
.cmp-good .cmp-h { color: var(--mint); }
.cmp-col ul { display: grid; gap: 11px; }
.cmp-col li { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.cmp-bad li { color: var(--txt-soft); }
.cmp-good li { color: #dbe4df; }
.cmp-x { color: var(--red); font-weight: 800; flex-shrink: 0; }
.cmp-y { color: var(--mint); font-weight: 800; flex-shrink: 0; }

/* ---------- Region cards ---------- */
.regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .regions { grid-template-columns: 1fr; } }
.region { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.region h4 { font-family: var(--font-disp); font-size: 17px; color: var(--ink); }
html[lang="zh"] .region h4, html[lang="ar"] .region h4 { font-family: inherit; }
.region .r-countries { font-size: 12.5px; color: var(--txt-faint); margin-bottom: 8px; }
.region .r-row { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--txt-soft); padding-block: 4px; }
.region .r-row b { color: var(--ink); font-weight: 600; }
.region .btn { margin-top: 14px; align-self: flex-start; }

/* ---------- Cases ---------- */
.case { border-inline-start: 3px solid var(--forest); background: var(--white); border-radius: 0 12px 12px 0; padding: 20px 22px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line); }
[dir="rtl"] .case { border-radius: 12px 0 0 12px; }
.case-h { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 6px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.case-tag { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); background: rgba(22,95,73,.09); padding: 3px 9px; border-radius: 20px; }
.case p { font-size: 14px; color: var(--txt-soft); }
.case .case-res { margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--forest); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; text-align: start; padding: 20px 2px; font-family: var(--font-disp); font-size: 16.5px; font-weight: 700; color: var(--ink); }
html[lang="zh"] .faq-q, html[lang="ar"] .faq-q { font-family: inherit; }
.faq-q .fx { flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.faq-q .fx::before, .faq-q .fx::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 1.6px; background: var(--forest); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq-q .fx::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .fx { background: var(--forest); border-color: var(--forest); }
.faq-item.open .fx::before, .faq-item.open .fx::after { background: #fff; }
.faq-item.open .fx::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 2px 22px; font-size: 14.5px; color: var(--txt-soft); max-width: 72ch; }
.dark .faq { border-color: var(--line-dark); }
.dark .faq-item { border-color: var(--line-dark); }
.dark .faq-q { color: #fff; }
.dark .faq-q .fx { border-color: var(--line-dark); }
.dark .faq-q .fx::before, .dark .faq-q .fx::after { background: var(--mint); }
.dark .faq-item.open .fx { background: var(--mint); border-color: var(--mint); }
.dark .faq-item.open .fx::before, .dark .faq-item.open .fx::after { background: var(--ink); }
.dark .faq-a p { color: var(--txt-dim); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 78% 30%, rgba(46,230,174,.13), transparent 60%); }
.cta-in { position: relative; padding-block: clamp(56px, 5vw + 30px, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .cta-in { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band .lead { color: var(--txt-dim); }
.cta-actions { display: grid; gap: 12px; }
.cta-note { font-size: 12.5px; color: var(--txt-dim); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--txt-dim); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; padding-block: 56px 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-grid h5 { font-family: var(--font-disp); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
html[lang="ar"] .footer-grid h5 { letter-spacing: .04em; font-family: var(--font-ar); }
.footer-grid ul { display: grid; gap: 9px; font-size: 14px; }
.footer-grid a { transition: color .2s; }
.footer-grid a:hover { color: var(--mint); }
.footer-brand p { font-size: 13.5px; margin-top: 14px; max-width: 34ch; }
.footer-contact li { display: flex; gap: 9px; align-items: baseline; }
.footer-contact .ci { display: inline-flex; flex-shrink: 0; width: 15px; height: 15px; color: var(--txt-dim); transform: translateY(2px); }
.footer-contact .ci svg { width: 15px; height: 15px; }
.r-row .ci { display: inline-flex; flex-shrink: 0; width: 16px; height: 16px; color: var(--forest); }
.r-row .ci svg { width: 16px; height: 16px; }
.footer-contact b { color: #dbe4df; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding-block: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; }
.footer-disclaimer { font-size: 11.5px; color: #5f6d66; line-height: 1.6; padding-block: 16px 24px; border-top: 1px solid var(--line-dark); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(52% 60% at 84% 0%, rgba(46,230,174,.12), transparent 62%); }
.page-hero .wrap { position: relative; padding-block: clamp(52px, 5vw + 24px, 92px); }
.crumbs { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: var(--txt-dim); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--mint); }
.crumbs .sep { opacity: .5; }
.page-hero h1 { color: #fff; margin-bottom: 16px; max-width: 20ch; }
.page-hero .lead { max-width: 66ch; }
.page-hero .hero-ctas { margin-top: 28px; }

/* ---------- Two-col content ---------- */
.cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.sticky-side { position: sticky; top: 96px; }
@media (max-width: 860px) { .sticky-side { position: static; } }
.side-box { background: var(--ink); color: #eef3f0; border-radius: 16px; padding: 28px; }
.side-box h3 { color: #fff; font-size: 19px; margin-bottom: 14px; }
.side-box p { font-size: 14px; color: var(--txt-dim); margin-bottom: 18px; }
.side-box .btn { width: 100%; }
.side-box .side-note { margin-top: 14px; font-size: 12px; color: var(--txt-dim); text-align: center; }

/* ---------- Deliverable sample (report mock) ---------- */
.report-mock { background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 50px rgba(29,36,34,.1); }
.rm-head { background: var(--ink); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.rm-head .t { font-family: var(--font-disp); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .rm-head .t { font-family: var(--font-ar); letter-spacing: .03em; }
.rm-head .tag { font-size: 10.5px; color: var(--mint); border: 1px solid rgba(46,230,174,.4); padding: 3px 10px; border-radius: 20px; }
.rm-body { padding: 18px 20px; display: grid; gap: 0; }
.rm-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 14px; padding-block: 11px; font-size: 13.5px; border-bottom: 1px dashed var(--line); }
.rm-row:last-child { border-bottom: none; }
.rm-k { color: var(--txt-faint); font-weight: 600; }
.rm-v { color: var(--txt); }
.rm-v .ok { color: var(--forest); font-weight: 700; }
.rm-foot { background: var(--paper-2); padding: 12px 20px; font-size: 12px; color: var(--txt-faint); }

/* ---------- Tables ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.tbl th { background: var(--ink); color: #fff; font-family: var(--font-disp); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; text-align: start; padding: 13px 16px; }
html[lang="ar"] .tbl th { letter-spacing: .02em; font-family: var(--font-ar); }
.tbl td { padding: 13px 16px; border-top: 1px solid var(--line); color: var(--txt-soft); vertical-align: top; }
.tbl td:first-child { color: var(--ink); font-weight: 600; }
.tbl .y { color: var(--forest); font-weight: 700; }
.tbl .n { color: var(--red); font-weight: 700; }
.tbl-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(24px, 3vw, 36px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 600; color: var(--txt); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 14.5px; color: var(--txt);
  border: 1px solid var(--line); border-radius: 9px; padding: 11px 13px;
  background: var(--paper); width: 100%;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest); background: var(--white); box-shadow: 0 0 0 3px rgba(22,95,73,.12); }
.form-hint { font-size: 12.5px; color: var(--txt-faint); margin-top: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.seg label { position: relative; display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg .seg-box { border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; font-size: 14px; font-weight: 600; color: var(--txt-soft); transition: all .2s; display: block; }
.seg .seg-box small { display: block; font-weight: 500; font-size: 12px; color: var(--txt-faint); margin-top: 3px; }
.seg input:checked + .seg-box { border-color: var(--forest); background: rgba(22,95,73,.06); color: var(--forest); }

.contact-side { display: grid; gap: 16px; }
.c-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.c-card h4 { font-family: var(--font-disp); font-size: 15.5px; color: var(--ink); margin-bottom: 12px; }
html[lang="zh"] .c-card h4, html[lang="ar"] .c-card h4 { font-family: inherit; }
.c-row { display: flex; gap: 11px; align-items: flex-start; padding-block: 7px; font-size: 14px; color: var(--txt-soft); }
.c-row .ci { flex-shrink: 0; width: 30px; height: 30px; border-radius: 8px; background: rgba(22,95,73,.09); color: var(--forest); display: flex; align-items: center; justify-content: center; }
.ci svg, .c-row .ci svg { width: 15px; height: 15px; }
.c-row b { color: var(--ink); font-weight: 600; }
.c-card.hot { background: var(--ink); border-color: var(--line-dark); }
.c-card.hot h4 { color: #fff; }
.c-card.hot .c-row { color: var(--txt-dim); }
.c-card.hot .c-row b { color: #fff; }
.c-card.hot .ci { background: rgba(46,230,174,.12); color: var(--mint); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--forest); color: #fff; font-weight: 600; font-size: 14px;
  padding: 13px 18px; border-radius: 40px;
  box-shadow: 0 14px 34px rgba(22,95,73,.42);
  transition: transform .3s var(--ease), background .25s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--forest-2); }
.wa-float svg { width: 19px; height: 19px; }
@media (max-width: 640px) { .wa-float .wa-txt { display: none; } .wa-float { padding: 14px; border-radius: 50%; } }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: 16px; margin-block: 8px 26px; }
.divider-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.dark .divider-label::after { background: var(--line-dark); }
.note-strip { border-inline-start: 3px solid var(--gold); background: rgba(200,150,44,.08); padding: 15px 18px; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--txt-soft); }
[dir="rtl"] .note-strip { border-radius: 10px 0 0 10px; }
.note-strip b { color: var(--gold); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row span { font-size: 12.5px; font-weight: 600; color: var(--forest); background: rgba(22,95,73,.08); border: 1px solid rgba(22,95,73,.16); padding: 6px 13px; border-radius: 30px; }
.dark .tag-row span { color: var(--mint); background: rgba(46,230,174,.08); border-color: rgba(46,230,174,.2); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; }
}

/* Legal pages (privacy / terms) */
.legal { max-width: 820px; }
.legal-sec { padding: 26px 0; border-bottom: 1px solid rgba(11,14,13,.1); }
.legal-sec h3 { font-size: 19px; margin: 0 0 10px; letter-spacing: -.01em; }
.legal-sec p { margin: 0; color: var(--ink-soft, #3d4542); line-height: 1.75; font-size: 15.5px; }
.legal-updated { margin-top: 26px; font-size: 13px; color: #8a938f; }
.footer-legal a { color: #9fb3aa; text-decoration: none; }
.footer-legal a:hover { color: var(--mint); }
.footer-legal i { font-style: normal; margin: 0 8px; opacity: .5; }
