/* ==============================================================
   SPARES ON TIME — Site vitrine
   Charte logo : rouge #990000, noir, blanc
   ============================================================== */

:root {
  --red: #990000;
  --red-600: #b30000;
  --red-50: #fbf2f2;
  --ink: #0b0f17;
  --ink-2: #1f2937;
  --muted: #5b6472;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-muted: #f6f7f9;
  --dark: #0d1118;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(11, 15, 23, .04), 0 8px 24px rgba(11, 15, 23, .06);
  --shadow-lg: 0 20px 50px rgba(11, 15, 23, .12);

  --font-head: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --topbar-h: 36px;
  --main-header-h: 72px;
  --header-h: calc(var(--topbar-h) + var(--main-header-h));
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; }

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.eyebrow-light { color: #ff9b9b; }

.section-lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin-top: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 48px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid rgba(153, 0, 0, .35); outline-offset: 2px; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(153, 0, 0, .28); }
.btn-primary:hover { background: var(--red-600); transform: translateY(-1px); }
.btn-primary:disabled { opacity: .6; cursor: wait; transform: none; }

.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }

/* ---------- Header (Option 3 Industrial Technical) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .25s var(--ease);
}

/* 1. Top Utility Bar */
.top-bar {
  background: #090d14;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .75);
  font-size: 12.5px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-alert {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: #fff;
}
.live-pulse {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 10px;
  height: 10px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}
.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(34, 197, 94, .5);
  animation: pulse-ring 2s cubic-bezier(.215, .61, .355, 1) infinite;
}
@keyframes pulse-ring {
  0% { transform: scale(.9); opacity: .8; }
  70%, 100% { transform: scale(2.4); opacity: 0; }
}

.top-bar-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s var(--ease);
}
.top-bar-link:hover { color: #ff8080; }
.top-bar-sep { color: rgba(255, 255, 255, .2); font-size: 11px; }
.top-bar-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .65);
}

/* 2. Main Navigation Bar */
.main-header {
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled .main-header {
  box-shadow: 0 10px 28px rgba(11, 15, 23, .08);
  border-color: rgba(11, 15, 23, .08);
}

.header-inner {
  height: var(--main-header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 6px;
  position: relative;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.main-nav a:hover {
  color: var(--red);
  background: var(--red-50);
}
.main-nav a.active {
  color: var(--red);
  background: var(--red-50);
  font-weight: 800;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: inline-flex;
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 4px;
  min-width: 34px;
  min-height: 30px;
  cursor: pointer;
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(11, 15, 23, .08);
}

.header-cta {
  border-radius: 8px !important;
  padding: 9px 18px !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(153, 0, 0, .32);
}
.header-cta svg {
  transition: transform .2s var(--ease);
}
.header-cta:hover svg {
  transform: scale(1.15);
}

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 10, 16, .88) 0%, rgba(8, 10, 16, .62) 45%, rgba(8, 10, 16, .15) 100%),
    url('../images/bg.jpg') center / cover no-repeat;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--red);
}
.hero-inner { padding-top: 80px; padding-bottom: 80px; }

.hero h1 {
  color: #fff;
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 800;
  max-width: 780px;
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: #ff4d4d; }

.hero-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin-top: 24px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  max-width: 560px;
}
.hero-stats > div { position: relative; padding-left: 16px; }
.hero-stats > div::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: var(--red);
}
.hero-stats dt {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-stats dd { font-size: 14px; color: rgba(255, 255, 255, .7); margin-top: 6px; }

/* ---------- Sectors strip ---------- */
.sectors { border-bottom: 1px solid var(--line); background: #fff; }
.sectors-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.sectors-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.sectors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  flex: 1;
  justify-content: space-between;
}
.sectors-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}
.sectors-list svg { width: 22px; height: 22px; color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: 112px 0; }
.section-muted { background: var(--bg-muted); }
.section-dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: rgba(255, 255, 255, .7); }

.section-head { margin-bottom: 56px; max-width: 760px; }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover .icon-badge { background: var(--red); color: #fff; }
.service-card h3 { margin: 22px 0 10px; }
.service-card p { color: var(--muted); font-size: 15px; }

.icon-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--red-50);
  color: var(--red);
  display: grid;
  place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.icon-badge svg { width: 26px; height: 26px; }

/* Split (import/export) */
.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-list { margin-top: 40px; display: grid; gap: 28px; }
.feature-list li { display: flex; gap: 18px; }
.feature-list h3 { font-size: 17px; margin-bottom: 4px; }
.feature-list p { font-size: 15px; }

.feature-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(153, 0, 0, .18);
  color: #ff8080;
}
.feature-icon svg { width: 22px; height: 22px; }

.regions-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 18px;
  padding: 32px;
}
.regions-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.regions-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}
.regions-list li:last-child { border-bottom: 0; }
.regions-list .tag {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .65);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.regions-list li.highlight { color: #ff8080; }
.regions-list li.highlight .tag { border-color: rgba(255, 128, 128, .5); color: #ffb3b3; }

/* Sourcing panels */
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  background: #fff;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
}
.panel-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--red);
  letter-spacing: .06em;
}
.panel h3 { font-size: 22px; margin: 12px 0 12px; }
.panel p { color: var(--muted); }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col {
  border-radius: var(--radius);
  padding: 40px;
  background: #fff;
  border: 1px solid var(--line);
}
.compare-good { border: 2px solid var(--red); box-shadow: var(--shadow-lg); }
.compare-col h3 { font-size: 22px; }
.chain {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin: 18px 0 22px;
}
.compare-good .chain { background: var(--red-50); color: var(--red); }
.compare-col ul { display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; align-items: flex-start; }
.compare-col li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.compare-bad li svg { color: #9aa1ab; }
.compare-good li svg { color: var(--red); }
.compare-good li { color: var(--ink); font-weight: 500; }

/* CTA band */
.cta-band {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px),
    linear-gradient(110deg, #7a0000 0%, var(--red) 55%, #b30000 100%);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); max-width: 700px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: start;
}
.contact-list { margin-top: 40px; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list .feature-icon { background: var(--red-50); color: var(--red); }
.contact-list .label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.contact-list a, .contact-list address, .contact-list li span:not(.label):not(.feature-icon) {
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-list a:hover { color: var(--red); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(153, 0, 0, .1);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-feedback { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; }
.form-feedback.success { display: block; background: #ecfdf3; color: #05603a; border: 1px solid #abefc6; }
.form-feedback.error { display: block; background: #fef3f2; color: #912018; border: 1px solid #fecdca; }
.form-feedback a { color: inherit; font-weight: 600; }

/* Footer */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, .65); font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 48px;
}
.footer-logo {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.footer-logo img { height: 34px; width: auto; }
.footer-brand p { max-width: 380px; }
.footer-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
}
.legal-link { text-decoration: underline !important; text-underline-offset: 3px; }

/* Legal dialog */
.legal-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 64px);
  margin: auto;
  border: 0;
  border-radius: 18px;
  padding: 0;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  color: var(--ink-2);
}
.legal-dialog::backdrop { background: rgba(8, 10, 16, .6); backdrop-filter: blur(4px); }
.legal-head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.legal-head h2 { font-size: 24px; }
.dialog-close {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  color: var(--ink);
}
.legal-body { padding: 8px 28px 32px; }
.legal-intro { color: var(--muted); font-size: 14.5px; margin: 16px 0 8px; }
.legal-body h3 {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  margin: 28px 0 12px;
}
.legal-body dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 20px;
  font-size: 15px;
}
.legal-body dt { color: var(--muted); }
.legal-body dd { color: var(--ink); font-weight: 500; }
.legal-body a { color: var(--red); }


/* ---------- Brands marquee (sample brands) ---------- */
.brands {
  padding: 56px 0 60px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brands-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 28px;
}
.brands-marquee {
  display: flex;
  width: max-content;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.brands-marquee:hover .brands-track { animation-play-state: paused; }
.brands-track {
  display: flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  animation: marquee 38s linear infinite;
}
@keyframes marquee { to { transform: translateX(-100%); } }
.wm {
  white-space: nowrap;
  color: #9aa1ab;
  font-size: 22px;
  line-height: 1;
  user-select: none;
  transition: color .25s var(--ease);
}
.wm:hover { color: var(--ink); }
.wm b { font-weight: 400; margin-left: 6px; }
.wm-1 { font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; }
.wm-2 { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; font-size: 24px; }
.wm-2 span { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin-left: 8px; }
.wm-3 { font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; }
.wm-4 { font-family: var(--font-head); font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.wm-5 { font-family: var(--font-body); font-weight: 600; font-size: 17px; letter-spacing: .28em; }
.wm-6 { font-family: var(--font-head); font-weight: 800; font-size: 25px; letter-spacing: -.02em; }
.wm-7 { font-family: var(--font-head); font-weight: 700; letter-spacing: .06em; }
.wm-8 { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; letter-spacing: .18em; }

/* ---------- Steps (method) ---------- */
.steps-title {
  font-size: 22px;
  margin: 80px 0 32px;
}
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  /* connecting line behind the icons */
  content: "";
  position: absolute;
  top: 28px;
  left: 28px; right: 28px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step { position: relative; counter-increment: step; }
.step-icon {
  position: relative;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px solid var(--red);
  color: var(--red);
  margin-bottom: 20px;
}
.step-icon svg { width: 24px; height: 24px; }
.step-icon::after {
  content: counter(step);
  position: absolute;
  top: -6px; right: -6px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.step h4 { font-family: var(--font-head); font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Case studies ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-tag {
  align-self: flex-start;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  background: var(--red-50);
  border-radius: 999px;
  padding: 5px 12px;
  margin-bottom: 18px;
}
.case-card h3 { font-size: 20px; margin-bottom: 10px; }
.case-desc { color: var(--muted); font-size: 15px; }
.case-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.case-card .case-desc { margin-bottom: 24px; }
.case-metrics dt {
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.case-metrics dd { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- File upload ---------- */
.file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 22px 18px;
  border: 1.5px dashed #c9cdd4;
  border-radius: 12px;
  background: var(--bg-muted);
  color: var(--muted);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.dropzone svg { color: var(--red); margin-bottom: 4px; }
.dropzone:hover, .dropzone.dragging,
.field:focus-within .dropzone {
  border-color: var(--red);
  background: var(--red-50);
}
.dropzone-cta { font-size: 15px; color: var(--ink-2); }
.dropzone-cta strong { color: var(--red); font-weight: 700; }
.dropzone-hint { font-size: 13px; }
.file-list { display: grid; gap: 8px; margin-top: 10px; }
.file-list:empty { display: none; }
.file-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
}
.file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-weight: 500; }
.file-size { color: var(--muted); font-size: 13px; white-space: nowrap; }
.file-remove {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.file-remove:hover { background: var(--red-50); color: var(--red); }

/* Subtle reveal transition (only when JS is active, content stays visible otherwise) */
.reveal { opacity: 1; transform: none; }
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js-reveal .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .brands-track { animation: none; }
  .brands-marquee { width: auto; flex-wrap: wrap; justify-content: center; -webkit-mask-image: none; mask-image: none; }
  .brands-track[aria-hidden="true"] { display: none; }
  .brands-track { flex-wrap: wrap; justify-content: center; gap: 28px 48px; padding: 0 24px; }
}


/* ==============================================================
   Responsive
   ============================================================== */
@media (max-width: 1180px) {
  .header-cta { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: 10px 10px; }
  .main-nav a::after { left: 10px; right: 10px; }
}

@media (max-width: 980px) {
  .top-bar-location, .top-bar-sep { display: none; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(11, 15, 23, .08);
    padding: 8px 16px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .header-actions { margin-left: auto; }

  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .sectors-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sectors-list { justify-content: flex-start; }
  .cases-grid { grid-template-columns: 1fr; max-width: 640px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
}

@media (max-width: 720px) {
  :root {
    --topbar-h: 30px;
    --main-header-h: 64px;
    --header-h: calc(var(--topbar-h) + var(--main-header-h));
  }
  .top-bar-alert-text { font-size: 11px; }
  .top-bar-meta { display: none; }
  .container { padding: 0 16px; }
  .brand img { height: 34px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .services-grid, .two-cols, .compare, .form-row { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .hero { background: linear-gradient(180deg, rgba(8, 10, 16, .78), rgba(8, 10, 16, .88)), url('../images/bg.jpg') 30% center / cover no-repeat; }
  .hero-stats { gap: 28px; margin-top: 44px; }
  .hero-stats dt { font-size: 28px; }
  .hero-ctas .btn { width: 100%; }
  .panel, .compare-col, .contact-form { padding: 28px 22px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
  .footer-bottom { flex-direction: column; }
  .legal-body dl { grid-template-columns: 1fr; gap: 2px; }
  .legal-body dd { margin-bottom: 10px; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; }
  .step-icon { grid-row: span 2; margin-bottom: 0; }
  .steps-title { margin-top: 56px; }
  .brands { padding: 40px 0 44px; }
  .wm { font-size: 19px; }
  .brands-track { gap: 48px; padding-right: 48px; }
  .case-card { padding: 26px 22px; }
}
