/* =====================================================================
   PELLETPRO — industrial / utilitarian / value-bulk dark theme
   Palette: charcoal #121110 / #1B1A17, off-white, ember #FF6A1A, amber #FFC23D
   Type: Archivo (display + sans), IBM Plex Mono (specs/prices)
   ===================================================================== */

/* The `hidden` attribute must win over component display rules (chat panel,
   warehouses/compare sections reveal via `hidden`). */
[hidden] { display: none !important; }

:root {
  --bg:        #121110;
  --bg-2:      #1B1A17;
  --bg-3:      #232117;
  --line:      #2E2C28;
  --line-soft: #38352f;
  --ink:       #F4F1EA;   /* off-white */
  --ink-dim:   #B7B1A6;
  --ink-faint: #837D72;
  --ember:     #FF6A1A;
  --ember-d:   #E2560C;
  --amber:     #FFC23D;
  --concrete:  #9a958c;

  /* PRICE COLOUR — one token for every money figure on the page (hero counter,
     panel, product card, compare table). Prices were previously split across
     --ink, --amber and --ink-dim, so the same kind of number rendered three
     different ways. Rule: the NUMBER uses --price, the unit/label uses
     --ink-dim. --ember stays reserved for the husk accent and the cheapest
     marker, so it never competes with a price value. */
  --price:     #FFC23D;

  --maxw: 1180px;
  --r: 0px;           /* sharp corners — industrial */
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --font-display: "Archivo", "Archivo Black", system-ui, sans-serif;
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* faint grain + grid lines */
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px, 48px 48px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--ember); color: #121110; padding: 10px 16px;
  font: 700 14px/1 var(--font-sans); letter-spacing: .03em;
}
.skip-link:focus { left: 12px; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

/* ---------- typographic helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ember); font-weight: 600; margin-bottom: 14px;
}
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900; font-stretch: expanded;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: .98; letter-spacing: -.01em; text-transform: uppercase;
}
.section-lead { color: var(--ink-dim); font-size: 1.05rem; margin-top: 16px; max-width: 60ch; }

/* hazard tape motif */
.hazard-tape {
  height: 7px;
  background: repeating-linear-gradient(45deg, var(--amber) 0 16px, #1B1A17 16px 32px);
}

/* ---------- buttons ---------- */
.btn {
  --pad-y: 15px; --pad-x: 26px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 800; font-size: 15px;
  letter-spacing: .03em; text-transform: uppercase;
  padding: var(--pad-y) var(--pad-x);
  border: 2px solid transparent; cursor: pointer;
  transition: transform .12s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .25s var(--ease);
  position: relative;
}
.btn-sm { --pad-y: 10px; --pad-x: 16px; font-size: 13px; }
.btn-primary {
  background: var(--ember); color: #121110;
  box-shadow: 0 0 0 0 rgba(255,106,26,.5);
}
.btn-primary:hover {
  background: var(--amber);
  box-shadow: 0 0 32px -4px rgba(255,106,26,.7);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line-soft);
}
.btn-ghost:hover { border-color: var(--ember); color: var(--amber); transform: translateY(-2px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18,17,16,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 18px;
  height: 68px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { flex: none; box-shadow: 0 0 18px -4px rgba(255,106,26,.6); }
.logo-word {
  font-family: var(--font-display); font-weight: 900; font-stretch: expanded;
  font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase;
}
.logo-pro { color: var(--ember); }

.main-nav { display: none; margin-left: auto; gap: 26px; }
.main-nav a {
  font-size: 14px; font-weight: 600; color: var(--ink-dim);
  letter-spacing: .02em; transition: color .15s;
  position: relative; padding: 4px 0;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--ember); transition: width .2s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
/* Pricing is the primary nav destination — make its link stand out */
.main-nav a.nav-featured { color: var(--ember); font-weight: 700; }
.main-nav a.nav-featured:hover { color: var(--amber); }
.main-nav a.nav-featured::after { background: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
@media (min-width: 940px) { .header-actions { margin-left: 0; } }

.header-actions .btn-sm { display: none; }
@media (min-width: 560px) { .header-actions .btn-sm { display: inline-flex; } }
@media (min-width: 940px) { .main-nav { display: flex; } }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { position: relative; padding: 64px 0 56px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: auto auto 0 -10%;
  width: 70vw; height: 70vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(circle, rgba(255,106,26,.28), transparent 62%);
  filter: blur(14px); pointer-events: none; z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 38px;
}
@media (min-width: 940px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 48px; }
  .hero { padding: 90px 0 80px; }
}
.hero-copy h1 {
  font-family: var(--font-display); font-weight: 900; font-stretch: expanded;
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: .92; letter-spacing: -.015em; text-transform: uppercase;
  margin: 6px 0 18px;
}
.hero-sub { color: var(--ink-dim); font-size: 1.12rem; max-width: 52ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 16px; }
/* "Pay only 50% now · price locked" reassurance chip under the hero CTAs */
.hero-cta-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--amber);
  border: 1px solid var(--line-soft); border-left: 3px solid var(--ember);
  background: var(--bg-2); padding: 8px 14px; margin: 0 0 34px;
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.stat { padding: 16px 14px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.1rem); line-height: 1;
  color: var(--price); font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 3px;
}
.stat-unit { font-size: .6em; color: var(--ember); font-weight: 600; }
.stat-label { font-size: 12px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }

/* hero price panel */
.hero-panel {
  background: linear-gradient(180deg, var(--bg-2), #161512);
  border: 1px solid var(--line-soft);
  padding: 26px 24px;
  position: relative;
  box-shadow: var(--shadow);
}
.hero-panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ember);
}
.panel-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ember); margin-bottom: 8px; }
.panel-title {
  font-family: var(--font-display); font-weight: 800; font-stretch: expanded;
  font-size: 1.6rem; text-transform: uppercase; line-height: 1; margin-bottom: 18px;
}
/* hero panel — single price per tonne */
.panel-price {
  display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap;
  padding: 16px 0; border-block: 1px solid var(--line);
}
.panel-price-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 2.6rem; line-height: 1;
  color: var(--price); font-variant-numeric: tabular-nums;
}
.panel-price-unit { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-dim); }
.panel-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.panel-list li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-dim);
}
.panel-list li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 2px; background: var(--ember);
}
.hero-panel .btn { width: 100%; }
.panel-note { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); margin-top: 16px; }

/* =====================================================================
   TRUST BAR
   ===================================================================== */
.trust { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.trust-track {
  display: flex; flex-wrap: wrap; gap: 14px 30px;
  padding-block: 18px; align-items: center;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em;
  color: var(--ink-dim); text-transform: uppercase;
}
.trust-dot { width: 7px; height: 7px; background: var(--ember); flex: none; }

/* =====================================================================
   PRODUCTS / PRICING
   ===================================================================== */
.products { padding: 74px 0; }

/* single price-per-tonne block */
.price-hero {
  display: grid; gap: 0; grid-template-columns: 1fr;
  background: var(--bg-2); border: 1px solid var(--ember);
  box-shadow: 0 0 0 1px var(--ember) inset, var(--shadow);
}
.price-hero::before {
  content: ""; grid-column: 1 / -1; height: 4px; background: var(--ember);
}
@media (min-width: 760px) { .price-hero { grid-template-columns: 1.1fr 1fr; }
  .price-hero::before { grid-column: 1 / -1; } }

.price-hero-main {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 34px 30px; border-bottom: 1px solid var(--line);
}
@media (min-width: 760px) { .price-hero-main { border-bottom: 0; border-right: 1px solid var(--line); } }

.card-sku { font-family: var(--font-mono); font-size: 11px; color: var(--ember); letter-spacing: .1em; }

.price-hero-amount { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0 24px; }
.price {
  font-family: var(--font-mono); font-weight: 700; font-size: clamp(2.8rem, 8vw, 4rem); line-height: 1;
  color: var(--price); font-variant-numeric: tabular-nums;
}
.price-per { font-family: var(--font-mono); font-size: 13px; color: var(--ink-dim); font-weight: 600; }
.price-hero-main .btn { width: 100%; }

.card-specs { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.card-specs li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--ink-dim);
}
.card-specs li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 2px; background: var(--ember);
}
.price-hero-list { padding: 34px 30px; align-content: center; }

.products-foot { margin-top: 26px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-faint); text-align: center; }
.delivery-hours { margin-top: 30px; padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--ember); border-radius: var(--r, 6px); font-family: var(--font-mono); font-size: 13px; line-height: 1.5; color: var(--ink-dim); }

/* =====================================================================
   WHY US
   ===================================================================== */
.why { padding: 74px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.why-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }
.why-card {
  background: var(--bg); border: 1px solid var(--line-soft);
  padding: 24px 20px; transition: transform .18s var(--ease), border-color .2s;
}
.why-card:hover { transform: translateY(-3px); border-color: var(--ember); }
.why-icon { width: 34px; height: 34px; color: var(--ember); margin-bottom: 16px; }
.why-card h3 {
  font-family: var(--font-display); font-weight: 700; font-stretch: expanded;
  font-size: 1.15rem; text-transform: uppercase; margin-bottom: 10px; line-height: 1.05;
}
.why-card p { color: var(--ink-dim); font-size: .93rem; }

/* =====================================================================
   DELIVERY STEPS
   ===================================================================== */
.delivery { padding: 74px 0; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; counter-reset: none; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  position: relative; background: var(--bg-2); border: 1px solid var(--line-soft);
  padding: 28px 22px 24px;
  overflow: hidden;
}
.step::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--ember);
}
.step-num {
  font-family: var(--font-display); font-weight: 900; font-stretch: expanded;
  font-size: 3rem; line-height: 1; color: var(--line-soft);
  display: block; margin-bottom: 12px;
}
.step h3 {
  font-family: var(--font-display); font-weight: 700; font-stretch: expanded;
  font-size: 1.25rem; text-transform: uppercase; margin-bottom: 9px; line-height: 1.05;
}
.step p { color: var(--ink-dim); font-size: .95rem; }

/* =====================================================================
   SPECS TABLE
   ===================================================================== */
.specs { padding: 74px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.spec-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-mono); font-size: 14px;
  border: 1px solid var(--line-soft);
}
.spec-table caption { text-align: left; }
.spec-table th, .spec-table td { padding: 15px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.spec-table thead th {
  background: var(--bg-3); color: var(--ember);
  text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700;
}
.spec-table tbody th { color: var(--ink); font-weight: 600; }
.spec-table tbody td { color: var(--amber); font-variant-numeric: tabular-nums; }
.spec-table tbody td:last-child { color: var(--ink-faint); }
.spec-table tbody tr:hover { background: rgba(255,106,26,.05); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: 0; }

/* =====================================================================
   COMPARE TABLE (3 pack sizes × 2 materials, live from /api/products)
   Native to the .spec-table look; husk column is the ember-accented hero.
   ===================================================================== */
.compare { padding: 74px 0; }
/* horizontal scroll only as a fallback; below 760px the table restacks. */
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--font-mono); font-size: 14px;
}
.compare-table caption { text-align: left; }
.compare-table th, .compare-table td {
  padding: 18px 18px; text-align: left; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table thead th {
  background: var(--bg-3); color: var(--ink-dim);
  text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700;
  vertical-align: bottom; white-space: nowrap;
}
.compare-table thead th.col-husk { color: var(--ember); }
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: rgba(255,106,26,.04); }

/* husk = the cheaper material — a quiet ember channel down the table */
.compare-table .col-husk {
  background: rgba(255,106,26,.07);
  border-inline: 1px solid rgba(255,106,26,.22);
}

/* pack cell: name, weight, who it suits */
.compare-table tbody th { color: var(--ink); font-weight: 600; min-width: 190px; }
.cmp-pack-name { display: block; font-size: 15px; }
.cmp-pack-weight {
  display: block; margin-top: 3px;
  font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint);
}
.cmp-pack-note {
  display: block; margin-top: 10px; max-width: 22ch;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  line-height: 1.35; color: var(--ink-dim); white-space: normal;
}

/* ---- the money cell: price, rate, bar ---- */
.cmp-cell { display: flex; flex-direction: column; gap: 8px; min-width: 150px; }

/* pack price — the headline figure */
.cmp-price {
  font-size: 1.45rem; font-weight: 700; line-height: 1;
  color: var(--price); font-variant-numeric: tabular-nums;
}

/* €/tonne — the number that actually compares across pack sizes */
.cmp-rate { display: flex; align-items: baseline; gap: 4px; }
.cmp-rate-num {
  font-size: 13px; font-weight: 700; color: var(--price);
  font-variant-numeric: tabular-nums;
}
.cmp-rate-unit { font-size: 11px; color: var(--ink-dim); letter-spacing: .04em; }

/* SIGNATURE: bar length = €/tonne, scaled against the dearest rate in the
   whole matrix. Shorter bar = better value, so "buy bigger, buy husk" is
   readable without doing the arithmetic. */
.cmp-bar {
  display: block; height: 6px; width: 100%; max-width: 190px;
  background: rgba(255,255,255,.07);
  overflow: hidden;
}
.cmp-bar i {
  display: block; height: 100%;
  background: var(--ink-faint);
  transition: width .5s var(--ease);
}
.col-husk .cmp-bar i { background: var(--ember); }
@media (prefers-reduced-motion: reduce) { .cmp-bar i { transition: none; } }

/* cheapest €/tonne in the matrix — computed live, never hardcoded */
.compare-table td.is-cheapest { box-shadow: inset 0 0 0 2px var(--ember); }
.cmp-flag {
  align-self: flex-start;
  background: var(--ember); color: #121110;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 7px;
}
.cmp-badge {
  display: inline-block; margin-left: 6px; vertical-align: middle;
  background: var(--ember); color: #121110;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; padding: 2px 6px;
}
.cmp-legend {
  margin-top: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
}

/* ---- below 760px the table restacks into per-pack cards (no side-scroll) ---- */
@media (max-width: 759px) {
  .compare-scroll { overflow-x: visible; border: 0; }
  .compare-table, .compare-table tbody, .compare-table tr,
  .compare-table tbody th, .compare-table tbody td { display: block; width: 100%; }
  .compare-table thead { display: none; }
  .compare-table tbody tr {
    border: 1px solid var(--line-soft); margin-bottom: 16px; background: var(--bg-2);
  }
  .compare-table tbody th { border-bottom: 1px solid var(--line); min-width: 0; }
  .compare-table tbody td { border-bottom: 1px solid var(--line); }
  .compare-table tbody tr:last-child td:last-child { border-bottom: 0; }
  .compare-table .col-husk { border-inline: 0; }
  /* the column header moves into the cell, since thead is gone */
  .compare-table tbody td::before {
    content: attr(data-label);
    display: block; margin-bottom: 8px;
    font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--ink-dim); font-weight: 700;
  }
  .compare-table td.col-husk::before { color: var(--ember); }
  .cmp-bar { max-width: 100%; }
}

/* =====================================================================
   FAQ
   ===================================================================== */
.faq { padding: 74px 0; }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item {
  background: var(--bg-2); border: 1px solid var(--line-soft);
  transition: border-color .2s;
}
.faq-item[open] { border-color: var(--ember); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-mono); font-size: 1.5rem; color: var(--ember);
  transition: transform .2s var(--ease); flex: none; line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 20px; color: var(--ink-dim); font-size: .97rem; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { padding: 74px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; } }
.contact-info { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 14px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 14px; color: var(--ink-dim); }
.contact-info svg { width: 20px; height: 20px; color: var(--ember); flex: none; }
.contact-info a:hover { color: var(--amber); }

.contact-form {
  background: var(--bg); border: 1px solid var(--line-soft);
  padding: 26px 24px; display: grid; gap: 16px;
}
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); }
.field input, .field textarea {
  background: var(--bg-2); border: 1px solid var(--line-soft); color: var(--ink);
  font-family: var(--font-sans); font-size: 15px; padding: 12px 14px; width: 100%;
  transition: border-color .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ember); }
.contact-form .btn { width: 100%; }
.contact-form .btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* "I'm not a robot" — lightweight checkbox (fallback when no reCAPTCHA key) */
.robot-check {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-soft);
}
.robot-check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; flex: none; margin: 0; cursor: pointer;
  background: var(--bg); border: 2px solid var(--line-soft);
  display: grid; place-content: center; transition: border-color .15s, background .15s;
}
.robot-check input[type="checkbox"]:hover { border-color: var(--ember); }
.robot-check input[type="checkbox"]::after {
  content: ""; width: 12px; height: 7px; margin-top: -2px;
  border-left: 3px solid #121110; border-bottom: 3px solid #121110;
  transform: rotate(-45deg) scale(0); transition: transform .12s var(--ease);
}
.robot-check input[type="checkbox"]:checked { background: var(--ember); border-color: var(--ember); }
.robot-check input[type="checkbox"]:checked::after { transform: rotate(-45deg) scale(1); }
.robot-check label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .03em;
  color: var(--ink-dim); cursor: pointer; user-select: none;
}
.form-note { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint); text-align: center; }

/* form submission status — industrial dark theme */
.form-status {
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.45;
  letter-spacing: .02em; text-align: center;
  padding: 12px 14px; border: 1px solid var(--line-soft);
  background: var(--bg-2);
}
.form-status.is-ok {
  color: var(--amber);
  border-color: var(--ember);
  border-left: 4px solid var(--ember);
  background: rgba(255,106,26,.08);
}
.form-status.is-error {
  color: #FFB3A3;
  border-color: #C0392B;
  border-left: 4px solid #E74C3C;
  background: rgba(231,76,60,.10);
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--bg); }
.footer-grid { display: grid; gap: 30px; padding-block: 50px 36px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; } }
.footer-word { font-size: 1.5rem; }
.footer-brand p { color: var(--ink-dim); font-size: .92rem; margin-top: 12px; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ember); margin-bottom: 14px;
}
.footer-col a { display: block; color: var(--ink-dim); font-size: .92rem; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--ink); }
.pay-note { color: var(--ink-dim); font-size: .9rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 22px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint);
}

/* =====================================================================
   MOTION — staggered reveal
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal:nth-child(1) { transition-delay: .02s; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .20s; }
.reveal:nth-child(5) { transition-delay: .26s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   WAREHOUSES / MAP
   ===================================================================== */
.warehouses { padding: 74px 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.warehouses-map {
  border: 1px solid var(--line-soft); background: var(--bg);
  overflow: hidden; margin-bottom: 22px; position: relative;
}
.warehouses-map::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--ember); z-index: 1;
}
.wh-map-frame {
  width: 100%; height: 380px; border: 0; display: block;
  filter: grayscale(.2) contrast(1.05);
}
@media (min-width: 760px) { .wh-map-frame { height: 440px; } }

.warehouse-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 14px; grid-template-columns: 1fr;
}
@media (min-width: 620px) { .warehouse-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .warehouse-list { grid-template-columns: repeat(3, 1fr); } }
.warehouse-card {
  background: var(--bg); border: 1px solid var(--line-soft);
  padding: 20px 20px 18px; display: grid; gap: 6px; align-content: start;
  transition: transform .18s var(--ease), border-color .2s;
}
.warehouse-card:hover { transform: translateY(-3px); border-color: var(--ember); }
.wh-card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wh-name {
  font-family: var(--font-display); font-weight: 700; font-stretch: expanded;
  font-size: 1.1rem; text-transform: uppercase; line-height: 1.05;
}
.wh-badge {
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; background: var(--ember); color: #121110; padding: 3px 7px;
}
.wh-city { font-family: var(--font-mono); font-size: 12.5px; color: var(--amber); letter-spacing: .04em; }
.wh-addr { color: var(--ink-dim); font-size: .92rem; }
.wh-map-link {
  margin-top: 6px; justify-self: start;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--ember);
  text-decoration: underline; text-underline-offset: 3px;
}
.wh-map-link:hover { color: var(--amber); }

/* =====================================================================
   AI SALES ASSISTANT CHAT
   ===================================================================== */
.chat-widget {
  position: fixed; right: 20px; bottom: 20px; z-index: 150;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.chat-launcher {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ember); color: #121110; border: 0; cursor: pointer;
  font-family: var(--font-sans); font-weight: 800; font-size: 14px;
  letter-spacing: .03em; text-transform: uppercase; padding: 13px 18px;
  box-shadow: 0 10px 30px -6px rgba(255,106,26,.6);
  transition: transform .12s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease);
}
.chat-launcher:hover { background: var(--amber); transform: translateY(-2px); box-shadow: 0 0 34px -4px rgba(255,106,26,.75); }
.chat-launcher-icon { width: 22px; height: 22px; flex: none; }
.chat-widget.is-open .chat-launcher { display: none; }
@media (max-width: 480px) {
  .chat-launcher-label { display: none; }
  .chat-launcher { padding: 14px; }
  .chat-widget { right: 14px; bottom: 14px; }
}

.chat-panel {
  width: min(380px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 110px));
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--ember);
  box-shadow: 0 0 0 1px var(--ember) inset, var(--shadow);
}
.chat-header {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #161512, var(--bg-2)); position: relative;
}
.chat-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--ember); }
.chat-avatar svg { width: 32px; height: 32px; flex: none; }
.chat-head-text { flex: 1; min-width: 0; }
.chat-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ember); }
.chat-title { font-family: var(--font-display); font-weight: 800; font-stretch: expanded; font-size: 1.05rem; text-transform: uppercase; line-height: 1; }
.chat-close {
  background: transparent; border: 1px solid var(--line-soft); color: var(--ink-dim);
  width: 34px; height: 34px; flex: none; cursor: pointer;
  display: grid; place-content: center; transition: border-color .15s, color .15s;
}
.chat-close:hover { border-color: var(--ember); color: var(--ink); }
.chat-close svg { width: 18px; height: 18px; }

.chat-log {
  flex: 1; overflow-y: auto; padding: 16px;
  display: flex; flex-direction: column; gap: 10px;
  -webkit-overflow-scrolling: touch;
}
.chat-msg { display: flex; }
.chat-user { justify-content: flex-end; }
.chat-assistant { justify-content: flex-start; }
.chat-bubble {
  max-width: 82%; font-family: var(--font-sans); font-size: 14px; line-height: 1.5;
  padding: 10px 13px; border: 1px solid var(--line-soft);
  word-wrap: break-word; overflow-wrap: anywhere;
}
.chat-assistant .chat-bubble { background: var(--bg); color: var(--ink); border-left: 3px solid var(--ember); }
.chat-user .chat-bubble { background: rgba(255,106,26,.10); color: var(--ink); border-color: var(--ember); }
.chat-bubble a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }
.chat-note {
  align-self: center; text-align: center;
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-faint);
  padding: 6px 10px; border: 1px solid var(--line-soft); background: var(--bg);
}
.chat-typing { display: inline-flex; gap: 5px; align-items: center; }
.chat-typing span {
  width: 7px; height: 7px; background: var(--ember); border-radius: 50%;
  animation: chatBlink 1.2s infinite ease-in-out both;
}
.chat-typing span:nth-child(2) { animation-delay: .18s; }
.chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatBlink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-typing span { animation: none; opacity: .6; } }

.chat-input {
  display: flex; align-items: flex-end; gap: 8px;
  padding: 12px; border-top: 1px solid var(--line); background: var(--bg-2);
}
.chat-input textarea {
  flex: 1; resize: none; max-height: 120px;
  background: var(--bg); border: 1px solid var(--line-soft); color: var(--ink);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.4; padding: 11px 12px;
  transition: border-color .15s;
}
.chat-input textarea::placeholder { color: var(--ink-faint); }
.chat-input textarea:focus { outline: none; border-color: var(--ember); }
.chat-send {
  flex: none; width: 44px; height: 44px; cursor: pointer;
  background: var(--ember); color: #121110; border: 0;
  display: grid; place-content: center;
  transition: background .2s var(--ease), transform .12s var(--ease);
}
.chat-send:hover { background: var(--amber); transform: translateY(-1px); }
.chat-send svg { width: 20px; height: 20px; }
