/* ============================================================
   CILTS XXI — Industrial Logistics. Design System
   Anthracite / Corporate Red / White — premium, technical
   ============================================================ */

:root {
  /* Brand */
  --red: #e3241b;
  --red-bright: #ff3b2e;
  --red-deep: #b01510;

  /* Neutrals (anthracite scale) */
  --ink: #0a0b0e;        /* page base */
  --ink-2: #0f1115;      /* alt section */
  --panel: #16181f;      /* card */
  --panel-2: #1c1f27;    /* raised card */
  --hair: rgba(255,255,255,.08);
  --hair-2: rgba(255,255,255,.14);

  --white: #ffffff;
  --text: #eceef2;
  --muted: #9aa0ab;
  --muted-2: #6b7280;

  /* Light section (overview) */
  --paper: #f4f5f7;
  --paper-ink: #14161b;
  --paper-muted: #5b626e;
  --paper-hair: rgba(10,12,16,.10);

  /* Type */
  --f-display: 'Archivo', system-ui, sans-serif;
  --f-body: 'Manrope', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Geometry */
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 18px;
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { position: relative; padding-block: clamp(72px, 11vw, 150px); }
.section--ink { background: var(--ink); }
.section--ink2 { background: var(--ink-2); }
.section--paper { background: var(--paper); color: var(--paper-ink); }

/* ---------- Type ---------- */
h1,h2,h3,h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.display {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: .96; letter-spacing: -.03em;
  text-transform: uppercase;
}
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); text-transform: uppercase; letter-spacing: -.025em; }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.3rem); color: var(--muted); line-height: 1.6; }
.paper .lead, .section--paper .lead { color: var(--paper-muted); }

/* Mono technical kicker */
.kicker {
  font-family: var(--f-mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase;
  color: var(--red); display: inline-flex; align-items: center; gap: 12px;
}
.kicker::before {
  content: ""; width: 30px; height: 1px; background: var(--red);
  display: inline-block;
}
.kicker--center::after {
  content: ""; width: 30px; height: 1px; background: var(--red); display: inline-block;
}

.sec-num {
  font-family: var(--f-mono); font-size: .8rem; font-weight: 600;
  letter-spacing: .2em; color: var(--muted-2);
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 700; font-size: .98rem;
  letter-spacing: .01em; text-transform: uppercase;
  padding: 15px 26px; border-radius: var(--r-sm);
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn--primary:hover svg { transform: translateX(4px); }
.btn--ghost { color: var(--text); border: 1px solid var(--hair-2); }
.btn--ghost:hover { border-color: var(--red); color: #fff; transform: translateY(-2px); }
.section--paper .btn--ghost { color: var(--paper-ink); border-color: var(--paper-hair); }
.section--paper .btn--ghost:hover { border-color: var(--red); color: var(--red); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,11,14,.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--hair);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gut);
  height: 78px; display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { display: block; height: 38px; width: auto; background: #fff; padding: 6px 11px; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,.3); }
.brand--footer img { height: 34px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 8px; position: relative;
  background: var(--red); display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 6px 18px rgba(227,36,27,.35);
}
.brand__mark::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(0,0,0,.18) 0 6px, transparent 6px 12px);
}
.brand__mark span {
  font-family: var(--f-display); font-weight: 900; color: #fff; font-size: 1.1rem;
  position: relative; letter-spacing: -.04em;
}
.brand__txt { line-height: 1.05; }
.brand__txt b { font-family: var(--f-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -.02em; display: block; }
.brand__txt small { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }

.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__menu a {
  font-size: .92rem; font-weight: 600; color: var(--muted);
  padding: 9px 13px; border-radius: var(--r-sm); transition: color .2s, background .2s;
}
.nav__menu a:hover { color: #fff; }
.nav__menu a.active { color: #fff; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; border: 1px solid var(--hair-2); border-radius: 999px; overflow: hidden;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
}
.lang button { padding: 7px 12px; color: var(--muted); letter-spacing: .06em; transition: color .2s, background .2s; }
.lang button.active { background: var(--red); color: #fff; }

.nav__cta { padding: 11px 20px; }

.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--hair-2); }
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: .3s; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), var(--red-bright)); z-index: 101; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--ink); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 35%, transparent 80%);
}
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; right: -10vw; top: -10vw;
  background: radial-gradient(circle, rgba(227,36,27,.22), transparent 62%);
  filter: blur(10px);
}
.hero__inner { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero__copy { max-width: 640px; padding-top: 60px; }
.hero h1 { margin: 22px 0 0; }
.hero__title-xxi { color: var(--red); -webkit-text-stroke: 0; }
.hero__sub { margin-top: 22px; font-size: clamp(1.15rem,2vw,1.5rem); font-weight: 600; color: #fff; font-family: var(--f-display); letter-spacing: -.01em; }
.hero__desc { margin-top: 18px; max-width: 540px; }
.hero__cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero__badges { margin-top: 40px; display: flex; gap: 26px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--hair); }
.hbadge { display: flex; flex-direction: column; gap: 2px; }
.hbadge b { font-family: var(--f-display); font-weight: 800; font-size: 1.05rem; }
.hbadge small { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }

/* hero visual: isometric warehouse */
.hero__visual { position: relative; height: min(72vh, 620px); }

/* ============================================================
   STAT STRIP (animated counters)
   ============================================================ */
.stats {
  position: relative; z-index: 3; margin-top: -1px;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  background: var(--ink-2);
}
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(28px,4vw,52px) 30px; border-right: 1px solid var(--hair); position: relative; }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem,4vw,3.4rem); line-height: 1; letter-spacing: -.03em; }
.stat__num .u { color: var(--red); }
.stat__lab { margin-top: 12px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat::after { content: ""; position: absolute; left: 30px; bottom: 0; height: 2px; width: 0; background: var(--red); transition: width .8s var(--ease); }
.stat.in::after { width: 38px; }

/* ============================================================
   OVERVIEW (paper)
   ============================================================ */
.overview__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: start; }
.profile-card {
  background: #fff; border: 1px solid var(--paper-hair); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 30px 60px -30px rgba(10,12,16,.25);
}
.profile-card__head { background: var(--ink); color: #fff; padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; }
.profile-card__head .iso { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; color: #fff; background: var(--red); padding: 6px 11px; border-radius: 999px; }
.profile-row { display: flex; gap: 18px; padding: 18px 30px; border-bottom: 1px solid var(--paper-hair); }
.profile-row:last-child { border-bottom: none; }
.profile-row .k { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--paper-muted); width: 96px; flex-shrink: 0; padding-top: 3px; }
.profile-row .v { font-weight: 600; }
.profile-row .v a { color: var(--red); }

.pillars { display: grid; gap: 16px; }
.pillar { display: flex; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--paper-hair); border-radius: var(--r); transition: transform .35s var(--ease), box-shadow .35s; }
.pillar:hover { transform: translateX(6px); box-shadow: -8px 14px 30px -18px rgba(227,36,27,.45); }
.pillar__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 10px; background: rgba(227,36,27,.1); display: grid; place-items: center; color: var(--red); }
.pillar__ic svg { width: 24px; height: 24px; }
.pillar h4 { font-size: 1.1rem; margin-bottom: 3px; }
.pillar p { font-size: .94rem; color: var(--paper-muted); line-height: 1.5; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; }
.svc {
  background: var(--panel); padding: 34px 28px 30px; position: relative; overflow: hidden;
  transition: background .35s; min-height: 230px; display: flex; flex-direction: column;
}
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .4s var(--ease); }
.svc:hover { background: var(--panel-2); }
.svc:hover::before { width: 100%; }
.svc__ic { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--hair); display: grid; place-items: center; color: var(--red); transition: transform .4s var(--ease), background .3s; }
.svc__ic svg { width: 26px; height: 26px; }
.svc:hover .svc__ic { transform: translateY(-4px) scale(1.05); background: rgba(227,36,27,.12); }
.svc h4 { font-size: 1.18rem; margin-top: 20px; }
.svc p { font-size: .9rem; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.svc__no { position: absolute; right: 20px; top: 18px; font-family: var(--f-mono); font-size: .7rem; color: var(--muted-2); }

/* ============================================================
   LOCATION (map)
   ============================================================ */
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px,5vw,72px); align-items: center; }
.loc-list { display: grid; gap: 2px; }
.loc-item { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--hair); transition: padding-left .35s var(--ease); }
.loc-item:hover { padding-left: 16px; }
.loc-item__t { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; color: #fff; letter-spacing: -.02em; }
.loc-item__t .min { font-size: .8rem; font-family: var(--f-mono); color: var(--red); margin-left: 4px; font-weight: 600; }
.loc-item__name { font-weight: 600; }
.loc-item__via { font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.loc-map { position: relative; aspect-ratio: 1/1; border-radius: var(--r-lg); border: 1px solid var(--hair); background: radial-gradient(120% 120% at 30% 20%, #16181f, #0c0d11); overflow: hidden; }

/* ============================================================
   INFRASTRUCTURE
   ============================================================ */
.infra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.wh-card { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 34px; position: relative; overflow: hidden; transition: transform .4s var(--ease), border-color .4s; }
.wh-card:hover { transform: translateY(-4px); border-color: rgba(227,36,27,.4); }
.wh-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.wh-card h3 { font-size: 1.6rem; text-transform: uppercase; }
.wh-card__share { text-align: right; }
.wh-card__share b { font-family: var(--f-display); font-size: 2.4rem; color: var(--red); line-height: 1; }
.wh-card__share small { display: block; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.wh-metrics { margin-top: 26px; display: grid; gap: 16px; }
.wh-metric { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--hair); }
.wh-metric .l { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wh-metric .n { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; }
.wh-bar { margin-top: 26px; height: 8px; border-radius: 99px; background: rgba(255,255,255,.06); overflow: hidden; }
.wh-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red-deep), var(--red)); transition: width 1.2s var(--ease); }

.infra-total { margin-top: 26px; text-align: center; padding: 34px; border: 1px solid var(--hair); border-radius: var(--r-lg); background: var(--ink-2); }
.infra-total b { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem,6vw,4.4rem); color: #fff; letter-spacing: -.03em; line-height: 1; }
.infra-total b .u { color: var(--red); }
.infra-total small { display: block; margin-top: 8px; font-family: var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-size: .8rem; }

/* ============================================================
   SAFETY (dark)
   ============================================================ */
.safety { background: radial-gradient(120% 80% at 80% 0%, #1a0c0b 0%, var(--ink) 55%); }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; }
.safe { background: rgba(16,18,24,.7); padding: 30px 24px; transition: background .3s; position: relative; }
.safe:hover { background: var(--panel-2); }
.safe__ic { color: var(--red); margin-bottom: 16px; }
.safe__ic svg { width: 26px; height: 26px; }
.safe__num { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -.02em; }
.safe__lab { margin-top: 8px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }

/* ============================================================
   HANDLING
   ============================================================ */
.fleet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fleet { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r); padding: 28px; display: flex; gap: 20px; align-items: center; transition: transform .4s var(--ease), border-color .3s; }
.fleet:hover { transform: translateY(-4px) rotateX(4deg); border-color: rgba(227,36,27,.4); }
.fleet__qty { font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; color: var(--red); line-height: 1; min-width: 64px; }
.fleet h4 { font-size: 1.05rem; }
.fleet p { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.fleet--total { background: var(--red); border-color: var(--red); grid-column: span 3; justify-content: center; gap: 18px; }
.fleet--total .fleet__qty, .fleet--total h4 { color: #fff; }
.fleet--total h4 { font-size: 1.4rem; text-transform: uppercase; }

/* ============================================================
   FLOW
   ============================================================ */
.flow { background: var(--ink-2); }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.flow-line { position: absolute; left: 0; right: 0; top: 32px; height: 2px; background: var(--hair); z-index: 0; }
.flow-line span { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--red); transition: width 2.4s linear; }
.flow-step { position: relative; z-index: 1; text-align: center; }
.flow-dot {
  width: 66px; height: 66px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--ink); border: 2px solid var(--hair); display: grid; place-items: center;
  color: var(--muted); transition: all .4s var(--ease); position: relative;
}
.flow-dot svg { width: 28px; height: 28px; }
.flow-dot__n { position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 50%; background: var(--panel-2); border: 1px solid var(--hair); font-family: var(--f-mono); font-size: .68rem; display: grid; place-items: center; color: var(--muted); }
.flow-step.on .flow-dot { border-color: var(--red); color: #fff; background: var(--red); box-shadow: 0 0 0 6px rgba(227,36,27,.16); transform: scale(1.06); }
.flow-step.on .flow-dot__n { background: var(--red); border-color: var(--red); color: #fff; }
.flow-step h4 { font-size: .98rem; }
.flow-step p { font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1.4; }

/* ============================================================
   WMS dashboard
   ============================================================ */
.wms-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px,5vw,64px); align-items: center; }
.wms-features { display: grid; gap: 14px; }
.wms-feat { display: flex; gap: 16px; padding: 18px 20px; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r); transition: border-color .3s, transform .3s; }
.wms-feat:hover { border-color: rgba(227,36,27,.4); transform: translateX(5px); }
.wms-feat__ic { color: var(--red); flex-shrink: 0; } .wms-feat__ic svg { width: 24px; height: 24px; }
.wms-feat h4 { font-size: 1rem; } .wms-feat p { font-size: .85rem; color: var(--muted); margin-top: 3px; }

.dash {
  background: linear-gradient(180deg, #14161d, #0d0f14); border: 1px solid var(--hair-2);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--hair); background: rgba(255,255,255,.02); }
.dash__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--hair-2); display: inline-block; }
.dash__bar i:nth-child(1){ background:#ff5f57;} .dash__bar i:nth-child(2){ background:#febc2e;} .dash__bar i:nth-child(3){ background:#28c840;}
.dash__bar b { margin-left: 10px; font-family: var(--f-mono); font-size: .72rem; color: var(--muted); letter-spacing: .06em; }
.dash__live { margin-left: auto; font-family: var(--f-mono); font-size: .66rem; color: #28c840; display: flex; align-items: center; gap: 6px; }
.dash__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #28c840; box-shadow: 0 0 0 0 rgba(40,200,64,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(40,200,64,.5);} 70%{box-shadow:0 0 0 8px rgba(40,200,64,0);} 100%{box-shadow:0 0 0 0 rgba(40,200,64,0);} }
.dash__body { padding: 22px; display: grid; gap: 18px; }
.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.kpi { background: rgba(255,255,255,.03); border: 1px solid var(--hair); border-radius: var(--r-sm); padding: 16px; }
.kpi b { font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; display: block; }
.kpi small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpi.up b { color: #28c840; } .kpi.red b { color: var(--red); }
.dash__chart { height: 110px; display: flex; align-items: flex-end; gap: 7px; padding: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--hair); border-radius: var(--r-sm); }
.dash__chart i { flex: 1; background: linear-gradient(180deg, var(--red), var(--red-deep)); border-radius: 3px 3px 0 0; height: 20%; transition: height .9s var(--ease); }
.dash__rows { display: grid; gap: 8px; }
.dash__row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 14px; align-items: center; font-family: var(--f-mono); font-size: .74rem; padding: 9px 12px; background: rgba(255,255,255,.02); border: 1px solid var(--hair); border-radius: var(--r-sm); }
.dash__row .ref { color: var(--muted); }
.dash__row .tag { padding: 3px 9px; border-radius: 99px; font-size: .62rem; letter-spacing: .06em; }
.tag--in { background: rgba(40,200,64,.14); color: #4ade80; }
.tag--out { background: rgba(227,36,27,.16); color: #ff6b61; }
.tag--ok { background: rgba(255,255,255,.07); color: var(--muted); }

/* hardware chips */
.wms-hw { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hw-chip { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--text); padding: 9px 14px; border: 1px solid var(--hair); border-radius: 99px; background: var(--panel); display: inline-flex; gap: 8px; align-items: center; }
.hw-chip svg { width: 15px; height: 15px; color: var(--red); }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 26px; }
.cert-main { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: 38px; position: relative; overflow: hidden; }
.cert-main::after { content: "ISO"; position: absolute; right: -10px; bottom: -30px; font-family: var(--f-display); font-weight: 900; font-size: 9rem; color: rgba(255,255,255,.025); letter-spacing: -.04em; }
.cert-seal { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid rgba(40,200,64,.4); border-radius: 99px; background: rgba(40,200,64,.08); }
.cert-seal svg { width: 22px; height: 22px; color: #28c840; }
.cert-seal span { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: #4ade80; text-transform: uppercase; }
.cert-main h3 { font-size: 2.2rem; margin: 24px 0 8px; }
.cert-detail { margin-top: 24px; display: grid; gap: 12px; position: relative; z-index: 1; }
.cert-detail div { display: flex; gap: 16px; padding-bottom: 10px; border-bottom: 1px dashed var(--hair); }
.cert-detail .k { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); width: 110px; flex-shrink: 0; }
.cert-side { display: grid; gap: 18px; align-content: start; }
.proj { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r); padding: 22px 24px; transition: border-color .3s, transform .3s; }
.proj:hover { border-color: rgba(227,36,27,.4); transform: translateY(-3px); }
.proj__tag { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.proj h4 { font-size: 1.2rem; margin: 8px 0 4px; }
.proj p { font-size: .86rem; color: var(--muted); }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden; }
.client { background: var(--ink-2); aspect-ratio: 1/.92; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; transition: background .3s; text-align: center; }
.client:hover { background: var(--panel-2); }
.client__mono { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--panel-2), #2a2e38); border: 1px solid var(--hair); transition: transform .35s var(--ease), color .3s, border-color .3s; }
.client:hover .client__mono { color: var(--red); border-color: rgba(227,36,27,.5); transform: scale(1.08); }
.client b { font-size: .92rem; }
.client small { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px,5vw,64px); }
.contact-info { display: grid; gap: 18px; align-content: start; }
.cinfo { display: flex; gap: 16px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r); transition: border-color .3s; }
.cinfo:hover { border-color: rgba(227,36,27,.4); }
.cinfo__ic { width: 44px; height: 44px; border-radius: 10px; background: rgba(227,36,27,.1); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.cinfo__ic svg { width: 22px; height: 22px; }
.cinfo .k { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cinfo .v { font-weight: 600; margin-top: 3px; } .cinfo .v a:hover { color: var(--red); }
.contact-actions { display: flex; gap: 12px; margin-top: 4px; }
.btn--wa { background: #25d366; color: #053; }
.btn--wa:hover { background: #2bef74; transform: translateY(-2px); }

.form { background: var(--panel); border: 1px solid var(--hair); border-radius: var(--r-lg); padding: clamp(26px,3.5vw,40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: span 2; }
.field label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: .95rem; color: var(--text);
  background: var(--ink); border: 1px solid var(--hair); border-radius: var(--r-sm);
  padding: 13px 15px; transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,36,27,.15); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239aa0ab' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; }
.form__submit { margin-top: 20px; width: 100%; justify-content: center; }
.form__ok { margin-top: 16px; padding: 14px; border-radius: var(--r-sm); background: rgba(40,200,64,.12); border: 1px solid rgba(40,200,64,.35); color: #4ade80; font-size: .9rem; text-align: center; display: none; }
.form__ok.show { display: block; }
.form__err { margin-top: 16px; padding: 14px; border-radius: var(--r-sm); background: rgba(227,36,27,.12); border: 1px solid rgba(227,36,27,.4); color: #ff6b61; font-size: .9rem; text-align: center; display: none; }
.form__err.show { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); border-top: 1px solid var(--hair); padding-block: 60px 36px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--hair); }
.footer p { color: var(--muted); font-size: .9rem; max-width: 320px; margin-top: 16px; }
.footer h5 { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { font-size: .92rem; color: var(--text); transition: color .2s; width: fit-content; }
.footer__links a:hover { color: var(--red); }
.footer__bot { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; flex-wrap: wrap; gap: 12px; }
.footer__bot small { font-family: var(--f-mono); font-size: .72rem; color: var(--muted-2); letter-spacing: .04em; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
/* ============================================================
   CINEMATIC REVEAL — unified "guided tour" motion
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px) scale(.992); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* staggered groups: children rise in sequence like a camera panning across */
[data-stagger] > * { opacity: 0; transform: translateY(30px) scale(.985); filter: blur(5px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); }
[data-stagger].in > * { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, [data-stagger] > * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .safety-grid { grid-template-columns: repeat(2,1fr); }
  .clients-grid { grid-template-columns: repeat(4,1fr); }
  .fleet-grid { grid-template-columns: repeat(2,1fr); }
  .fleet--total { grid-column: span 2; }
  .flow-track { grid-template-columns: repeat(4,1fr); gap: 28px 14px; }
  .flow-line { display: none; }
}
@media (max-width: 920px) {
  .nav__menu { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .stats__grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--hair); }
  .overview__grid, .loc-grid, .infra-grid, .wms-grid, .cert-grid, .contact-grid { grid-template-columns: 1fr; }
  .loc-map { max-width: 460px; }
  .form-grid { grid-template-columns: 1fr; } .field.full, .form-grid > .field { grid-column: auto; }
  .footer__top { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .svc-grid, .safety-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2,1fr); }
  .fleet-grid { grid-template-columns: 1fr; } .fleet--total { grid-column: auto; }
  .flow-track { grid-template-columns: repeat(2,1fr); }
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: none !important; border-bottom: 1px solid var(--hair); }
}

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(10,11,14,.97); backdrop-filter: blur(20px); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gut); transform: translateX(100%); transition: transform .45s var(--ease); }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-family: var(--f-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--hair); }
.mobile-menu a:hover { color: var(--red); }
.mobile-close { position: absolute; top: 26px; right: var(--gut); width: 46px; height: 46px; border: 1px solid var(--hair-2); border-radius: var(--r-sm); display: grid; place-items: center; }
.mobile-close svg { width: 22px; height: 22px; }

/* ============================================================
   WAREHOUSE SCENE (animated logistics universe)
   ============================================================ */
.whs {
  position: relative; width: 100%; margin-bottom: 44px;
  border: 1px solid var(--hair); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, #0d1016 0%, #090a0e 70%);
}
.whs svg { width: 100%; height: auto; display: block; }
.whs__tag {
  position: absolute; left: 22px; top: 20px; z-index: 3;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 9px;
}
.whs__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227,36,27,.6); animation: whs-live 2s infinite; }
@keyframes whs-live { 0%{box-shadow:0 0 0 0 rgba(227,36,27,.5);} 70%{box-shadow:0 0 0 7px rgba(227,36,27,0);} 100%{box-shadow:0 0 0 0 rgba(227,36,27,0);} }

/* moving parts */
.whs-forklift { animation: whs-drive 13s cubic-bezier(.45,0,.55,1) infinite; }
.whs-lift { animation: whs-liftcyc 13s ease-in-out infinite; }
.whs-carry { animation: whs-carry 13s steps(1) infinite; }
.whs-drop { animation: whs-drop 13s ease-out infinite; }
.whs-stacker { animation: whs-roll 17s linear infinite; }
.whs-spin { transform-box: fill-box; transform-origin: center; animation: whs-spin 1.1s linear infinite; }
.whs-spin--slow { animation-duration: 1.7s; }
.whs-beacon { animation: whs-blink 1.1s steps(1) infinite; }
.whs-stripe { animation: whs-stripes 2.4s linear infinite; }
.whs-lamp { animation: whs-flick 7s ease-in-out infinite; }
.whs-beam { animation: whs-beam 2.6s ease-in-out infinite; transform-box: fill-box; }
.whs-badge { animation: whs-badge 2.6s ease-in-out infinite; }
.whs-lift2 { animation: whs-lift2 17s ease-in-out infinite; }
.whs-far { animation: whs-far 26s ease-in-out infinite; }

@keyframes whs-beam {
  0%, 100% { transform: translateY(2px); opacity: .35; }
  45% { transform: translateY(52px); opacity: 1; }
  60% { transform: translateY(52px); opacity: .2; }
}
@keyframes whs-badge {
  0%, 38% { opacity: 0; transform: translateY(6px); }
  52%, 88% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes whs-lift2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-40px); } }
@keyframes whs-far { 0%,100% { transform: translateX(0); } 50% { transform: translateX(-22px); } }

@keyframes whs-drive {
  0%   { transform: translateX(-340px); }
  15%  { transform: translateX(440px); }
  64%  { transform: translateX(440px); }
  100% { transform: translateX(1360px); }
}
@keyframes whs-liftcyc {
  0%, 17%   { transform: translateY(0); }
  30%, 52%  { transform: translateY(-132px); }
  64%, 100% { transform: translateY(0); }
}
@keyframes whs-roll { 0% { transform: translateX(-240px); } 100% { transform: translateX(1320px); } }
@keyframes whs-carry { 0%, 43% { opacity: 1; } 47%, 100% { opacity: 0; } }
@keyframes whs-drop { 0%, 44% { opacity: 0; transform: translateY(-12px); } 50%, 95% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; } }
@keyframes whs-spin { to { transform: rotate(360deg); } }
@keyframes whs-blink { 0%,50%{ opacity:1;} 51%,100%{ opacity:.25;} }
@keyframes whs-stripes { to { transform: translateX(-48px); } }
@keyframes whs-flick { 0%,100%{opacity:.9;} 48%{opacity:.78;} 50%{opacity:.95;} 52%{opacity:.8;} }

@media (prefers-reduced-motion: reduce) {
  .whs-forklift, .whs-lift, .whs-stacker, .whs-spin, .whs-beacon, .whs-stripe, .whs-lamp { animation: none; }
  .whs-forklift { transform: translateX(440px); }
  .whs-lift { transform: translateY(-132px); }
}
@media (max-width: 600px) { .whs { display: none; } }

