/* ============================================================
   SinoBridge Trading — main stylesheet
   Light theme · navy + amber · mobile-first
   ============================================================ */
:root {
  --navy-900: #081c30;
  --navy-800: #0b2540;
  --navy-700: #123a5e;
  --navy-100: #dbe7f1;
  --ink: #1c2b3a;
  --muted: #5a6b7d;
  --line: #e3eaf1;
  --bg: #f7f9fb;
  --card: #ffffff;
  --amber: #e8971e;
  --amber-dark: #c97c0e;
  --amber-soft: #fdf3e0;
  --green: #1e9e6a;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(11, 37, 64, 0.08);
  --shadow-md: 0 8px 28px rgba(11, 37, 64, 0.1);
  --shadow-lg: 0 18px 50px rgba(11, 37, 64, 0.16);
  --max: 1160px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--amber-dark); }
ul { list-style: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--navy-800); letter-spacing: 0.2px; }
.brand:hover { color: var(--navy-800); }
.brand .logo-mark { width: 36px; height: 36px; flex: 0 0 auto; }
.brand small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.1; }

.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  display: block; padding: 9px 13px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
}
.main-nav a:hover { background: var(--navy-100); color: var(--navy-800); }
.main-nav a.active { color: var(--navy-800); background: #eef3f8; }
.main-nav a.nav-cta {
  background: var(--amber); color: #fff; margin-left: 8px;
  box-shadow: 0 3px 10px rgba(232, 151, 30, 0.35);
}
.main-nav a.nav-cta:hover { background: var(--amber-dark); color: #fff; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; font-size: 20px;
  color: var(--navy-800); align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0;
  background: url("../img/hero-port.jpg") center 38% / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 28, 48, 0.88) 8%, rgba(11, 37, 64, 0.62) 48%, rgba(11, 37, 64, 0.25) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 108px 0 118px; max-width: 720px; }
.hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232, 151, 30, 0.16); border: 1px solid rgba(232, 151, 30, 0.5);
  color: #ffd58a; font-size: 13px; font-weight: 700; letter-spacing: 1.4px;
  text-transform: uppercase; padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 800;
  letter-spacing: -0.5px; margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: #ffc76a; }
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: #d9e4ee; max-width: 560px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 11px; font-weight: 700; font-size: 15.5px;
  border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease;
  font-family: var(--font);
}
.btn-primary { background: var(--amber); color: #fff; box-shadow: 0 6px 18px rgba(232, 151, 30, 0.4); }
.btn-primary:hover { background: var(--amber-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn-outline { border-color: var(--navy-700); color: var(--navy-800); background: transparent; }
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(30, 158, 106, 0.35); }
.btn-whatsapp:hover { background: #17835a; color: #fff; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--navy-800); color: #fff; }
.trustbar-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  padding: 26px 0;
}
.trustbar .stat { text-align: center; }
.trustbar .stat b { display: block; font-size: 26px; font-weight: 800; color: #ffc76a; }
.trustbar .stat span { font-size: 13px; color: #b9c9d8; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow {
  color: var(--amber-dark); font-weight: 800; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); color: var(--navy-800); line-height: 1.2; letter-spacing: -0.3px; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); transition: all 0.25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: #cfdcea; }
.card .icon {
  width: 52px; height: 52px; border-radius: 13px; display: flex;
  align-items: center; justify-content: center; margin-bottom: 18px;
  background: var(--amber-soft); color: var(--amber-dark);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 18.5px; color: var(--navy-800); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14.5px; color: var(--amber-dark); }

/* value list inside cards */
.card ul.checks { margin-top: 12px; }
.card ul.checks li { position: relative; padding-left: 26px; color: var(--ink); font-size: 14.5px; margin-bottom: 7px; }
.card ul.checks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 15px; height: 15px;
  background: var(--green); border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
  mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z"/></svg>') center/contain no-repeat;
}

/* ---------- Split feature (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.split .badge-float {
  position: absolute; left: 18px; bottom: 18px; background: rgba(255, 255, 255, 0.94);
  border-radius: 12px; padding: 12px 18px; box-shadow: var(--shadow-md);
  font-size: 13.5px; font-weight: 700; color: var(--navy-800);
  display: flex; align-items: center; gap: 10px;
}
.split .badge-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px 22px; box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-size: 15px; font-weight: 800; color: var(--amber-dark);
  letter-spacing: 1px; display: block; margin-bottom: 10px;
}
.step h3 { font-size: 17px; color: var(--navy-800); margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- Category / product cards ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer;
  font-family: var(--font); transition: all 0.18s ease;
}
.filter-chip:hover { border-color: var(--amber); color: var(--amber-dark); }
.filter-chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }

.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: all 0.25s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-media {
  aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  color: #fff; position: relative;
}
.product-media svg { width: 74px; height: 74px; opacity: 0.92; }
.product-media .cat-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(8, 28, 48, 0.72);
  color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.6px;
  padding: 4px 11px; border-radius: 999px; text-transform: uppercase;
}
.product-body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 16.5px; color: var(--navy-800); margin-bottom: 6px; }
.product-body .desc { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; flex: 1; }
.spec-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.spec-chip {
  font-size: 12px; font-weight: 700; color: var(--navy-700);
  background: #eef3f8; border-radius: 7px; padding: 4px 9px;
}
.price-row { display: flex; align-items: center; justify-content: space-between; border-top: 1px dashed var(--line); padding-top: 12px; }
.price-row .price { font-weight: 800; color: var(--navy-800); font-size: 15px; }
.price-row .price small { display: block; font-weight: 600; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
.quote-link { font-weight: 700; font-size: 14px; color: var(--amber-dark); display: inline-flex; align-items: center; gap: 5px; }

/* category gradient palette */
.g-vehicles { background: linear-gradient(135deg, #123a5e, #2c6e9e); }
.g-electronics { background: linear-gradient(135deg, #20315c, #5a6fb5); }
.g-apparel { background: linear-gradient(135deg, #8a3d5c, #c76a8b); }
.g-home { background: linear-gradient(135deg, #7a5a1e, #c99a44); }
.g-machinery { background: linear-gradient(135deg, #274436, #4e8a68); }
.g-packaging { background: linear-gradient(135deg, #4b3a63, #8468ad); }

/* ---------- Process timeline (services) ---------- */
.timeline { position: relative; margin-left: 8px; padding-left: 34px; border-left: 2px solid var(--navy-100); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -43px; top: 4px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--amber); border: 3.5px solid #fff;
  box-shadow: 0 0 0 2px var(--amber);
}
.tl-item h3 { font-size: 17.5px; color: var(--navy-800); margin-bottom: 5px; }
.tl-item p { color: var(--muted); font-size: 14.5px; max-width: 640px; }

/* shipping table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table.ship { width: 100%; border-collapse: collapse; min-width: 640px; }
table.ship th { background: var(--navy-800); color: #fff; text-align: left; padding: 14px 18px; font-size: 13.5px; letter-spacing: 0.4px; text-transform: uppercase; }
table.ship td { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink); }
table.ship tr:hover td { background: #f4f8fb; }

/* ---------- Team / about ---------- */
.team-card { text-align: left; }
.team-card img { border-radius: 12px; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 16px; }
.team-card h3 { font-size: 17px; }
.team-card .role { color: var(--amber-dark); font-weight: 700; font-size: 13px; letter-spacing: 0.6px; text-transform: uppercase; margin-bottom: 8px; }
.team-card p { font-size: 14px; color: var(--muted); }

.fact-list { display: grid; gap: 14px; }
.fact {
  display: flex; gap: 14px; align-items: flex-start; background: #fff;
  border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
}
.fact .f-icon { color: var(--amber-dark); flex: 0 0 auto; margin-top: 2px; }
.fact b { color: var(--navy-800); }
.fact p { font-size: 14px; color: var(--muted); }

/* ---------- Testimonials ---------- */
.quote-card { position: relative; }
.quote-card .stars { color: #f2b01e; font-size: 15px; letter-spacing: 2px; margin-bottom: 12px; }
.quote-card blockquote { font-size: 15px; color: var(--ink); margin-bottom: 16px; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy-800);
  color: #ffc76a; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.quote-card .who b { display: block; font-size: 14.5px; color: var(--navy-800); }
.quote-card .who span { font-size: 12.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 18px 22px; font-family: var(--font); font-size: 15.5px; font-weight: 700;
  color: var(--navy-800); display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-q .chev { transition: transform 0.25s ease; color: var(--amber-dark); flex: 0 0 auto; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy-900), var(--navy-700));
  border-radius: 20px; color: #fff; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -70px; top: -70px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232, 151, 30, 0.28), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 8px; }
.cta-band p { color: #c6d5e2; max-width: 520px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 34px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; color: var(--navy-800); }
.field label span { color: #d64545; }
.field input, .field select, .field textarea {
  font-family: var(--font); font-size: 14.5px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fbfdfe;
  color: var(--ink); transition: border-color 0.18s ease; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff;
}
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; }
.form-success {
  display: none; background: #e9f7f0; border: 1px solid #bce5d2; color: #14704c;
  border-radius: 10px; padding: 14px 16px; font-size: 14.5px; font-weight: 600; margin-top: 16px;
}
.info-card { background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.info-card h3 { font-size: 19px; margin-bottom: 18px; }
.info-line { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 16px; font-size: 14.5px; color: #cdd9e5; }
.info-line b { color: #fff; display: block; font-size: 13px; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 2px; }
.info-line .ic { color: #ffc76a; flex: 0 0 auto; margin-top: 2px; }
.reply-pill {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(30, 158, 106, 0.18);
  border: 1px solid rgba(30, 158, 106, 0.5); color: #9fe6c6; font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; margin-top: 6px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--navy-800); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -60px; bottom: -110px; width: 340px; height: 340px;
  border-radius: 50%; background: radial-gradient(circle, rgba(232, 151, 30, 0.22), transparent 62%);
  pointer-events: none;
}
.page-hero .crumb { font-size: 13px; color: #93a9bd; margin-bottom: 14px; }
.page-hero .crumb a { color: #c6d5e2; }
.page-hero h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; letter-spacing: -0.4px; margin-bottom: 12px; }
.page-hero p { color: #c6d5e2; max-width: 620px; font-size: 16.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #a9bccd; margin-top: 84px; }
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 62px 0 44px;
}
.site-footer h4 { color: #fff; font-size: 14.5px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.site-footer .fbrand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.site-footer p { font-size: 13.5px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { color: #a9bccd; font-size: 14px; }
.site-footer ul a:hover { color: #ffc76a; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.09); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: #7d92a6; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45); transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float .pulse {
  position: absolute; inset: 0; border-radius: 50%;
  animation: pulse 2.2s ease-out infinite; background: rgba(37, 211, 102, 0.4);
}
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .trustbar-inner { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform 0.3s ease; z-index: 55;
  }
  .main-nav.open { transform: none; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 14px 18px 20px; gap: 2px; }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-inner { padding: 78px 0 84px; }
  .cta-band { padding: 38px 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- Language switch (two segments, active side highlighted) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 3px; margin-left: auto; flex: 0 0 auto;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-family: var(--font); white-space: nowrap;
}
.lang-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; padding: 5px 11px; border: 0; border-radius: 999px;
  background: transparent; font-family: inherit; font-size: 12.5px;
  font-weight: 700; line-height: 1.15; letter-spacing: 0.2px;
  color: #6b7a8d; cursor: pointer; transition: background 0.16s ease, color 0.16s ease;
}
.lang-btn:hover { color: var(--amber-dark); background: var(--amber-soft); }
.lang-btn.is-active,
.lang-btn.is-active:hover {
  background: var(--navy-800); color: #fff; cursor: default;
}
.lang-btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 1px; }
.main-nav { margin-left: 10px; }

/* Chinese typography tuning */
body[data-lang="zh"] { line-height: 1.8; }
body[data-lang="zh"] h1,
body[data-lang="zh"] h2,
body[data-lang="zh"] h3 { letter-spacing: 0; }
body[data-lang="zh"] .hero h1 { letter-spacing: 0; line-height: 1.28; }
body[data-lang="zh"] .hero p.lead { line-height: 1.85; }
body[data-lang="zh"] .section-head .eyebrow { letter-spacing: 3px; }
body[data-lang="zh"] .card p,
body[data-lang="zh"] .step p,
body[data-lang="zh"] .tl-item p { font-size: 14.5px; }

@media (max-width: 980px) {
  .lang-switch { margin-left: auto; }
  .lang-btn { min-width: 36px; padding: 5px 9px; font-size: 12px; }
  .main-nav { margin-left: 0; }
}

/* ---------- Cookie consent bar ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--navy-900); color: #fff;
  box-shadow: 0 -10px 34px rgba(8, 28, 48, 0.28);
  animation: cookieIn 0.32s ease;
}
.cookie-bar[hidden] { display: none; }
@keyframes cookieIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px 24px; padding-top: 15px; padding-bottom: 15px; flex-wrap: wrap;
}
.cookie-bar p {
  margin: 0; font-size: 13.5px; line-height: 1.55; color: #c9dcee; max-width: 680px;
}
.cookie-bar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions .btn { padding: 9px 18px; font-size: 13.5px; border-radius: 9px; }
body.cookie-open .wa-float { bottom: 96px; }
@media (max-width: 720px) {
  .cookie-inner { padding: 13px 16px 15px; }
  .cookie-bar p { font-size: 12.5px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; padding: 10px 12px; }
  body.cookie-open .wa-float { bottom: 132px; }
}

/* ---------- Footer registration line ---------- */
.footer-reg {
  margin: 0 0 14px; font-size: 12px; line-height: 1.5;
  color: rgba(219, 231, 241, 0.62); letter-spacing: 0.2px;
}

/* ---------- Brand logo & footer slogan ---------- */
.brand .logo-img {
  width: 46px; height: 46px; flex: 0 0 auto; object-fit: contain; display: block;
}
.footer-logo {
  width: 40px; height: 40px; object-fit: contain; display: block;
  background: #fff; border-radius: 50%; padding: 4px;
}
.fbrand-slogan {
  margin: 0 0 12px; font-size: 12.5px; letter-spacing: 0.6px;
  color: rgba(219, 231, 241, 0.78); font-weight: 600;
}
