/* =================================================================
   Cloubay — one-stop sourcing & fulfilment
   Design tokens, layout and components
   Typeface: platform system sans (no webfont download)
   Palette : harbour navy + trade orange + sea blue
   ================================================================= */

/* ---------- 1. Tokens ------------------------------------------- */
:root {
  --ink:        #0F2739;
  --ink-soft:   #1D3B52;
  --body:       #47606F;
  --muted:      #6E8494;
  --faint:      #93A5B2;

  --line:       #DFE6EB;
  --line-soft:  #EDF1F4;

  --bg:         #FFFFFF;
  --bg-alt:     #F4F7F9;
  --bg-warm:    #FCF5EE;
  --bg-ink:     #0F2739;

  --brand:      #E4661C;
  --brand-dark: #C4530F;
  --brand-tint: #FDEEE2;

  --sea:        #12607E;
  --sea-dark:   #0D4A61;
  --sea-tint:   #E8F1F5;

  --ok:         #1B7A55;
  --ok-tint:    #E6F3EE;
  --warn:       #B4740B;

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --r:    6px;
  --r-lg: 10px;
  --sh-1: 0 1px 2px rgba(15,39,57,.07);
  --sh-2: 0 6px 20px rgba(15,39,57,.09);
  --sh-3: 0 18px 44px rgba(15,39,57,.13);

  --wrap: 1208px;
  --gut:  24px;
  --head: 68px;
}

/* ---------- 2. Reset -------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5 {
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2rem, 1.35rem + 2.1vw, 3.15rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.25vw, 2.2rem); letter-spacing: -.022em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .35rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: #FCD9C2; color: var(--ink); }
:focus-visible { outline: 2px solid var(--sea); outline-offset: 2px; border-radius: 3px; }

/* ---------- 3. Layout helpers ----------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 860px; }
.section { padding: 72px 0; }
.section-sm { padding: 52px 0; }
.section-lg { padding: 96px 0; }
.bg-alt  { background: var(--bg-alt); }
.bg-warm { background: var(--bg-warm); }
.bg-ink  { background: var(--bg-ink); color: #B9C8D3; }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }
.bg-ink a { color: #fff; }
.grid { display: grid; gap: 24px; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.stack-sm > * + * { margin-top: .5rem; }

/* ---------- 4. Section headings --------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); }
.bg-ink .eyebrow { color: #F0A272; }
.bg-ink .eyebrow::before { background: #F0A272; }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { font-size: 1.05rem; margin-bottom: 0; }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 32px;
}
.sec-head-row .sec-head { margin-bottom: 0; }
.lede { font-size: 1.08rem; line-height: 1.7; }

/* ---------- 5. Buttons ------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px;
  border: 1px solid transparent; border-radius: var(--r);
  font-size: .95rem; font-weight: 600; letter-spacing: -.005em;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn-sm { padding: 8px 15px; font-size: .86rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- 6. Badges / chips ----------------------------------- */
.badge {
  display: inline-block; padding: 3px 8px; border-radius: 3px;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.badge-hot  { background: var(--brand-tint); color: var(--brand-dark); }
.badge-new  { background: var(--sea-tint);   color: var(--sea-dark); }
.badge-stock{ background: var(--ok-tint);    color: var(--ok); }
.badge-oem  { background: #F0F3F5;           color: var(--ink-soft); }
.chip svg { width: 16px; height: 16px; flex: none; color: var(--brand); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px;
  background: #fff; font-size: .84rem; color: var(--ink-soft); font-weight: 500;
}

/* ---------- 7. Top bar ------------------------------------------ */
.topbar {
  background: var(--ink); color: #A9BCC9;
  font-size: .81rem; line-height: 1;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; white-space: nowrap; }
.topbar svg { width: 14px; height: 14px; flex: none; }
.topbar a { color: #D5E0E8; }
.topbar a:hover { color: #fff; }
.topbar-note { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar-note b { color: #fff; font-weight: 600; }
.topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }

/* ---------- 8. Header / nav ------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: var(--head); }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo-word {
  font-size: 1.42rem; font-weight: 700; color: var(--ink);
  letter-spacing: -.035em; line-height: 1;
}
.logo-word i { font-style: normal; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav > li { position: relative; list-style: none; margin: 0; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 13px; border-radius: var(--r);
  color: var(--ink-soft); font-size: .94rem; font-weight: 550;
}
.nav-link:hover, .nav > li.open > .nav-link { background: var(--bg-alt); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--brand); }
.caret { width: 9px; height: 9px; opacity: .5; transition: transform .18s; }
.nav > li.open .caret { transform: rotate(180deg); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none; width: 42px; height: 38px; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle span::before { transform: translateY(-5.5px); }
.nav-toggle span::after  { transform: translateY(3.5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: rotate(-45deg) translateY(-1.5px); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: -8px;
  min-width: 500px; padding: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-3);
  display: none; grid-template-columns: 1fr 1fr; gap: 4px 18px;
}
.nav > li.open .dropdown { display: grid; }
.dropdown.one-col { min-width: 268px; grid-template-columns: 1fr; }
.dd-item { display: block; padding: 10px 12px; border-radius: var(--r); }
.dd-item:hover { background: var(--bg-alt); }
.dd-item strong { display: block; color: var(--ink); font-size: .92rem; font-weight: 600; }
.dd-item span { display: block; color: var(--muted); font-size: .8rem; line-height: 1.45; }
.dd-head {
  grid-column: 1 / -1; font-family: var(--mono); font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
  padding: 4px 12px 8px;
}

/* mobile drawer */
.mobile-nav { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0 18px; }
.mobile-nav li { margin: 0; }
.mobile-nav a { display: block; padding: 11px 0; color: var(--ink); font-weight: 550; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .sub a { padding-left: 14px; font-weight: 400; color: var(--body); font-size: .92rem; }

/* ---------- 9. Hero --------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 78%);
  opacity: .9;
}
.hero .wrap { position: relative; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  gap: 56px; align-items: center;
  padding: 74px 0 78px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-sub { font-size: 1.1rem; line-height: 1.66; max-width: 34em; margin-bottom: 26px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 9px; }
.hero-points li { display: flex; gap: 9px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); margin: 0; }
.tick { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.hero-note { font-size: .84rem; color: var(--muted); margin-top: 16px; }

/* search bar */
.sourcing-search {
  display: flex; gap: 8px; padding: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-2); margin-bottom: 16px;
}
.sourcing-search input {
  flex: 1; min-width: 0; border: 0; padding: 11px 12px; font-size: .96rem; background: none;
}
.sourcing-search input:focus { outline: none; }
.sourcing-search.has-icon { padding-left: 16px; align-items: center; }
.search-icon { display: flex; color: var(--faint); flex: none; }
.search-icon svg { width: 18px; height: 18px; }
.sourcing-search.has-icon input { padding-left: 4px; }
.search-tags { display: flex; flex-wrap: wrap; gap: 7px; font-size: .82rem; color: var(--muted); align-items: center; }
.search-tags a { color: var(--ink-soft); border-bottom: 1px dashed var(--line); }
.search-tags a:hover { color: var(--brand); border-color: var(--brand); }

/* hero collage */
.hero-visual { position: relative; }
.collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.collage figure {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--sh-1);
}
.collage figure img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--bg-alt); }
.collage .c-a { grid-column: span 3; }
.collage .c-b { grid-column: span 3; }
.collage .c-c { grid-column: span 2; }
.collage .c-d { grid-column: span 2; }
.collage .c-e { grid-column: span 2; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 13px 16px;
}
.float-card-a { left: -26px; top: 34%; }
.float-card-b { right: -20px; bottom: -22px; }
.fc-label { font-family: var(--mono); font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; color: var(--faint); }
.fc-value { font-size: 1.22rem; font-weight: 700; color: var(--ink); line-height: 1.25; letter-spacing: -.02em; }
.fc-value small { font-size: .78rem; font-weight: 600; color: var(--ok); margin-left: 6px; }
.fc-row { display: flex; align-items: center; gap: 10px; }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-tint); }

/* ---------- 10. Trust strip ------------------------------------- */
.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip .wrap { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; padding-block: 22px; }
.trust-label { font-size: .82rem; color: var(--muted); flex: none; }
.trust-logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.plat-logo {
  display: flex; align-items: center; gap: 7px;
  font-weight: 650; font-size: .95rem; color: #7A8B98; letter-spacing: -.01em;
  filter: grayscale(1); opacity: .78; transition: opacity .15s, filter .15s;
}
.plat-logo:hover { filter: none; opacity: 1; color: var(--ink); }
.plat-logo svg { width: 18px; height: 18px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: #fff; padding: 26px 24px; }
.stat b { display: block; font-size: 2rem; font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat b span { color: var(--brand); }
.stat p { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }

/* ---------- 11. Cards ------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.card-hover:hover { border-color: #C9D5DD; box-shadow: var(--sh-2); transform: translateY(-2px); }
.card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.card p { font-size: .93rem; margin-bottom: 0; }
.icon-box {
  width: 46px; height: 46px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--sea-tint); color: var(--sea); margin-bottom: 16px;
}
.icon-box.warm { background: var(--brand-tint); color: var(--brand-dark); }
.icon-box.ink  { background: #EAEFF2; color: var(--ink); }
.icon-box svg { width: 23px; height: 23px; }
.card-list { list-style: none; padding: 0; margin: 14px 0 0; font-size: .88rem; }
.card-list li { display: flex; gap: 7px; align-items: flex-start; color: var(--muted); margin-bottom: 5px; }
.card-list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); margin-top: 8px; }
.addr-list { list-style: none; padding: 0; margin: 10px 0 0; font-size: .88rem; }
.addr-list li { padding: 12px 0; border-top: 1px solid var(--line-soft); margin: 0; color: var(--muted); line-height: 1.55; }
.addr-list li:first-child { border-top: 0; padding-top: 4px; }
.addr-list strong { display: block; color: var(--ink); font-size: .92rem; margin-bottom: 2px; }

/* numbered steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { position: relative; padding: 0 26px 0 0; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brand); display: block; margin-bottom: 14px;
}
.step::after {
  content: ""; position: absolute; top: 6px; left: 34px; right: 12px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.03rem; margin-bottom: 7px; }
.step p { font-size: .9rem; margin: 0; }

/* ---------- 12. Product cards ----------------------------------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.prod-grid.g5 { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; }
.prod {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: border-color .16s, box-shadow .16s, transform .16s;
}
.prod:hover { border-color: #C9D5DD; box-shadow: var(--sh-2); transform: translateY(-2px); }
.prod-media { position: relative; background: #F7F9FA; }
.prod-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prod-flags { position: absolute; top: 9px; left: 9px; display: flex; gap: 5px; flex-wrap: wrap; }
.prod-flags .badge { box-shadow: var(--sh-1); }
.prod-quick {
  position: absolute; inset: auto 9px 9px 9px; opacity: 0; transform: translateY(6px);
  transition: opacity .16s, transform .16s;
}
.prod:hover .prod-quick { opacity: 1; transform: none; }
.prod-body { padding: 14px 15px 16px; display: flex; flex-direction: column; flex: 1; }
.prod-cat { font-family: var(--mono); font-size: .67rem; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; }
.prod-name {
  font-size: .91rem; font-weight: 600; color: var(--ink); line-height: 1.42; margin: 0 0 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
a.prod-name:hover { color: var(--brand); }
.prod-price { font-size: 1.02rem; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.prod-price small { font-size: .76rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.prod-meta { margin-top: auto; padding-top: 11px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.prod-meta .moq { font-family: var(--mono); font-size: .74rem; }
.stars { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.stars b { color: var(--ink); font-weight: 600; }
.star { width: 12px; height: 12px; color: #E8A33D; }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab {
  padding: 8px 15px; border: 1px solid var(--line); border-radius: 100px; background: #fff;
  font-size: .88rem; font-weight: 550; color: var(--ink-soft); cursor: pointer;
  transition: background .14s, border-color .14s, color .14s;
}
.tab:hover { border-color: #C3D0D9; }
.tab.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- 13. Split media ------------------------------------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 60px; align-items: center; }
.split.rev .split-media { order: -1; }
.split-media img,
.frame img { width: 100%; border-radius: var(--r-lg); }
.frame {
  position: relative; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--bg-alt); overflow: hidden;
}
.frame img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; }
.frame-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 20px 14px;
  background: linear-gradient(transparent, rgba(15,39,57,.82));
  color: #fff; font-size: .84rem;
}
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: flex; gap: 13px; padding: 15px 0; border-top: 1px solid var(--line); margin: 0; }
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list strong { display: block; color: var(--ink); font-size: .97rem; }
.feature-list span { font-size: .89rem; color: var(--muted); }
.feature-list .num {
  flex: none; font-family: var(--mono); font-size: .74rem; font-weight: 700;
  color: var(--brand); padding-top: 3px; letter-spacing: .05em;
}

/* ---------- 14. Table ------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
table.data { min-width: 680px; font-size: .91rem; }
table.data th, table.data td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.data thead th {
  background: var(--bg-alt); color: var(--ink); font-size: .74rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #FAFCFD; }
table.data td strong { color: var(--ink); }
.num-cell { font-family: var(--mono); font-size: .86rem; color: var(--ink); white-space: nowrap; }

/* ---------- 15. Map / network ----------------------------------- */
.map-panel {
  position: relative; background: var(--ink); border-radius: var(--r-lg); overflow: hidden;
  padding: 34px;
}
.map-panel svg.worldmap { width: 100%; height: auto; display: block; }
.map-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 20px; font-size: .84rem; color: #9FB3C1; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot-warm { background: var(--brand); box-shadow: 0 0 0 4px rgba(228,102,28,.22); }
.dot-sea  { background: #5BC0DE; box-shadow: 0 0 0 4px rgba(91,192,222,.2); }

.hub-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r); overflow: hidden; margin-top: 26px; }
.hub { background: #143044; padding: 18px 20px; }
.hub h4 { color: #fff; font-size: .95rem; margin-bottom: 4px; }
.hub p { color: #93A9B8; font-size: .83rem; margin: 0; }
.hub .num-cell { color: #F0A272; }

/* ---------- 16. Testimonials ------------------------------------ */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.quote-card blockquote { margin: 0 0 20px; font-size: 1rem; line-height: 1.68; color: var(--ink-soft); }
.quote-card blockquote::before { content: "“"; display: block; font-size: 2.4rem; line-height: .8; color: var(--brand); margin-bottom: 6px; font-family: Georgia, serif; }
.who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--sea-tint); color: var(--sea-dark); font-weight: 700; font-size: .9rem;
}
.who strong { display: block; color: var(--ink); font-size: .9rem; }
.who span { font-size: .81rem; color: var(--muted); }

/* ---------- 17. FAQ --------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 27px;
  width: 11px; height: 11px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .18s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 40px 22px 0; font-size: .95rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* ---------- 18. CTA band ---------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #B9C8D3; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 480px; height: 480px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 0 0 60px rgba(255,255,255,.035), 0 0 0 130px rgba(255,255,255,.025);
}
.cta-band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-block: 56px; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 44em; }

/* ---------- 19. Forms ------------------------------------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .86rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field label span { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); font-size: .95rem;
  transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px var(--sea-tint);
}
.field textarea { min-height: 118px; resize: vertical; }
.field-hint { font-size: .79rem; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-2); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 14px; }
.form-ok {
  display: none; margin-top: 16px; padding: 13px 15px;
  background: var(--ok-tint); border: 1px solid #BFE0D2; border-radius: var(--r);
  color: #146143; font-size: .89rem;
}
.form-ok.show { display: block; }

/* ---------- 20. Page head / breadcrumb -------------------------- */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 44px 0 48px; }
.page-head h1 { margin-bottom: 12px; font-size: clamp(1.8rem, 1.3rem + 1.7vw, 2.6rem); }
.page-head p { max-width: 62ch; margin-bottom: 0; font-size: 1.03rem; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: var(--faint); }

/* ---------- 21. Catalogue layout -------------------------------- */
.cat-layout { display: grid; grid-template-columns: 232px minmax(0,1fr); gap: 34px; align-items: start; }
.filters { position: sticky; top: 92px; }
.filter-block { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 18px; }
.filter-block:last-child { border-bottom: 0; }
.filter-block h4 {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); margin-bottom: 12px;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin: 0; }
.filter-list button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 7px 9px; border-radius: var(--r); font-size: .9rem; color: var(--body);
  display: flex; justify-content: space-between; gap: 8px;
}
.filter-list button:hover { background: var(--bg-alt); color: var(--ink); }
.filter-list button.active { background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }
.filter-list button i { font-style: normal; font-family: var(--mono); font-size: .76rem; color: var(--faint); }
.filter-list button.active i { color: var(--brand-dark); }
.catalogue-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line);
}
.result-count { font-size: .89rem; color: var(--muted); }
.result-count b { color: var(--ink); }
.sort-wrap { display: flex; align-items: center; gap: 8px; font-size: .87rem; color: var(--muted); }
.sort-wrap select { padding: 7px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: .87rem; }
.load-more { text-align: center; margin-top: 34px; }

/* ---------- 22. Product detail ---------------------------------- */
.pdp { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 48px; align-items: start; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #F7F9FA; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { padding: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #F7F9FA; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-tint); }
.gallery-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp h1 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 12px; }
.pdp-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; font-size: .85rem; color: var(--muted); margin-bottom: 20px; }
.price-box { background: var(--bg-warm); border: 1px solid #F2E2D3; border-radius: var(--r-lg); padding: 20px 22px; margin-bottom: 22px; }
.price-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: #EFE0D2; border-radius: var(--r); overflow: hidden; }
.tier { background: var(--bg-warm); padding: 12px 14px; }
.tier b { display: block; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }
.tier span { font-size: .77rem; color: var(--muted); font-family: var(--mono); }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; }
.spec-list li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-size: .91rem; margin: 0; }
.spec-list b { flex: none; width: 132px; color: var(--muted); font-weight: 500; }
.spec-list span { color: var(--ink); }
.pdp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.assurance { display: grid; gap: 10px; padding: 16px 18px; background: var(--bg-alt); border-radius: var(--r-lg); font-size: .87rem; }
.assurance div { display: flex; gap: 9px; align-items: flex-start; }
.assurance svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--ok); }
.sourcing-search .btn svg { width: 18px; height: 18px; }
.hero-points svg.tick { width: 18px; height: 18px; }

/* ---------- 23. Blog -------------------------------------------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .16s, transform .16s, border-color .16s; }
.post-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: #C9D5DD; }
.post-card .thumb { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--bg-alt); }
.post-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; color: var(--brand); margin-bottom: 9px; }
.post-card h3 { font-size: 1.04rem; line-height: 1.36; margin-bottom: 9px; }
.post-card p { font-size: .9rem; color: var(--muted); }
.post-foot { margin-top: auto; padding-top: 14px; font-size: .8rem; color: var(--faint); display: flex; gap: 10px; }

/* ---------- 24. Footer ------------------------------------------ */
.site-footer { background: var(--ink); color: #93A9B8; font-size: .9rem; padding-top: 62px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-family: var(--mono); font-weight: 600; margin-bottom: 16px; }
.site-footer a { color: #A9BCC9; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 40px; padding-bottom: 46px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-brand .logo-word { color: #fff; }
.footer-brand .logo-word i { color: #F0A272; }
.footer-about { margin: 16px 0 20px; max-width: 32ch; line-height: 1.65; }
.footer-contact { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.footer-contact li { display: flex; gap: 9px; margin-bottom: 9px; }
.footer-contact svg { width: 15px; height: 15px; flex: none; margin-top: 4px; color: #6F8797; }
.newsletter { display: flex; gap: 8px; margin-top: 14px; }
.newsletter input {
  flex: 1; min-width: 0; padding: 10px 12px; font-size: .88rem;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); color: #fff;
}
.newsletter input::placeholder { color: #7B8F9D; }
.newsletter input:focus { outline: none; border-color: rgba(255,255,255,.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 28px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: .82rem; color: #7B8F9D;
}
.footer-bottom ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.pay-row { display: flex; gap: 10px; align-items: center; }
.pay-chip {
  padding: 4px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px;
  font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: #A9BCC9;
}
.demo-flag {
  background: #143044; border-top: 1px solid rgba(255,255,255,.08);
  color: #7B8F9D; font-size: .78rem; padding: 12px 0;
}

/* ---------- 25. Misc -------------------------------------------- */
.note-inline { background: var(--sea-tint); border-left: 3px solid var(--sea); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: .9rem; }
.kv { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.kv > div { background: #fff; padding: 18px 20px; }
.kv dt { font-size: .78rem; color: var(--muted); font-family: var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.kv dd { margin: 5px 0 0; font-size: 1.02rem; color: var(--ink); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px 26px; margin: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); }
.timeline .yr { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: var(--brand); letter-spacing: .06em; }
.timeline h4 { margin: 3px 0 4px; }
.timeline p { font-size: .92rem; margin: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: var(--r); box-shadow: var(--sh-2); }

/* ---------- 26. Responsive -------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 54px 0 62px; }
  .float-card-a { left: 0; }
  .float-card-b { right: 0; }
  .prod-grid, .prod-grid.g5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
  .footer-grid > div:last-child { grid-column: span 3; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .step:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  :root { --gut: 18px; }
  .nav, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .nav-actions { margin-left: auto; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 34px; }
  .split.rev .split-media { order: 0; }
  .g-3, .g-4, .g-6 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
  .filter-list button { width: auto; border: 1px solid var(--line); border-radius: 100px; padding: 7px 13px; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .hub-list { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .section-lg { padding: 64px 0; }
  .topbar-note span.hide-sm { display: none; }
}
@media (max-width: 620px) {
  .prod-grid, .prod-grid.g5 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .g-2, .g-3, .g-4, .g-6, .kv, .field-row, .price-tiers { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: span 2; }
  .topbar .wrap { justify-content: center; }
  .topbar-links { display: none; }
  .collage { gap: 8px; }
  .float-card { display: none; }
  .spec-list b { width: 108px; }
  .cta-band .wrap { padding-block: 42px; }
}
@media (max-width: 480px) {
  /* keep the header CTA on small phones without pushing the logo off-screen */
  .logo svg { width: 26px; height: 26px; }
  .logo-word { font-size: 1.2rem; }
  .site-header .wrap { gap: 10px; height: 60px; }
  .nav-actions { gap: 7px; }
  .nav-actions .btn-primary { padding: 8px 11px; font-size: .82rem; }
  .topbar .wrap { font-size: .76rem; }
  .hero-grid { padding: 40px 0 48px; }
  .page-head { padding: 32px 0 36px; }
  .card, .quote-panel { padding: 20px; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* unified logo: dark-context variant */
img.cb-lg-l{display:none !important}
:is(footer,.footer,.ftr,.site-footer,.page-footer,[class*="footer"],[class*="Footer"],.dark,[class*="-dark"],.header--float:not(.is-stuck)) img.cb-lg-l{display:inline-block !important}
:is(footer,.footer,.ftr,.site-footer,.page-footer,[class*="footer"],[class*="Footer"],.dark,[class*="-dark"],.header--float:not(.is-stuck)) img.cb-lg-d{display:none !important}
