/* ============================================================
   Tangshihui Trading — B2B Website Stylesheet v2
   Palette: navy #0f2a43 / accent gold #c8a24b
   Type: Manrope (self-hosted) + JetBrains Mono for data
   ============================================================ */
:root {
  --navy: #0f2a43;
  --navy-2: #16395c;
  --ink: #0b1f33;
  --gold: #c8a24b;
  --gold-d: #8a6a1f;            /* accessible gold for text on light bg */
  --gold-soft: rgba(200, 162, 75, .14);
  --text: #2b3440;
  --muted: #5b7181;
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --mist: #eef4f8;
  --line: #dde7ee;
  --radius: 10px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --container: min(1240px, 100% - 48px);
  --sec-y: clamp(72px, 9vw, 128px);
  --sh-sm: 0 1px 2px rgba(11, 31, 51, .05), 0 2px 8px rgba(11, 31, 51, .05);
  --sh-md: 0 2px 6px rgba(11, 31, 51, .06), 0 12px 28px rgba(11, 31, 51, .10);
  --sh-lg: 0 4px 12px rgba(11, 31, 51, .08), 0 24px 56px rgba(11, 31, 51, .14);
  --font-main: "Manrope", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Mono", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); }
.container { width: var(--container); margin: 0 auto; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(200,162,75,.30); }

.mono { font-family: var(--font-mono); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 28px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15.5px; line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
}
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d4b165; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mist); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 14px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 16.5px; color: var(--navy); white-space: nowrap; letter-spacing: -.01em; }
.brand-sub { font-size: 10.5px; color: var(--muted); white-space: nowrap; letter-spacing: .02em; }
.main-nav { display: flex; align-items: center; gap: 1px; }
.main-nav > a, .nav-drop > a {
  padding: 8px 11px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  color: var(--text); transition: background .2s, color .2s; display: block;
  white-space: nowrap;
}
.main-nav > a:hover, .nav-drop > a:hover,
.main-nav > a.active, .nav-drop > a.active { background: var(--mist); color: var(--navy); }
.nav-cta { margin-left: 8px; padding: 9px 18px !important; font-size: 13.5px !important; }
.main-nav > a.nav-cta { color: #fff; background: var(--navy); }
.main-nav > a.nav-cta:hover { background: var(--navy-2); color: #fff; }
.nav-drop { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .2s;
}
.nav-drop:hover .nav-drop-menu, .nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-drop-menu a {
  display: block; padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
}
.nav-drop-menu a:hover { background: var(--mist); color: var(--navy); }
.nav-drop-menu .menu-label {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); padding: 6px 14px 4px;
}
.lang-switch {
  display: flex; border: 1.5px solid var(--navy); border-radius: var(--r-pill); overflow: hidden;
  flex-shrink: 0;
}
.lang-switch button {
  border: 0; background: #fff; color: var(--navy); font-weight: 700;
  padding: 7px 13px; cursor: pointer; font-size: 12.5px; transition: all .2s;
  font-family: var(--font-mono);
}
.lang-switch button.active { background: var(--navy); color: #fff; }
.burger {
  display: none; flex-direction: column; gap: 5px; background: none;
  border: 0; cursor: pointer; padding: 8px;
}
.burger span { width: 24px; height: 2.5px; background: var(--navy); border-radius: 2px; }

/* ---------- Hero (split, product visual right) ---------- */
.hero {
  background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 22px;
}
.hero-kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--gold); }
.hero h1 {
  color: #fff; font-size: clamp(30px, 4.6vw, 54px); font-weight: 800;
  line-height: 1.12; letter-spacing: -.02em; margin-bottom: 22px;
  max-width: 640px;
}
.hero h1 .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(15.5px, 1.6vw, 18px); color: #c3d0dd;
  max-width: 560px; margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px; font-size: 13.5px; color: #8ba1b5;
  display: flex; gap: 18px; flex-wrap: wrap;
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note b { color: #c3d0dd; font-family: var(--font-mono); font-weight: 600; }
.hero-visual { position: relative; }
.hero-visual-main {
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-visual-main img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.hero-visual-badge {
  position: absolute; left: -14px; bottom: 26px;
  background: #fff; color: var(--navy); border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
}
.hero-visual-badge .num { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--navy); }
.hero-visual-badge .lbl { font-size: 11.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Stat bar (mono numbers) ---------- */
.statbar { background: var(--navy); border-top: 1px solid rgba(255,255,255,.08); }
.statbar-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.09);
}
.stat {
  background: var(--navy); text-align: center; padding: 26px 12px 24px;
}
.stat .num {
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(20px, 2.4vw, 27px);
  color: var(--gold); letter-spacing: -.01em;
}
.stat .lbl { font-size: 12.5px; color: #9db0c2; margin-top: 4px; line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: var(--sec-y) 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 14px; }
.section-head .rule { width: 56px; height: 3px; background: var(--gold); margin: 0 auto 18px; border-radius: 2px; }
.section-head.left .rule { margin-left: 0; }
.section-head p { color: var(--muted); font-size: 16.5px; }
.kicker {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--gold-d);
  display: block; margin-bottom: 12px;
}
.section-head.center .kicker { display: block; }

/* ---------- Product line cards ---------- */
.line-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.line-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  min-height: 380px; display: flex; align-items: flex-end;
  box-shadow: var(--sh-md); transition: box-shadow .25s;
  border: 1px solid var(--line);
}
.line-card:hover { box-shadow: var(--sh-lg); border-color: var(--gold); }
.line-card .bg { position: absolute; inset: 0; }
.line-card .bg img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.line-card:hover .bg img { transform: scale(1.04); }
.line-card .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,51,.30) 0%, rgba(11,31,51,.62) 45%, rgba(11,31,51,.94) 100%);
}
.line-card .body { position: relative; padding: 30px; color: #fff; width: 100%; }
.line-card .tag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  background: var(--gold); border-radius: var(--r-pill); padding: 5px 12px; margin-bottom: 14px;
}
.line-card h3 { color: #fff; font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; margin-bottom: 8px; }
.line-card .desc { font-size: 14.5px; color: #c3d0dd; margin-bottom: 16px; max-width: 460px; }
.line-card .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.line-card .go {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--gold);
}
.line-card .go:hover { color: #d4b165; }

/* ---------- Spec chips (mono) ---------- */
.chip {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--navy); background: var(--mist);
  border: 1px solid var(--line); border-radius: var(--r-pill);
  padding: 4px 11px; line-height: 1.5; white-space: nowrap;
}
.chip.gold { color: var(--gold-d); border-color: rgba(200,162,75,.45); background: var(--gold-soft); }
.line-card .chip { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #e8eef4; }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { border-color: var(--gold); box-shadow: var(--sh-md); }
.card-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.card:hover .card-img img { transform: scale(1.035); }
.card-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.card-cat {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--gold-d);
  text-transform: uppercase; letter-spacing: .07em;
}
.card-title { font-size: 15.5px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.card-spec { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.card-link { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--navy); }
.card-link:hover { color: var(--gold-d); }
.more-wrap { text-align: center; margin-top: 44px; }

/* ---------- Trust (numbered capability cards) ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.trust-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 26px 24px; transition: border-color .25s, box-shadow .25s;
}
.trust-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); }
.trust-card .no {
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--gold-d);
  letter-spacing: .06em; display: block; margin-bottom: 14px;
}
.trust-card h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.trust-card p { font-size: 14.5px; color: var(--muted); }

/* ---------- Sourcing block ---------- */
.src-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.src-steps { counter-reset: srcstep; display: flex; flex-direction: column; gap: 0; }
.src-step {
  counter-increment: srcstep; position: relative;
  padding: 0 0 26px 58px;
}
.src-step:last-child { padding-bottom: 0; }
.src-step::before {
  content: counter(srcstep, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--gold-d);
  background: var(--gold-soft); border: 1px solid rgba(200,162,75,.4);
  width: 40px; height: 40px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
}
.src-step::after {
  content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px;
  width: 1.5px; background: var(--line);
}
.src-step:last-child::after { display: none; }
.src-step h4 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.src-step p { font-size: 14.5px; color: var(--muted); }
.src-fee {
  background: var(--navy); color: #fff; border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 40px); margin-top: 34px;
}
.src-fee h3 { color: #fff; font-size: clamp(19px, 2vw, 24px); font-weight: 800; margin-bottom: 6px; }
.src-fee .rate {
  font-family: var(--font-mono); font-weight: 700; color: var(--gold);
  font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; line-height: 1.1;
  margin-bottom: 16px;
}
.src-fee .rate small { font-size: 14px; color: #9db0c2; font-weight: 500; letter-spacing: 0; display: block; margin-top: 4px; }
.fee-rules { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 22px; }
.fee-rules li {
  font-size: 14px; color: #c3d0dd; padding-left: 26px; position: relative; line-height: 1.55;
}
.fee-rules li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; color: var(--gold);
  font-weight: 800; font-size: 14px;
}
.fee-rules li b { color: #fff; font-weight: 700; }

/* ---------- Bundle cards ---------- */
.bundle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bundle-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, box-shadow .25s;
}
.bundle-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); }
.bundle-card .kicker { margin-bottom: 2px; }
.bundle-card h3 { font-size: 18px; font-weight: 800; }
.bundle-card ul { display: flex; flex-direction: column; gap: 7px; margin: 8px 0 14px; }
.bundle-card ul li {
  font-size: 14px; color: var(--muted); padding-left: 22px; position: relative;
}
.bundle-card ul li::before {
  content: "—"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.bundle-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Documents table ---------- */
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th {
  text-align: left; font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
  padding: 12px 16px; border-bottom: 2px solid var(--navy);
}
.doc-table td {
  padding: 15px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px;
  vertical-align: top;
}
.doc-table td:first-child { font-weight: 700; color: var(--navy); }
.doc-table tr:hover td { background: var(--bg-soft); }

/* ---------- Flow (order steps) ---------- */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: flow; }
.flow-step { counter-increment: flow; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 24px; position: relative; }
.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--font-mono); font-size: 30px; font-weight: 700;
  color: var(--mist); -webkit-text-stroke: 1.2px var(--gold);
  display: block; margin-bottom: 12px; line-height: 1;
}
.flow-step h3 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.flow-step p { font-size: 14px; color: var(--muted); }
.flow-step .when {
  display: inline-block; margin-top: 12px; font-family: var(--font-mono);
  font-size: 11.5px; font-weight: 600; color: var(--gold-d);
  background: var(--gold-soft); border-radius: var(--r-pill); padding: 4px 11px;
}

/* ---------- Guides ---------- */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .25s, box-shadow .25s;
}
.guide-card:hover { border-color: var(--gold); box-shadow: var(--sh-md); }
.guide-card h3 { font-size: 17px; font-weight: 800; }
.guide-card p { font-size: 14.5px; color: var(--muted); flex: 1; }
.guide-card .go { font-weight: 700; font-size: 14px; color: var(--navy); }
.guide-card .go:hover { color: var(--gold-d); }

/* ---------- FAQ ---------- */
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.faq-tab {
  border: 1.5px solid var(--line); background: #fff; color: var(--text);
  border-radius: var(--r-pill); padding: 8px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: var(--font-main);
}
.faq-tab:hover { border-color: var(--navy); color: var(--navy); }
.faq-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-group { display: none; }
.faq-group.show { display: block; }
.faq-group-title {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin: 34px 0 14px;
}
.faq-group-title:first-child { margin-top: 0; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  margin-bottom: 12px; overflow: hidden; transition: border-color .2s;
}
.faq-item:hover { border-color: var(--gold); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 19px 24px; font-size: 15.5px; font-weight: 700; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-main);
}
.faq-q .arrow { transition: transform .25s; color: var(--gold-d); font-size: 17px; flex-shrink: 0; }
.faq-item.open .arrow { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { max-height: 500px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(150deg, var(--ink), var(--navy-2));
  color: #fff; text-align: center; padding: clamp(60px, 7vw, 92px) 0;
}
.cta-band h2 { color: #fff; font-size: clamp(25px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 14px; }
.cta-band p { color: #c3d0dd; max-width: 680px; margin: 0 auto 30px; }
.cta-band .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .mail {
  display: inline-block; margin-top: 22px; font-family: var(--font-mono);
  font-size: 15px; color: var(--gold); letter-spacing: .01em;
}
.cta-band .mail:hover { color: #d4b165; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--ink), var(--navy-2));
  color: #fff; padding: clamp(48px, 6vw, 76px) 0;
}
.page-hero h1 { color: #fff; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.015em; }
.page-hero .crumb {
  font-family: var(--font-mono); font-size: 12px; color: #8ba1b5; margin-bottom: 14px;
  letter-spacing: .04em;
}
.page-hero .crumb a:hover { color: var(--gold); }
.page-hero p { color: #c3d0dd; margin-top: 12px; max-width: 720px; }

/* ---------- About ---------- */
.about-wrap { max-width: 860px; margin: 0 auto; }
.about-wrap p { margin-bottom: 18px; font-size: 16.5px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; }
.fact {
  background: var(--bg-soft); border-radius: var(--r-md); padding: 24px;
  border-left: 3px solid var(--gold);
}
.fact h3 { color: var(--navy); font-size: 16px; margin-bottom: 6px; }
.fact p { font-size: 14px; color: var(--muted); margin: 0; }
.boundary {
  margin-top: 44px; background: var(--mist); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 28px;
}
.boundary h3 { font-size: 16px; margin-bottom: 10px; }
.boundary p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.contact-info-card, .form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px; box-shadow: var(--sh-sm);
}
.next-steps { margin: 22px 0 8px; border-top: 1px solid var(--line); padding-top: 20px; }
.next-steps h3 { font-size: 14.5px; margin-bottom: 12px; }
.next-steps ol { list-style: none; counter-reset: ns; }
.next-steps ol li {
  counter-increment: ns; font-size: 14px; color: var(--muted);
  padding: 7px 0 7px 40px; position: relative;
}
.next-steps ol li::before {
  content: counter(ns); position: absolute; left: 0; top: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-d);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.contact-line { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.contact-line:last-of-type { border-bottom: 0; }
.contact-line .ico {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--gold-soft); color: var(--gold-d);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800;
}
.contact-line b { display: block; color: var(--navy); font-size: 14px; }
.contact-line a, .contact-line span.val { color: var(--text); font-size: 15px; word-break: break-all; }
.contact-line a:hover { color: var(--gold-d); }
.qr-row { display: flex; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.qr-box { flex: 1; min-width: 150px; text-align: center; }
.qr-box img { width: 100%; max-width: 170px; margin: 0 auto 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.qr-box p { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13.5px; font-weight: 700; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px;
  font-size: 15px; font-family: inherit; color: var(--text); background: var(--bg-soft);
  transition: border-color .2s, background .2s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none; background: #e8f6ee; border: 1.5px solid #35a768; color: #1c7a4b;
  border-radius: var(--r-sm); padding: 14px 18px; margin-top: 16px; font-size: 14.5px; font-weight: 600;
}
.form-success.show { display: block; }
.form-success.error { background: #fdecec; border-color: #d9534f; color: #a02c28; }

/* ---------- Detail page ---------- */
.detail-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: start; }
.detail-img { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-soft); }
.detail-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.detail-thumbs img { width: 84px; height: 84px; object-fit: cover; border-radius: var(--r-sm); cursor: pointer; border: 2px solid transparent; }
.detail-thumbs img.active, .detail-thumbs img:hover { border-color: var(--gold); }
.detail-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.detail-info h1 { font-size: clamp(23px, 2.6vw, 31px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 6px; }
.detail-model { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec-table td:first-child { font-weight: 700; color: var(--navy); width: 38%; }
.spec-table td:last-child { font-family: var(--font-mono); font-size: 13.5px; }
.fit-box {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px 20px; margin-bottom: 18px;
}
.fit-box h4 { font-size: 14.5px; margin-bottom: 6px; }
.fit-box p { font-size: 13.5px; color: var(--muted); margin: 0; }
.need-list { margin-bottom: 24px; }
.need-list h4 { font-size: 14.5px; margin-bottom: 8px; }
.need-list ul { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-moq {
  background: var(--gold-soft); border-left: 3px solid var(--gold);
  padding: 14px 18px; border-radius: var(--r-sm); font-size: 14.5px; margin-bottom: 26px;
  color: var(--text);
}
.back-link { display: inline-block; margin-bottom: 22px; color: var(--muted); font-size: 14px; }
.back-link:hover { color: var(--navy); }
.related h2 { font-size: clamp(20px, 2.4vw, 26px); margin-bottom: 24px; }

/* sticky mobile quote bar (detail page) */
.sticky-quote {
  display: none; position: fixed; left: 0; right: 0; bottom: calc(56px + env(safe-area-inset-bottom));
  z-index: 90; background: #fff; border-top: 1px solid var(--line);
  padding: 10px 16px; box-shadow: 0 -6px 20px rgba(11,31,51,.08);
  gap: 10px; align-items: center;
}
.sticky-quote .btn { flex: 1; }
.sticky-quote .wa { flex: 0 0 auto; }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.fab-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-md); transition: transform .2s, box-shadow .2s;
}
.fab-wa:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.fab-wa svg { width: 30px; height: 30px; fill: currentColor; }
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  background: #fff; border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  grid-template-columns: 1.2fr 1fr 1fr; gap: 8px;
  box-shadow: 0 -6px 20px rgba(11,31,51,.06);
}
.mobile-bar .btn { padding: 11px 8px; font-size: 13.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9fb0c2; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer .fbrand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.site-footer .fbrand img { height: 44px; }
.site-footer .fbrand b { color: #fff; font-size: 16px; }
.footer-grid p, .footer-grid a { font-size: 14px; line-height: 1.9; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid ul li { margin-bottom: 6px; }
.footer-contact b { color: #cfd9e4; font-weight: 600; }
.footer-response {
  margin-top: 14px; display: inline-block; font-family: var(--font-mono); font-size: 12px;
  color: var(--gold); border: 1px solid rgba(200,162,75,.4); border-radius: var(--r-pill);
  padding: 5px 13px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0;
  font-size: 13px; text-align: center; color: #74879b;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .trust-grid, .guide-grid, .bundle-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 620px; }
  .hero-visual-badge { left: 14px; }
  .src-wrap { grid-template-columns: 1fr; }
  .line-grid { grid-template-columns: 1fr; }
  .line-card { min-height: 320px; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .statbar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid rgba(255,255,255,.09); }
}
@media (max-width: 760px) {
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: stretch; padding: 12px 16px 20px;
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-md);
    display: none; z-index: 99; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .main-nav.open { display: flex; }
  .nav-cta { margin: 8px 0 0; }
  .nav-drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .burger { display: flex; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .guide-grid, .bundle-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .fee-rules { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand-sub { display: none; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .mobile-bar { display: grid; }
  .fab-wa { bottom: calc(72px + env(safe-area-inset-bottom)); right: 16px; width: 52px; height: 52px; }
  .section { padding: clamp(56px, 10vw, 72px) 0; }
  .hero-visual-badge { padding: 10px 14px; }
  .doc-table th:nth-child(3), .doc-table td:nth-child(3) { display: none; }
}
@media (max-width: 480px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .header-inner { height: 64px; }
  .brand img { height: 38px; }
  .hero-visual-badge { display: none; }
  .statbar-grid { grid-template-columns: 1fr 1fr; }
}
