/* ==========================================================================
   SHANTUI SOUTH AFRICA | Core Stylesheet
   Author: Shantui-SA Digital
   Structure:
     01. Design tokens
     02. Base & typography
     03. Utilities & helpers
     04. Buttons
     05. Preloader
     06. Header / navigation / mega menu
     07. Hero
     08. Sections & shared components
     09. Product cards & filters
     10. Bento / feature grids
     11. Counters & stats
     12. Process timeline
     13. Testimonials
     14. Industries accordion
     15. CTA bands
     16. Forms
     17. Footer
     18. Floating actions, cookie bar, 404
     19. Motion & reveal
     20. Responsive
   ========================================================================== */

/* ---------- 01. DESIGN TOKENS ------------------------------------------- */
:root {
  /* Brand: Shantui industrial yellow */
  --y-300: #FFE180;
  --y-400: #FFD447;
  --y-500: #FFC400;
  --y-600: #E5A800;
  --y-700: #8F6800;   /* darkened for WCAG AA on white: 5.06:1 */

  /* Ink: deep machine greys */
  --ink-950: #06080B;
  --ink-900: #0B0E13;
  --ink-850: #10151E;
  --ink-800: #141A24;
  --ink-700: #1D2531;
  --ink-600: #2A3442;
  --ink-500: #3B4757;

  /* Steel */
  --steel-600: #56616F;
  --steel-500: #6B7787;
  --steel-400: #8B96A6;
  --steel-300: #B4BDC9;
  --steel-200: #D8DEE6;
  --steel-100: #EDF1F5;

  --paper: #F5F7FA;
  --white: #FFFFFF;

  /* Signal accents */
  --signal: #FF5B1A;
  --signal-soft: #FFEDE4;
  --ok: #15A34A;
  --info: #2D7FF9;

  /* Semantic surfaces (light theme default) */
  --bg: #FFFFFF;
  --bg-alt: var(--paper);
  --bg-sunken: var(--steel-100);
  --surface: #FFFFFF;
  --surface-2: #FFFFFF;
  --border: var(--steel-200);
  --border-soft: #E7ECF2;
  --text: var(--ink-900);
  --text-muted: var(--steel-600);
  --text-faint: var(--steel-500);
  --heading: var(--ink-950);
  --shadow-sm: 0 1px 2px rgba(11, 14, 19, .06), 0 2px 8px rgba(11, 14, 19, .05);
  --shadow-md: 0 4px 12px rgba(11, 14, 19, .07), 0 14px 34px rgba(11, 14, 19, .08);
  --shadow-lg: 0 10px 24px rgba(11, 14, 19, .09), 0 30px 70px rgba(11, 14, 19, .13);
  --shadow-y: 0 10px 28px rgba(229, 168, 0, .28);

  /* Type */
  --ff-display: "Barlow Condensed", "Arial Narrow", "Haettenschweiler", sans-serif;
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Geometry */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --header-h: 84px;
  --container-max: 1280px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* Dark theme */
[data-theme="dark"] {
  --bg: var(--ink-900);
  --bg-alt: var(--ink-850);
  --bg-sunken: var(--ink-950);
  --surface: var(--ink-850);
  --surface-2: var(--ink-800);
  --border: rgba(255, 255, 255, .10);
  --border-soft: rgba(255, 255, 255, .07);
  --text: #E8EDF4;
  --text-muted: var(--steel-400);
  --text-faint: var(--steel-500);
  --heading: #FFFFFF;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

/* ---------- 02. BASE & TYPOGRAPHY --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -.01em;
  line-height: 1.06;
  text-wrap: balance;
}

h1, .h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); font-weight: 800; text-transform: uppercase; }
h2, .h2 { font-size: clamp(2rem, 4.2vw, 3.35rem); font-weight: 800; text-transform: uppercase; }
h3, .h3 { font-size: clamp(1.4rem, 2.3vw, 1.95rem); }
h4, .h4 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
h5 { font-size: 1.1rem; }

p { margin: 0 0 1rem; text-wrap: pretty; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--text-muted); line-height: 1.72; }

a { color: var(--ink-900); text-decoration-color: var(--y-500); text-underline-offset: 3px; }
[data-theme="dark"] a { color: var(--y-400); }
a:hover { color: var(--y-700); }
[data-theme="dark"] a:hover { color: var(--y-300); }

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

::selection { background: var(--y-500); color: var(--ink-950); }

:focus-visible {
  outline: 3px solid var(--y-500);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 2000;
  background: var(--y-500); color: var(--ink-950);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-weight: 700; text-decoration: none; transition: top .25s var(--ease-out);
}
.skip-link:focus { top: 0; color: var(--ink-950); }

.container-x { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.25rem); }

/* ---------- 03. UTILITIES ----------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-body);
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-fg); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 30px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--y-500), var(--signal));
}

.text-y { color: var(--y-600) !important; }
.on-dark .text-y, .section-dark .text-y { color: var(--y-500) !important; }
.text-muted-x { color: var(--text-muted) !important; }
.bg-ink { background: var(--ink-900) !important; }
.bg-y { background: var(--y-500) !important; }

.hl {
  background: linear-gradient(180deg, transparent 62%, rgba(255, 196, 0, .48) 62%);
  padding-inline: .08em;
}

.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section-tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--ink-900); color: #D9E0EA; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead, .section-dark p { color: #A9B4C2; }

.divider-slash {
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--y-500) 0 14px, var(--ink-900) 14px 28px);
}

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .32rem .7rem; border-radius: 999px;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em;
  background: var(--bg-sunken); color: var(--text-muted); border: 1px solid var(--border-soft);
}
.chip-y { background: rgba(255, 196, 0, .16); color: var(--y-700); border-color: rgba(255, 196, 0, .35); }
[data-theme="dark"] .chip-y { color: var(--y-400); }

.badge-soft {
  display: inline-block; padding: .3rem .65rem; border-radius: var(--r-xs);
  font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink-900); color: var(--y-500);
}

.stars { display: inline-flex; gap: 2px; color: var(--y-500); font-size: 1rem; line-height: 1; }
.stars i { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .12)); }

.ratio-frame {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: linear-gradient(145deg, var(--steel-100), var(--steel-200));
}
[data-theme="dark"] .ratio-frame { background: linear-gradient(145deg, var(--ink-800), var(--ink-700)); }

/* Blueprint grid backdrop */
.grid-bg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 30%, transparent 78%);
}

.noise::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

/* ---------- 04. BUTTONS -------------------------------------------------- */
.btn-x {
  --btn-bg: var(--y-500);
  --btn-fg: var(--ink-950);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.75rem;
  font-family: var(--ff-body); font-size: .86rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .25s, color .25s, border-color .25s;
}
.btn-x::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, var(--y-400), var(--signal));
  transform: translateX(-101%); transition: transform .45s var(--ease-out);
}
.btn-x:hover { transform: translateY(-3px); box-shadow: var(--shadow-y); color: var(--btn-fg); }
.btn-x:hover::before { transform: translateX(0); }
.btn-x:active { transform: translateY(-1px); }
.btn-x i { transition: transform .3s var(--ease-out); }
.btn-x:hover i.bi-arrow-right { transform: translateX(4px); }

/* Ghost buttons take their colour from the surface they sit on.
   Dark surfaces override these two tokens once, and every ghost button nested
   anywhere inside them inherits it. This avoids maintaining a selector list
   per button, which is how ghost buttons end up black-on-black. */
:root {
  --btn-ghost-fg: var(--text);
  --btn-ghost-bd: var(--border);
  --accent-fg: var(--y-700);       /* eyebrows and small accent text */
  --tick-fg: var(--y-600);         /* tick-list bullets */
  --link-arrow-fg: var(--text);
}
[data-theme="dark"] { --accent-fg: var(--y-400); --tick-fg: var(--y-500); }

.hero,
.page-hero,
.section-dark,
.bento-cell.feature,
.cta-band,
.cookie-bar,
.site-footer,
.mnav-panel,
.demo-bar,
.media-frame,
.on-dark {
  --btn-ghost-fg: #FFFFFF;
  --btn-ghost-bd: rgba(255, 255, 255, .36);
  --accent-fg: var(--y-400);
  --tick-fg: var(--y-500);
  --link-arrow-fg: #FFFFFF;
}

/* Yellow surfaces are light regardless of theme, so they force ink. */
.cta-full,
.bento-cell.gold,
.on-gold {
  --btn-ghost-fg: var(--ink-950);
  --btn-ghost-bd: rgba(11, 14, 19, .38);
  --accent-fg: var(--ink-950);
  --tick-fg: var(--ink-950);
  --link-arrow-fg: var(--ink-950);
}

.btn-x.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--btn-ghost-fg);
  border-color: var(--btn-ghost-bd);
}
.btn-x.btn-ghost:hover { --btn-fg: var(--ink-950); border-color: transparent; }

.btn-x.btn-ink { --btn-bg: var(--ink-900); --btn-fg: #fff; }
.btn-x.btn-sm-x { padding: .68rem 1.25rem; font-size: .78rem; }
.btn-x.btn-lg-x { padding: 1.1rem 2.2rem; font-size: .92rem; }
.btn-x.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; font-size: .84rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--link-arrow-fg); text-decoration: none;
  border-bottom: 2px solid var(--y-500); padding-bottom: 3px;
  transition: gap .25s var(--ease-out), color .25s;
}
.link-arrow:hover { gap: .85rem; color: var(--accent-fg); }

/* ---------- 05. PRELOADER ----------------------------------------------- */
#preloader {
  position: fixed; inset: 0; z-index: 3000;
  display: grid; place-items: center;
  background: var(--ink-950);
  transition: opacity .5s var(--ease-out), visibility .5s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.pl-inner { text-align: center; width: min(280px, 70vw); }
.pl-mark { width: 74px; height: 74px; margin: 0 auto 1.4rem; animation: plPulse 1.4s var(--ease-in-out) infinite; }
.pl-word {
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 800;
  letter-spacing: .34em; text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.pl-track { height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.pl-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--y-500), var(--signal)); transition: width .3s linear; }
@keyframes plPulse { 0%, 100% { transform: scale(1); opacity: 1 } 50% { transform: scale(.88); opacity: .6 } }

/* ---------- 06. HEADER / NAV -------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 1200;
  background: linear-gradient(90deg, var(--y-500), var(--signal));
  transition: width .1s linear;
}

.topbar {
  background: var(--ink-950); color: var(--steel-300);
  font-size: .78rem; letter-spacing: .02em;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar a { color: var(--steel-300); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--y-500); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 42px; }
.topbar-links { display: flex; align-items: center; gap: 1.35rem; }
.topbar .tb-tag { display: inline-flex; align-items: center; gap: .45rem; }
.topbar .tb-tag i { color: var(--y-500); }

.site-header {
  position: sticky; top: 0; z-index: 1100;
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow .3s var(--ease-out), background-color .3s;
}
.site-header.is-stuck { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; }
.brand img { height: 46px; width: auto; }
.brand:hover { opacity: .88; }

.nav-main { display: flex; align-items: center; gap: .25rem; }
.nav-item { position: relative; }
.nav-link-x {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .7rem .85rem; border-radius: var(--r-sm);
  font-size: .84rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-link-x::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .35rem; height: 2px;
  background: var(--y-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav-link-x:hover, .nav-item.open > .nav-link-x { color: var(--y-700); }
[data-theme="dark"] .nav-link-x:hover, [data-theme="dark"] .nav-item.open > .nav-link-x { color: var(--y-400); }
.nav-link-x:hover::after, .nav-item.open > .nav-link-x::after, .nav-item.active > .nav-link-x::after { transform: scaleX(1); }
.nav-item.active > .nav-link-x { color: var(--y-700); }
[data-theme="dark"] .nav-item.active > .nav-link-x { color: var(--y-400); }
.nav-link-x .bi-chevron-down { font-size: .65rem; transition: transform .3s var(--ease-out); }
.nav-item.open .bi-chevron-down { transform: rotate(180deg); }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; translate: -50% 0;
  width: min(920px, 92vw); padding: 1.5rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .28s var(--ease-out), transform .28s var(--ease-out), visibility .28s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.mega-link {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .8rem; border-radius: var(--r-md); text-decoration: none; color: var(--text);
  transition: background-color .22s, transform .22s var(--ease-out);
}
.mega-link:hover { background: var(--bg-alt); transform: translateX(3px); color: var(--text); }
.mega-ico {
  flex: 0 0 42px; height: 42px; display: grid; place-items: center;
  border-radius: 10px; background: rgba(255, 196, 0, .15); color: var(--y-700); font-size: 1.15rem;
}
[data-theme="dark"] .mega-ico { color: var(--y-400); }
.mega-link:hover .mega-ico { background: var(--y-500); color: var(--ink-950); }
.mega-t { font-weight: 700; font-size: .92rem; display: block; line-height: 1.3; }
.mega-d { font-size: .78rem; color: var(--text-muted); line-height: 1.45; }
.mega-foot {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

.header-actions { display: flex; align-items: center; gap: .5rem; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 50%; background: transparent;
  color: var(--text); cursor: pointer; font-size: 1.05rem;
  transition: background-color .22s, color .22s, border-color .22s, transform .22s var(--ease-out);
}
.icon-btn:hover { background: var(--y-500); color: var(--ink-950); border-color: var(--y-500); transform: translateY(-2px); }

.burger { display: none; }

/* Off-canvas mobile nav */
.mnav {
  position: fixed; inset: 0; z-index: 1300; visibility: hidden;
}
.mnav.open { visibility: visible; }
.mnav-scrim {
  position: absolute; inset: 0; background: rgba(6, 8, 11, .65);
  opacity: 0; transition: opacity .35s var(--ease-out); backdrop-filter: blur(3px);
}
.mnav.open .mnav-scrim { opacity: 1; }
.mnav-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 90vw);
  background: var(--ink-900); color: #fff; padding: 1.25rem;
  overflow-y: auto; transform: translateX(100%);
  transition: transform .42s var(--ease-out);
  display: flex; flex-direction: column;
}
.mnav.open .mnav-panel { transform: translateX(0); }
.mnav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.mnav-head img { height: 40px; }
.mnav-close { background: transparent; border: 1px solid rgba(255, 255, 255, .2); color: #fff; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }
.mnav a { color: #fff; text-decoration: none; }
.mnav-list { list-style: none; margin: 0; padding: 0; }
.mnav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mnav-a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .95rem .25rem; font-family: var(--ff-display); font-size: 1.25rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .02em;
}
.mnav-a:hover, .mnav-a[aria-expanded="true"] { color: var(--y-500); }
.mnav-sub { list-style: none; margin: 0; padding: 0 0 .75rem .25rem; display: none; }
.mnav-sub.show { display: block; animation: fadeSlide .3s var(--ease-out); }
.mnav-sub a { display: block; padding: .5rem 0; font-size: .92rem; color: var(--steel-300); }
.mnav-sub a:hover { color: var(--y-500); }
.mnav-foot { margin-top: auto; padding-top: 1.5rem; }
.mnav-foot .btn-x { width: 100%; }
@keyframes fadeSlide { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }

/* ---------- 07. HERO ----------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink-950); color: #fff;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 7vw, 6rem);
  isolation: isolate;
}
.hero-mesh {
  position: absolute; inset: -20% -10% auto -10%; height: 130%; z-index: -2;
  background:
    radial-gradient(48% 42% at 18% 22%, rgba(255, 196, 0, .30), transparent 62%),
    radial-gradient(42% 44% at 82% 18%, rgba(255, 91, 26, .22), transparent 60%),
    radial-gradient(60% 55% at 62% 92%, rgba(45, 127, 249, .14), transparent 65%);
  filter: blur(6px);
  animation: meshDrift 22s var(--ease-in-out) infinite alternate;
}
@keyframes meshDrift { from { transform: translate3d(0, 0, 0) scale(1) } to { transform: translate3d(-3%, 2%, 0) scale(1.08) } }

.hero-grid-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse 85% 75% at 55% 45%, #000 25%, transparent 80%);
}

.hero-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .5rem .45rem .9rem; margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px);
  font-size: .76rem; font-weight: 600; letter-spacing: .05em; color: #E4EAF2;
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(21, 163, 74, .7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(21, 163, 74, 0) } 100% { box-shadow: 0 0 0 0 rgba(21, 163, 74, 0) } }
.hero-kicker .pill { background: var(--y-500); color: var(--ink-950); font-weight: 800; padding: .18rem .6rem; border-radius: 999px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }

.hero h1 { color: #fff; margin: 0 0 1.35rem; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(105%); animation: lineUp .95s var(--ease-out) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { to { transform: translateY(0) } }
.hero h1 em {
  font-style: normal; color: var(--y-500);
  text-shadow: 0 0 42px rgba(255, 196, 0, .35);
}
.hero-sub { font-size: clamp(1rem, 1.45vw, 1.16rem); color: #AFBACA; max-width: 56ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.5rem; }

.hero-trust { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.trust-avatars { display: flex; }
.trust-avatars span {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-size: .74rem; font-weight: 800; color: var(--ink-950);
  border: 2px solid var(--ink-950); margin-left: -12px;
  background: linear-gradient(140deg, var(--y-400), var(--y-600));
}
.trust-avatars span:first-child { margin-left: 0; }
.trust-copy { font-size: .84rem; color: #AFBACA; }
.trust-copy strong { color: #fff; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-machine {
  width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
  animation: floaty 7s var(--ease-in-out) infinite alternate;
}
@keyframes floaty { from { transform: translateY(0) } to { transform: translateY(-16px) } }

.hero-spec-card {
  position: absolute; z-index: 3;
  background: rgba(16, 21, 30, .82); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-md);
  padding: .8rem 1rem; box-shadow: var(--shadow-lg);
  animation: floaty 5.5s var(--ease-in-out) infinite alternate;
}
.hero-spec-card .k { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-400); }
.hero-spec-card .v { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; color: #fff; line-height: 1.1; }
.hero-spec-card .v small { font-size: .8rem; color: var(--y-500); }
.hsc-1 { top: 8%; left: -2%; animation-delay: .4s; }
.hsc-2 { bottom: 14%; right: 0; animation-delay: 1.1s; }

.hero-stats {
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.hstat .n { font-family: var(--ff-display); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 800; color: var(--y-500); line-height: 1; }
.hstat .l { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #93A0B1; margin-top: .4rem; }

/* Page hero (interior pages) */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--ink-950); color: #fff;
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.page-hero .hero-mesh { opacity: .8; }
.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: #A9B4C2; max-width: 66ch; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.25rem; font-size: .8rem; }
.crumbs li { color: var(--steel-400); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--steel-600); }
.crumbs a { color: var(--steel-300); text-decoration: none; }
.crumbs a:hover { color: var(--y-500); }

/* ---------- 08. SECTIONS & SHARED --------------------------------------- */
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.marquee {
  overflow: hidden; background: var(--ink-900); border-block: 1px solid rgba(255, 255, 255, .08);
  padding: 1.1rem 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: scrollX 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--ff-display); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: nowrap;
}
.marquee-item i { color: var(--y-500); font-size: .9rem; }
@keyframes scrollX { to { transform: translateX(-50%) } }

.card-x {
  position: relative; height: 100%;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform .38s var(--ease-out), box-shadow .38s var(--ease-out), border-color .3s;
}
.card-x:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(255, 196, 0, .5); }
.card-x-body { padding: 1.5rem; }

.icon-tile {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(145deg, var(--y-400), var(--y-600)); color: var(--ink-950);
  box-shadow: 0 8px 20px rgba(229, 168, 0, .3);
  transition: transform .35s var(--ease-out);
}
.card-x:hover .icon-tile { transform: rotate(-8deg) scale(1.06); }
.icon-tile.ghost { background: var(--bg-alt); color: var(--accent-fg); box-shadow: none; border: 1px solid var(--border); }

/* Image / illustration plate */
.plate {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10;
  background:
    radial-gradient(70% 70% at 50% 30%, rgba(255, 196, 0, .18), transparent 70%),
    linear-gradient(160deg, var(--steel-100), var(--steel-200));
  overflow: hidden;
}
[data-theme="dark"] .plate { background: radial-gradient(70% 70% at 50% 30%, rgba(255, 196, 0, .14), transparent 70%), linear-gradient(160deg, var(--ink-800), var(--ink-700)); }
.plate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform .55s var(--ease-out); }
.plate.cover img { object-fit: cover; padding: 0; }
.card-x:hover .plate img { transform: scale(1.06); }
.plate::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(11, 14, 19, .05) 0 2px, transparent 2px 9px);
  opacity: .5; pointer-events: none;
}

/* ---------- 09. PRODUCT CARDS & FILTERS --------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: .6rem 1.15rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  cursor: pointer; transition: all .28s var(--ease-out);
}
.filter-btn:hover { border-color: var(--y-500); transform: translateY(-2px); }
.filter-btn.active { background: var(--ink-900); color: var(--y-500); border-color: var(--ink-900); }

.prod-card { display: flex; flex-direction: column; }
.prod-card .plate { aspect-ratio: 4 / 3; }
.prod-tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ink-900); color: var(--y-500);
  font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .65rem; border-radius: var(--r-xs);
}
.prod-body { padding: 1.35rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prod-title { font-size: 1.35rem; margin: 0 0 .3rem; }
.prod-model { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--y-700); margin-bottom: .7rem; }
[data-theme="dark"] .prod-model { color: var(--y-400); }
.spec-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 1rem 0 1.15rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.spec-row .s-k { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.spec-row .s-v { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 700; color: var(--heading); line-height: 1.2; }
.prod-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td { padding: .8rem 1rem; border-bottom: 1px solid var(--border-soft); text-align: left; }
.spec-table thead th { background: var(--ink-900); color: #fff; font-family: var(--ff-display); font-size: 1rem; letter-spacing: .05em; text-transform: uppercase; border-bottom: 0; }
.spec-table thead th:first-child { border-top-left-radius: var(--r-sm); }
.spec-table thead th:last-child { border-top-right-radius: var(--r-sm); }
.spec-table tbody tr { transition: background-color .2s; }
.spec-table tbody tr:hover { background: var(--bg-alt); }
.spec-table td:first-child { font-weight: 600; }
.table-scroll { overflow-x: auto; border-radius: var(--r-sm); border: 1px solid var(--border); }

/* ---------- 10. BENTO / FEATURE GRIDS ----------------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem; }
.bento > * { grid-column: span 1; }
.b-2 { grid-column: span 2 !important; }
.b-3 { grid-column: span 3 !important; }
.b-4 { grid-column: span 4 !important; }

.bento-cell {
  position: relative; overflow: hidden;
  padding: 1.75rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .38s var(--ease-out), box-shadow .38s var(--ease-out), border-color .3s;
}
.bento-cell:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(255, 196, 0, .5); }
.bento-cell h3 { margin: 1rem 0 .5rem; }
.bento-cell p { color: var(--text-muted); font-size: .93rem; margin: 0; }
.bento-cell.feature {
  background: linear-gradient(150deg, var(--ink-900), var(--ink-700));
  border-color: transparent; color: #fff;
}
.bento-cell.feature h3 { color: #fff; }
.bento-cell.feature p { color: #A9B4C2; }
.bento-cell.gold { background: linear-gradient(150deg, var(--y-400), var(--y-600)); border-color: transparent; }
.bento-cell.gold h3, .bento-cell.gold p { color: var(--ink-950); }
.bento-cell .ghost-num {
  position: absolute; right: -.4rem; bottom: -1.6rem;
  font-family: var(--ff-display); font-size: 7rem; font-weight: 800; line-height: 1;
  color: currentColor; opacity: .07; pointer-events: none;
}

/* ---------- 11. COUNTERS ------------------------------------------------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-cell {
  padding: 1.75rem 1.25rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); text-align: center;
  transition: transform .35s var(--ease-out), border-color .3s;
}
.stat-cell:hover { transform: translateY(-6px); border-color: var(--y-500); }
.stat-n { font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--heading); line-height: 1; }
.stat-n .suf { color: var(--y-600); }
.stat-l { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: .5rem; }

/* ---------- 12. PROCESS TIMELINE ---------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--y-500) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step-n {
  width: 68px; height: 68px; margin: 0 auto 1.15rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 1.7rem; font-weight: 800;
  background: var(--surface); color: var(--heading);
  border: 2px solid var(--y-500); box-shadow: 0 0 0 8px var(--bg);
  transition: all .35s var(--ease-out);
}
.step:hover .step-n { background: var(--y-500); color: var(--ink-950); transform: scale(1.08); }
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ---------- 13. TESTIMONIALS -------------------------------------------- */
.tstack { position: relative; }
.tslide { display: none; }
.tslide.active { display: block; animation: tIn .5s var(--ease-out); }
@keyframes tIn { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }

.tcard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 3rem); position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.tcard::before {
  content: "\201C"; position: absolute; top: -2.4rem; right: 1.5rem;
  font-family: Georgia, serif; font-size: 12rem; line-height: 1; color: var(--y-500); opacity: .16;
}
.tquote { font-family: var(--ff-display); font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.4; color: var(--heading); margin: 1rem 0 1.75rem; }
.tmeta { display: flex; align-items: center; gap: .9rem; }
.tavatar {
  width: 54px; height: 54px; border-radius: 50%; flex: 0 0 54px; display: grid; place-items: center;
  font-family: var(--ff-display); font-size: 1.25rem; font-weight: 800; color: var(--ink-950);
  background: linear-gradient(140deg, var(--y-400), var(--y-600));
}
.tname { font-weight: 700; line-height: 1.25; }
.trole { font-size: .82rem; color: var(--text-muted); }
.tdots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.75rem; }
.tdot { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--border); cursor: pointer; transition: all .3s var(--ease-out); padding: 0; }
.tdot.active { width: 34px; border-radius: 999px; background: var(--y-500); }

.rating-summary {
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
  padding: 1.25rem 1.5rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border);
}
.rating-score { font-family: var(--ff-display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--heading); }

/* ---------- 14. INDUSTRIES ---------------------------------------------- */
.ind-accordion { display: grid; gap: .75rem; }
.ind-item {
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); transition: border-color .3s, box-shadow .3s;
}
.ind-item.open { border-color: var(--y-500); box-shadow: var(--shadow-md); }
.ind-head {
  width: 100%; display: flex; align-items: center; gap: 1rem;
  padding: 1.2rem 1.4rem; background: transparent; border: 0; cursor: pointer; text-align: left; color: var(--text);
}
.ind-head:hover { background: var(--bg-alt); }
.ind-ico { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 196, 0, .16); color: var(--y-700); font-size: 1.2rem; }
[data-theme="dark"] .ind-ico { color: var(--y-400); }
.ind-item.open .ind-ico { background: var(--y-500); color: var(--ink-950); }
.ind-title { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; text-transform: uppercase; flex: 1; }
.ind-plus { transition: transform .3s var(--ease-out); color: var(--text-muted); }
.ind-item.open .ind-plus { transform: rotate(45deg); color: var(--y-600); }
.ind-panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out); }
.ind-panel-inner { padding: 0 1.4rem 1.5rem; color: var(--text-muted); }

/* ---------- 15. CTA BANDS ------------------------------------------------ */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(120deg, var(--ink-950) 0%, var(--ink-800) 55%, var(--ink-700) 100%);
  color: #fff; border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 4rem);
}
.cta-band::before {
  content: ""; position: absolute; right: -8%; top: -40%; width: 55%; height: 180%; z-index: -1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 196, 0, .28), transparent 62%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #A9B4C2; }

.cta-full {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--y-500); color: var(--ink-950);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.cta-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: repeating-linear-gradient(-45deg, var(--ink-950) 0 22px, transparent 22px 44px);
}
.cta-full h2 { color: var(--ink-950); }
.cta-full p { color: rgba(11, 14, 19, .78); }

/* ---------- 16. FORMS ---------------------------------------------------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: clamp(1.5rem, 3.5vw, 2.5rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.15rem; }
.field label, .form-label-x {
  display: block; font-size: .76rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: .45rem;
}
.field .req { color: var(--signal); }
.input-x, .select-x, .textarea-x {
  width: 100%; padding: .85rem 1rem;
  font-family: var(--ff-body); font-size: .95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-sm);
  transition: border-color .25s, box-shadow .25s, background-color .25s;
}
.input-x:focus, .select-x:focus, .textarea-x:focus {
  outline: none; border-color: var(--y-500); box-shadow: 0 0 0 4px rgba(255, 196, 0, .18);
}
.textarea-x { min-height: 140px; resize: vertical; }
.select-x {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B7787'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px; padding-right: 2.5rem;
}
.field.invalid .input-x, .field.invalid .select-x, .field.invalid .textarea-x { border-color: var(--signal); box-shadow: 0 0 0 4px rgba(255, 91, 26, .14); }
.err-msg { display: none; font-size: .78rem; color: var(--signal); margin-top: .35rem; font-weight: 600; }
.field.invalid .err-msg { display: block; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; height: 0 !important; width: 0 !important; overflow: hidden; }

.captcha-box {
  display: flex; align-items: center; gap: .85rem; flex-wrap: wrap;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  background: var(--bg-alt); border: 1px dashed var(--border);
}
.captcha-q { font-family: var(--ff-display); font-size: 1.3rem; font-weight: 700; letter-spacing: .04em; }
.captcha-box .input-x { width: 110px; }

.form-note { font-size: .8rem; color: var(--text-faint); }
.form-alert { display: none; padding: 1rem 1.15rem; border-radius: var(--r-md); font-size: .92rem; margin-bottom: 1.25rem; }
.form-alert.show { display: block; animation: tIn .35s var(--ease-out); }
.form-alert.ok { background: rgba(21, 163, 74, .12); border: 1px solid rgba(21, 163, 74, .35); color: var(--ok); }
.form-alert.bad { background: rgba(255, 91, 26, .1); border: 1px solid rgba(255, 91, 26, .35); color: var(--signal); }

.btn-x[disabled] { opacity: .6; cursor: not-allowed; transform: none !important; }
.spinner-x {
  width: 15px; height: 15px; border: 2px solid rgba(0, 0, 0, .25); border-top-color: var(--ink-950);
  border-radius: 50%; animation: spin .7s linear infinite; display: none;
}
.is-sending .spinner-x { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg) } }

/* Contact tiles */
.contact-tile {
  display: flex; gap: 1rem; padding: 1.35rem; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--border); height: 100%;
  transition: transform .35s var(--ease-out), border-color .3s;
}
.contact-tile:hover { transform: translateY(-5px); border-color: var(--y-500); }
.contact-tile a { color: var(--text); text-decoration: none; font-weight: 600; }
.contact-tile a:hover { color: var(--accent-fg); }

/* ---------- 17. FOOTER --------------------------------------------------- */
.site-footer { background: var(--ink-950); color: var(--steel-300); position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; top: -30%; left: 50%; translate: -50% 0; width: 70%; height: 60%;
  background: radial-gradient(circle, rgba(255, 196, 0, .10), transparent 68%); pointer-events: none;
}
.footer-top { padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem; position: relative; }
.footer-brand img { height: 52px; margin-bottom: 1.15rem; }
.footer-about { font-size: .9rem; color: var(--steel-400); max-width: 34ch; }
.f-title {
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 1.15rem;
  position: relative; padding-bottom: .65rem;
}
.f-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; background: var(--y-500); border-radius: 2px; }
.f-list { list-style: none; margin: 0; padding: 0; }
.f-list li { margin-bottom: .55rem; }
.f-list a {
  color: var(--steel-400); text-decoration: none; font-size: .9rem;
  display: inline-flex; align-items: center; gap: .45rem; transition: color .22s, gap .22s var(--ease-out);
}
.f-list a::before { content: "\203A"; color: var(--y-600); font-size: 1.05rem; line-height: 1; }
.f-list a:hover { color: var(--y-500); gap: .7rem; }
.f-contact li { display: flex; gap: .7rem; margin-bottom: .85rem; font-size: .9rem; color: var(--steel-400); }
.f-contact i { color: var(--y-500); margin-top: .18rem; }
.f-contact a { color: var(--steel-300); text-decoration: none; }
.f-contact a:hover { color: var(--y-500); }

.newsletter-row { display: flex; gap: .5rem; }
.newsletter-row .input-x {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff;
}
.newsletter-row .input-x::placeholder { color: var(--steel-500); }

.socials { display: flex; gap: .55rem; margin-top: 1.25rem; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; font-size: 1rem;
  transition: all .28s var(--ease-out);
}
.socials a:hover { background: var(--y-500); color: var(--ink-950); transform: translateY(-3px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .09); padding: 1.35rem 0;
  font-size: .82rem; color: var(--steel-500);
}
.footer-bottom a { color: var(--steel-400); text-decoration: none; }
.footer-bottom a:hover { color: var(--y-500); }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.15rem; }

/* ---------- 18. FLOATING / COOKIE / 404 --------------------------------- */
.float-stack { position: fixed; right: 18px; bottom: 18px; z-index: 1050; display: flex; flex-direction: column; gap: .65rem; }
.fab {
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; font-size: 1.3rem; text-decoration: none;
  box-shadow: var(--shadow-md); transition: transform .3s var(--ease-out), box-shadow .3s;
}
.fab:hover { transform: translateY(-4px) scale(1.05); }
.fab-wa { background: #25D366; color: #fff; }
.fab-wa:hover { color: #fff; }
.fab-top { background: var(--ink-900); color: var(--y-500); opacity: 0; visibility: hidden; }
.fab-top.show { opacity: 1; visibility: visible; }

.cookie-bar {
  position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 1060;
  width: min(880px, calc(100vw - 32px));
  background: var(--ink-900); color: #D9E0EA; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 1.15rem 1.35rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  transform: translateY(150%); transition: transform .5s var(--ease-out);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-bar p { margin: 0; font-size: .86rem; flex: 1 1 340px; color: #AFBACA; }
.cookie-bar a { color: var(--y-500); }

.err-code {
  font-family: var(--ff-display); font-weight: 800; line-height: .82;
  font-size: clamp(7rem, 26vw, 20rem);
  background: linear-gradient(160deg, var(--y-400), var(--signal));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: -.03em;
}

/* ---------- 19. MOTION & REVEAL ----------------------------------------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="zoom"] { transform: scale(.94); }
[data-reveal].in { transform: none; }

.tilt { transition: transform .35s var(--ease-out); transform-style: preserve-3d; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none; }
}

/* ---------- 20. RESPONSIVE ---------------------------------------------- */
@media (max-width: 1199.98px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-3, .b-4 { grid-column: span 2 !important; }
}

@media (max-width: 1099.98px) {
  .nav-main, .header-actions .btn-x { display: none; }
  .burger { display: grid; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; margin-inline: auto; }
  .hero-spec-card { display: none; }
}

@media (max-width: 991.98px) {
  :root { --header-h: 72px; }
  .topbar-links .tb-hide-md { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }
}

@media (max-width: 767.98px) {
  .topbar { display: none; }
  .bento, .stat-strip, .steps { grid-template-columns: 1fr; }
  .b-2, .b-3, .b-4 { grid-column: span 1 !important; }
  .spec-row { grid-template-columns: repeat(3, 1fr); gap: .35rem; }
  .spec-row .s-v { font-size: 1rem; }
  .cookie-bar { padding: 1rem; }
  .float-stack { right: 12px; bottom: 12px; }
  .fab { width: 48px; height: 48px; }
}

@media (max-width: 575.98px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn-x { width: 100%; }
  .brand img { height: 38px; }
}

/* ---------- 21. THEME-AWARE LOGO SWAP ----------------------------------- */
.logo-dark { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark { display: block; }

/* ---------- 22. EXTRA COMPONENTS ---------------------------------------- */
/* Value list with tick marks.
   The tick is a masked SVG rather than an icon-font glyph, so it can never
   break if the icon library's private-use codepoints shift between versions. */
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 2rem; margin-bottom: .7rem; color: var(--text-muted); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 18px; height: 18px; background-color: var(--tick-fg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0zm-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section-dark .tick-list li { color: #A9B4C2; }

/* Company timeline */
.timeline { position: relative; padding-left: 2.4rem; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--y-500), transparent); }
.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item::before {
  content: ""; position: absolute; left: -2.4rem; top: 5px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--y-500);
}
.tl-year { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 800; color: var(--y-600); line-height: 1; }
[data-theme="dark"] .tl-year { color: var(--y-400); }

/* Article / news cards */
.article-meta { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); }
.article-body { padding: 1.4rem 1.5rem 1.6rem; }
.article-body h3 { font-size: 1.3rem; margin: .6rem 0 .6rem; }

/* Used-equipment condition meter */
.meter { height: 8px; border-radius: 999px; background: var(--bg-sunken); overflow: hidden; }
.meter > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--y-500), var(--ok)); }
.price-tag { font-family: var(--ff-display); font-size: 1.7rem; font-weight: 800; color: var(--heading); line-height: 1; }
.price-tag small { display: block; font-family: var(--ff-body); font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }

/* Download row */
.dl-row {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.15rem;
  border: 1px solid var(--border); border-radius: var(--r-md); background: var(--surface);
  text-decoration: none; color: var(--text); transition: all .28s var(--ease-out);
}
.dl-row:hover { border-color: var(--y-500); transform: translateX(4px); color: var(--text); }
.dl-row i:first-child { font-size: 1.4rem; color: var(--signal); }

/* FAQ */
.faq-q { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 700; }

/* Sticky side rail */
.rail { position: sticky; top: calc(var(--header-h) + 24px); }

/* Split feature (image + copy) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 991.98px) { .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; } }

.media-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(150deg, var(--ink-900), var(--ink-700));
  box-shadow: var(--shadow-lg);
}
.media-frame img { width: 100%; display: block; }
.media-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: var(--y-500); color: var(--ink-950);
  padding: .7rem 1.1rem; border-radius: var(--r-md);
  font-family: var(--ff-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
}

/* Quick quote strip */
.quick-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.quick-cell { background: var(--surface); padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
@media (max-width: 767.98px) { .quick-strip { grid-template-columns: 1fr; } }

/* Table of legal pages */
.legal-doc h2 { font-size: 1.6rem; margin-top: 2.5rem; }
.legal-doc h3 { font-size: 1.2rem; margin-top: 1.75rem; }
.legal-doc ul { color: var(--text-muted); }
.legal-doc li { margin-bottom: .5rem; }

/* Sitemap page */
.map-col ul { list-style: none; padding: 0; margin: 0; }
.map-col li { margin-bottom: .55rem; }
.map-col a { color: var(--text-muted); text-decoration: none; font-size: .95rem; }
.map-col a:hover { color: var(--accent-fg); }
.map-col li.sub { padding-left: 1.1rem; }
.map-col li.sub a::before { content: "\203A"; color: var(--y-600); margin-right: .45rem; }

/* ---------- 23. DEMO / PROOF-OF-CONCEPT NOTICE -------------------------- */
/* Styled as construction barrier tape so the warning reads as part of the
   brand rather than a browser error. Present on every page, in both themes. */
[hidden] { display: none !important; }

.demo-bar {
  position: relative;
  background:
    radial-gradient(60% 180% at 12% 50%, rgba(255, 91, 26, .22), transparent 70%),
    linear-gradient(100deg, var(--ink-950) 0%, #17110A 55%, var(--ink-950) 100%);
  color: #E8EDF4;
}
.demo-bar::before,
.demo-bar::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px; pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--y-500) 0 12px, var(--ink-950) 12px 24px);
}
.demo-bar::before { top: 0; }
.demo-bar::after { bottom: 0; }

.demo-inner {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  padding: 1.05rem 0;
}
.demo-flag {
  display: inline-flex; align-items: center; gap: .45rem; flex: 0 0 auto;
  background: var(--signal); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  padding: .42rem .8rem; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(255, 91, 26, .38);
}
.demo-flag i { font-size: .95rem; }

.demo-copy { flex: 1 1 320px; margin: 0; font-size: .84rem; line-height: 1.55; color: #A9B4C2; }
.demo-copy strong { color: #fff; font-weight: 700; }

.demo-toggle {
  flex: 0 0 auto; cursor: pointer;
  display: inline-flex; align-items: center; gap: .45rem;
  background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px;
  padding: .5rem .95rem;
  font-family: var(--ff-body); font-size: .73rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  transition: background-color .25s, border-color .25s, color .25s;
}
.demo-toggle:hover { background: var(--y-500); border-color: var(--y-500); color: var(--ink-950); }
.demo-toggle i { font-size: .68rem; transition: transform .3s var(--ease-out); }
.demo-toggle[aria-expanded="true"] i { transform: rotate(180deg); }

.demo-details { padding-bottom: 1.35rem; animation: fadeSlide .32s var(--ease-out); }
.demo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.demo-note {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-md); padding: .9rem 1rem;
}
.demo-note h3 {
  font-family: var(--ff-body); font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; text-transform: none; color: #fff; margin: 0 0 .3rem;
}
.demo-note p { margin: 0; font-size: .78rem; line-height: 1.5; color: #93A0B1; }
.demo-note i { color: var(--y-500); margin-right: .35rem; }

/* Persistent reminder once the banner has scrolled away */
.demo-pill {
  position: fixed; left: 18px; bottom: 18px; z-index: 1055;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), visibility .35s;
}
.demo-pill.show { opacity: 1; visibility: visible; transform: none; }
.demo-pill button {
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  padding: .6rem 1.05rem; border-radius: 999px; border: 2px solid transparent;
  color: #fff; font-family: var(--ff-body); font-size: .7rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  box-shadow: var(--shadow-lg);
  background-image:
    linear-gradient(var(--ink-950), var(--ink-950)),
    repeating-linear-gradient(-45deg, var(--y-500) 0 8px, var(--ink-800) 8px 16px);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out);
}
.demo-pill button:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.demo-pill .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--signal);
  box-shadow: 0 0 0 0 rgba(255, 91, 26, .75); animation: demoPing 2.4s infinite;
}
@keyframes demoPing {
  70%  { box-shadow: 0 0 0 8px rgba(255, 91, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 91, 26, 0); }
}

@media (max-width: 991.98px) {
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .demo-inner { padding: 1rem 0; gap: .7rem; }
  .demo-copy { flex-basis: 100%; font-size: .8rem; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-pill { left: 12px; bottom: 12px; }
  .demo-pill button { padding: .5rem .8rem; font-size: .64rem; letter-spacing: .08em; }
}

/* ---------- PRINT -------------------------------------------------------- */
@media print {
  .site-header, .topbar, .float-stack, .cookie-bar, #preloader, .site-footer,
  .scroll-progress, .demo-pill, .demo-toggle { display: none !important; }
  body { color: #000; background: #fff; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; }

  /* The demonstration notice must survive onto paper and PDF exports. */
  .demo-bar {
    background: #fff !important; color: #000 !important;
    border: 2px solid #000; margin-bottom: 1rem;
  }
  .demo-bar::before, .demo-bar::after { display: none; }
  .demo-flag { background: #000 !important; color: #fff !important; }
  .demo-copy, .demo-copy strong { color: #000 !important; }
  .demo-details { display: block !important; }
  .demo-note { border: 1px solid #999; background: #fff !important; }
  .demo-note h3, .demo-note p { color: #000 !important; }
}
