/* ============================================================
   Global B2B design system — self-contained, no external deps.
   Palette: trustworthy navy + amber accent. Light theme.
   ============================================================ */
:root {
  --navy-900: #0c1f3a;
  --navy-800: #11294b;
  --navy-700: #1a3a63;
  --navy-600: #234d80;
  --blue-500: #2f6fb0;
  --amber-500: #f5a623;
  --amber-600: #e0900c;
  --ink: #1b2733;
  --muted: #5d6b7a;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fb;
  --bg-tint: #eef3f8;
  --ok: #1f9d6b;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(16, 38, 66, 0.08);
  --shadow-lg: 0 18px 50px rgba(16, 38, 66, 0.14);
  --maxw: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600;
  font-size: 15px; cursor: pointer; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber-500); color: #2a1c00; }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(245,166,35,.4); }
.btn-outline { border-color: var(--navy-600); color: var(--navy-700); }
.btn-outline:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { color: var(--navy-700); padding: 12px 14px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--navy-800); }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-500));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
}
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--navy-800); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--amber-600); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--navy-800); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(47,111,176,.18), transparent),
    linear-gradient(180deg, var(--bg-tint), #fff);
  padding: 76px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; color: var(--navy-900); letter-spacing: -.5px; }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 26px; color: var(--navy-800); }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 22px; position: relative; overflow: hidden;
}
.hero-card img { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; top: 16px; left: 16px; background: var(--amber-500); color: #2a1c00;
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}

/* ---------- Section heading ---------- */
.heading { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.heading .eyebrow { color: var(--amber-600); font-weight: 700; letter-spacing: 1px; font-size: 13px; text-transform: uppercase; }
.heading h2 { font-size: 34px; color: var(--navy-900); margin: 10px 0 10px; letter-spacing: -.4px; }
.heading p { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--bg-tint); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 12px; color: var(--blue-500); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.card-title { font-size: 17px; font-weight: 700; color: var(--navy-800); margin: 0; }
.card-summary { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; margin-top: 6px; }
.price { font-size: 18px; font-weight: 800; color: var(--navy-900); }
.price small { font-size: 12px; color: var(--muted); font-weight: 500; }
.moq { font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chip { font-size: 11px; background: var(--bg-tint); color: var(--navy-700); padding: 3px 9px; border-radius: 999px; font-weight: 600; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: center; }
.filter-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--navy-700);
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: all .15s;
}
.filter-btn:hover { border-color: var(--navy-600); }
.filter-btn.active { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.search-wrap { max-width: 420px; margin: 0 auto 26px; position: relative; }
.search-wrap input {
  width: 100%; padding: 13px 18px 13px 44px; border: 1.5px solid var(--line);
  border-radius: 999px; font-size: 15px; outline: none;
}
.search-wrap input:focus { border-color: var(--blue-500); }
.search-wrap .ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }

/* ---------- Features / why-us ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.feature .ico-box {
  width: 52px; height: 52px; border-radius: 14px; margin: 0 auto 14px;
  background: var(--bg-tint); color: var(--navy-700); display: grid; place-items: center; font-size: 24px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; color: var(--navy-800); }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step .num { font-size: 30px; font-weight: 800; color: var(--amber-500); }
.step h3 { margin: 8px 0 6px; color: var(--navy-800); }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Product detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.detail-img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-tint); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.spec-table td { padding: 11px 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-table td:first-child { color: var(--muted); width: 42%; }
.spec-table td:last-child { font-weight: 600; color: var(--navy-800); }
.detail-title { font-size: 30px; color: var(--navy-900); margin: 0 0 6px; }
.detail-price { font-size: 26px; font-weight: 800; color: var(--amber-600); margin: 10px 0; }
.detail-meta { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; margin: 12px 0 18px; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }

/* ---------- RFQ form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy-800); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); outline: none; background: #fff;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue-500); }
.field textarea { min-height: 110px; resize: vertical; }
.rfq-list { background: var(--bg-soft); border: 1px dashed var(--line); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.rfq-list h4 { margin: 0 0 10px; font-size: 15px; color: var(--navy-800); }
.rfq-item { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rfq-item:last-child { border-bottom: 0; }
.rfq-empty { color: var(--muted); font-size: 14px; }
.note { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: #fff; border-radius: 20px; padding: 48px; text-align: center;
}
.cta-band h2 { font-size: 32px; margin: 0 0 12px; }
.cta-band p { color: #cdd9e8; margin: 0 0 26px; font-size: 17px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 14px; }
.faq-item h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy-800); }
.faq-item p { margin: 0; color: var(--muted); font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c7d2e0; padding: 54px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.site-footer a { color: #c7d2e0; font-size: 14px; display: block; margin-bottom: 9px; }
.site-footer a:hover { color: var(--amber-500); }
.footer-about p { font-size: 14px; color: #9fb0c4; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: 13px; color: #8a9bb0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--navy-800); color: #fff; padding: 14px 22px; border-radius: 12px;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all .25s; z-index: 100; font-size: 15px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.ok { background: var(--ok); }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumb a:hover { color: var(--navy-700); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .detail-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 34px; }
  .grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .heading h2 { font-size: 27px; }
  .cta-band { padding: 34px 22px; }
}
