/* ==========================================================================
   Kinetix — stylesheet

   One file, no build step. Organised as:

     1. Tokens        — every colour and size the rest of the file uses
     2. Reset         — the browser defaults worth undoing
     3. Primitives    — container, section, buttons, headings
     4. Header / footer / floating WhatsApp
     5. Home page
     6. Catalogue and product pages
     7. Content pages (industries, about, support, contact, inquiry, 404)
     8. Forms
     9. Motion and print

   The theme is a set of custom properties on :root, overridden under
   [data-theme="light"]. Nothing below this block names a raw colour, so the
   light theme is one block rather than a search-and-replace — and the dark
   palette is the default, which is why the inline script in <head> only has to
   act when the stored preference is light.
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
  /* Industrial dark: near-black chrome, one red, no gradients. */
  --bg: #121212;
  --bg-alt: #191919;
  --surface: #1e1e1e;
  --surface-2: #262626;
  --line: #303030;
  --line-soft: #262626;

  --fg: #f4f4f4;
  --fg-soft: #d4d4d4;
  --muted: #9a9a9a;

  --brand: #d80027;
  --brand-hover: #f0163c;
  --brand-ink: #ffffff;
  --brand-soft: rgba(216, 0, 39, 0.12);

  --ok: #2fbf71;
  --warn: #f0b429;

  --shadow: 0 18px 40px rgba(0, 0, 0, 0.45);

  --container: 1240px;
  --radius: 3px;
  --radius-lg: 5px;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;

  /* A single, short scale. The pages are long and section-heavy, so a wide
     range of sizes reads as noise rather than hierarchy. */
  --step--1: 0.8125rem;
  --step-0: 0.9375rem;
  --step-1: 1.0625rem;
  --step-2: 1.375rem;
  --step-3: 1.875rem;
  --step-4: 2.5rem;

  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f5f4;
  --surface: #ffffff;
  --surface-2: #f0f0ef;
  --line: #e0e0de;
  --line-soft: #ececea;

  --fg: #16181a;
  --fg-soft: #33383d;
  --muted: #5d646b;

  --brand: #c80024;
  --brand-hover: #a8001e;
  --brand-soft: rgba(200, 0, 36, 0.08);

  --shadow: 0 16px 36px rgba(16, 20, 24, 0.1);
}

/* ==========================================================================
   2. Reset
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 800;
}

h1 { font-size: clamp(1.9rem, 4.2vw, var(--step-4)); }
h2 { font-size: clamp(1.45rem, 2.6vw, var(--step-3)); }
h3 { font-size: var(--step-1); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

button { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

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

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

.sr-only,
.skip-link:not(:focus) {
  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: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ==========================================================================
   3. Primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.container--narrow { max-width: 860px; }
.container--form { max-width: 900px; }

.center { text-align: center; }

.section { padding: clamp(48px, 7vw, 92px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--alt { background: var(--bg-alt); }

/* A full-bleed artwork strip, not a text section: the banner's own red bleeds
   to both edges, so there is no container and no padding to keep it inside. */
.band { line-height: 0; }
.band img { display: block; width: 100%; height: auto; }

.section__head { max-width: 720px; margin-bottom: 34px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__eyebrow {
  display: inline-block;
  margin: 0 0 12px;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section__head--row h2 a:hover { color: var(--brand); }
.section__head p { color: var(--muted); margin: 0; }
.section__count {
  color: var(--muted);
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.section__count--lead { margin-bottom: 20px; }
.section__foot { margin-top: 32px; }

.h2-sm { font-size: var(--step-2); }
.h3-sm { font-size: var(--step-1); margin-top: 1.6em; }
.lede { font-size: var(--step-1); color: var(--fg-soft); }
.note { color: var(--muted); font-style: italic; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease),
    border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .icon-arrow { width: 17px; height: 17px; transition: transform 0.18s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn svg { width: 17px; height: 17px; }

.btn--primary { background: var(--brand); color: var(--brand-ink); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }

.btn--outline { border-color: var(--line); color: var(--fg); }
.btn--outline:hover { border-color: var(--brand); color: var(--brand); }

.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.btn--outline-light { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--brand); }

/* Same green as the floating button, so the two read as one channel. */
.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #1ebe5b; color: #06301a; }

.btn--sm { padding: 9px 16px; font-size: var(--step--1); }
.btn--lg { padding: 15px 28px; font-size: var(--step-1); }
.btn--block { width: 100%; }

/* ==========================================================================
   4. Header, footer, floating WhatsApp
   ========================================================================== */

.header { position: sticky; top: 0; z-index: 50; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.header.is-scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-block: 14px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.brand img { width: 46px; height: 33px; }
.brand:hover { color: var(--fg); }

.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  display: block;
  padding: 9px 13px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--fg-soft);
}
.nav__link:hover { color: var(--fg); background: var(--surface-2); }
.nav__link[aria-current="page"] { color: var(--brand); }
.nav__cta { display: none; }

.header__actions { display: flex; align-items: center; gap: 10px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--fg-soft);
}
.lang-toggle svg { width: 16px; height: 16px; }
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: none;
  font-size: var(--step--1);
  color: var(--fg-soft);
  cursor: pointer;
}
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }

/* Both labels are rendered and CSS picks one, so the button is correct before
   main.js runs and it names the mode you would switch TO. */
.theme-toggle__sun, .theme-toggle__to-light { display: none; }
[data-theme="light"] .theme-toggle__sun { display: inline; }
[data-theme="light"] .theme-toggle__moon { display: none; }
[data-theme="light"] .theme-toggle__to-dark { display: none; }
[data-theme="light"] .theme-toggle__to-light { display: inline; }

.nav-toggle { display: none; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }

/* Footer ----------------------------------------------------------------- */

.footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 26px; font-size: var(--step-0); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 40px; }
.footer h4 {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer ul li { margin-bottom: 9px; }
.footer ul a { color: var(--fg-soft); }
.footer ul a:hover { color: var(--brand); }
.footer__brand p { color: var(--muted); max-width: 42ch; }
.footer__logo { display: flex; align-items: center; gap: 11px; font-size: 1.3rem; font-weight: 800; margin-bottom: 14px; }
.footer__logo img { width: 42px; height: 30px; }
.footer__contact li { display: flex; gap: 10px; color: var(--muted); }
.footer__contact svg { width: 16px; height: 16px; margin-top: 4px; color: var(--brand); }

/* The one row in the contact list that is an action rather than a detail:
   full width so it lines up with the address and hours below it. */
.footer__wa { margin: 12px 0 15px; }
.footer__wa .btn { width: 100%; color: #06301a; }
.footer__wa .btn:hover { background: #1ebe5b; color: #06301a; }
.footer__wa svg { width: 16px; height: 16px; margin-top: 0; color: currentColor; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--step--1);
}

.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  border-radius: 999px;
  background: #25d366;
  color: #06301a;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.wa-float svg { width: 21px; height: 21px; }
.wa-float:hover { background: #1ebe5b; color: #06301a; }
.wa-float__text { display: none; }
@media (min-width: 620px) { .wa-float__text { display: inline; } }

/* ==========================================================================
   5. Home page
   ========================================================================== */

.hero { position: relative; background: #0f0f0f; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 10, 10, 0.94) 8%, rgba(10, 10, 10, 0.6) 58%, rgba(120, 0, 22, 0.42) 100%);
}
.hero__inner { position: relative; z-index: 1; padding: clamp(64px, 11vw, 140px) 20px clamp(48px, 7vw, 84px); max-width: 900px; }
.hero__eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 12px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.08);
  font-size: var(--step--1);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
}
.hero__title { font-size: clamp(2.05rem, 5.4vw, 3.6rem); max-width: 18ch; }
.hero__lead { font-size: var(--step-1); color: rgba(255, 255, 255, 0.86); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 46px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.16); }
.stat { padding: 20px 18px; background: rgba(12, 12, 12, 0.72); }
.stat__value { display: block; font-size: var(--step-2); font-weight: 800; color: #fff; line-height: 1.1; }
.stat__label { display: block; margin-top: 6px; font-size: var(--step--1); color: rgba(255, 255, 255, 0.72); }
.stats--panel { background: var(--line); border-color: var(--line); margin-top: 0; }
.stats--panel .stat { background: var(--surface); }
.stats--panel .stat__value { color: var(--brand); }
.stats--panel .stat__label { color: var(--muted); }

/* Five families, one row on a desktop. At 1240px the container leaves 1200px
   for the grid, so each card is about 224px — narrow, but the names and
   blurbs are short. Below that the row is given up rather than squeezing the
   cards past readability. */
.catgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.catcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.catcard:hover { border-color: var(--brand); transform: translateY(-3px); color: inherit; }
.catcard__media { display: block; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.catcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.catcard:hover .catcard__media img { transform: scale(1.04); }
.catcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px; flex: 1; }
.catcard__count { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.09em; color: var(--brand); font-weight: 700; }
.catcard__title { font-size: var(--step-1); font-weight: 800; line-height: 1.25; }
.catcard__text { color: var(--muted); font-size: var(--step-0); }
.catcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--brand); }
.catcard__more svg { width: 16px; height: 16px; }

/* Six reasons sit in three columns so the last row is full — auto-fit put four
   on the top row and left two empty cells showing the rule colour. */
.uspgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.usp { padding: 26px 24px; background: var(--surface); }
.usp__num { display: block; margin-bottom: 10px; font-size: var(--step--1); font-weight: 800; letter-spacing: 0.1em; color: var(--brand); }
.usp h3 { margin-bottom: 8px; }
.usp p { color: var(--muted); }

.certrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: var(--step--1);
}
.cert__mark { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; color: var(--fg); }
.cert__mark svg { width: 17px; height: 17px; color: var(--brand); }
.cert__desc { color: var(--muted); }

/* The "check the factory" strip under the catalogue. Photographs first, the
   paperwork second: a buyer who wants the certificates can scan the badges
   without leaving the product list. */
.trustgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.trustcard { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.trustcard img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.trustcard__body { padding: 16px 18px 18px; }
.trustcard__num { display: block; margin-bottom: 6px; font-size: var(--step--1); font-weight: 800; letter-spacing: 0.1em; color: var(--brand); }
.trustcard h3 { margin: 0 0 6px; font-size: var(--step-0); }
.trustcard p { margin: 0; color: var(--muted); font-size: var(--step--1); }
.trust__certlabel { margin: 32px 0 0; font-size: var(--step--1); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.scenegrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.scene { padding-left: 18px; border-left: 3px solid var(--brand); }
.scene h3 { margin-bottom: 6px; }
.scene p { color: var(--muted); }

.stepgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step__num { display: block; margin-bottom: 8px; font-size: var(--step-2); font-weight: 800; color: var(--brand); line-height: 1; }
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: var(--step-0); }

/* CTA band --------------------------------------------------------------- */

.cta { background: linear-gradient(100deg, #8d0019 0%, var(--brand) 55%, #ef1f42 100%); color: #fff; padding: clamp(40px, 5.5vw, 64px) 0; }
[data-theme="light"] .cta { color: #fff; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta__text { max-width: 620px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.9); }
.cta__note { font-size: var(--step--1); opacity: 0.85; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta .btn--primary { background: #fff; color: #b3001f; }
.cta .btn--primary:hover { background: #f2f2f2; color: #8d0019; }

/* ==========================================================================
   6. Catalogue and product pages
   ========================================================================== */

.pagehead { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: clamp(30px, 5vw, 58px) 0 clamp(26px, 4vw, 44px); }
.pagehead h1 { max-width: 22ch; margin-bottom: 0.35em; }
.pagehead__lead { max-width: 74ch; color: var(--muted); font-size: var(--step-1); margin: 0; }

.breadcrumb { padding: 14px 0; font-size: var(--step--1); color: var(--muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] { color: var(--fg-soft); }

.filterbar { position: sticky; top: 62px; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.filterbar__inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.chip {
  flex: none;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--fg-soft);
  cursor: pointer;
  transition: all 0.16s var(--ease);
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-empty { padding: 34px 20px; color: var(--muted); }

.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
/* `hidden` is only a display declaration in the UA sheet, so the `display` below
   would beat it and the family filter would look like it does nothing: the
   cards stay on screen while the chip and the URL both say they are filtered.
   Same rule every other toggleable component in the project carries. */
.card[hidden] { display: none; }
.section[hidden] { display: none; }
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.card:hover { border-color: var(--brand); transform: translateY(-3px); }
.card__media { display: grid; place-items: center; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__media-empty { color: var(--muted); font-size: var(--step--1); }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.card__tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 2px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.card__title { font-size: var(--step-0); margin: 0; line-height: 1.35; font-weight: 700; }
.card__sku { margin: 0; font-size: var(--step--1); color: var(--muted); }
.card__text { margin: 0; font-size: var(--step--1); color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
/* Reading the details and asking for a price are the same decision, so the two
   actions share the bottom of the card instead of one being buried. */
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.card__more { display: inline-flex; align-items: center; gap: 7px; font-size: var(--step--1); font-weight: 700; color: var(--brand); }
.card__more svg { width: 15px; height: 15px; }
.card__quote { flex: none; }

.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.pills__label { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-weight: 700; }
.pill { padding: 8px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: var(--step--1); font-weight: 600; color: var(--fg-soft); }
.pill:hover { border-color: var(--brand); color: var(--brand); }

/* Product detail --------------------------------------------------------- */

.section--product { padding-top: clamp(20px, 3vw, 34px); }
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.product__info h1 { font-size: clamp(1.5rem, 2.6vw, 2.15rem); }
.product__lead { font-size: var(--step-1); color: var(--fg-soft); }
.product__meta { display: grid; gap: 1px; margin: 22px 0; background: var(--line); border: 1px solid var(--line); }
.product__meta li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 15px; background: var(--surface); font-size: var(--step-0); }
.product__meta span { color: var(--muted); }
.product__meta strong { font-weight: 700; text-align: right; }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }

.gallery { display: grid; gap: 12px; }
.gallery__main { display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 10px; }
.gallery__thumb { padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; cursor: pointer; }
.gallery__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery__thumb[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.gallery__thumb:hover { border-color: var(--brand); }

/* Product image viewer. main.js creates it on the first click, so pages with
   no gallery never carry the markup. */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 44px);
  background: rgba(3, 7, 13, 0.94);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: min(94vw, 1600px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.62);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--brand); border-color: var(--brand); }
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav[hidden] { display: none; }

.product__specs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.spec-block { margin-bottom: 26px; }
.spec-block__title {
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-bottom: 8px;
  margin-bottom: 0;
  border-bottom: 2px solid var(--brand);
}
.spec { border: 1px solid var(--line); border-top: 0; background: var(--surface); }
.spec tr + tr { border-top: 1px solid var(--line-soft); }
.spec th, .spec td { padding: 11px 15px; text-align: left; vertical-align: top; font-size: var(--step-0); }
.spec th { width: 40%; font-weight: 600; color: var(--muted); background: var(--bg-alt); }
.spec td { font-weight: 600; }

.prose p { color: var(--fg-soft); }
.prose--wide { max-width: 82ch; }

/* ==========================================================================
   7. Content pages
   ========================================================================== */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 54px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.split__text > :last-child { margin-bottom: 0; }

.ticklist, .tickgrid { display: grid; gap: 12px; }
.tickgrid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px 26px; }
.ticklist li, .tickgrid li { display: flex; gap: 11px; align-items: flex-start; color: var(--fg-soft); }
.ticklist svg, .tickgrid svg { width: 18px; height: 18px; margin-top: 4px; color: var(--brand); }

.values { display: grid; gap: 18px; }
.value h3 { margin-bottom: 4px; }
.value p { color: var(--muted); }

.industrygrid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.industry { display: flex; gap: 22px; padding: 28px 26px; background: var(--surface); }
.industry__num { font-size: var(--step-2); font-weight: 800; color: var(--brand); line-height: 1; }
.industry h2 { font-size: var(--step-1); margin-bottom: 6px; }
.industry p { color: var(--muted); margin: 0; }

.faqlist { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.faq { background: var(--surface); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 700;
  font-size: var(--step-1);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq summary svg { width: 18px; height: 18px; color: var(--brand); transition: transform 0.2s var(--ease); }
.faq[open] summary svg { transform: rotate(180deg); }
.faq__a { padding: 0 20px 20px; color: var(--muted); }
.faq__a p { margin: 0; }

.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(26px, 4vw, 50px); align-items: start; }
.contact__list { display: grid; gap: 16px; margin-bottom: 22px; }
.contact__list li { display: flex; gap: 12px; }
.contact__list svg { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.contact__list span { display: block; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); }
.contact__list a, .contact__list p { display: block; margin: 0; color: var(--fg-soft); font-weight: 600; }
.contact__list a:hover { color: var(--brand); }
.contact__list--compact { margin-bottom: 0; }
.contact__note { padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--bg-alt); color: var(--muted); font-size: var(--step--1); }

/* Sales team — one profile card: portrait on the left, direct line, email,
   WhatsApp code and a button that still works when the code cannot be scanned
   on the handset that is showing it, on the right. The photograph is absolutely
   positioned so it stops contributing its own height: in flow it would beat
   `aspect-ratio` and the card would take the portrait's ratio. */
.team-grid { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; }
.team-card {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.team-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.team-card__photo { position: relative; flex: 0 0 300px; aspect-ratio: 4 / 5; background: var(--surface-2); }
.team-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 8%; }
.team-card__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex: 1;
  min-width: 0;
  padding: 30px 34px;
  text-align: start;
}
.team-card__details { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; flex: 1; min-width: 0; }
.team-card__scan { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: none; }
.team-card__name { font-size: var(--step-1); font-weight: 800; margin: 0; }
.team-card__num { font-size: var(--step-0); font-weight: 700; color: var(--brand); letter-spacing: 0.01em; margin: 0; font-variant-numeric: tabular-nums; }
/* Allowed to break mid-address: the addresses run to ~19 characters with no
   space in them and would otherwise widen the card past its column at 320px. */
.team-card__mail { font-size: var(--step--1); color: var(--muted); margin: 0; overflow-wrap: anywhere; line-height: 1.35; }
.team-card__mail a:hover { color: var(--brand); }
.team-card__qr {
  width: 132px;
  height: 132px;
  margin-top: 4px;
  object-fit: contain;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  padding: 6px;
}
.team-card__qr-cap { font-size: 0.76rem; color: var(--muted); }
.team-card__body .btn { margin-top: 6px; }
.team-card__body .btn svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .team-card__photo { flex-basis: 250px; }
}

@media (max-width: 640px) {
  /* A phone cannot scan a code it is already displaying, so the card lies on
     its side and the button carries the contact. */
  .team-card { flex-direction: row; }
  /* `aspect-ratio` has to go here: stretched to the row's height it would
     resolve the width back out of the ratio and blow the card past the
     viewport. Let it stretch and crop with object-fit. */
  .team-card__photo { flex: 0 0 118px; width: 118px; aspect-ratio: auto; }
  .team-card__body { align-items: flex-start; padding: 16px 16px 18px; }
  .team-card__name { font-size: var(--step-0); }
  /* The code cannot be scanned on the handset that is showing it, and the
     details need the width more than the code does. */
  .team-card__scan { display: none; }
  .team-card__body .btn { width: 100%; justify-content: center; margin-top: 4px; white-space: normal; }
}

@media (max-width: 380px) {
  .team-card__photo { flex: 0 0 96px; width: 96px; }
}

.map { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.map iframe { width: 100%; min-height: 380px; border: 0; display: block; }

.inquiry { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 50px); align-items: start; }

.section--404 { min-height: 58vh; display: grid; place-items: center; }
.notfound__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; line-height: 1; color: var(--brand); margin: 0 0 8px; letter-spacing: -0.04em; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

/* The inquiry confirmation reuses the 404 layout; only the mark and the note
   are its own. */
.thanks__mark { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.thanks__mark svg { width: 30px; height: 30px; }
.thanks__note { max-width: 60ch; margin: 0 auto 28px; color: var(--muted); }

/* ==========================================================================
   8. Forms
   ========================================================================== */

.form-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.form-card h3 { font-size: var(--step-2); margin-bottom: 6px; }
.form-card__sub { color: var(--muted); font-size: var(--step--1); margin-bottom: 24px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.02em; }
.req { color: var(--brand); margin-left: 3px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--fg);
  font: inherit;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field select { appearance: none; background-image: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.75; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--brand); }
.error-msg { color: var(--brand); font-size: var(--step--1); min-height: 0; }

/* Honeypot: off-screen rather than display:none, because some bots skip fields
   that are not rendered at all, and because a screen reader should never reach it. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-note { margin-top: 14px; font-size: var(--step--1); color: var(--muted); }
.form-note a { color: var(--brand); font-weight: 600; }
.form-status { margin-top: 14px; font-size: var(--step-0); }
.form-status.is-ok { padding: 12px 16px; border-left: 3px solid var(--ok); background: var(--bg-alt); color: var(--fg); }
.form-status.is-err { padding: 12px 16px; border-left: 3px solid var(--brand); background: var(--bg-alt); color: var(--fg); }

/* ==========================================================================
   9. Motion, responsive, print
   ========================================================================== */

@media (max-width: 1080px) {
  .catgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product, .product__specs, .contact, .inquiry, .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

@media (max-width: 900px) {
  /* The nav becomes a panel rather than a drawer: the site ships without
     JavaScript for its layout, so the open/closed state is one attribute on the
     toggle and the panel is positioned under the header. */
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 84px 20px 26px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
    transform: translateY(-102%);
    transition: transform 0.28s var(--ease);
    max-height: 100vh;
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 13px 12px; font-size: var(--step-1); }
  .nav__cta { display: block; margin-top: 16px; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn--sm { display: none; }
  .filterbar { top: 0; }
  .uspgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .lightbox__img { max-height: 82vh; }
  .lightbox__close, .lightbox__nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox__close { top: 8px; right: 8px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta__actions .btn { flex: 1; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cardgrid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .card__text { -webkit-line-clamp: 2; }
  /* Two actions will not sit side by side in a 160px card. */
  .card__foot { flex-direction: column; align-items: stretch; }
  .card__foot .card__more { justify-content: center; }
  .card__quote { width: 100%; justify-content: center; }
  .industry { flex-direction: column; gap: 10px; }
}

@media (max-width: 460px) {
  .catgrid { grid-template-columns: 1fr; }
  .uspgrid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
}

@media print {
  .header, .footer, .wa-float, .filterbar, .cta, .breadcrumb { display: none; }
  body { background: #fff; color: #000; }
  a { text-decoration: underline; }
}
