/* ==========================================================================
   Meridian Apparel — B2B Apparel Manufacturer Website
   Design system + components
   ========================================================================== */

:root {
  --ink: #12161b;
  --ink-soft: #2a323c;
  --body: #5a6472;
  --muted: #8a93a0;
  --line: #e7e4df;
  --line-strong: #d6d2cb;

  --bg: #ffffff;
  --bg-alt: #f7f6f3;
  --bg-dark: #101620;
  --bg-dark-2: #161e2a;

  --accent: #b4552a;
  --accent-dark: #8f3f1c;
  --accent-soft: #fbf0e9;

  --max: 1180px;
  --radius: 10px;
  --radius-lg: 14px;

  --shadow: 0 1px 2px rgba(18, 22, 27, 0.04), 0 8px 24px rgba(18, 22, 27, 0.05);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 16px;
}
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.1vw, 38px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
h4 { font-size: 16px; letter-spacing: 0; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

/* ---------- layout ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lead { font-size: 17px; line-height: 1.75; color: var(--body); }
.small { font-size: 14px; line-height: 1.65; }
.tiny { font-size: 12px; line-height: 1.5; color: var(--muted); }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-2-1 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--light { color: #e0a07c; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #efece8; }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled { box-shadow: 0 2px 16px rgba(18, 22, 27, 0.06); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; letter-spacing: -0.03em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.brand-tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: #c4cbd6;
  overflow: hidden;
  padding: 88px 0 80px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(65deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 26px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; right: -140px; top: -140px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 85, 42, 0.28), transparent 68%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero p.lead { color: #aab3c0; max-width: 560px; }
.hero-media { position: relative; }
.hero-media .ph { aspect-ratio: 4 / 3.1; border-color: rgba(255, 255, 255, 0.16); }
.hero-media .ph span { color: rgba(255, 255, 255, 0.5); }
.hero-badge {
  position: absolute;
  left: -20px; bottom: -24px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  min-width: 210px;
}
.hero-badge .n { font-size: 26px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.hero-badge .l { font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 28px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-fact .n { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -0.02em; line-height: 1.2; }
.hero-fact .l { font-size: 12.5px; color: #98a1af; }
.hero .btn-row { margin-top: 32px; }

/* ---------- trust bar ---------- */
.trust-bar { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.trust-label { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.cert-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.cert-chip::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ---------- placeholder image slot ---------- */
.ph {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #f0eeea;
  background-image:
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.028) 0 1px, transparent 1px 11px),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.028) 0 1px, transparent 1px 11px);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  min-height: 160px;
}
.ph span {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9ba1a8; padding: 0 20px; line-height: 1.6;
}
.ph--tall { aspect-ratio: 3 / 4; }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }

/* ---------- cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card--hover:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin-bottom: 8px; }
.card .card-meta { font-size: 13px; color: var(--muted); }

.cat-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.cat-card .ph { border: none; border-bottom: 1px solid var(--line); border-radius: 0; aspect-ratio: 4 / 3; }
.cat-card .cat-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.cat-card .cat-body h3 { margin-bottom: 6px; }
.cat-card .cat-body p { font-size: 14px; margin-bottom: 14px; }
.cat-card .tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11.5px; font-weight: 500; color: var(--ink-soft);
  background: var(--bg-alt); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- stats ---------- */
.stat { padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.stat .n { font-size: 34px; font-weight: 700; color: var(--ink); letter-spacing: -0.035em; line-height: 1.1; }
.stat .l { font-size: 13.5px; color: var(--body); margin-top: 6px; }
.stat .s { font-size: 12px; color: var(--muted); }

/* ---------- process steps ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step-num {
  font-size: 13px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.step h3 { margin-bottom: 6px; }
.step-when { font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.step-list { margin: 0; padding: 0; list-style: none; }
.step-list li { position: relative; padding-left: 20px; font-size: 14.5px; margin-bottom: 8px; }
.step-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft); border: 1.5px solid var(--accent);
}

/* ---------- spec table ---------- */
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th {
  width: 36%; font-weight: 600; color: var(--ink);
  background: var(--bg-alt);
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table--boxed { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 12px; font-size: 15px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
}
.check-list li::after {
  content: ""; position: absolute; left: 5.5px; top: 8px;
  width: 7px; height: 4px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}
.check-list--light li { color: #aab3c0; }
.check-list--light li::before { background: rgba(180, 85, 42, 0.25); }

/* ---------- filter / products ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  padding: 9px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: #fff;
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  cursor: pointer;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.product-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.product-card .ph { border: none; border-bottom: 1px solid var(--line); border-radius: 0; aspect-ratio: 1 / 1; }
.product-card .p-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 17px; margin-bottom: 6px; }
.product-card .p-desc { font-size: 13.5px; margin-bottom: 16px; }
.product-card .p-specs { margin: auto 0 0; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.product-card .p-specs b { color: var(--ink-soft); font-weight: 600; }

/* ---------- accordion ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 22px 44px 22px 0; position: relative; cursor: pointer;
  font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em;
}
.acc-q::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 9px; height: 9px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}
.acc-item.is-open .acc-q::after { transform: translateY(-30%) rotate(-135deg); }
.acc-a { display: none; padding: 0 60px 24px 0; font-size: 15px; }
.acc-item.is-open .acc-a { display: block; }

/* ---------- forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink);
  margin-bottom: 7px; letter-spacing: 0.01em;
}
.field .req { color: var(--accent); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"],
.field select, .field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 9px;
  font-size: 15px; font-family: inherit; color: var(--ink);
  background: #fff; outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(180, 85, 42, 0.12);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field .err { display: none; font-size: 12.5px; color: #c0392b; margin-top: 6px; }
.field.has-error .err { display: block; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 9px;
  font-size: 14px; font-weight: 500; cursor: pointer; margin: 0;
}
.radio-row input { accent-color: var(--accent); }
.radio-row label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.form-success {
  display: none; text-align: center; padding: 40px 24px;
}
.form-success.is-visible { display: block; }
.form-success .tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft);
  margin: 0 auto 20px; position: relative;
}
.form-success .tick::after {
  content: ""; position: absolute; left: 19px; top: 20px;
  width: 18px; height: 10px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* ---------- quote band ---------- */
.quote-band {
  background: var(--bg-dark); color: #aab3c0;
  padding: 72px 0; position: relative; overflow: hidden;
}
.quote-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 26px);
}
.quote-band .container { position: relative; z-index: 2; }
.quote-band h2 { color: #fff; }

/* ---------- contact layout ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 48px; align-items: start; }
.info-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item .k { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.info-item .v { font-size: 15px; color: var(--ink); font-weight: 500; }

/* ---------- value / split ---------- */
.split-media { position: relative; }
.split-media .ph { aspect-ratio: 4 / 3.2; }
.split-media .ph + .ph { margin-top: 20px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #8d97a6; padding: 72px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer a { color: #8d97a6; display: block; padding: 5px 0; transition: color 0.15s ease; }
.site-footer a:hover { color: #fff; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-mark { background: #fff; color: var(--ink); }
.footer-blurb { max-width: 320px; margin-top: 18px; line-height: 1.7; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.footer-certs span {
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 999px;
  padding: 4px 11px; color: #b6bfcc;
}
.footer-bottom {
  margin-top: 56px; padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 12.5px;
}

/* ---------- floating contact dock ---------- */
.fab-wrap {
  position: fixed; right: 0; bottom: 0; padding: 0 20px 20px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  pointer-events: none; z-index: 55;
}
.fab {
  pointer-events: auto;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: #fff;
  padding: 13px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 8px 28px rgba(180, 85, 42, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}
.fab:hover { transform: translateY(-2px); }
.fab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fab svg { width: 17px; height: 17px; flex: none; display: block; }
.fab::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: 0.9;
}
/* WhatsApp — dark enough for white text to stay legible (4.6:1) */
.fab--wa { background: #17864a; box-shadow: 0 8px 28px rgba(23, 134, 74, 0.32); }
.fab--wa::before { display: none; }
.fab--mail {
  background: #fff; color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 22px rgba(18, 22, 27, 0.12);
}
.fab--mail::before { display: none; }
@media (max-width: 560px) {
  .fab-wrap { padding: 0 14px 14px; gap: 8px; }
  .fab { padding: 11px 16px; font-size: 13px; }
  .fab--wa { padding: 12px; }
  .fab--wa .fab-label { display: none; }
}

/* ---------- breadcrumb ---------- */
.crumb { font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.crumb a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-hero h1 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 14px; }
.page-hero .lead { max-width: 640px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-badge { left: auto; right: 16px; bottom: -20px; }
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .grid-2-1 { grid-template-columns: 1fr; }
  .step { grid-template-columns: 48px 1fr; row-gap: 12px; }
  .step .step-body { grid-column: 2; }
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 20px;
    box-shadow: 0 12px 32px rgba(18, 22, 27, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 8px; font-size: 15.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: none; }
  .nav-actions .btn { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 14px; justify-content: center; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 64px 0 60px; }
  .form-card { padding: 24px 20px; }
  .acc-a { padding-right: 0; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-facts { gap: 20px 28px; }
  .spec-table th, .spec-table td { padding: 11px 12px; font-size: 13.5px; }
  .spec-table th { width: 40%; }
  .container { padding: 0 18px; }
}

.nav .nav-cta { display: none; }

/* ==========================================================================
   v2 — conversion components
   (added after B2B RFQ conversion research)
   ========================================================================== */

/* ---- logo wall ---- */
.logo-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.logo-slot {
  height: 74px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 0 10px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: #a7adb4;
}

/* ---- response promise ---- */
.promise {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--accent-soft); border: 1px solid #f0d9cb;
  border-radius: var(--radius); padding: 16px 18px;
}
.promise .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex: none; }
.promise p { font-size: 14px; margin: 0; }
.promise b { color: var(--ink); font-weight: 600; }

/* ---- inline CTA block ---- */
.inline-cta {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); background: #fff; padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.inline-cta h3 { margin: 0 0 4px; font-size: 17px; }
.inline-cta p { margin: 0; font-size: 14px; }

/* ---- project snapshots ---- */
.snapshot { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; background: #fff; }
.snapshot .kpi { font-size: 24px; font-weight: 700; color: var(--accent); letter-spacing: -0.03em; line-height: 1.2; }
.snapshot h4 { margin: 10px 0 12px; font-size: 16px; }
.snapshot p { font-size: 14px; }
.snapshot dl {
  margin: 14px 0 0; display: grid; grid-template-columns: auto 1fr;
  gap: 6px 14px; font-size: 13px;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.snapshot dt { color: var(--muted); }
.snapshot dd { margin: 0; color: var(--ink-soft); font-weight: 500; }

/* ---- named role cards ---- */
.role-card { display: flex; gap: 16px; align-items: flex-start; }
.role-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--bg-alt); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0.06em;
}
.role-card h4 { margin: 0 0 3px; font-size: 15px; }
.role-card .role { font-size: 12.5px; color: var(--accent); font-weight: 600; letter-spacing: 0.02em; }
.role-card p { font-size: 13.5px; margin: 10px 0 0; }

/* ---- resource cards ---- */
.resource-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
}
.resource-card .ico {
  width: 42px; height: 42px; border-radius: 10px; flex: none;
  background: var(--accent-soft); border: 1px solid #f0d9cb;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em;
}
.resource-card h3 { font-size: 16px; margin-bottom: 6px; }
.resource-card p { font-size: 13.5px; margin-bottom: 12px; }
.resource-card .meta { font-size: 12px; color: var(--muted); }

/* ---- contact ways ---- */
.ways { display: grid; gap: 12px; }
.way {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 15px 18px; background: #fff; transition: border-color 0.15s ease;
}
.way:hover { border-color: var(--line-strong); }
.way .flag {
  width: 30px; height: 30px; border-radius: 8px; background: var(--bg-alt);
  flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--muted);
}
.way .k { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.way .v { font-size: 14.5px; font-weight: 600; color: var(--ink); }

/* ---- multi-step form ---- */
.steps-bar { display: flex; gap: 10px; margin-bottom: 28px; }
.step-pip { flex: 1; }
.step-pip .bar { height: 3px; border-radius: 999px; background: var(--line); transition: background 0.2s ease; }
.step-pip.is-active .bar, .step-pip.is-done .bar { background: var(--accent); }
.step-pip .lbl { font-size: 11.5px; color: var(--muted); margin-top: 8px; letter-spacing: 0.04em; }
.step-pip.is-active .lbl { color: var(--ink); font-weight: 600; }
.form-step { display: none; }
.form-step.is-active { display: block; }
.form-nav { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-top: 8px; }
.form-nav .back { background: none; border: none; color: var(--muted); font-size: 14px; cursor: pointer; padding: 10px 4px; }
.form-nav .back:hover { color: var(--ink); }
.form-nav .back[hidden] { display: none; }

/* ---- file upload ---- */
.upload {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius);
  padding: 22px; text-align: center; background: var(--bg-alt);
  transition: border-color 0.15s ease, background 0.15s ease;
  cursor: pointer; display: block; margin: 0;
}
.upload:hover { border-color: var(--accent); background: var(--accent-soft); }
.upload.is-filled { border-style: solid; border-color: var(--accent); background: var(--accent-soft); }
.upload input[type="file"] { display: none; }
.upload .u-title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.upload .u-hint { font-size: 12.5px; color: var(--muted); font-weight: 400; }
.upload .u-file { font-size: 13.5px; color: var(--accent); font-weight: 600; }

/* ---- trust strip ---- */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
}
.trust-strip > div { background: #fff; padding: 22px 20px; }
.trust-strip .n { font-size: 22px; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; line-height: 1.2; }
.trust-strip .l { font-size: 12.5px; color: var(--body); }

@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 16px 20px; box-shadow: 0 12px 32px rgba(18, 22, 27, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 8px; font-size: 15.5px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:last-child { border-bottom: none; }
  .nav-actions .btn { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 14px; justify-content: center; }
}
@media (max-width: 860px) {
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .trust-strip { grid-template-columns: 1fr; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
}
