/* ================================================
   JLB GROUP — Shared Design System v2
   Apple-inspired, minimal, B2B premium
   ================================================ */

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

/* ── DESIGN TOKENS ── */
:root {
  /* Dark anchors */
  --ink:       #0B1D3A;   /* midnight — footer, stats band, dark sections */
  --navy:      #1B3C8C;   /* royal blue — brand primary, buttons */
  --navy-lt:   #EEF3FF;   /* pale blue — chips, light accents */
  --navy-dk:   #0B1D3A;   /* alias → ink */

  /* Accent */
  --gold:      #B8902A;   /* warm amber */
  --gold-lt:   #FEF7E6;   /* pale amber */
  --gold-md:   #C9A93C;   /* amber hover */

  /* Neutrals — predominantly white */
  --white:     #FFFFFF;
  --bg:        #F9F6F1;   /* warm cream — alternating sections */
  --bg2:       #F2EDE4;   /* deeper cream — accent sections */
  --text:      #0B1D3A;   /* = ink — headings, strong text */
  --muted:     #64748B;   /* slate — body paragraphs, labels */
  --muted-lt:  #94A3B8;   /* light slate */
  --border:    #E2E8F0;   /* clean border */
  --border-lt: #F1F5F9;   /* very subtle border */

  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --r:    14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --sh:    0 2px 8px rgba(0,0,0,.05), 0 1px 2px rgba(0,0,0,.04);
  --sh-md: 0 8px 32px rgba(0,0,0,.08);
  --sh-lg: 0 24px 64px rgba(0,0,0,.10);

  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--navy-lt); color: var(--navy); }
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── TYPOGRAPHY ── */
h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.05em;
}
h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.04em;
  color: var(--text);
}
h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text);
}
h4 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--text); }

.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .85rem;
}
.eyebrow-gold { color: var(--gold); }
.eyebrow-navy { color: var(--navy); }
.eyebrow-white { color: rgba(255,255,255,.6); }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 clamp(1.5rem,5vw,3rem); }
.section    { padding: clamp(5rem,10vw,8.5rem) 0; }
.section-sm { padding: clamp(3rem,6vw,5rem) 0; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 52px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
nav.scrolled {
  border-bottom-color: rgba(0,0,0,.08);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem,5vw,3rem);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 34px; width: auto; object-fit: contain; }
.nav-logo-fallback { font-weight: 800; font-size: .95rem; color: var(--navy); }

.nav-links { display: flex; align-items: center; list-style: none; }
.nav-links a {
  font-size: .8rem; font-weight: 500; color: var(--muted);
  text-decoration: none; padding: .3rem .75rem; border-radius: 6px;
  transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 600; }

.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--navy); color: #fff;
  font-size: .78rem; font-weight: 600; font-family: var(--sans);
  border-radius: 20px; padding: .42rem 1.15rem;
  text-decoration: none; transition: background .2s, transform .15s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--ink); transform: scale(1.03); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px; transition: .3s; }

.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: rgba(255,255,255,.97); backdrop-filter: blur(24px);
  flex-direction: column; padding: 80px 2rem 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.5rem; font-weight: 700; color: var(--text);
  text-decoration: none; padding: .85rem 0;
  border-bottom: 1px solid var(--border-lt);
  transition: color .2s;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--navy); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: .875rem; font-weight: 600;
  border-radius: 24px; padding: .75rem 1.75rem;
  text-decoration: none; transition: all .2s var(--ease);
  cursor: pointer; border: none; white-space: nowrap;
  line-height: 1;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #234fa8; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,60,140,.3); }
.btn-dark    { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #162d56; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--text); background: var(--bg); }
.btn-ghost   { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-gold    { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-md); transform: translateY(-1px); }
.btn-sm { padding: .5rem 1.2rem; font-size: .78rem; border-radius: 18px; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── HERO ── */
.page-hero { padding-top: 52px; }

.hero-full {
  min-height: 92vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11,29,58,.60) 0%,
    rgba(11,29,58,.40) 50%,
    rgba(11,29,58,.72) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; color: #fff;
  max-width: 880px; margin: 0 auto;
  padding: 0 2rem;
}
.hero-content h1 { color: #fff; margin-bottom: 1.5rem; }
.hero-content .hero-sub {
  font-size: clamp(1rem,1.5vw,1.2rem);
  color: rgba(255,255,255,.8);
  max-width: 540px; margin: 0 auto 2.5rem;
  line-height: 1.75; font-weight: 400;
}
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* Minimal (no image) hero */
.hero-minimal {
  padding: clamp(6rem,12vw,10rem) 0 clamp(4rem,8vw,7rem);
  background: var(--white); text-align: center;
  border-bottom: 1px solid var(--border-lt);
}
.hero-minimal .eyebrow { margin-bottom: 1rem; }
.hero-minimal h1 { margin-bottom: 1.25rem; }
.hero-minimal .hero-sub { font-size: 1.1rem; color: var(--muted); max-width: 580px; margin: 0 auto; line-height: 1.8; }

/* Dark hero */
.hero-dark {
  background: var(--navy-dk); text-align: center;
  padding: clamp(6rem,12vw,10rem) 0 clamp(4rem,8vw,7rem);
}
.hero-dark h1 { color: #fff; margin-bottom: 1.25rem; }
.hero-dark .hero-sub { color: rgba(255,255,255,.65); font-size: 1.1rem; max-width: 580px; margin: 0 auto; line-height: 1.8; }

/* ── STATS BAND ── */
.stats-band { background: var(--ink); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat-item { padding: 1.25rem 1.5rem; border-right: 1px solid rgba(255,255,255,.1); text-align: center; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem,4vw,3rem); font-weight: 700; color: #fff;
  letter-spacing: -.05em; line-height: 1;
}
.stat-lbl { font-size: .72rem; color: rgba(255,255,255,.45); margin-top: .4rem; letter-spacing: .04em; }

/* ── CARDS ── */
.card {
  background: var(--white); border: 1px solid var(--border-lt);
  border-radius: var(--r-lg); padding: 2rem;
  transition: box-shadow .25s, transform .25s;
}
.card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }

/* ── PILLARS GRID ── */
.pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.pillar { background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--r-lg); padding: 2rem; transition: .25s; }
.pillar:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.pillar-icon { width: 46px; height: 46px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.pillar h4 { font-size: 1rem; margin-bottom: .45rem; }
.pillar p { font-size: .85rem; color: var(--muted); line-height: 1.65; }

/* ── HOW IT WORKS ── */
.how-tabs { display: flex; gap: .35rem; background: var(--bg); border: 1px solid var(--border-lt); border-radius: 10px; padding: .3rem; width: fit-content; margin-bottom: 2.5rem; }
.how-tab { padding: .55rem 1.3rem; font-size: .82rem; font-weight: 600; border-radius: 8px; cursor: pointer; border: none; background: transparent; color: var(--muted); transition: .2s; font-family: var(--sans); }
.how-tab.active { background: var(--navy); color: #fff; }
.how-panel { display: none; }
.how-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.how-steps { display: flex; flex-direction: column; }
.hstep { display: flex; gap: 1.1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--border-lt); cursor: pointer; }
.hstep:first-child { padding-top: 0; }
.hstep:last-child { border: none; }
.hstep-num { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 700; color: var(--muted-lt); transition: .2s; }
.hstep.active .hstep-num { background: var(--navy); border-color: var(--navy); color: #fff; }
.hstep-body h4 { margin-bottom: .25rem; font-size: .9rem; }
.hstep-body p { font-size: .82rem; color: var(--muted); line-height: 1.65; display: none; }
.hstep.active .hstep-body p { display: block; }
.how-visual { background: var(--ink); border-radius: var(--r-lg); padding: 2.5rem; color: white; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; position: sticky; top: 70px; }
.hv-label { font-size: .65rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: .75rem; }
.hv-title { font-size: 1.4rem; font-weight: 700; margin-bottom: .65rem; line-height: 1.2; letter-spacing: -.025em; }
.hv-desc { font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.7; }
.hv-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.75rem; }
.hv-chip { font-size: .72rem; font-weight: 500; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.8); border-radius: 100px; padding: .3rem .75rem; display: flex; align-items: center; gap: .35rem; }

/* ── BRANDS TICKER ── */
.ticker-wrap { overflow: hidden; border-top: 1px solid var(--border-lt); border-bottom: 1px solid var(--border-lt); padding: 1.25rem 0; }
.ticker { display: flex; animation: tickerMove 45s linear infinite; white-space: nowrap; }
.ticker:hover { animation-play-state: paused; }
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: inline-flex; align-items: center; gap: .85rem; padding: 0 2.5rem; font-size: .82rem; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; transition: color .2s; }
.ticker-item:hover { color: var(--text); }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--border); flex-shrink: 0; }

/* ── BRAND GRID (brands.html) ── */
.brand-section { margin-bottom: 2.5rem; }
.brand-section-letter { font-size: .65rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-lt); padding: .5rem 0; border-bottom: 1px solid var(--border-lt); margin-bottom: 1rem; }
.brand-cells { display: grid; grid-template-columns: repeat(5,1fr); gap: .75rem; }
.brand-cell { background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--r); padding: 1.25rem 1rem; display: flex; align-items: center; justify-content: center; text-align: center; transition: .2s; cursor: default; }
.brand-cell:hover { background: var(--navy-lt); border-color: var(--navy); }
.brand-cell span { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-lt); line-height: 1.3; transition: color .2s; }
.brand-cell:hover span { color: var(--navy); }

/* ── SUSTAINABILITY ── */
.sustain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.scard { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); padding: 1.5rem; display: flex; gap: 1.1rem; align-items: flex-start; transition: .2s; }
.scard:hover { background: rgba(255,255,255,.1); }
.scard-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.scard h4 { color: #fff; margin-bottom: .25rem; font-size: .95rem; }
.scard p { color: rgba(255,255,255,.6); font-size: .82rem; line-height: 1.6; }

/* ── CONTACT FORM ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: start; }
.form-box { background: var(--bg); border: 1px solid var(--border-lt); border-radius: var(--r-lg); padding: 2.5rem; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field.span2 { grid-column: span 2; }
.field label { font-size: .72rem; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.field input,.field select,.field textarea {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 10px; padding: .75rem 1rem;
  font-family: var(--sans); font-size: .875rem; color: var(--text);
  outline: none; transition: border-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus,.field select:focus,.field textarea:focus { border-color: var(--navy); }
.field input::placeholder,.field textarea::placeholder { color: var(--muted-lt); }
.field textarea { resize: vertical; min-height: 100px; }
.fsubmit { grid-column: span 2; }

/* ── WAREHOUSE ── */
.warehouse-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.warehouse-photo-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-lg); position: relative; aspect-ratio: 4/3; }
.warehouse-photo-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.warehouse-photo-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,29,58,.80) 0%, rgba(11,29,58,.15) 55%, transparent 100%); }
.warehouse-badges { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }
.wbadge { background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.2); border-radius: 10px; padding: .65rem 1rem; color: white; flex: 1; min-width: 90px; }
.wbadge-num { font-size: 1.2rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.wbadge-lbl { font-size: .62rem; font-weight: 500; opacity: .7; margin-top: .15rem; text-transform: uppercase; letter-spacing: .06em; }

/* ── CHIP HIGHLIGHTS ── */
.highlight-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.hchip { background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.hchip-num { font-size: 1.4rem; font-weight: 800; color: var(--navy); letter-spacing: -.04em; line-height: 1; }
.hchip-lbl { font-size: .75rem; color: var(--muted); margin-top: .25rem; }

/* ── MAP CONTAINER ── */
.map-container { background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.map-header { background: var(--ink); padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.map-header-title { font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: .08em; }
.map-badges { display: flex; gap: .5rem; }
.map-badge { font-size: .68rem; font-weight: 600; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); padding: .22rem .65rem; border-radius: 100px; border: 1px solid rgba(255,255,255,.12); }
.map-svg-wrap { background: #dce8f7; min-height: 360px; display: flex; flex-direction: column; }
.map-svg-wrap svg { display: block; width: 100%; flex: 1; }

/* ── REGION LIST ── */
.region-list { display: flex; flex-direction: column; gap: .6rem; margin-top: 2rem; }
.ritem { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: var(--r); border: 1px solid var(--border-lt); background: var(--white); transition: .2s; position: relative; overflow: hidden; }
.ritem:hover { transform: translateX(3px); box-shadow: var(--sh); }
.ritem.priority { background: var(--ink); border-color: var(--ink); padding: 1.2rem 1.25rem; }
.ritem-left-bar { position: absolute; left: 0; top: 0; width: 3px; height: 100%; background: var(--border-lt); border-radius: 0 2px 2px 0; }
.ritem.priority .ritem-left-bar { background: var(--gold); }
.ritem-emoji { font-size: 1.5rem; flex-shrink: 0; }
.ritem.priority .ritem-emoji { font-size: 1.75rem; }
.ritem-body { flex: 1; min-width: 0; }
.ritem-label { font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .15rem; }
.ritem.priority .ritem-label { color: var(--gold-md); }
.ritem-name { font-size: .88rem; font-weight: 700; color: var(--text); }
.ritem.priority .ritem-name { color: #fff; font-size: .95rem; }
.ritem-rev { display: flex; align-items: center; gap: .5rem; margin-top: .4rem; }
.ritem-bar { flex: 1; height: 3px; background: var(--border-lt); border-radius: 99px; overflow: hidden; }
.ritem.priority .ritem-bar { background: rgba(255,255,255,.15); }
.ritem-bar-fill { height: 100%; border-radius: 99px; background: var(--navy); }
.ritem.priority .ritem-bar-fill { background: var(--gold); }
.ritem-pct { font-size: .75rem; font-weight: 700; color: var(--navy); flex-shrink: 0; min-width: 2.5rem; text-align: right; }
.ritem.priority .ritem-pct { color: var(--gold-md); }

/* ── OFFICE PILLS ── */
.offices-row { display: flex; gap: 1rem; margin-top: 2rem; }
.office-pill { display: flex; align-items: center; gap: .65rem; background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--r); padding: .85rem 1.1rem; flex: 1; transition: .2s; }
.office-pill:hover { border-color: var(--navy); }
.office-flag { font-size: 1.3rem; }
.office-city { font-weight: 600; font-size: .875rem; }
.office-role { font-size: .72rem; color: var(--muted); margin-top: 1px; }

/* ── FOOTER ── */
footer { background: var(--ink); color: rgba(255,255,255,.5); padding: 4rem clamp(1.5rem,5vw,3rem) 2rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.07); margin-bottom: 2rem; }
.f-logo { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; text-decoration: none; }
.f-logo img { height: 34px; filter: brightness(0) invert(1) opacity(.85); }
.f-logo-text { font-weight: 800; font-size: .95rem; color: #fff; }
.f-brand p { font-size: .82rem; line-height: 1.75; max-width: 230px; }
.f-col-title { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 1rem; }
.f-links { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.f-links a { font-size: .82rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color .2s; }
.f-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; flex-wrap: wrap; gap: .75rem; }
.f-legal { display: flex; gap: 2rem; }
.f-legal a { color: rgba(255,255,255,.3); text-decoration: none; transition: color .2s; cursor: pointer; }
.f-legal a:hover { color: rgba(255,255,255,.65); }

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 500;
  background: rgba(11,29,58,.97); backdrop-filter: blur(20px);
  border-radius: 16px; padding: 1.1rem 1.5rem;
  display: none; align-items: center; gap: 1.5rem;
  max-width: 620px; width: calc(100vw - 2rem);
  box-shadow: 0 8px 32px rgba(11,29,58,.35);
}
#cookie-banner.show { display: flex; }
.cookie-text { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.5; flex: 1; }
.cookie-text a { color: #fff; }
.cookie-btns { display: flex; gap: .5rem; flex-shrink: 0; }
.cookie-btn { font-size: .75rem; font-weight: 600; border: none; border-radius: 10px; padding: .45rem .9rem; cursor: pointer; font-family: var(--sans); }
.cookie-accept  { background: #fff; color: #1D1D1F; }
.cookie-decline { background: rgba(255,255,255,.1); color: rgba(255,255,255,.65); }

/* ── LEGAL MODAL ── */
#legal-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: flex-end; justify-content: center; background: rgba(11,29,58,.55); backdrop-filter: blur(8px); }
#legal-modal.open { display: flex; }
.legal-sheet { background: var(--white); border-radius: 24px 24px 0 0; width: min(760px,100%); max-height: 88vh; display: flex; flex-direction: column; padding: 2rem 2rem 3rem; box-shadow: var(--sh-lg); }
.legal-sheet-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border-lt); }
.legal-sheet-title { font-size: 1rem; font-weight: 700; }
.legal-close { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; color: var(--muted); }
.legal-sheet-body { overflow-y: auto; font-size: .84rem; line-height: 1.8; color: var(--muted); }
.legal-sheet-body h4 { color: var(--text); margin: 1.25rem 0 .4rem; font-size: .9rem; }
.legal-sheet-body a { color: var(--navy); }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; } .d5 { transition-delay: .5s; }

/* ── STEP INDICATOR (horizontal) ── */
.steps-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.step-item { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; background: var(--white); border: 1px solid var(--border-lt); border-radius: var(--r-lg); transition: .25s; }
.step-item:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.step-num { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.step-title { font-size: .95rem; font-weight: 700; color: var(--text); }
.step-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .pillars { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-row { grid-template-columns: repeat(2,1fr); }
  .brand-cells { grid-template-columns: repeat(4,1fr); }
}

@media (max-width:768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-full { min-height: 85vh; }
  .hero-content h1 { font-size: clamp(2.5rem,8vw,3.5rem); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  /* Pillars */
  .pillars { grid-template-columns: 1fr; }

  /* How it works */
  .how-panel.active { grid-template-columns: 1fr; }
  .how-visual { display: none; }

  /* Warehouse */
  .warehouse-grid { grid-template-columns: 1fr; }

  /* Sustainability */
  .sustain-grid { grid-template-columns: 1fr; gap: 3rem; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .fgrid { grid-template-columns: 1fr; }
  .field.span2, .fsubmit { grid-column: span 1; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .f-legal { flex-wrap: wrap; gap: .75rem; }

  /* Cookie */
  #cookie-banner { flex-direction: column; align-items: stretch; gap: .85rem; }
  .cookie-btns { justify-content: flex-end; }

  /* Legal */
  .legal-sheet { padding: 1.5rem 1.5rem 2.5rem; }

  /* Brands */
  .brand-cells { grid-template-columns: repeat(3,1fr); }

  /* Offices */
  .offices-row { flex-direction: column; }

  /* Steps */
  .steps-row { grid-template-columns: 1fr 1fr; }

  /* Highlight */
  .highlight-chips { grid-template-columns: 1fr 1fr; }
}

@media (max-width:480px) {
  h1 { font-size: clamp(2.4rem,9vw,3rem); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .brand-cells { grid-template-columns: repeat(2,1fr); }
  .steps-row { grid-template-columns: 1fr; }
  .f-legal { flex-direction: column; gap: .4rem; }
  .highlight-chips { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
}
