/* ==========================================================================
   SHIV IMPEX — Industrial Shots & Abrasives
   Design system: "Graphite & Molten" — deep navy steel + molten orange
   Author: redesign build
   ========================================================================== */

/* ---------------------------------------------------------------- 1. RESET */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-600);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }

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

/* --------------------------------------------------------------- 2. TOKENS */
:root {
  color-scheme: light;

  /* Brand — sampled from the Shiv Impex mark. Constant across themes. */
  --brand-navy:      #14497D;
  --brand-navy-dk:   #0E3560;
  --brand-orange:    #F07C12;
  --brand-orange-dk: #D2650A;
  --brand-orange-lt: #FF9A3D;

  /* Always-dark surfaces: hero, page hero, dark bands, footer, drawer.
     These stay dark in BOTH themes — they are the brand's signature. */
  --deep:   #060F1B;
  --deep-2: #0B1725;

  /* Ink scale — text colours only (they invert in dark mode) */
  --ink-900: #060F1B;
  --ink-800: #0C1D32;
  --ink-700: #12283F;
  --ink-600: #4A5A6C;
  --ink-500: #6B7A8B;
  --ink-400: #93A1B0;

  /* Surfaces */
  --bg:        #FFFFFF;
  --surface:   #F5F7FA;
  --surface-2: #EDF1F6;
  --panel:     #FFFFFF;              /* cards, tables, form, sidebar */
  --panel-2:   rgba(245, 247, 250, .55); /* zebra rows */
  --line:      #E1E7EF;
  --line-dark: rgba(255, 255, 255, .10);
  --header-bg: rgba(255, 255, 255, .92);

  /* Typography */
  --font-display: 'Sora', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Rhythm */
  --container: 1280px;
  --gutter: 24px;
  --section-y: clamp(72px, 8vw, 128px);
  --radius:    14px;
  --radius-lg: 22px;

  /* Depth */
  --shadow-sm: 0 2px 8px rgba(6, 15, 27, .06);
  --shadow-md: 0 14px 34px -14px rgba(6, 15, 27, .18);
  --shadow-lg: 0 34px 70px -28px rgba(6, 15, 27, .32);
  --shadow-orange: 0 16px 34px -14px rgba(240, 124, 18, .55);

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out-back: cubic-bezier(.34, 1.4, .64, 1);
  --dur: .55s;

  --header-h: 92px;
}

/* ------------------------------------------------------------ DARK THEME */
/* The token block is written twice on purpose: once for an explicit user
   choice, once for the OS preference when the user hasn't chosen. */

:root[data-theme="dark"] {
  color-scheme: dark;

  --deep:   #050C15;
  --deep-2: #0A1420;

  --ink-900: #EEF3F8;
  --ink-800: #DBE4EE;
  --ink-700: #BFCCDA;
  --ink-600: #93A3B5;
  --ink-500: #7A8A9C;
  --ink-400: #5C6B7C;

  --bg:        #0A121C;
  --surface:   #0E1926;
  --surface-2: #142131;
  --panel:     #101C2B;
  --panel-2:   rgba(255, 255, 255, .028);
  --line:      rgba(255, 255, 255, .10);
  --header-bg: rgba(10, 18, 28, .90);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
  --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .70);
  --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .85);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --deep:   #050C15;
    --deep-2: #0A1420;

    --ink-900: #EEF3F8;
    --ink-800: #DBE4EE;
    --ink-700: #BFCCDA;
    --ink-600: #93A3B5;
    --ink-500: #7A8A9C;
    --ink-400: #5C6B7C;

    --bg:        #0A121C;
    --surface:   #0E1926;
    --surface-2: #142131;
    --panel:     #101C2B;
    --panel-2:   rgba(255, 255, 255, .028);
    --line:      rgba(255, 255, 255, .10);
    --header-bg: rgba(10, 18, 28, .90);

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, .45);
    --shadow-md: 0 14px 34px -14px rgba(0, 0, 0, .70);
    --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, .85);
  }
}

/* Theme-conditional tweaks that can't be expressed as a token */
:root[data-theme="dark"] .brand img,
:root[data-theme="dark"] .drawer__head img { filter: brightness(0) invert(1); }

:root[data-theme="dark"] .map-frame iframe { filter: invert(.92) hue-rotate(180deg) grayscale(.28); }
:root[data-theme="dark"] .map-frame:hover iframe { filter: invert(.9) hue-rotate(180deg) grayscale(0); }

:root[data-theme="dark"] .form-status.is-ok  { color: #7DE9AF; }
:root[data-theme="dark"] .form-status.is-bad { color: #FF9AA3; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand img,
  :root:not([data-theme="light"]) .drawer__head img { filter: brightness(0) invert(1); }

  :root:not([data-theme="light"]) .map-frame iframe { filter: invert(.92) hue-rotate(180deg) grayscale(.28); }
  :root:not([data-theme="light"]) .map-frame:hover iframe { filter: invert(.9) hue-rotate(180deg) grayscale(0); }

  :root:not([data-theme="light"]) .form-status.is-ok  { color: #7DE9AF; }
  :root:not([data-theme="light"]) .form-status.is-bad { color: #FF9AA3; }
}

/* Smooth the flip between themes without animating page load */
body.theme-ready,
body.theme-ready .header,
body.theme-ready .card,
body.theme-ready .fcard,
body.theme-ready .icard,
body.theme-ready .sidebox,
body.theme-ready .app-tile,
body.theme-ready .form-card,
body.theme-ready .table-wrap {
  transition: background-color .4s var(--ease), border-color .4s var(--ease),
              color .4s var(--ease);
}

/* ----------------------------------------------------------- 3. TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.35rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.25; }
h4 { font-size: 1.15rem; line-height: 1.35; }

p { color: var(--ink-600); }
p + p { margin-top: 1.1em; }

strong { color: var(--ink-800); font-weight: 600; }

.lead {
  font-size: clamp(1.02rem, 1.35vw, 1.16rem);
  line-height: 1.8;
  color: var(--ink-600);
}

/* ---------------------------------------------------------- 4. LAYOUT UTILS */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 88px); }
.section--surface { background: var(--surface); }

.section--dark {
  background: var(--deep);
  color: rgba(255, 255, 255, .72);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, .68); }

/* minmax(0, 1fr) everywhere: a bare `1fr` resolves its min to `auto`, which
   lets wide children (spec tables) blow the column out past the viewport. */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

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

/* Decorative background helpers */
.bg-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  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: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}

/* ------------------------------------------------------------- 5. EYEBROW */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-orange), rgba(240, 124, 18, 0));
  flex: none;
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 34px;
  height: 2px;
  background: linear-gradient(270deg, var(--brand-orange), rgba(240, 124, 18, 0));
  flex: none;
}

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + p { margin-top: 18px; }

/* ------------------------------------------------------------- 6. BUTTONS */
.btn {
  --btn-bg: var(--brand-orange);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 100px;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              color .35s var(--ease), border-color .35s var(--ease);
}

/* liquid fill sweep */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--deep);
  transform: translateY(101%);
  transition: transform .48s var(--ease);
}

.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(-1px); }

.btn:focus-visible {
  outline: 2px solid var(--brand-orange-lt);
  outline-offset: 3px;
}

.btn .btn__icon {
  width: 16px; height: 16px;
  transition: transform .4s var(--ease);
  flex: none;
}
.btn:hover .btn__icon { transform: translateX(4px); }

.btn--primary { box-shadow: var(--shadow-orange); }
.btn--primary:hover { box-shadow: 0 20px 40px -16px rgba(6, 15, 27, .5); }

.btn--dark { --btn-bg: var(--deep); }
.btn--dark::before { background: var(--brand-orange); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-900);
  border-color: var(--line);
}
.btn--ghost::before { background: var(--deep); }
.btn--ghost:hover { color: #fff; border-color: var(--deep); }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .28);
}
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--deep); border-color: #fff; }

.btn--sm { padding: 12px 22px; font-size: .74rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* Text link with animated underline */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --------------------------------------------------------- 7. PRELOADER */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--deep);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}

.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 30px;
  width: min(360px, 78vw);
  text-align: center;
}

.preloader__logo {
  width: 148px;
  filter: brightness(0) invert(1);
  opacity: .95;
  animation: loaderPulse 2s var(--ease) infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50%      { opacity: 1;   transform: scale(1); }
}

.preloader__bar {
  width: 100%;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}

.preloader__fill {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-lt));
  box-shadow: 0 0 18px rgba(240, 124, 18, .8);
  transition: width .25s linear;
}

.preloader__meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}

.preloader__pct { color: var(--brand-orange); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------- 8. TOP BAR */
.topbar {
  background: var(--deep);
  color: rgba(255, 255, 255, .68);
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
  padding-block: 6px;
}

.topbar__list {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .3s var(--ease);
}
.topbar__item svg { width: 14px; height: 14px; color: var(--brand-orange); flex: none; }
a.topbar__item:hover { color: #fff; }

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

.topbar__social {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  transition: background .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease);
}
.topbar__social svg { width: 14px; height: 14px; }
.topbar__social:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  transform: translateY(-2px);
}

/* ------------------------------------------------------------- 9. HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), background .35s var(--ease);
}

.header.is-stuck { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
  transition: min-height .35s var(--ease);
}
.header.is-stuck .header__inner { min-height: 74px; }

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img {
  height: 58px;
  width: auto;
  transition: height .35s var(--ease);
}
.header.is-stuck .brand img { height: 48px; }

/* Desktop nav */
.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-800);
  border-radius: 8px;
  transition: color .3s var(--ease);
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.nav__link:hover,
.nav__item.is-active > .nav__link { color: var(--brand-orange); }
.nav__link:hover::after,
.nav__item.is-active > .nav__link::after { transform: scaleX(1); }

.nav__caret {
  width: 10px; height: 10px;
  transition: transform .35s var(--ease);
}
.nav__item--has-menu:hover .nav__caret { transform: rotate(180deg); }

/* Mega dropdown */
.nav__item--has-menu { position: relative; }

.megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: min(680px, 78vw);
  transform: translate(-50%, 14px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s var(--ease);
}

.nav__item--has-menu:hover .megamenu,
.nav__item--has-menu:focus-within .megamenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.megamenu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  height: 16px;
}

.megamenu__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.megamenu__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink-700);
  transition: background .28s var(--ease), color .28s var(--ease),
              transform .28s var(--ease);
}

.megamenu__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
  transition: background .28s var(--ease), transform .28s var(--ease);
}

.megamenu__link:hover {
  background: var(--surface);
  color: var(--brand-orange);
  transform: translateX(4px);
}
.megamenu__link:hover .megamenu__dot {
  background: var(--brand-orange);
  transform: scale(1.5);
}

.megamenu__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .84rem;
  color: var(--ink-500);
}

.header__cta { display: inline-flex; flex: none; }

/* ------------------------------------------------------- THEME TOGGLE */
.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--ink-800);
  overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .4s var(--ease);
}
.theme-toggle:hover {
  background: var(--surface);
  color: var(--brand-orange);
  border-color: var(--brand-orange);
  transform: rotate(-14deg);
}
.theme-toggle:focus-visible { outline: 2px solid var(--brand-orange); outline-offset: 3px; }
.theme-toggle svg { width: 19px; height: 19px; transition: opacity .3s var(--ease), transform .45s var(--ease); }

/* show sun in light mode, moon in dark mode */
.theme-toggle .icon-moon { position: absolute; opacity: 0; transform: rotate(-90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle .icon-sun  { opacity: 0; transform: rotate(90deg) scale(.5); }
:root[data-theme="dark"] .theme-toggle .icon-moon { opacity: 1; transform: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun  { opacity: 0; transform: rotate(90deg) scale(.5); }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { opacity: 1; transform: none; }
}

/* Burger */
.burger {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  place-items: center;
  gap: 5px;
  flex: none;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink-900);
  transition: transform .4s var(--ease), opacity .3s var(--ease), width .4s var(--ease);
}
.burger span:nth-child(2) { width: 14px; }
.burger:hover { background: var(--surface); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 20px; }

/* -------------------------------------------------------- 10. MOBILE DRAWER */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(400px, 88vw);
  z-index: 1000;
  background: var(--deep);
  color: #fff;
  padding: 26px 26px 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(101%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s var(--ease);
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line-dark);
}
.drawer__head img { height: 46px; filter: brightness(0) invert(1); }

.drawer__close {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line-dark);
  color: #fff;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.drawer__close svg { width: 18px; height: 18px; }
.drawer__close:hover { background: var(--brand-orange); transform: rotate(90deg); }

.drawer__link,
.drawer__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 15px 4px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-align: left;
  border-bottom: 1px solid var(--line-dark);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.drawer__link:hover,
.drawer__toggle:hover { color: var(--brand-orange); padding-left: 10px; }

.drawer__toggle svg { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.drawer__toggle[aria-expanded="true"] { color: var(--brand-orange); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.drawer__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.drawer__sub.is-open { grid-template-rows: 1fr; }
.drawer__sub > div { overflow: hidden; }

.drawer__sublink {
  display: block;
  padding: 11px 4px 11px 18px;
  font-size: .9rem;
  color: rgba(255, 255, 255, .62);
  border-left: 2px solid var(--line-dark);
  margin-left: 4px;
  transition: color .3s var(--ease), border-color .3s var(--ease),
              padding-left .3s var(--ease);
}
.drawer__sublink:hover {
  color: #fff;
  border-color: var(--brand-orange);
  padding-left: 24px;
}

.drawer__foot { margin-top: 30px; display: grid; gap: 16px; }
.drawer__contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: rgba(255, 255, 255, .7);
}
.drawer__contact svg { width: 16px; height: 16px; color: var(--brand-orange); flex: none; }

.scrim {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 15, 27, .6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.scrim.is-open { opacity: 1; visibility: visible; }

body.is-locked { overflow: hidden; }

/* ---------------------------------------------------------------- 11. HERO */
.hero {
  position: relative;
  min-height: clamp(620px, 94vh, 1000px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg { position: absolute; inset: 0; z-index: 0; }

.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 1.2s var(--ease);
}
.hero__slide-bg.is-active {
  opacity: .24;
  animation: kenburns 9s linear forwards;
}

@keyframes kenburns {
  from { transform: scale(1.14); }
  to   { transform: scale(1.28); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(102deg, #060F1B 22%, rgba(6, 15, 27, .86) 54%, rgba(6, 15, 27, .58) 100%),
    radial-gradient(ellipse 70% 60% at 84% 42%, rgba(240, 124, 18, .20), transparent 70%);
}

/* Slow-drifting colour mesh — gives the landing depth without a video */
.hero__mesh {
  position: absolute;
  inset: -22%;
  background:
    radial-gradient(closest-side at 20% 26%, rgba(240, 124, 18, .30), transparent 70%),
    radial-gradient(closest-side at 80% 64%, rgba(20, 73, 125, .55), transparent 72%),
    radial-gradient(closest-side at 54% 92%, rgba(240, 124, 18, .15), transparent 70%);
  filter: blur(22px);
  animation: meshDrift 24s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes meshDrift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1); }
  50%  { transform: translate3d(3%, 2%, 0)   scale(1.09); }
  100% { transform: translate3d(-2%, 3%, 0)  scale(1.03); }
}

/* Drifting "shot" particles */
.hero__spark { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.hero__spark i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fff, rgba(255, 255, 255, .35) 42%, rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  animation-name: floatUp;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes floatUp {
  0%   { transform: translateY(40px)   scale(.55); opacity: 0; }
  14%  { opacity: .6; }
  82%  { opacity: .3; }
  100% { transform: translateY(-140px) scale(1);   opacity: 0; }
}

.hero__inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-block: clamp(64px, 8vh, 110px);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.hero__content { max-width: 720px; }

/* ---------------------------------------------------- hero product disc */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
}

.hero__disc {
  position: relative;
  width: min(420px, 84%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.hero__disc::before {
  content: '';
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 124, 18, .38), transparent 62%);
  filter: blur(26px);
  animation: pulseGlow 6.5s var(--ease) infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1);    opacity: .7; }
  50%      { transform: scale(1.09); opacity: 1; }
}

.hero__disc-img {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(.93) rotate(-5deg);
  transition: opacity .9s var(--ease), transform 1.15s var(--ease);
  box-shadow:
    0 44px 90px -32px rgba(0, 0, 0, .95),
    inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.hero__disc-img.is-active { opacity: 1; transform: none; }

.hero__ring {
  position: absolute;
  inset: 0;
  animation: spin 36s linear infinite;
  pointer-events: none;
}
.hero__ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, .3);
  stroke-width: .5;
  stroke-dasharray: 1.6 5;
  stroke-linecap: round;
}
.hero__ring--2 { inset: -8%; animation-duration: 56s; animation-direction: reverse; }
.hero__ring--2 circle { stroke: rgba(240, 124, 18, .55); stroke-dasharray: .7 9; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Floating glass spec chips */
.hero__chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 19px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, .95);
  animation: float 6s var(--ease) infinite;
  white-space: nowrap;
}
.hero__chip i {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 11px;
  flex: none;
  background: rgba(240, 124, 18, .2);
  color: var(--brand-orange-lt);
}
.hero__chip i svg { width: 17px; height: 17px; }
.hero__chip b {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
}
.hero__chip span {
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.hero__chip--1 { left: -6%;  top: 11%;    animation-delay: -1.4s; }
.hero__chip--2 { right: -7%; bottom: 13%; animation-delay: -3.6s; }

/* ------------------------------------------------------- hero trust bar */
.hero__trust {
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(255, 255, 255, .1);
  background: rgba(5, 12, 21, .5);
  backdrop-filter: blur(10px);
}

.hero__trust-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .08);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 20px;
  background: rgba(5, 12, 21, .72);
  transition: background .4s var(--ease);
}
.hero__trust-item:hover { background: rgba(240, 124, 18, .12); }

.hero__trust-item > i {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  flex: none;
  background: rgba(240, 124, 18, .16);
  color: var(--brand-orange);
}
.hero__trust-item > i svg { width: 19px; height: 19px; }

.hero__trust-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero__trust-item span {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 20px 9px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 26px;
  backdrop-filter: blur(6px);
}

.hero__badge i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(240, 124, 18, .22);
  animation: blip 2s var(--ease) infinite;
}
@keyframes blip {
  0%, 100% { box-shadow: 0 0 0 3px rgba(240, 124, 18, .22); }
  50%      { box-shadow: 0 0 0 8px rgba(240, 124, 18, 0); }
}

.hero h1 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -.025em;
  font-weight: 800;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-orange-lt), var(--brand-orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__text {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, .74);
}

/* per-slide text animation */
.hero__slide { display: none; }
.hero__slide.is-active { display: block; }

.hero__slide.is-active .anim-up {
  animation: heroUp .9s var(--ease) both;
}
.hero__slide.is-active .anim-up:nth-child(1) { animation-delay: .05s; }
.hero__slide.is-active .anim-up:nth-child(2) { animation-delay: .18s; }
.hero__slide.is-active .anim-up:nth-child(3) { animation-delay: .31s; }
.hero__slide.is-active .anim-up:nth-child(4) { animation-delay: .44s; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); filter: blur(3px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}

/* Hero controls */
.hero__controls {
  position: relative;
  z-index: 3;
  padding-bottom: 26px;
}
.hero__controls-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__dots { display: flex; align-items: center; gap: 12px; }

.hero__dot {
  position: relative;
  width: 44px; height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .2);
  overflow: hidden;
}
.hero__dot span {
  position: absolute;
  inset: 0;
  width: 0;
  border-radius: 4px;
  background: var(--brand-orange);
}
.hero__dot.is-active span { animation: dotFill 7s linear forwards; }
@keyframes dotFill { from { width: 0; } to { width: 100%; } }

.hero__count {
  font-family: var(--font-display);
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .5);
}
.hero__count b { color: var(--brand-orange); font-size: 1.1rem; }

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  transition: color .3s var(--ease);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll i {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
}
.hero__scroll svg { width: 14px; height: 14px; animation: bobble 1.9s var(--ease) infinite; }
@keyframes bobble {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(3px); }
}

/* --------------------------------------------------------- 12. PAGE HERO */
.pagehero {
  position: relative;
  padding-block: clamp(84px, 11vw, 156px);
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  text-align: center;
}

.pagehero__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .2;
  transform: scale(1.06);
  animation: slowZoom 18s ease-out forwards;
}
@keyframes slowZoom { to { transform: scale(1.16); } }

.pagehero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 15, 27, .72), rgba(6, 15, 27, .94)),
    radial-gradient(ellipse 60% 70% at 50% 100%, rgba(240, 124, 18, .2), transparent 70%);
}

.pagehero__inner { position: relative; z-index: 2; }
.pagehero h1 { color: #fff; }
.pagehero p { max-width: 660px; margin: 20px auto 0; color: rgba(255, 255, 255, .7); }

.crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  font-size: .8rem;
  color: rgba(255, 255, 255, .5);
}
.crumbs a { transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--brand-orange); }
.crumbs span[aria-current] { color: var(--brand-orange); }
.crumbs i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .3); }

/* ------------------------------------------------------------- 13. CARDS */
.card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .5s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(240, 124, 18, .38);
}

/* Product card */
.pcard { display: flex; flex-direction: column; height: 100%; }

.pcard__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}
.pcard__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter .6s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.09); }

.pcard__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 15, 27, .55));
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.pcard:hover .pcard__media::after { opacity: 1; }

.pcard__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  padding: 7px 15px;
  border-radius: 100px;
  background: rgba(6, 15, 27, .72);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.pcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 26px 30px;
}
.pcard__body h3 { transition: color .35s var(--ease); }
.pcard:hover .pcard__body h3 { color: var(--brand-orange); }
.pcard__body p { margin-top: 13px; font-size: .94rem; flex: 1; }
.pcard__body .link-arrow { margin-top: 22px; }

/* Feature card (Why us) */
.fcard {
  position: relative;
  padding: 34px 30px 36px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .5s var(--ease);
}
.fcard::before {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.fcard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(240, 124, 18, .38); }
.fcard:hover::before { transform: scaleX(1); }

.fcard__num {
  position: absolute;
  top: 18px; right: 24px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--surface-2);
  transition: color .5s var(--ease);
  pointer-events: none;
}
.fcard:hover .fcard__num { color: rgba(240, 124, 18, .14); }

.fcard__icon {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(240, 124, 18, .14), rgba(20, 73, 125, .1));
  color: var(--brand-orange);
  margin-bottom: 22px;
  transition: transform .5s var(--ease-out-back), background .5s var(--ease),
              color .5s var(--ease);
}
.fcard__icon svg { width: 27px; height: 27px; }
.fcard:hover .fcard__icon {
  transform: translateY(-4px) rotate(-6deg);
  background: var(--brand-orange);
  color: #fff;
}

.fcard h3 { font-size: 1.16rem; }
.fcard p { margin-top: 12px; font-size: .94rem; }

/* Dark variant */
.section--dark .fcard {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .09);
}
.section--dark .fcard__num { color: rgba(255, 255, 255, .06); }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }

/* Info card (contact page) */
.icard {
  display: grid;
  gap: 18px;
  padding: 36px 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  justify-items: center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease),
              border-color .5s var(--ease);
}
.icard:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: rgba(240, 124, 18, .38); }

.icard__icon {
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(240, 124, 18, .15), rgba(20, 73, 125, .1));
  color: var(--brand-orange);
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease-out-back);
}
.icard__icon svg { width: 27px; height: 27px; }
.icard:hover .icard__icon { background: var(--brand-orange); color: #fff; transform: scale(1.08); }

.icard h3 {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand-orange);
}
.icard a, .icard address {
  font-style: normal;
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.7;
  transition: color .3s var(--ease);
}
.icard a:hover { color: var(--brand-orange); }

/* ------------------------------------------------------- 14. ABOUT / SPLIT */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split--flip { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.split > * { min-width: 0; }

.split__media { position: relative; }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.media-frame:hover img { transform: scale(1.06); }

.media-frame--wide img { aspect-ratio: 4 / 3; }

.media-accent {
  position: absolute;
  z-index: -1;
  border-radius: var(--radius-lg);
  border: 2px solid var(--brand-orange);
  opacity: .5;
}
.media-accent--br { inset: 30px -22px -22px 30px; }

/* Floating stat badge */
.stat-badge {
  position: absolute;
  right: -18px;
  bottom: 34px;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 22px 26px;
  border-radius: 18px;
  background: var(--brand-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
  animation: float 5s var(--ease) infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.stat-badge b {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
}
.stat-badge span {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .9;
}

/* checklist */
.checklist { display: grid; gap: 14px; margin-top: 28px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .97rem;
  color: var(--ink-600);
}
.checklist svg {
  width: 22px; height: 22px;
  flex: none;
  margin-top: 2px;
  color: var(--brand-orange);
}
.section--dark .checklist li { color: rgba(255, 255, 255, .72); }

/* --------------------------------------------------------- 15. STAT COUNTER */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.section--dark .stats,
.stats--dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .1); }

.stat {
  background: var(--panel);
  padding: 38px 26px;
  text-align: center;
  transition: background .4s var(--ease);
}
.section--dark .stat,
.stats--dark .stat { background: var(--deep); }
.stat:hover { background: var(--surface); }
.section--dark .stat:hover,
.stats--dark .stat:hover { background: rgba(255, 255, 255, .04); }

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-orange);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 12px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.section--dark .stat__label,
.stats--dark .stat__label { color: rgba(255, 255, 255, .5); }

/* ------------------------------------------------------------ 16. MARQUEE */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 26px;
  background: var(--brand-orange);
  border-block: 1px solid rgba(0, 0, 0, .08);
}
.marquee--dark { background: var(--deep); }
/* Overhang the viewport so the rotation never exposes the page behind it */
.marquee--tilt {
  transform: rotate(-1.6deg);
  margin-block: 40px;
  width: 108%;
  margin-inline: -4%;
}

.marquee__track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.marquee--dark .marquee__item { color: rgba(255, 255, 255, .9); }

.marquee__star { width: 18px; height: 18px; color: rgba(255, 255, 255, .8); flex: none; }
.marquee--dark .marquee__star { color: var(--brand-orange); }

/* Logo marquee (certifications) */
.logos { overflow: hidden; position: relative; }
.logos::before,
.logos::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos::before { left: 0;  background: linear-gradient(90deg, var(--surface), transparent); }
.logos::after  { right: 0; background: linear-gradient(270deg, var(--surface), transparent); }

.logos__track {
  display: flex;
  width: max-content;
  animation: marquee 26s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }

.logos__group { display: flex; align-items: center; gap: 26px; padding-right: 26px; }

.logo-chip {
  display: grid;
  place-items: center;
  width: 190px;
  height: 118px;
  flex: none;
  padding: 20px;
  /* stays white in both themes — the certification marks are dark ink on
     transparent PNGs and would disappear on a dark panel */
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.logo-chip img {
  max-height: 74px;
  width: auto;
  object-fit: contain;
  filter: grayscale(.6);
  opacity: .8;
  transition: filter .45s var(--ease), opacity .45s var(--ease);
}
.logo-chip:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.logo-chip:hover img { filter: grayscale(0); opacity: 1; }

/* --------------------------------------------------------- 17. CTA BAND */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(42px, 6vw, 72px);
}
.cta-band__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; max-width: 640px; }
.cta-band p { margin-top: 14px; max-width: 560px; color: rgba(255, 255, 255, .68); }

/* Support strip */
.support {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 30px 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-navy), var(--brand-navy-dk));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.support__label {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-orange-lt);
}
.support__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 600;
  transition: color .3s var(--ease);
}
.support__mail svg { width: 18px; height: 18px; color: var(--brand-orange-lt); flex: none; }
.support__mail:hover { color: var(--brand-orange-lt); }

/* ------------------------------------------------------------- 18. TABLES */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}

.spec-table { min-width: 520px; font-size: .93rem; }
.spec-table--wide { min-width: 900px; }

.spec-table thead th {
  position: sticky;
  top: 0;
  padding: 17px 20px;
  background: var(--deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.spec-table tbody th {
  text-align: left;
  font-weight: 600;
  color: var(--ink-800);
  background: var(--surface);
  white-space: nowrap;
}

.spec-table td,
.spec-table tbody th {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.65;
}

.spec-table tbody tr { transition: background .28s var(--ease); }
.spec-table tbody tr:hover { background: rgba(240, 124, 18, .05); }

.spec-table tbody tr:nth-child(even) td { background: var(--panel-2); }
.spec-table tbody tr:nth-child(even):hover td { background: transparent; }

.table-note {
  margin-top: 14px;
  font-size: .84rem;
  color: var(--ink-500);
}

/* Simple 2-col key/value list */
.kv {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.kv__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1px;
  background: var(--line);
}
.kv__row > * { background: var(--panel); padding: 15px 20px; }
.kv__row dt {
  font-weight: 600;
  color: var(--ink-800);
  background: var(--surface);
  font-size: .9rem;
}
.kv__row dd { font-size: .95rem; }

/* --------------------------------------------------------- 19. PRODUCT PAGE */
.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(36px, 4.5vw, 62px);
  align-items: start;
}
.product-layout > * { min-width: 0; }

.prose > * + * { margin-top: 22px; }
.prose h2 { margin-top: 48px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; }
.prose ul.bullets { display: grid; gap: 14px; }
.prose ul.bullets li {
  position: relative;
  padding-left: 34px;
  font-size: .99rem;
  line-height: 1.8;
}
.prose ul.bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--brand-orange);
}

.product-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
}
.product-hero-img img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Sidebar */
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }

.sidebox {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.sidebox__title {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-900);
  padding-bottom: 16px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.sidenav { display: grid; }
.sidenav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 12px;
  border-radius: 10px;
  font-size: .91rem;
  font-weight: 500;
  color: var(--ink-600);
  transition: background .3s var(--ease), color .3s var(--ease),
              padding-left .3s var(--ease);
}
.sidenav a svg { width: 14px; height: 14px; opacity: 0; transform: translateX(-6px); transition: all .3s var(--ease); }
.sidenav a:hover { background: var(--surface); color: var(--brand-orange); padding-left: 18px; }
.sidenav a:hover svg { opacity: 1; transform: none; }
.sidenav a.is-current {
  background: rgba(240, 124, 18, .1);
  color: var(--brand-orange);
  font-weight: 600;
}
.sidenav a.is-current svg { opacity: 1; transform: none; }

.sidebox--cta {
  background: linear-gradient(150deg, var(--deep), var(--brand-navy-dk));
  border-color: transparent;
  color: #fff;
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 34px 26px;
}
.sidebox--cta h3 { color: #fff; font-size: 1.3rem; }
.sidebox--cta p { color: rgba(255, 255, 255, .7); font-size: .93rem; }

/* ---------------------------------------------------------- 20. APPLICATION */
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.app-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease);
}
.app-tile::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--brand-orange);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.app-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(240, 124, 18, .38);
}
.app-tile:hover::after { transform: scaleY(1); }

.app-tile__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  flex: none;
  background: rgba(240, 124, 18, .1);
  color: var(--brand-orange);
  transition: background .45s var(--ease), color .45s var(--ease),
              transform .45s var(--ease-out-back);
}
.app-tile__icon svg { width: 21px; height: 21px; }
.app-tile:hover .app-tile__icon {
  background: var(--brand-orange);
  color: #fff;
  transform: rotate(-8deg);
}

.app-tile h3 {
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink-800);
  letter-spacing: 0;
}

/* Pill list */
.pill-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 18px;
  border-radius: 100px;
  background: var(--panel);
  border: 1px solid var(--line);
  font-size: .87rem;
  color: var(--ink-600);
  transition: all .35s var(--ease);
}
.pill:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #fff;
  transform: translateY(-3px);
}
.section--dark .pill {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .78);
}

/* ------------------------------------------------------------- 21. FORMS */
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field { display: grid; gap: 8px; position: relative; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-500);
}
.field label .req { color: var(--brand-orange); }

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 15px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: .96rem;
  color: var(--ink-800);
  transition: border-color .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }

.field input::placeholder,
.field textarea::placeholder { color: var(--ink-400); }

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  background: var(--panel);
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(240, 124, 18, .12);
}

.field.has-error input,
.field.has-error textarea { border-color: #DC3545; background: rgba(220, 53, 69, .04); }

.field__error {
  font-size: .78rem;
  color: #DC3545;
  min-height: 1em;
}

.form-note {
  margin-top: 18px;
  font-size: .84rem;
  color: var(--ink-500);
}

.form-status {
  margin-top: 18px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: .92rem;
  display: none;
}
.form-status.is-visible { display: block; animation: heroUp .5s var(--ease) both; }
.form-status.is-ok {
  background: rgba(25, 135, 84, .1);
  border: 1px solid rgba(25, 135, 84, .28);
  color: #14663F;
}
.form-status.is-bad {
  background: rgba(220, 53, 69, .08);
  border: 1px solid rgba(220, 53, 69, .28);
  color: #A32330;
}

/* Map */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  line-height: 0;
  background: var(--surface-2);
}
.map-frame iframe { width: 100%; height: 460px; border: 0; filter: grayscale(.35); transition: filter .5s var(--ease); }
.map-frame:hover iframe { filter: grayscale(0); }

/* ------------------------------------------------------------ 22. FOOTER */
.footer {
  position: relative;
  background: var(--deep);
  color: rgba(255, 255, 255, .62);
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-navy), var(--brand-orange));
}

.footer__top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.35fr;
  gap: clamp(32px, 4vw, 56px);
  padding-block: clamp(56px, 7vw, 90px);
}

.footer__brand img { height: 66px; filter: brightness(0) invert(1); }
.footer__brand p { margin-top: 22px; font-size: .94rem; color: rgba(255, 255, 255, .6); }

.footer__title {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 14px;
}
.footer__title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--brand-orange);
}

.footer__links { display: grid; gap: 13px; }
.footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .6);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer__links a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brand-orange);
  opacity: 0;
  transition: opacity .3s var(--ease);
  flex: none;
}
.footer__links a:hover { color: #fff; transform: translateX(6px); }
.footer__links a:hover::before { opacity: 1; }

.footer__contact { display: grid; gap: 18px; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: .92rem;
  color: rgba(255, 255, 255, .6);
  transition: color .3s var(--ease);
}
a.footer__contact-item:hover { color: #fff; }
.footer__contact-item i {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  flex: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--brand-orange);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.footer__contact-item i svg { width: 15px; height: 15px; }
a.footer__contact-item:hover i { background: var(--brand-orange); color: #fff; }

.footer__bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom a { transition: color .3s var(--ease); }
.footer__bottom a:hover { color: var(--brand-orange); }

.footer__glow {
  position: absolute;
  width: 620px; height: 620px;
  right: -180px; bottom: -320px;
  background: radial-gradient(circle, rgba(240, 124, 18, .18), transparent 62%);
  pointer-events: none;
}

/* ------------------------------------------------------- 23. FLOATING UI */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 700;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--brand-orange);
  color: #fff;
  box-shadow: var(--shadow-orange);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.85);
  transition: all .45s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--deep); transform: translateY(-4px); }
.to-top svg { width: 18px; height: 18px; }

.to-top__ring { position: absolute; inset: -5px; transform: rotate(-90deg); }
.to-top__ring circle {
  fill: none;
  stroke: var(--brand-orange);
  stroke-width: 2.5;
  opacity: .35;
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 86px;
  z-index: 700;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .8);
  transition: transform .4s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.06); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: ripple 2.4s var(--ease) infinite;
}
@keyframes ripple {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 950;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-orange-lt));
  box-shadow: 0 0 12px rgba(240, 124, 18, .7);
  transition: width .12s linear;
}

/* --------------------------------------------------- 24. SCROLL REVEAL */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal="left"]  { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="zoom"]  { transform: scale(.92); }
[data-reveal="fade"]  { transform: none; }

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------ 25. RESPONSIVE */
@media (max-width: 1180px) {
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1080px) {
  :root { --header-h: 78px; }

  .nav, .header__cta { display: none; }
  .burger { display: grid; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero__content { max-width: 640px; }
  .hero__visual { min-height: 320px; order: -1; }
  .hero__disc { width: min(320px, 70%); }
  .hero__chip--1 { left: 0; }
  .hero__chip--2 { right: 0; }
}

@media (max-width: 900px) {
  .split,
  .split--flip { grid-template-columns: minmax(0, 1fr); }
  .split__media { order: -1; max-width: 560px; }
  .media-accent--br { inset: 22px -14px -14px 22px; }
  .stat-badge { right: 12px; bottom: 16px; padding: 18px 20px; }
  .stat-badge b { font-size: 1.7rem; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar__socials { display: none; }
  .kv__row { grid-template-columns: 1fr; }

  /* keep the mobile landing tight — drop the disc, keep the trust bar */
  .hero__visual { display: none; }
  .hero__trust-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  :root { --gutter: 18px; }

  .topbar__inner { justify-content: center; }
  .topbar__list { justify-content: center; gap: 18px; font-size: .78rem; }
  .topbar__item span.is-long { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { padding-block: 62px 24px; }
  .hero__controls { padding-bottom: 22px; }
  .hero__scroll { display: none; }
  .hero__trust-item { padding: 16px 14px; gap: 12px; }
  .hero__trust-item > i { width: 36px; height: 36px; }
  .hero__trust-item b { font-size: 1.1rem; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { justify-content: center; text-align: center; }
  .logos::before, .logos::after { width: 50px; }
  .map-frame iframe { height: 340px; }
  .to-top { right: 16px; bottom: 16px; }
  .wa-float { right: 16px; bottom: 76px; }
}

@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .btn { padding: 14px 24px; font-size: .76rem; }
  .btn-row .btn { width: 100%; }
  .hero__controls-inner { justify-content: center; }
  .app-grid { grid-template-columns: 1fr; }
  .stat-badge { position: static; margin-top: 18px; justify-items: start; animation: none; }
}

/* --------------------------------------------- 26. MOTION PREFERENCES */
@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; transform: none; }
  .marquee__track, .logos__track { animation: none; }
  .hero__slide-bg.is-active { opacity: .3; animation: none; }
}

/* --------------------------------------------------------- 27. PRINT */
@media print {
  .preloader, .topbar, .header, .drawer, .scrim, .to-top,
  .wa-float, .scroll-progress, .marquee, .hero__controls { display: none !important; }
  body { color: #000; }
  .section--dark, .footer, .hero { background: #fff !important; color: #000 !important; }
}
