/* ==========================================================================
   OUYANG SOURCING — Design System
   Tokens → Base → Layout → Components → Page modules → Utilities
   ========================================================================== */

:root {
  /* Brand colours */
  --navy: #10243A;
  --navy-900: #0A1828;
  --navy-700: #1A3350;
  --blue: #2563EB;
  --blue-600: #1D4ED8;
  --blue-50: #EFF4FF;
  --blue-100: #DBE6FE;
  --white: #FFFFFF;
  --gray: #F5F7FA;
  --gray-100: #EEF1F5;
  --charcoal: #334155;
  --ink: #0F172A;
  --muted: #64748B;
  --border: #E2E8F0;
  --border-strong: #CBD5E1;

  /* Semantic status colours (used sparingly) */
  --ok: #15803D;      --ok-bg: #ECFDF3;
  --warn: #B45309;    --warn-bg: #FFF7E6;
  --risk: #B91C1C;    --risk-bg: #FEF2F2;
  --neutral: #475569; --neutral-bg: #F1F5F9;
  --wa: #1F9D55;      --wa-600: #178246;

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, "Noto Sans Arabic", "Segoe UI Arabic", "Noto Sans Devanagari", "Nirmala UI", "PingFang SC", "Microsoft YaHei", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Shape & depth */
  --r-sm: 6px;
  --r: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 36, 58, .06);
  --shadow: 0 4px 16px rgba(16, 36, 58, .07), 0 1px 3px rgba(16, 36, 58, .05);
  --shadow-lg: 0 20px 48px rgba(16, 36, 58, .12);

  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity .35s var(--ease);
}
body.is-ready { opacity: 1; }
body.is-leaving { opacity: 0; transition-duration: .15s; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-600); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
h4 { font-size: 1rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-100); color: var(--navy); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-gray { background: var(--gray); }
.section-navy { background: var(--navy); color: #C9D5E3; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section + .section:not(.section-gray):not(.section-navy) { border-top: 1px solid var(--border); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-60 { grid-template-columns: 1.25fr 1fr; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section-navy .section-head p { color: #A9B9CC; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section-navy .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: #7FA6F5; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Icons ---------- */
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.2em; flex-shrink: 0; }
.icon-box {
  width: 48px; height: 48px; border-radius: var(--r); display: grid; place-items: center;
  background: var(--blue-50); color: var(--blue); margin-bottom: 18px;
}
.icon-box .icon { width: 24px; height: 24px; }
.icon-box.dark { background: rgba(255,255,255,.08); color: #8FB2F7; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: var(--r-sm); border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); font: 600 .95rem/1.2 var(--font);
  cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
  text-align: center; white-space: nowrap;
}
.btn:hover { color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary:hover { --bg: var(--blue-600); --bd: var(--blue-600); }
.btn-outline { --bg: transparent; --fg: var(--navy); --bd: var(--border-strong); }
.btn-outline:hover { --bd: var(--navy); }
.btn-light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.35); }
.btn-ghost-light:hover { --bd: #fff; --bg: rgba(255,255,255,.06); }
.btn-wa { --bg: var(--wa); --bd: var(--wa); }
.btn-wa:hover { --bg: var(--wa-600); --bd: var(--wa-600); }
.btn-sm { padding: 9px 14px; font-size: .86rem; }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .95rem; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Top utility bar ---------- */
.utility-bar { background: var(--navy-900); color: #9FB1C6; font-size: .82rem; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.utility-bar a { color: #C9D5E3; }
.utility-bar a:hover { color: #fff; }
.utility-links { display: flex; gap: 22px; }
.utility-links a { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; letter-spacing: .08em; font-size: 1.02rem; }
.brand-sub { font-weight: 500; letter-spacing: .32em; font-size: .62rem; color: var(--muted); margin-top: 3px; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: var(--r-sm);
  color: var(--charcoal); font-weight: 500; font-size: .93rem; background: none; border: 0; cursor: pointer; font-family: inherit;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--navy); background: var(--gray); }
.nav-link.is-active { color: var(--blue); }
.nav-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; padding: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg);
  list-style: none; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease);
}
.dropdown.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--charcoal); }
.dropdown a:hover { background: var(--gray); }
.dropdown a .icon { color: var(--blue); margin-top: 3px; }
.dropdown strong { display: block; color: var(--navy); font-size: .92rem; font-weight: 600; }
.dropdown span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--r-sm); width: 44px; height: 44px; cursor: pointer; color: var(--navy); }
.nav-toggle .icon { width: 22px; height: 22px; }

.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; background: #fff; z-index: 99; overflow-y: auto;
  padding: 16px 24px 40px; transform: translateX(100%); transition: transform .28s var(--ease); visibility: hidden;
}
.mobile-panel.is-open { transform: translateX(0); visibility: visible; }
.mobile-panel ul { list-style: none; }
.mobile-panel li a { display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--border); color: var(--navy); font-weight: 500; }
.mobile-panel li a.is-active { color: var(--blue); }
.mobile-panel .group-label { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 22px 4px 4px; font-weight: 600; }
.mobile-panel .btn-row { margin-top: 24px; flex-direction: column; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: #C9D5E3; overflow: hidden;
  padding: 88px 0 96px;
}
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; 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: 56px 56px; mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero .container { position: relative; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #A9B9CC; max-width: 58ch; margin-bottom: 32px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 32px; font-size: .88rem; color: #9FB1C6; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: #7FA6F5; }
.hero-visual { position: relative; }
.hero-visual .photo { aspect-ratio: 4 / 4.4; border-radius: var(--r-lg); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero-card {
  position: absolute; left: -36px; bottom: 36px; width: 290px; background: #fff; color: var(--charcoal);
  border-radius: var(--r); padding: 18px 18px 16px; box-shadow: var(--shadow-lg); font-size: .85rem;
}
.hero-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hero-card-head strong { color: var(--navy); font-size: .9rem; }
.hero-card-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; border-top: 1px solid var(--border); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--navy); color: #A9B9CC; padding: 72px 0 76px; overflow: hidden; }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 3.8vw, 2.9rem); max-width: 22ch; }
.page-hero .lead { color: #A9B9CC; max-width: 62ch; margin: 0; }
.page-hero .btn-row { margin-top: 28px; }
.breadcrumb { display: flex; gap: 8px; font-size: .84rem; margin-bottom: 18px; color: #7F93AA; }
.breadcrumb a { color: #A9B9CC; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Photos ---------- */
.photo {
  position: relative; overflow: hidden; border-radius: var(--r); background: var(--navy-700) center / cover no-repeat;
  background-image: linear-gradient(135deg, #1A3350, #10243A);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.photo.img-failed img { display: none; }
.photo-tag {
  position: absolute; right: 10px; bottom: 10px; font-size: .68rem; letter-spacing: .04em;
  background: rgba(10, 24, 40, .72); color: #DCE4EE; padding: 3px 8px; border-radius: 4px; backdrop-filter: blur(4px);
}

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px;
  transition: border-color .2s, box-shadow .25s, transform .25s var(--ease);
}
.card-hover:hover { border-color: var(--blue-100); box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .96rem; }
.card p:last-child { margin-bottom: 0; }
.card-dark { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.card-dark p { color: #A9B9CC; }
.card-num { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--blue); margin-bottom: 10px; display: block; }

.pillar { display: flex; flex-direction: column; height: 100%; }
.pillar .link-arrow { margin-top: auto; padding-top: 12px; }

/* ---------- Check lists ---------- */
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.check-list li .icon { color: var(--blue); margin-top: 4px; width: 18px; height: 18px; }
.check-list.x li .icon { color: var(--muted); }
.section-navy .check-list li { color: #C9D5E3; }

/* ---------- Chips / status ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; line-height: 1.6; white-space: nowrap;
  background: var(--neutral-bg); color: var(--neutral); border: 1px solid transparent;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.no-dot::before { display: none; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--warn-bg); color: var(--warn); }
.chip-risk { background: var(--risk-bg); color: var(--risk); }
.chip-blue { background: var(--blue-50); color: var(--blue); }
.chip-pending { background: #fff; color: var(--muted); border: 1px dashed var(--border-strong); }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--blue-100);
  background: var(--blue-50); color: var(--charcoal); font-size: .94rem;
}
.notice > .icon { color: var(--blue); width: 20px; height: 20px; margin-top: 2px; }
.notice p:last-child { margin: 0; }
.notice strong { color: var(--navy); }
.notice-warn { background: var(--warn-bg); border-color: #F6D9A8; }
.notice-warn > .icon { color: var(--warn); }
.notice-neutral { background: var(--gray); border-color: var(--border); }
.notice-neutral > .icon { color: var(--charcoal); }

.demo-label {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--r-sm);
  background: repeating-linear-gradient(135deg, #FFF7E6, #FFF7E6 8px, #FDEFD3 8px, #FDEFD3 16px);
  border: 1px solid #F3D19B; color: #8A4B08; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
}
.demo-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-radius: var(--r); border: 1px solid #F3D19B; background: #FFFBF2; margin-bottom: 24px; font-size: .92rem;
}
.demo-banner p { margin: 0; color: #7A4A12; }

.placeholder {
  display: inline-block; font-family: var(--mono); font-size: .84em; padding: 1px 8px; border-radius: 4px;
  background: #FFFBF2; border: 1px dashed #E9B872; color: #8A4B08;
}
.placeholder-block {
  border: 1.5px dashed var(--border-strong); border-radius: var(--r); padding: 20px; background: var(--gray);
  color: var(--muted); font-size: .92rem;
}

/* ---------- Trust strip ---------- */
.trust-statement {
  display: flex; align-items: center; justify-content: center; gap: 14px; text-align: center; flex-wrap: wrap;
  padding: 22px 28px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff;
  color: var(--navy); font-weight: 600; font-size: 1.02rem;
}
.trust-statement .icon { color: var(--blue); width: 22px; height: 22px; }

/* ---------- Questions grid (home) ---------- */
.question-card { display: flex; flex-direction: column; gap: 10px; height: 100%; }
.question-card .q { font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.35; }
.question-card .a { color: var(--muted); font-size: .93rem; flex: 1; }
.question-card .q-num { font-family: var(--mono); color: var(--blue); font-size: .8rem; }

/* ---------- Packages ---------- */
.package { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.package.is-featured { border-color: var(--navy); box-shadow: var(--shadow); }
.package-head { padding: 32px 32px 24px; border-bottom: 1px solid var(--border); }
.package-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); }
.package h3 { font-size: 1.45rem; margin: 8px 0 6px; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 8px; color: var(--navy); }
.price .from { font-size: .9rem; color: var(--muted); font-weight: 500; }
.price .amount { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .cur { font-size: .95rem; color: var(--muted); font-weight: 600; }
.package-tabs { display: flex; gap: 4px; padding: 6px; margin: 20px 32px 0; background: var(--gray); border-radius: var(--r-sm); }
.package-tabs button {
  flex: 1; padding: 8px 10px; border: 0; border-radius: 5px; background: none; cursor: pointer;
  font: 600 .84rem var(--font); color: var(--muted); transition: .15s;
}
.package-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
/* All tab panels sit in the same grid cell, so the card keeps the height of
   the tallest panel and does not jump when switching tabs. */
.package-body { padding: 24px 32px; flex: 1; display: grid; }
.package-body > .package-panel { grid-area: 1 / 1; }
.package-body > .package-panel[hidden] { display: block !important; visibility: hidden; }
.package-foot { padding: 24px 32px 32px; border-top: 1px solid var(--border); background: var(--gray); }
.package-foot .delivery { display: flex; gap: 10px; font-size: .88rem; color: var(--charcoal); margin-bottom: 18px; }
.package-foot .delivery .icon { color: var(--blue); margin-top: 3px; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; }
table.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { background: var(--gray); color: var(--navy); font-weight: 600; font-size: .84rem; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--navy); }
.table .icon { width: 18px; height: 18px; }
.table .yes { color: var(--blue); }
.table .no { color: var(--border-strong); }

/* ---------- Process timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; }
.timeline-step { display: grid; grid-template-columns: 72px 1fr; gap: 28px; position: relative; padding-bottom: 48px; }
.timeline-step:last-child { padding-bottom: 0; }
.timeline-step::before {
  content: ""; position: absolute; left: 35px; top: 72px; bottom: 0; width: 2px; background: var(--border);
}
.timeline-step:last-child::before { display: none; }
.timeline-marker {
  width: 72px; height: 72px; border-radius: 50%; border: 1px solid var(--border); background: #fff;
  display: grid; place-items: center; color: var(--blue); position: relative; z-index: 1; box-shadow: var(--shadow-sm);
}
.timeline-marker .icon { width: 28px; height: 28px; }
.timeline-marker .n {
  position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff;
  font-size: .75rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff;
}
.timeline-content { padding-top: 10px; }
.timeline-content .card { margin-top: 14px; padding: 20px 22px; }
.timeline-content .meta { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.timeline-content .meta h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 6px; }
.timeline-content .meta p, .timeline-content .meta li { font-size: .9rem; color: var(--charcoal); margin: 0; }

.steps-h { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; position: relative; }
.steps-h::before { content: ""; position: absolute; top: 23px; left: 10%; right: 10%; height: 2px; background: var(--border); }
.section-navy .steps-h::before { background: rgba(255,255,255,.12); }
.step-h { text-align: center; padding: 0 12px; position: relative; }
.step-h .dot {
  width: 48px; height: 48px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--border); color: var(--navy); font-weight: 700; position: relative;
}
.section-navy .step-h .dot { background: var(--navy-700); border-color: rgba(255,255,255,.18); color: #fff; }
.step-h h4 { margin-bottom: 6px; font-size: .98rem; }
.section-navy .step-h h4 { color: #fff; }
.step-h p { font-size: .86rem; color: var(--muted); margin: 0; }
.section-navy .step-h p { color: #9FB1C6; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--border); border-radius: var(--r); background: #fff; transition: border-color .2s, box-shadow .2s; }
.acc-item.is-open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left;
  padding: 20px 22px; background: none; border: 0; cursor: pointer; font: 600 1rem/1.4 var(--font); color: var(--navy);
}
.acc-trigger .icon { width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.acc-item.is-open .acc-trigger .icon { transform: rotate(45deg); color: var(--blue); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-body { padding: 0 22px 22px; color: var(--charcoal); font-size: .96rem; }
.acc-body ul { padding-left: 20px; margin: 0 0 1em; }
.acc-body li { margin-bottom: 4px; }
.acc-body p:last-child { margin-bottom: 0; }
.acc-tag { display: inline-block; margin-top: 8px; }

.faq-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.faq-nav { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.faq-nav button {
  text-align: left; padding: 10px 14px; border-radius: var(--r-sm); border: 0; background: none; cursor: pointer;
  font: 500 .93rem var(--font); color: var(--charcoal);
}
.faq-nav button:hover { background: var(--gray); }
.faq-nav button.is-active { background: var(--blue-50); color: var(--blue); font-weight: 600; }
.faq-search { position: relative; margin-bottom: 28px; }
.faq-search input { padding-left: 44px; }
.faq-search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.faq-group-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 14px; }
/* Space between groups (applies only to visible groups, so filtering still looks right) */
.faq-group:not([hidden]) ~ .faq-group:not([hidden]) { margin-top: 44px; }
:lang(zh) .faq-group-title { font-size: .86rem; letter-spacing: .04em; font-weight: 700; color: var(--navy); }
.faq-empty { display: none; }

.policy-editable {
  margin-top: 12px; border: 1.5px dashed #E9B872; background: #FFFBF2; border-radius: var(--r-sm); padding: 14px 16px;
  font-size: .92rem; color: #7A4A12; outline: none;
}
.policy-editable:focus { border-color: var(--warn); background: #fff; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-section { border: 0; padding: 0; margin: 0 0 32px; }
.form-section legend { font-weight: 700; color: var(--navy); font-size: 1.02rem; margin-bottom: 4px; padding: 0; }
.form-section .legend-sub { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field label .req { color: var(--risk); }
.input, select.input, textarea.input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  font: 400 .95rem var(--font); color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
textarea.input { min-height: 120px; resize: vertical; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.input::placeholder { color: #94A3B8; }
.field .hint { font-size: .8rem; color: var(--muted); }
.field .error { font-size: .8rem; color: var(--risk); display: none; }
.field.has-error .input { border-color: var(--risk); box-shadow: 0 0 0 3px rgba(185,28,28,.08); }
.field.has-error .error { display: block; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 38px; }

.dropzone {
  border: 1.5px dashed var(--border-strong); border-radius: var(--r); padding: 28px; text-align: center; background: var(--gray);
  cursor: pointer; transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--blue); background: var(--blue-50); }
.dropzone .icon { width: 28px; height: 28px; color: var(--blue); margin: 0 auto 8px; display: block; }
.dropzone strong { color: var(--navy); }
.dropzone p { margin: 4px 0 0; font-size: .84rem; color: var(--muted); }
.file-list { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.file-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-sm); font-size: .88rem; background: #fff; }
.file-list .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--navy); }
.file-list .fsize { color: var(--muted); font-size: .8rem; }
.file-list button { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 4px; display: grid; }
.file-list button:hover { color: var(--risk); }
.file-thumb { width: 36px; height: 36px; border-radius: 4px; object-fit: cover; background: var(--gray); display: grid; place-items: center; color: var(--muted); flex-shrink: 0; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blue); flex-shrink: 0; }
.consent.has-error { color: var(--risk); }

.form-success { text-align: center; padding: 24px 0; }
.form-success .icon-box { margin: 0 auto 20px; width: 64px; height: 64px; background: var(--ok-bg); color: var(--ok); border-radius: 50%; }
.form-success .icon-box .icon { width: 30px; height: 30px; }
.summary-list { text-align: left; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.summary-list div { display: grid; grid-template-columns: 180px 1fr; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.summary-list div:last-child { border-bottom: 0; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; color: var(--navy); word-break: break-word; }

/* ---------- Contact side ---------- */
.contact-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact-item { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.contact-item .icon { color: var(--blue); width: 22px; height: 22px; margin-top: 2px; }
.contact-item h4 { margin: 0 0 2px; font-size: .92rem; }
.contact-item p { margin: 0; font-size: .9rem; color: var(--muted); word-break: break-word; }

/* ---------- Samples dashboard ---------- */
.dash { border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); overflow: hidden; }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.dash-title h3 { margin: 0; font-size: 1.1rem; }
.dash-title p { margin: 2px 0 0; font-size: .85rem; color: var(--muted); }
.dash-brief { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); background: var(--gray); }
.dash-brief div { padding: 14px 24px; border-right: 1px solid var(--border); }
.dash-brief div:last-child { border-right: 0; }
.dash-brief dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.dash-brief dd { margin: 2px 0 0; font-size: .9rem; color: var(--navy); font-weight: 600; }
.dash-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--border); }
.seg { display: inline-flex; padding: 4px; background: var(--gray); border-radius: var(--r-sm); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 7px 12px; border-radius: 5px; font: 600 .82rem var(--font); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--charcoal); cursor: pointer; user-select: none; }
.toggle input { accent-color: var(--blue); width: 16px; height: 16px; }

.supplier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.supplier-card {
  text-align: left; border: 1px solid var(--border); border-radius: var(--r); padding: 16px; background: #fff; cursor: pointer;
  font-family: inherit; color: inherit; transition: .2s; display: flex; flex-direction: column; gap: 8px;
}
.supplier-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.supplier-card.is-selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.supplier-card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.supplier-card strong { color: var(--navy); font-size: .98rem; }
.supplier-card .loc { font-size: .82rem; color: var(--muted); }
.supplier-card .fit { font-size: .8rem; color: var(--charcoal); }
.fit-bar { height: 6px; border-radius: 6px; background: var(--gray-100); overflow: hidden; }
.fit-bar span { display: block; height: 100%; background: var(--blue); border-radius: 6px; transition: width .6s var(--ease); }

.compare-table { min-width: 860px; }
.compare-table th[scope="row"] { width: 210px; background: #FBFCFD; position: sticky; left: 0; z-index: 1; font-size: .86rem; }
.compare-table thead th { position: sticky; top: 0; }
.compare-table thead th:first-child { left: 0; z-index: 2; }
.compare-table td { font-size: .88rem; color: var(--charcoal); transition: background .2s; }
.compare-table td.is-hl, .compare-table th.is-hl { background: #F5F8FF; }
.compare-table .group-row th { background: var(--navy); color: #fff; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 8px 18px; position: static; }
.cell { display: flex; gap: 8px; align-items: flex-start; }
.src {
  flex-shrink: 0; font-size: .64rem; font-weight: 700; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; margin-top: 3px;
  border: 1px solid; line-height: 1.5;
}
.src-v { color: var(--ok); border-color: #B7E4C7; background: var(--ok-bg); }
.src-s { color: var(--warn); border-color: #F3D19B; background: var(--warn-bg); }
.src-p { color: var(--muted); border-color: var(--border-strong); background: #fff; }
.src-a { color: var(--blue); border-color: var(--blue-100); background: var(--blue-50); }
.hide-src .src { display: none; }
.dash-legend { display: flex; flex-wrap: wrap; gap: 18px; padding: 14px 24px; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--border); background: #FBFCFD; }
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash-legend .src { margin: 0; }

.detail-panel { padding: 24px; border-top: 1px solid var(--border); background: #FBFCFD; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.detail-panel h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.detail-panel ul { list-style: none; display: grid; gap: 8px; }
.detail-panel li { display: flex; gap: 10px; font-size: .9rem; }
.detail-panel li .icon { width: 16px; height: 16px; margin-top: 4px; }
.detail-panel .risk .icon { color: var(--risk); }
.detail-panel .next .icon { color: var(--blue); }

/* Report preview */
.report-paper {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 4px; box-shadow: var(--shadow-lg);
  padding: 44px 48px; font-size: .9rem; overflow: hidden;
}
.report-paper::after {
  content: "SAMPLE"; position: absolute; top: 42%; left: 50%; transform: translate(-50%, -50%) rotate(-28deg);
  font-size: 8rem; font-weight: 800; color: rgba(16,36,58,.045); letter-spacing: .1em; pointer-events: none;
}
.report-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--navy); margin-bottom: 22px; }
.report-top .brand-name { font-size: .9rem; color: var(--navy); }
.report-meta { font-size: .78rem; color: var(--muted); text-align: right; line-height: 1.6; }
.report-paper h3 { font-size: 1.35rem; margin-bottom: 4px; }
.report-paper h5 { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin: 24px 0 8px; }
.report-paper p { color: var(--charcoal); }
.report-mini-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.report-mini-table th, .report-mini-table td { border: 1px solid var(--border); padding: 7px 9px; text-align: start; }
.report-mini-table th { background: var(--gray); color: var(--navy); }
.report-fade { position: relative; max-height: 820px; overflow: hidden; }
.report-fade::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, #fff); z-index: 2; }

/* ---------- Industries ---------- */
.industry-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.industry-card .photo { aspect-ratio: 16 / 10; border-radius: 0; }
.industry-card:hover .photo img { transform: scale(1.04); }
.industry-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.industry-body ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 18px; }
.industry-body ul li { font-size: .76rem; padding: 3px 9px; border-radius: 999px; background: var(--gray); color: var(--charcoal); }
.industry-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- About ---------- */
.portrait-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: linear-gradient(160deg, #EEF2F7, #DDE4EE);
  border: 1.5px dashed var(--border-strong); display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--muted); text-align: center; padding: 24px;
}
.portrait-placeholder svg { width: 45%; opacity: .5; }
.founder-facts { display: grid; gap: 14px; margin: 24px 0; }
.founder-facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--border); font-size: .94rem; }
.founder-facts dt { color: var(--muted); font-weight: 500; }
.founder-facts dd { margin: 0; color: var(--navy); }
blockquote.statement {
  margin: 0; padding: 40px 48px; border-left: 3px solid var(--blue); background: var(--gray); border-radius: 0 var(--r-lg) var(--r-lg) 0;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.45; color: var(--navy); font-weight: 600; letter-spacing: -.01em;
}

/* ---------- Verification ---------- */
.verify-table td:last-child, .verify-table th:last-child { width: 170px; }
.verify-table tbody th { width: 260px; }
.verify-table td { color: var(--navy); }
.doc-viewer { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.doc-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--gray); font-size: .86rem; }
.doc-toolbar strong { color: var(--navy); }
.doc-stage { position: relative; min-height: 420px; display: grid; place-items: center; padding: 24px; background: repeating-linear-gradient(45deg, #FAFBFC, #FAFBFC 10px, #F4F6F9 10px, #F4F6F9 20px); }
.doc-empty { text-align: center; max-width: 380px; color: var(--muted); font-size: .92rem; }
.doc-empty .icon { width: 40px; height: 40px; color: var(--border-strong); margin: 0 auto 12px; display: block; }
.doc-empty strong { display: block; color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.doc-preview { position: relative; max-width: 100%; }
.doc-preview img { max-height: 520px; margin: 0 auto; box-shadow: var(--shadow-lg); background: #fff; }
.doc-preview embed { width: min(720px, 80vw); height: 520px; }
.doc-watermark {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; overflow: hidden;
}
.doc-watermark span {
  transform: rotate(-24deg); font-weight: 800; font-size: clamp(1rem, 2.6vw, 1.6rem); color: rgba(185,28,28,.28);
  letter-spacing: .08em; text-align: center; white-space: pre-line; border: 3px solid rgba(185,28,28,.25); padding: 8px 18px;
}
.doc-preview.is-redacted img { filter: blur(0); }
.redact-bars { position: absolute; inset: 0; pointer-events: none; }
.redact-bars i { position: absolute; background: #0F172A; border-radius: 2px; }

.verify-steps { counter-reset: v; display: grid; gap: 16px; list-style: none; }
.verify-steps li { counter-increment: v; display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.verify-steps li::before {
  content: counter(v); width: 40px; height: 40px; border-radius: 50%; background: var(--blue-50); color: var(--blue);
  font-weight: 700; display: grid; place-items: center;
}
.verify-steps strong { color: var(--navy); display: block; }
.verify-steps p { margin: 2px 0 0; font-size: .92rem; color: var(--muted); }

/* ---------- Feedback ---------- */
.empty-state {
  text-align: center; padding: 48px 32px; border: 1.5px dashed var(--border-strong); border-radius: var(--r-lg); background: #fff;
}
.empty-state .icon-box { margin: 0 auto 16px; }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--muted); max-width: 560px; margin: 0 auto; }
.sample-layout { position: relative; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; padding: 28px; }
.sample-layout .demo-label { position: absolute; top: -13px; left: 20px; }
.sample-field { display: grid; grid-template-columns: 170px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .9rem; }
.sample-field:last-child { border-bottom: 0; }
.sample-field dt { color: var(--muted); }
.sample-field dd { margin: 0; }
.quote-ph { font-size: 1.05rem; color: var(--muted); font-style: italic; padding: 18px 0; border-bottom: 1px solid var(--border); margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); border-radius: var(--r-lg); padding: 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #A9B9CC; margin: 0; }
.cta-band .btn-row { justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #8EA1B8; font-size: .9rem; padding: 72px 0 0; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; padding-bottom: 48px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand-sub { color: #7F93AA; }
.site-footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: #A9B9CC; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: #6F849C; }
.footer-bottom a { color: #8EA1B8; }
.footer-disclaimer { font-size: .78rem; color: #6F849C; max-width: 46ch; margin-top: 16px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 18px 13px 14px; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(31,157,85,.35); transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { color: #fff; background: var(--wa-600); transform: translateY(-2px); }
.wa-float .icon { width: 22px; height: 22px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); z-index: 300; opacity: 0; visibility: hidden;
  background: var(--navy); color: #fff; padding: 14px 20px; border-radius: var(--r); box-shadow: var(--shadow-lg);
  font-size: .9rem; max-width: min(520px, calc(100vw - 32px)); transition: .25s var(--ease); display: flex; gap: 12px; align-items: flex-start;
}
.toast.is-show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { color: #8FB2F7; margin-top: 2px; }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose ul { padding-left: 22px; margin-bottom: 1em; }
.prose li { margin-bottom: 6px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; } .mt-5 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.small { font-size: .86rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
[hidden] { display: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-menu .nav-link { padding: 10px 8px; font-size: .88rem; }
  .nav-actions .btn-wa-label { display: none; }
}
@media (max-width: 1024px) {
  .nav-menu, .nav-actions .hide-md { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .split-60 { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 560px; }
  .hero-card { left: 16px; }
  .steps-h { grid-template-columns: 1fr; gap: 24px; }
  .steps-h::before { display: none; }
  .step-h { display: grid; grid-template-columns: 48px 1fr; gap: 16px; text-align: left; padding: 0; }
  .step-h .dot { margin: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px; }
  .cta-band .btn-row { justify-content: flex-start; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-nav { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 4px; }
  .faq-nav button { white-space: nowrap; border: 1px solid var(--border); }
  .contact-side { position: static; }
  .supplier-cards { grid-template-columns: 1fr; }
  .detail-panel { grid-template-columns: 1fr; }
  .dash-brief { grid-template-columns: repeat(2, 1fr); }
  .dash-brief div:nth-child(2) { border-right: 0; }
  .dash-brief div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 720px) {
  body { font-size: 15.5px; }
  .utility-bar { display: none; }
  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .container { padding: 0 18px; }
  .grid-2, .grid-3, .grid-4, .form-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-card { position: relative; left: 0; bottom: 0; width: auto; margin: -48px 16px 0; }
  .hero-visual .photo { aspect-ratio: 4 / 3; }
  .page-hero { padding: 52px 0 56px; }
  .btn-row .btn { flex: 1 1 auto; }
  .form-card { padding: 22px; }
  .timeline-step { grid-template-columns: 52px 1fr; gap: 16px; }
  .timeline-marker { width: 52px; height: 52px; }
  .timeline-marker .icon { width: 22px; height: 22px; }
  .timeline-step::before { left: 25px; top: 52px; }
  .timeline-content .meta { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .report-paper { padding: 28px 22px; }
  .founder-facts div, .sample-field, .summary-list div { grid-template-columns: 1fr; gap: 2px; }
  blockquote.statement { padding: 28px; }
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 15px; }
  .package-head, .package-body, .package-foot { padding-left: 22px; padding-right: 22px; }
  .package-tabs { margin: 20px 22px 0; }
  .verify-table tbody th { width: auto; }
  .verify-table, .verify-table tbody, .verify-table tr, .verify-table th, .verify-table td { display: block; width: 100% !important; }
  .verify-table thead { display: none; }
  .verify-table tr { border-bottom: 1px solid var(--border); padding: 10px 0; }
  .verify-table th, .verify-table td { border: 0; padding: 4px 16px; }
  .dash-head, .dash-toolbar, .supplier-cards, .detail-panel { padding-left: 16px; padding-right: 16px; }
}

/* ---------- Print (sample report) ---------- */
@media print {
  .site-header, .utility-bar, .site-footer, .wa-float, .no-print { display: none !important; }
  body { opacity: 1 !important; }
  .report-paper { box-shadow: none; border: 0; padding: 0; }
}

/* Mobile comparison table refinements */
.swipe-hint { display: none; }
@media (max-width: 720px) {
  .compare-table { min-width: 680px; }
  .compare-table th[scope="row"] { width: 120px; font-size: .8rem; }
  .compare-table th, .compare-table td { padding: 12px; }
  .swipe-hint { display: flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: .8rem; color: var(--muted); border-bottom: 1px solid var(--border); }
}

/* ==========================================================================
   Language switcher
   ========================================================================== */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: #fff; color: var(--navy); font: 600 .84rem var(--font); cursor: pointer;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--navy); }
.lang-btn .icon { width: 17px; height: 17px; color: var(--blue); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 230px; padding: 6px; list-style: none; z-index: 120;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s var(--ease);
}
.lang-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.lang-menu a, .lang-grid a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: var(--r-sm); color: var(--charcoal); }
.lang-menu a:hover { background: var(--gray); }
.lang-menu a[aria-checked="true"], .lang-grid a[aria-checked="true"] { background: var(--blue-50); color: var(--blue); }
.lang-menu strong, .lang-grid strong { font-weight: 600; font-size: .95rem; color: inherit; }
.lang-menu span, .lang-grid span { font-size: .74rem; color: var(--muted); direction: ltr; }
.lang-switch-mobile { margin-top: 28px; }
.lang-switch-mobile .group-label { margin: 0 4px 8px; }
.lang-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; list-style: none; }
.mobile-panel .lang-grid li a { flex-direction: column; gap: 0; border: 1px solid var(--border); padding: 10px 12px; border-bottom: 1px solid var(--border); }

.i18n-notice { background: var(--warn-bg); border-bottom: 1px solid #F3D19B; color: #7A4A12; font-size: .86rem; padding: 10px 0; }
.i18n-notice a { font-weight: 600; text-decoration: underline; }
.i18n-prevail { flex-basis: 100%; font-size: .76rem; color: #6F849C; }

/* Header fits longer translated labels: Home lives on the logo; WhatsApp is icon-only on mid widths */
.nav-link { white-space: nowrap; }
@media (max-width: 1400px) { .nav-actions .btn-wa-label { display: none; } }
@media (max-width: 1240px) {
  .nav-menu, .nav-actions .hide-md { display: none; }
  .nav-toggle { display: grid; place-items: center; }
}

/* ==========================================================================
   Right-to-left (Arabic)
   ========================================================================== */
[dir="rtl"] body { letter-spacing: 0; }
[dir="rtl"] .eyebrow, [dir="rtl"] .brand-sub, [dir="rtl"] .package-label, [dir="rtl"] .site-footer h4,
[dir="rtl"] .faq-group-title, [dir="rtl"] .dash-brief dt, [dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { letter-spacing: 0; }
[dir="rtl"] .i-arrow, [dir="rtl"] .i-send { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .i-arrow { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .brand, [dir="rtl"] .brand-text { direction: ltr; }
[dir="rtl"] .hero-card { left: auto; right: -36px; }
[dir="rtl"] .dropdown { left: auto; right: -8px; }
[dir="rtl"] .wa-float { right: auto; left: 22px; }
[dir="rtl"] .photo-tag { right: auto; left: 10px; }
[dir="rtl"] .timeline-step::before { left: auto; right: 35px; }
[dir="rtl"] .timeline-marker .n { right: auto; left: -4px; }
[dir="rtl"] .faq-search .icon { left: auto; right: 15px; }
[dir="rtl"] .faq-search input { padding-left: 14px; padding-right: 44px; }
[dir="rtl"] select.input { background-position: left 12px center; padding-right: 14px; padding-left: 38px; }
[dir="rtl"] .compare-table th[scope="row"], [dir="rtl"] .compare-table thead th:first-child { left: auto; right: 0; }
[dir="rtl"] blockquote.statement { border-left: 0; border-right: 3px solid var(--blue); border-radius: var(--r-lg) 0 0 var(--r-lg); }
[dir="rtl"] .cta-band::after { right: auto; left: -120px; }
[dir="rtl"] .mobile-panel { transform: translateX(-100%); }
[dir="rtl"] .mobile-panel.is-open { transform: translateX(0); }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { direction: ltr; text-align: right; }
@media (max-width: 720px) {
  [dir="rtl"] .timeline-step::before { right: 25px; }
  [dir="rtl"] .hero-card { right: 0; }
  [dir="rtl"] .wa-float { left: 22px; }
}

/* Chinese: CJK glyphs are ~2ch wide, so widen headline measures */
:lang(zh) .hero h1 { max-width: 12em; }
:lang(zh) .page-hero h1 { max-width: 18em; }
:lang(zh) body { line-height: 1.75; }
:lang(zh) h1, :lang(zh) h2, :lang(zh) h3 { letter-spacing: 0; }
:lang(zh) .eyebrow { letter-spacing: .08em; }
@media (min-width: 721px) { :lang(zh) h1, :lang(zh) h2 { word-break: keep-all; overflow-wrap: anywhere; } }
:lang(zh) h1, :lang(zh) h2 { line-break: strict; }

/* Brand logo image */
.brand-logo { height: 46px; width: auto; max-width: none; display: block; }
/* Never let the header squeeze the logo: keep its natural width at all times */
.site-header .brand { flex-shrink: 0; }
.site-header .nav > nav { min-width: 0; }
.site-footer .brand-logo { height: 52px; }
.site-footer .brand { margin-bottom: 18px; display: inline-block; }
.report-logo { height: 30px; width: auto; display: block; }
@media (max-width: 720px) { .brand-logo { height: 38px; } }

/* Founder portrait (About page) */
.founder-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 40%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); background: var(--gray); }
.founder-photo figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); }
@media (max-width: 1024px) { .founder-photo { position: static; max-width: 440px; } }
.lang-switch, .lang-btn { white-space: nowrap; flex-shrink: 0; }

/* About: experience stats & career timeline */
.stat-card { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-size: 2.2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; line-height: 1.1; }
.stat-num .placeholder { font-size: .5em; vertical-align: middle; }
.stat-label { color: var(--muted); font-size: .92rem; }
.career { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; gap: 0; }
.career li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; position: relative; padding-bottom: 22px; }
.career li:last-child { padding-bottom: 0; }
.career li::before { content: ""; position: absolute; left: 100px; top: 8px; bottom: -4px; width: 2px; background: var(--border); }
.career li:last-child::before { display: none; }
.career-year { font-weight: 700; color: var(--blue); font-size: .9rem; padding-top: 1px; }
.career strong { color: var(--navy); display: block; padding-left: 14px; position: relative; }
.career strong::before { content: ""; position: absolute; left: -2px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px var(--blue-50); }
.career p { margin: 4px 0 0; padding-left: 14px; font-size: .92rem; color: var(--muted); }
[dir="rtl"] .career li::before { left: auto; right: 100px; }

/* ==========================================================================
   Client feedback: testimonials & case studies
   ========================================================================== */
.testimonial { position: relative; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.testimonial blockquote { margin: 0; font-size: 1.04rem; line-height: 1.65; color: var(--navy); padding-top: 18px; position: relative; }
.testimonial blockquote::before { content: "\201C"; position: absolute; top: -18px; left: -4px; font-size: 4rem; color: var(--blue-100); font-family: Georgia, serif; line-height: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.t-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--border); }
.testimonial figcaption strong { display: block; color: var(--navy); }
.testimonial figcaption span { display: block; font-size: .86rem; color: var(--muted); }
.t-country { font-size: .84rem; color: var(--charcoal); font-weight: 500; }
.t-country span { display: inline !important; }
.t-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.t-meta .icon { width: 13px; height: 13px; }

.project-list { display: grid; gap: 24px; }
.project { position: relative; padding: 0; overflow: hidden; }
.project-top { display: grid; grid-template-columns: 260px 1fr; }
.project-photo { border-radius: 0; min-height: 100%; }
.project-photo img { height: 100%; }
.project-head { padding: 28px 32px 24px; display: flex; flex-direction: column; gap: 10px; }
.project-head h3 { margin: 0; font-size: 1.3rem; }
.project-brief { margin: 4px 0 0; font-size: .94rem; color: var(--charcoal); }
.project-brief strong { color: var(--navy); margin-inline-end: 6px; }
.project-acc { border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.project-acc.is-open { box-shadow: none; }
.project-acc .acc-trigger { padding: 16px 32px; font-size: .94rem; color: var(--blue); }
.project-body { padding: 4px 32px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 40px; }
.project-body h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 8px; }
.project-body p { margin: 0; font-size: .94rem; }
.project-body .check-list li { font-size: .92rem; }

.challenge-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.challenge-card dl { margin: 0; display: grid; gap: 12px; }
.challenge-card dt { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); font-weight: 700; }
.challenge-card dd { margin: 2px 0 0; font-size: .92rem; color: var(--charcoal); }
.challenge-card .link-arrow { margin-top: auto; }

@media (max-width: 860px) {
  .project-top { grid-template-columns: 1fr; }
  .project-photo { aspect-ratio: 16 / 9; }
  .project-body { grid-template-columns: 1fr; }
  .project-head, .project-body { padding-left: 22px; padding-right: 22px; }
  .project-acc .acc-trigger { padding: 16px 22px; }
}

.flag { display: inline-block; width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 0 1px rgba(16,36,58,.12); }

/* Package cards: share row heights across both cards (head / tabs / body / foot)
   so dividers, tabs and footers line up even when one description wraps. */
@supports (grid-template-rows: subgrid) {
  .package-grid { row-gap: 0; align-items: stretch; }
  .package-grid > .package { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
  @media (max-width: 720px) {
    .package-grid > .package + .package { margin-top: 24px; }
  }
}

/* WhatsApp as the preferred contact channel */
.hero-wa-note { margin: 18px 0 0; font-size: .92rem; color: #A9B9CC; }
.hero-wa-note a { color: #6EE7A8; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.hero-wa-note a:hover { color: #A7F3C9; }
.hero-wa-note strong { color: #fff; }
.wa-number { margin: 0 0 16px; font-size: 1.35rem; font-weight: 700; letter-spacing: .01em; }
.wa-number a { color: #fff; }
.footer-wa { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.footer-wa .icon { color: #4ADE80; }

/* Utility bar: keep on one line; drop the location text on mid-size screens */
.utility-bar .container > span, .utility-links a { white-space: nowrap; }
@media (max-width: 1180px) { .utility-bar .container > span { display: none; } .utility-bar .container { justify-content: flex-end; } }

/* FAQ refund policy list */
.acc-body ul.refund-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.refund-list li { position: relative; padding: 12px 14px 12px 42px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--gray); margin: 0; }
.refund-list li::before { position: absolute; left: 14px; top: 11px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; }
.refund-list li.yes { background: var(--ok-bg); border-color: #B7E4C7; }
.refund-list li.yes::before { content: "\2713"; background: var(--ok); }
.refund-list li.no::before { content: "\2715"; background: var(--muted); }
.refund-list strong { color: var(--navy); }
[dir="rtl"] .refund-list li { padding: 12px 42px 12px 14px; }
[dir="rtl"] .refund-list li::before { left: auto; right: 14px; }

/* Sample Project Scope Confirmation */
.breadcrumb-light { color: var(--muted); }
.breadcrumb-light a { color: var(--charcoal); }
.breadcrumb-light a:hover { color: var(--blue); }
ul.refund-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.confirm-paper .refund-list li { font-size: .88rem; }
.confirm-box { border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--gray); padding: 14px 16px; }
.confirm-box p { margin: 6px 0 0; font-size: .9rem; }
.confirm-box strong { color: var(--navy); }
.confirm-cta { border: 2px solid var(--navy); background: #fff; }
.confirm-cta p:first-child { margin-top: 0; }
.confirm-list { padding-left: 20px; margin: 0 0 8px; }
.confirm-list li { margin-bottom: 4px; font-size: .9rem; }
.confirm-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; font-size: .86rem; }
.confirm-sign div { border-top: 1px solid var(--border); padding-top: 10px; }
.confirm-sign strong { display: block; color: var(--navy); }
.confirm-sign span { color: var(--muted); }
.cta-inline { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
@media (max-width: 720px) { .confirm-sign { grid-template-columns: 1fr; } }

/* Inquiry form: honeypot + WhatsApp tip */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.wa-tip { background: #ECFDF3; border-color: #B7E4C7; margin-bottom: 8px; }
.wa-tip > .icon { color: var(--wa); }
#upload-wa-note { background: #ECFDF3; border-color: #B7E4C7; }
#upload-wa-note > .icon { color: var(--wa); }

/* Success screen: WhatsApp next step, directly under the heading */
.wa-next { text-align: left; background: #ECFDF3; border: 1px solid #B7E4C7; border-radius: var(--r); padding: 18px 20px 20px; margin-top: 8px; }
.wa-next p { margin: 0 0 12px; font-size: .92rem; color: #14532D; }
.wa-next .wa-next-title { margin-bottom: 4px; font-size: 1rem; }
.wa-next .wa-next-title strong { color: #14532D; }
.wa-next .btn { white-space: normal; }

/* Legal pages + footer clears the floating WhatsApp button */
.legal-updated { display: inline-block; font-size: .86rem; color: var(--muted); background: var(--gray); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; }
.prose h2:first-of-type { margin-top: 1.2em; }
.prose strong { color: var(--navy); }
.site-footer .footer-bottom { padding-bottom: 96px; }
