/* ==========================================================================
   RadioService.mn — public design system
   Hand-written, build-free. Sections: tokens, base, layout, components, motion
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
  --brand-900: #0a1733;
  --brand-800: #0f2250;
  --brand-700: #15306e;
  --brand-600: #1d4ed8;
  --brand-500: #2563eb;
  --brand-400: #3b82f6;
  --brand-300: #7dabfb;
  --brand-100: #dbeafe;
  --brand-50: #eff6ff;

  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-300: #67e8f9;

  --ink-900: #0b1220;
  --ink-800: #111b2e;
  --ink-700: #1e293b;
  --ink-600: #334155;
  --ink-500: #475569;
  --ink-400: #64748b;
  --ink-300: #94a3b8;
  --ink-200: #cbd5e1;
  --ink-100: #e2e8f0;
  --ink-50: #f1f5f9;
  --paper: #f8fafc;
  --white: #ffffff;

  --ok-500: #10b981;
  --warn-500: #f59e0b;
  --danger-500: #ef4444;

  --font-sans: "Commissioner", sans-serif;
  --font-display: var(--font-sans);
  --font-mono: var(--font-sans);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 24px 60px -24px rgba(15, 23, 42, .28);
  --shadow-glow: 0 0 0 1px rgba(37, 99, 235, .18), 0 18px 50px -24px rgba(37, 99, 235, .55);

  --container: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ----------------------------------------------------------------- 2. base */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-700);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--ink-900);
}

h1 { font-size: 48px; font-weight: 700; letter-spacing: -.025em; }
h2 { font-size: 32px; }
h3 { font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem); }
h4 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
b { font-weight: 500; }
strong { color: var(--ink-900); font-weight: 500; }

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

:focus-visible {
  outline: 3px solid var(--brand-400);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--ink-50); }
::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 99px; border: 3px solid var(--ink-50); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-300); }

/* --------------------------------------------------------------- 3. layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: 880px; }
.container--wide { max-width: 1420px; }

.section { padding-block: clamp(56px, 6vw, 104px); position: relative; }
.section--tight { padding-block: clamp(40px, 4vw, 64px); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink {
  background: var(--ink-900);
  color: var(--ink-200);
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }
.section--mesh { background: var(--brand-900); color: var(--ink-200); overflow: hidden; }
.section--mesh h2, .section--mesh h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 3vw, 48px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-500); font-size: 14px; margin-top: 14px; }
.section--ink .section-head p, .section--mesh .section-head p { color: var(--ink-300); }

.grid { display: grid; gap: clamp(16px, 1.6vw, 26px); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(234px, 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }

/* two-column page layouts that collapse on narrow screens */
.grid--sidebar { grid-template-columns: minmax(0, 270px) minmax(0, 1fr); gap: clamp(18px, 2vw, 30px); align-items: start; }
.grid--aside { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(22px, 2.6vw, 44px); align-items: start; }
.grid--aside-wide { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(26px, 3vw, 48px); align-items: start; }
.grid--aside-narrow { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(26px, 3vw, 48px); align-items: start; }
.grid--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 46px); align-items: start; }
.grid--story { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.grid--detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 320px); gap: clamp(20px, 2.4vw, 38px); align-items: start; }

@media (max-width: 1080px) {
  .grid--detail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .grid--detail > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .grid--sidebar,
  .grid--aside,
  .grid--aside-wide,
  .grid--aside-narrow,
  .grid--form,
  .grid--story,
  .grid--detail { grid-template-columns: minmax(0, 1fr); }
  .grid--detail > :last-child { grid-column: auto; }
  .sticky-box { position: static; }
}

.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--end { justify-content: flex-end; }
.spacer { flex: 1 1 auto; }

/* ----------------------------------------------------------- 4. typography */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--brand-600);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan-400));
  border-radius: 2px;
}
.section--ink .eyebrow, .section--mesh .eyebrow { color: var(--cyan-300); }

.gradient-text {
  background: linear-gradient(104deg, #fff 8%, var(--cyan-300) 52%, var(--brand-300) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text--dark {
  background: linear-gradient(104deg, var(--brand-700) 4%, var(--brand-500) 48%, var(--cyan-500) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead { font-size: 14px; color: var(--ink-500); }
.muted { color: var(--ink-400); }
small, .small { font-size: 14px; }
.mono { font-family: var(--font-mono); }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.prose { color: var(--ink-600); font-size: 14px; }
.prose h2 { margin: 1.8em 0 .6em; font-size: 32px; }
.prose h3 { margin: 1.5em 0 .5em; font-size: 1.22rem; }
.prose ul { margin: 0 0 1.1em; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: .55em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 6px; top: .62em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--cyan-400));
}
.prose a { color: var(--brand-600); border-bottom: 1px solid var(--brand-100); }
.prose a:hover { border-color: var(--brand-500); }

/* --------------------------------------------------------------- 5. buttons */
.btn {
  --btn-bg: var(--brand-600);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s ease, color .25s ease;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(108deg, var(--brand-500), var(--cyan-500));
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--block { width: 100%; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink-700);
  box-shadow: inset 0 0 0 1.5px var(--ink-200);
}
.btn--ghost:hover { --btn-fg: #fff; box-shadow: var(--shadow-glow); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--brand-700);
  box-shadow: var(--shadow-sm);
}
.btn--light:hover { --btn-fg: #fff; }

.btn--outline-light {
  --btn-bg: rgba(255, 255, 255, .06);
  --btn-fg: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}

.btn--soft {
  --btn-bg: var(--brand-50);
  --btn-fg: var(--brand-700);
}
.btn--soft:hover { --btn-fg: #fff; }

.btn--danger { --btn-bg: var(--danger-500); }
.btn--danger::after { background: linear-gradient(108deg, #dc2626, #f97316); }

.btn i, .btn .ico { font-size: 1.1em; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  font-size: 14px;
  color: var(--brand-600);
}
.link-arrow i { transition: transform .3s var(--ease); }
.link-arrow:hover i { transform: translateX(5px); }

.link-underline { position: relative; }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }

/* ------------------------------------------------- 6. badges, chips, pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-700);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
}
.badge--cyan { background: #ecfeff; color: #0e7490; }
.badge--amber { background: #fffbeb; color: #b45309; }
.badge--green { background: #ecfdf5; color: #047857; }
.badge--red { background: #fef2f2; color: #b91c1c; }
.badge--slate { background: var(--ink-50); color: var(--ink-500); }
.badge--glass {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px);
}
.badge--dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-xs);
  background: var(--ink-50);
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-100);
  color: var(--ink-500);
  font-size: 14px;
  font-weight: 500;
  transition: all .25s var(--ease);
}
.pill:hover { box-shadow: inset 0 0 0 1.5px var(--brand-300); color: var(--brand-700); transform: translateY(-1px); }
.pill.is-active {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 10px 24px -14px var(--brand-600);
}

/* ----------------------------------------------------------------- 7. cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow-xs);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--brand-100), var(--shadow-lg); }

.card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, var(--ink-50), #fff);
  overflow: hidden;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__media--contain { background: var(--ink-50); }
.card__media--contain img { object-fit: contain; padding: 14px; }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; }
.card__corner { position: absolute; top: 12px; right: 12px; z-index: 2; }
.card__title { font-family: var(--font-display); font-size: 1.04rem; font-weight: 500; color: var(--ink-900); }
.card__meta { font-size: 14px; color: var(--ink-400); }
.card__foot { margin-top: auto; padding-top: 14px; }

/* gradient border glow card */
.card--glow::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--brand-400), var(--cyan-400), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.card--glow:hover::before { opacity: 1; }

/* icon tile */
.icon-tile {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--brand-50), #fff);
  box-shadow: inset 0 0 0 1px var(--brand-100);
  color: var(--brand-600);
  font-size: 1.4rem;
  flex: 0 0 auto;
  transition: transform .45s var(--ease), background .35s ease, color .35s ease;
}
.card:hover .icon-tile, .feature:hover .icon-tile {
  transform: rotate(-6deg) scale(1.08);
  background: linear-gradient(145deg, var(--brand-600), var(--cyan-500));
  color: #fff;
}
.icon-tile--lg { width: 60px; height: 60px; font-size: 1.7rem; }
.icon-tile--glass {
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
  color: var(--cyan-300);
}

/* feature card */
.feature {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, .1), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease), transform .7s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature:hover::after { opacity: 1; transform: scale(1.3); }
.feature h3 { font-size: 1.1rem; }
.feature p { color: var(--ink-500); font-size: 14px; }

.feature--glass {
  background: rgba(255, 255, 255, .04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  color: var(--ink-300);
}
.feature--glass h3 { color: #fff; }
.feature--glass p { color: var(--ink-300); }

/* ---------------------------------------------------------- 8. site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(16px) saturate(170%);
  box-shadow: 0 1px 0 var(--ink-100);
  transition: box-shadow .35s var(--ease), background .35s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(15, 23, 42, .45); }

.site-header__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: var(--header-h);
  min-width: 0;
  position: relative;
}

.brand { display: flex; align-items: center; gap: 12px; flex: 0 1 auto; min-width: 0; }
.brand__name { min-width: 0; }
.brand__mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--brand-700), var(--brand-500) 55%, var(--cyan-500));
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 10px 24px -14px var(--brand-600);
  overflow: hidden;
  flex: 0 0 auto;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .5) 50%, transparent 68%);
  transform: translateX(-120%);
  transition: transform .8s var(--ease);
}
.brand:hover .brand__mark::after { transform: translateX(120%); }
.brand__logo { display: block; flex: 0 0 auto; width: auto; max-width: none; height: 60px; object-fit: contain; }
.brand__name {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
  font-size: 1.16rem;
  color: var(--ink-900);
}
.brand__name span { color: var(--brand-600); }
.brand__tag {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-400);
}

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; flex: 0 1 auto; }
.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-600);
  transition: color .25s ease, background .25s ease;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--brand-600); background: var(--brand-50); }
.nav__link.is-active { color: var(--brand-700); font-weight: 500; }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan-400));
}
.nav__link i.caret { font-size: 14px; transition: transform .3s var(--ease); }
.nav__item:hover .caret { transform: rotate(180deg); }

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

.basket-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-100);
  color: var(--ink-700);
  font-size: 14px;
  font-weight: 500;
  transition: all .3s var(--ease);
}
.basket-btn:hover { box-shadow: inset 0 0 0 1.5px var(--brand-300); color: var(--brand-700); }
.basket-btn__count {
  display: grid;
  place-items: center;
  min-width: 21px; height: 21px;
  padding-inline: 5px;
  border-radius: 99px;
  background: var(--brand-600);
  color: #fff;
  font-size: .7rem;
  font-weight: 500;
  font-family: var(--font-mono);
}
.basket-btn.is-bumped { animation: bump .45s var(--ease); }

/* mega menu */
.mega {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(920px, calc(100vw - 40px));
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
  z-index: 50;
}
.nav__item:hover > .mega, .nav__item:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.mega__title {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-400);
  margin-bottom: 11px;
}
.mega__link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-600);
  transition: background .22s ease, color .22s ease, transform .3s var(--ease);
}
.mega__link:hover { background: var(--brand-50); color: var(--brand-700); transform: translateX(3px); }
.mega__link i { color: var(--brand-500); font-size: 1.1rem; }
.mega__link small { display: block; font-size: 14px; color: var(--ink-400); font-weight: 300; }
.mega__link--featured { background: var(--brand-50); color: var(--brand-700); font-weight: 500; margin-bottom: 6px; box-shadow: inset 0 0 0 1px var(--brand-100); }
.mega__link--featured i { color: var(--brand-600); }
.mobile-nav__featured { color: var(--brand-600) !important; font-weight: 500; }
.pill--featured { background: var(--brand-600); color: #fff; box-shadow: none; }
.pill--featured i { color: #fff; }
.pill--featured:hover { background: var(--brand-700); color: #fff; }
.nexedge-diagram { display: block; width: auto; max-width: 100%; height: auto; margin-inline: auto; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--ink-100); }
.nexedge-test { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: inset 0 0 0 1px var(--ink-100); }
.nexedge-test img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.nexedge-test figcaption { padding: 13px 16px; font-weight: 500; font-size: 14px; color: var(--ink-700); }
.mega__promo {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--brand-900), var(--brand-700));
  color: var(--ink-200);
}
.mega__promo h4 { color: #fff; margin-bottom: 8px; }
.mega__promo p { font-size: 14px; color: var(--ink-300); margin-bottom: 14px; }

/* mobile nav */
.burger {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--ink-50);
  color: var(--ink-700);
  font-size: 1.4rem;
}
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 190;
  padding: 22px 20px 40px;
  background: var(--white);
  overflow-y: auto;
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: all .35s var(--ease);
}
.mobile-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-nav__group { border-bottom: 1px solid var(--ink-100); padding-block: 6px; }
.mobile-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 13px 2px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--ink-900);
  text-align: left;
}
.mobile-nav__head i { transition: transform .3s var(--ease); color: var(--ink-400); }
.mobile-nav__group.is-open .mobile-nav__head i { transform: rotate(180deg); }
.mobile-nav__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.mobile-nav__group.is-open .mobile-nav__panel { grid-template-rows: 1fr; }
.mobile-nav__panel > div { overflow: hidden; }
.mobile-nav__panel a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-600);
}
.mobile-nav__panel a:hover { background: var(--brand-50); color: var(--brand-700); }

/* scroll progress */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 300;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan-400));
  box-shadow: 0 0 14px rgba(34, 211, 238, .7);
  transition: width .1s linear;
}

/* ------------------------------------------------------------------ 9. hero */
.hero {
  position: relative;
  padding-block: clamp(60px, 7vw, 120px);
  background: var(--brand-900);
  color: var(--ink-200);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
  filter: saturate(.45) contrast(1.05);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, var(--brand-900) 14%, rgba(10, 23, 51, .82) 46%, rgba(10, 23, 51, .55) 100%),
    linear-gradient(to top, rgba(10, 23, 51, .9), transparent 46%);
}
.hero__mesh {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(42% 40% at 18% 22%, rgba(37, 99, 235, .55), transparent 65%),
    radial-gradient(38% 38% at 82% 18%, rgba(6, 182, 212, .4), transparent 62%),
    radial-gradient(45% 45% at 62% 88%, rgba(29, 78, 216, .38), transparent 65%);
  animation: meshDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 25%, transparent 78%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .18), transparent 68%);
  pointer-events: none;
  transition: transform .5s var(--ease-out);
}

.hero__inner { position: relative; display: grid; gap: clamp(32px, 4vw, 60px); grid-template-columns: 1.08fr .92fr; align-items: center; }
.hero h1 { color: #fff; margin-block: 16px 20px; }
.hero__sub { font-size: 14px; color: var(--ink-300); max-width: 56ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero__trust-item { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-300); }
.hero__trust-item i { color: var(--cyan-300); font-size: 1.05rem; }

/* hero stat panel */
.hero__panel {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
}
.hero__panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.hero__panel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--ok-500);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, .55);
  animation: livePulse 2.4s infinite;
}
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; }
.hero__stat {
  padding: 18px 16px;
  background: rgba(255, 255, 255, .04);
  transition: background .3s ease;
}
.hero__stat:hover { background: rgba(255, 255, 255, .09); }
.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -.03em;
}
.hero__stat span { font-size: 14px; color: var(--ink-300); }

/* animated radio waves */
.waves { position: absolute; right: -8%; top: 50%; transform: translateY(-50%); z-index: -1; pointer-events: none; }
.waves span {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(125, 171, 251, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(.3);
  animation: ripple 5s linear infinite;
}
.waves span:nth-child(1) { width: 260px; height: 260px; animation-delay: 0s; }
.waves span:nth-child(2) { width: 260px; height: 260px; animation-delay: 1.25s; }
.waves span:nth-child(3) { width: 260px; height: 260px; animation-delay: 2.5s; }
.waves span:nth-child(4) { width: 260px; height: 260px; animation-delay: 3.75s; }

/* page hero (inner pages) */
.page-hero {
  position: relative;
  padding-block: clamp(44px, 5vw, 78px);
  background: var(--brand-900);
  color: var(--ink-200);
  overflow: hidden;
  isolation: isolate;
}
.page-hero h1 { color: #fff; margin-block: 14px 14px; }
.page-hero p { color: var(--ink-300); max-width: 68ch; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-400);
}
.breadcrumbs a { color: var(--ink-400); }
.breadcrumbs a:hover { color: var(--brand-600); }
.breadcrumbs i { font-size: 14px; opacity: .55; }
.breadcrumbs span.current { color: var(--ink-700); font-weight: 500; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: rgba(255, 255, 255, .62); }
.page-hero .breadcrumbs span.current { color: #fff; }

/* --------------------------------------------------- 10. content sections */
/* stats strip */
.stats-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--ink-100); border-radius: var(--radius-lg); overflow: hidden; }
.stat {
  position: relative;
  padding: 28px 24px;
  background: var(--white);
  transition: background .35s ease;
}
.stat:hover { background: var(--brand-50); }
.stat i { font-size: 1.5rem; color: var(--brand-500); }
.stat b {
  display: block;
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1.3vw, 2.5rem);
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -.035em;
}
.stat span { font-size: 14px; color: var(--ink-400); }

/* brand marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 8px;
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 18px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
  white-space: nowrap;
  transition: all .3s var(--ease);
}
.marquee__item:hover { color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-200, var(--brand-100)), var(--shadow-sm); }
.marquee__item i { color: var(--brand-500); font-size: 1.1rem; }
.marquee__logo { display: block; width: auto; height: 34px; max-width: 170px; object-fit: contain; }
.marquee__item--ink { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: var(--ink-200); }

/* process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.step { position: relative; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 12px;
  line-height: 1;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: -.05em;
  color: var(--brand-100);
  z-index: 0;
  transition: color .4s ease, transform .5s var(--ease);
}
.step:hover::before { color: var(--brand-300); transform: translateY(-3px); }
.step__line {
  position: relative;
  height: 2px;
  margin-bottom: 16px;
  background: var(--ink-100);
  border-radius: 2px;
  overflow: hidden;
  z-index: 1;
}
.step__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.step.is-visible .step__line::after { transform: scaleX(1); }
.step h3 { position: relative; z-index: 1; font-size: 1.08rem; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--ink-500); }
.section--ink .step::before { color: rgba(255, 255, 255, .1); }
.section--ink .step__line { background: rgba(255, 255, 255, .12); }
.section--ink .step p { color: var(--ink-300); }

/* timeline */
.timeline { position: relative; padding-left: 34px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-400), var(--cyan-400), transparent);
  border-radius: 2px;
}
.timeline__item { position: relative; padding-bottom: 30px; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -34px; top: 7px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brand-500), 0 0 0 7px var(--brand-50);
  transition: box-shadow .4s ease, transform .4s var(--ease);
}
.timeline__item:hover::before { transform: scale(1.18); box-shadow: 0 0 0 3px var(--cyan-500), 0 0 0 9px #ecfeff; }
.timeline__item h4 { font-family: var(--font-display); font-size: 1.22rem; color: var(--brand-700); margin-bottom: 5px; }
.timeline__item p { color: var(--ink-500); font-size: 14px; }

/* horizontal history timeline */
.h-timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 300px);
  align-items: start;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 34px 2px 14px;
  background: linear-gradient(90deg, var(--brand-400), var(--cyan-400)) 0 15px / 100% 2px no-repeat;
  scrollbar-width: thin;
}
.h-timeline:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 4px; border-radius: var(--radius); }
.h-timeline__item {
  position: relative;
  scroll-snap-align: start;
  padding: 20px 20px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ink-100);
}
.h-timeline__item::before {
  content: "";
  position: absolute;
  left: 20px; top: -27px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--brand-500), 0 0 0 7px var(--brand-50);
}
.h-timeline__item h4 { font-family: var(--font-display); font-size: 1.3rem; color: var(--brand-700); margin-bottom: 6px; }
.h-timeline__item p { color: var(--ink-500); font-size: 14px; }

/* CTA band */
.cta-band {
  position: relative;
  padding: clamp(34px, 4vw, 58px);
  border-radius: var(--radius-xl);
  background: linear-gradient(130deg, var(--brand-900) 2%, var(--brand-700) 48%, #0e7490 100%);
  color: var(--ink-200);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 72%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 60ch; margin-top: 12px; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }

/* contact cards */
.contact-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-card h4 { margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--ink-500); }
.contact-card a:hover { color: var(--brand-600); }

/* ------------------------------------------------------ 11. product module */
.filter-bar {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow-xs);
}
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; align-items: end; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label, .label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-400);
}
.input, .select, .textarea {
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-100);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-800);
  transition: box-shadow .25s ease, background .25s ease;
}
.input:hover, .select:hover, .textarea:hover { box-shadow: inset 0 0 0 1.5px var(--ink-200); }
.input:focus, .select:focus, .textarea:focus {
  outline: 0;
  box-shadow: inset 0 0 0 2px var(--brand-500), 0 0 0 4px var(--brand-50);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-300); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 38px;
}
.field--search { position: relative; }
.field--search .input { padding-left: 40px; }
.field--search i {
  position: absolute;
  left: 14px; bottom: 12px;
  color: var(--ink-300);
  font-size: 1.1rem;
  pointer-events: none;
}
.field__error { font-size: 14px; color: var(--danger-500); font-weight: 400; }
.field__hint { font-size: 14px; color: var(--ink-400); }
.input.has-error, .textarea.has-error, .select.has-error { box-shadow: inset 0 0 0 2px var(--danger-500); }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 9px;
  margin-inline: -9px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--ink-600);
  cursor: pointer;
  transition: background .2s ease;
}
.check:hover { background: var(--brand-50); }
.check input { margin-top: 3px; accent-color: var(--brand-600); width: 16px; height: 16px; flex: 0 0 auto; }
.check span small { display: block; font-size: 14px; color: var(--ink-400); }

/* facets sidebar */
.facets { display: flex; flex-direction: column; gap: 6px; }
.facet {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  overflow: hidden;
}
.facet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-800);
  text-align: left;
}
.facet__head i { color: var(--ink-400); transition: transform .3s var(--ease); }
.facet.is-open .facet__head i { transform: rotate(180deg); }
.facet__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.facet.is-open .facet__panel { grid-template-rows: 1fr; }
.facet__panel > div { overflow: hidden; padding: 0 16px 14px; }

/* facet options: list rows (radio) and checkboxes, count on the right */
.facet-list { display: flex; flex-direction: column; gap: 2px; }
.facet-option,
.facet-check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 8px 10px;
  margin-inline: -10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.35;
  color: var(--ink-700);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.facet-option:hover,
.facet-check:hover { background: var(--ink-50); }
.facet-option > input,
.facet-check > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.facet-option:has(input:focus-visible),
.facet-check:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--brand-400); }
.facet-option__chevron { flex: 0 0 auto; margin-left: -2px; font-size: 18px; color: var(--ink-700); transition: transform .25s var(--ease); }
.facet-option__chevron.is-expanded { transform: rotate(90deg); }
.facet-option__chevron--placeholder { visibility: hidden; }
.facet-option__label { flex: 1 1 auto; min-width: 0; }
.facet-option__count { flex: 0 0 auto; margin-left: 12px; font-size: 14px; color: var(--ink-300); font-variant-numeric: tabular-nums; }
.facet-option--child { padding-left: 38px; color: var(--ink-500); }

.facet-option:has(input:checked) { color: var(--brand-600); }
.facet-option:has(input:checked) .facet-option__label { font-weight: 700; }
.facet-option:has(input:checked) .facet-option__count { color: var(--ink-700); font-weight: 600; }
.facet-option:has(input:checked) .facet-option__chevron { color: var(--brand-600); }

.facet-check__box {
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--ink-200);
  border-radius: 5px;
  background: var(--white);
  transition: background .2s ease, border-color .2s ease;
}
.facet-check__box i { font-size: 16px; line-height: 1; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.facet-check:hover .facet-check__box { border-color: var(--ink-300); }
.facet-check:has(input:checked) .facet-check__box { border-color: var(--brand-600); background: var(--brand-600); }
.facet-check:has(input:checked) .facet-check__box i { opacity: 1; transform: none; }
.facet-check:has(input:checked) .facet-option__label { font-weight: 700; color: var(--ink-900); }
.facet-check:has(input:checked) .facet-option__count { color: var(--ink-700); font-weight: 600; }

/* product card specifics */
.product-card__model { font-family: var(--font-display); font-size: 1.06rem; font-weight: 500; color: var(--ink-900); letter-spacing: -.02em; }
.product-card__brand {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-xs);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-600);
  z-index: 2;
}
.product-card__actions { display: flex; gap: 8px; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 1.15rem;
  flex: 0 0 auto;
  transition: all .3s var(--ease);
}
.icon-btn:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.icon-btn.is-in { background: var(--ok-500); color: #fff; }

.result-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.result-count { font-size: 14px; color: var(--ink-500); }
.result-count b { color: var(--ink-900); font-family: var(--font-mono); }

.empty-state {
  padding: 60px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
}
.empty-state i { font-size: 2.6rem; color: var(--ink-200); }
.empty-state h3 { margin: 14px 0 8px; }
.empty-state p { color: var(--ink-400); max-width: 44ch; margin-inline: auto; }

/* pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.pagination a, .pagination span {
  display: grid;
  place-items: center;
  min-width: 40px; height: 40px;
  padding-inline: 12px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-600);
  transition: all .25s var(--ease);
}
.pagination a:hover { color: var(--brand-700); box-shadow: inset 0 0 0 1.5px var(--brand-300); transform: translateY(-2px); }
.pagination .is-current { background: var(--brand-600); color: #fff; box-shadow: 0 8px 20px -12px var(--brand-600); }
.pagination .is-disabled { opacity: .42; pointer-events: none; }

/* product detail */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--ink-50), #fff);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .6s var(--ease), opacity .3s ease; }
.gallery__main[data-zoom-stage] { cursor: zoom-in; user-select: none; -webkit-user-select: none; }
.gallery__main.is-zoomed { cursor: grab; touch-action: none; }
.gallery__main.is-zoomed:active { cursor: grabbing; }
.gallery__main img { transform-origin: center; will-change: transform; }
.gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery__thumb {
  width: 76px; height: 64px;
  border: 0;
  padding: 5px;
  border-radius: var(--radius-sm);
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-100);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb:hover { box-shadow: inset 0 0 0 1.5px var(--brand-300); transform: translateY(-2px); }
.gallery__thumb.is-active { box-shadow: inset 0 0 0 2px var(--brand-600); }

/* zoom controls on the product image */
.zoom-controls {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px var(--ink-100), var(--shadow-sm);
  backdrop-filter: blur(6px);
}
.zoom-controls__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-700);
  font-size: 20px;
  transition: background .2s ease, color .2s ease;
}
.zoom-controls__btn:hover { background: var(--brand-50); color: var(--brand-600); }
.zoom-controls__btn:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 1px; }

/* full-screen image viewer */
.has-lightbox { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 13, 26, .94);
  color: #fff;
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  position: absolute;
  inset: 64px 72px 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.lightbox__stage:active { cursor: grabbing; }
.lightbox__stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center; will-change: transform; }
.lightbox button {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .2s ease;
}
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox button:focus-visible { outline: 2px solid var(--cyan-300); outline-offset: 2px; }
.lightbox__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; }
.lightbox__nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; font-size: 28px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--next { right: 16px; }
.lightbox--single .lightbox__nav { display: none; }
.lightbox__toolbar {
  position: absolute;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .08);
  transform: translateX(-50%);
}
.lightbox__toolbar button { width: 40px; height: 40px; border-radius: 50%; font-size: 20px; }
.lightbox__level { min-width: 52px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.lightbox__count { padding: 0 10px 0 4px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.lightbox__count:empty { display: none; }
@media (max-width: 680px) {
  .lightbox__stage { inset: 64px 8px 88px; }
  .lightbox__nav { top: auto; bottom: 22px; margin-top: 0; width: 40px; height: 40px; }
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table tr { border-bottom: 1px solid var(--ink-100); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table tr:hover { background: var(--brand-50); }
.spec-table th {
  width: 42%;
  padding: 13px 14px;
  text-align: left;
  font-weight: 500;
  color: var(--ink-500);
  vertical-align: top;
}
.spec-table td { padding: 13px 14px; color: var(--ink-800); font-weight: 400; }

/* tabs */
.tabs { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--ink-100); overflow-x: auto; }
.tabs__btn {
  position: relative;
  padding: 13px 18px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-400);
  white-space: nowrap;
  transition: color .25s ease;
}
.tabs__btn:hover { color: var(--ink-700); }
.tabs__btn.is-active { color: var(--brand-700); }
.tabs__ink {
  position: absolute;
  bottom: -1px; left: 0;
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brand-500), var(--cyan-400));
  transition: transform .4s var(--ease), width .4s var(--ease);
}
.tabs__panel { display: none; padding-top: 26px; animation: fadeUp .5s var(--ease); }
.tabs__panel.is-active { display: block; }

/* sticky quote box */
.sticky-box {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow);
}
.qty { display: flex; align-items: center; gap: 2px; }
.qty button {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 0;
  background: var(--ink-50);
  color: var(--ink-600);
  font-size: 1.2rem;
  transition: background .25s ease, color .25s ease;
}
.qty button:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.qty button:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.qty button:hover { background: var(--brand-600); color: #fff; }
.qty input {
  width: 58px; height: 38px;
  border: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink-100);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-800);
}
.qty input:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--brand-500); }

/* ----------------------------------------------------- 12. solution module */
.solution-tabs { display: flex; flex-wrap: wrap; gap: 8px; }

.dim-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.dim-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--brand-500), var(--cyan-400));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .5s var(--ease);
}
.dim-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.dim-card:hover::before { transform: scaleY(1); }
.dim-card h3 { font-size: 1.04rem; }
.dim-card p { font-size: 14px; color: var(--ink-500); }
.dim-card__bullets { display: flex; flex-direction: column; gap: 7px; margin-top: auto; padding-top: 6px; }
.dim-card__bullets li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-500); }
.dim-card__bullets i { color: var(--cyan-500); margin-top: 2px; flex: 0 0 auto; }

/* the 4-part solution detail layout */
.part { margin-bottom: clamp(38px, 4vw, 64px); }
.part__head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.part__num {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--brand-600), var(--cyan-500));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 500;
  box-shadow: 0 12px 26px -16px var(--brand-600);
  flex: 0 0 auto;
}
.part__head h2 { font-size: 32px; }
.part__head p { color: var(--ink-500); font-size: 14px; margin-top: 6px; }

/* client logos */
.client-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.client-logo { display: grid; place-items: center; height: 96px; padding: 12px 14px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--ink-100); }
.client-logo img { display: block; width: 100%; height: 72px; object-fit: contain; }

/* service center photos */
.service-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.service-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }

/* completed projects: 3-column cards with photo and date */
.project-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.project-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow); }
.project-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-50); }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.04); }
.project-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.project-card__date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 14px;
  font-weight: 500;
}
.project-card__title { font-size: 1.04rem; line-height: 1.3; }
.project-card p { margin: 0; font-size: 14px; color: var(--ink-500); }
@media (max-width: 1080px) { .project-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .project-cards { grid-template-columns: minmax(0, 1fr); } }

/* certificates on the About page */
.certificate-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.certificate-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.certificate-card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--ink-100), var(--shadow); }
.certificate-card__media {
  display: block;
  aspect-ratio: 1 / 1.1;
  padding: 18px 18px 0;
  background: var(--ink-50);
  overflow: hidden;
}
.certificate-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: #fff;
  box-shadow: 0 10px 24px -14px rgba(15, 23, 42, .35);
  transition: transform .6s var(--ease);
}
.certificate-card:hover .certificate-card__media img { transform: translateY(-4px); }
.certificate-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 20px 20px; }
.certificate-card__issuer { font-size: 14px; font-weight: 500; color: var(--brand-600); }
.certificate-card__title { font-size: 1.06rem; line-height: 1.3; }
@media (max-width: 1080px) { .certificate-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .certificate-cards { grid-template-columns: minmax(0, 1fr); } }

/* needs panel */
.needs-panel {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--ink-50), #fff);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  overflow: hidden;
  min-height: 260px;
}
.needs-panel__content { position: relative; z-index: 1; }

/* system diagram */
.net-diagram {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--brand-900), var(--brand-700));
  overflow: hidden;
}
.net-diagram::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.net-diagram__row { position: relative; display: flex; gap: 26px; justify-content: center; }
.net-diagram__tower { display: flex; flex-direction: column; align-items: center; gap: 4px; color: rgba(255, 255, 255, .72); }
.net-diagram__tower i:first-child { font-size: 1.9rem; }
.net-diagram__tower i:last-child { font-size: .78rem; color: var(--cyan-300); animation: blink 2.2s infinite; }
.net-diagram__tower:nth-child(2) i:last-child { animation-delay: .5s; }
.net-diagram__tower:nth-child(3) i:last-child { animation-delay: 1s; }
.net-diagram__cloud {
  position: relative;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #fff;
}
.net-diagram__radios { position: relative; display: flex; gap: 12px; color: rgba(255, 255, 255, .8); font-size: 1.15rem; }
.net-diagram__radios i { animation: floaty 3.4s ease-in-out infinite; }
.net-diagram__radios i:nth-child(2) { animation-delay: .3s; }
.net-diagram__radios i:nth-child(3) { animation-delay: .6s; }
.net-diagram__radios i:nth-child(4) { animation-delay: .9s; }
.net-diagram__radios i:nth-child(5) { animation-delay: 1.2s; }
.net-diagram__scale {
  position: relative;
  margin-top: 4px;
  text-align: center;
}
.net-diagram__scale b { display: block; color: #fff; font-family: var(--font-display); font-size: 14px; }
.net-diagram__scale span { font-size: 14px; color: rgba(255, 255, 255, .62); }

/* function icon grid */
.fn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 14px; }
.fn-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 10px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  text-align: center;
  transition: all .4s var(--ease);
}
.fn-tile i { font-size: 1.7rem; color: var(--brand-500); transition: transform .45s var(--ease), color .3s ease; }
.fn-tile span { font-size: 14px; font-weight: 500; color: var(--ink-600); }
.fn-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fn-tile:hover i { transform: scale(1.18) rotate(-7deg); color: var(--cyan-500); }

/* industry hero card */
.industry-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 268px;
  padding: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.industry-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 23, 51, .95) 4%, rgba(10, 23, 51, .5) 46%, rgba(10, 23, 51, .15) 100%);
  transition: background .5s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-card:hover::after { background: linear-gradient(to top, rgba(29, 78, 216, .92) 2%, rgba(10, 23, 51, .58) 52%, rgba(10, 23, 51, .2) 100%); }
.industry-card h3 { color: #fff; font-size: 1.14rem; }
.industry-card p { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 6px; }
.industry-card__icon {
  position: absolute;
  top: 18px; left: 18px;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26);
  backdrop-filter: blur(6px);
  font-size: 1.25rem;
  color: #fff;
}
.industry-card__go {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cyan-300);
}
.industry-card__go i { transition: transform .35s var(--ease); }
.industry-card:hover .industry-card__go i { transform: translateX(5px); }

/* ---------------------------------------------------- 13. FAQ / accordion */
.accordion { display: flex; flex-direction: column; gap: 10px; }
.acc-item {
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  overflow: hidden;
  transition: box-shadow .35s ease;
}
.acc-item.is-open { box-shadow: inset 0 0 0 1.5px var(--brand-200, var(--brand-100)), var(--shadow-sm); }
.acc-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 17px 20px;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-800);
  text-align: left;
  line-height: 1.45;
}
.acc-item__head:hover { color: var(--brand-700); }
.acc-item__icon {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  font-size: 1.1rem;
  flex: 0 0 auto;
  transition: transform .4s var(--ease), background .3s ease, color .3s ease;
}
.acc-item.is-open .acc-item__icon { transform: rotate(135deg); background: var(--brand-600); color: #fff; }
.acc-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s var(--ease); }
.acc-item.is-open .acc-item__panel { grid-template-rows: 1fr; }
.acc-item__panel > div { overflow: hidden; }
.acc-item__panel .inner { padding: 0 20px 20px; color: var(--ink-500); font-size: 14px; }

/* document rows */
.doc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.doc-row:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1.5px var(--brand-300), var(--shadow-sm); }
.doc-row__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 1.4rem;
  flex: 0 0 auto;
}
.doc-row__main { flex: 1; min-width: 0; }
.doc-row__main h4 { font-size: 14px; }
.doc-row__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 5px; font-size: 14px; color: var(--ink-400); }

/* ------------------------------------------------------------- 14. tables */
.table-wrap {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink-100);
  overflow: hidden;
}
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th {
  padding: 13px 16px;
  background: var(--ink-50);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-400);
  text-align: left;
  white-space: nowrap;
}
.table td { padding: 14px 16px; border-top: 1px solid var(--ink-100); color: var(--ink-600); vertical-align: middle; }
.table tbody tr { transition: background .22s ease; }
.table tbody tr:hover { background: var(--brand-50); }
.table__thumb { width: 54px; height: 44px; border-radius: 8px; object-fit: contain; background: var(--ink-50); padding: 3px; }

/* ------------------------------------------------------------- 15. footer */
.site-footer {
  position: relative;
  padding-block: clamp(44px, 5vw, 72px) 0;
  background: var(--ink-900);
  color: var(--ink-300);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 12% 0%, rgba(37, 99, 235, .22), transparent 68%);
  pointer-events: none;
}
.site-footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 15px;
}
.site-footer a { color: var(--ink-300); font-size: 14px; transition: color .25s ease, transform .3s var(--ease); display: inline-block; }
.site-footer a:hover { color: #fff; transform: translateX(3px); }
.site-footer li { margin-bottom: 9px; }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__logo { height: 104px; padding: 10px 14px; background: #fff; border-radius: 12px; }
.site-footer .brand__name span { color: var(--cyan-300); }
.site-footer .brand__tag { color: var(--ink-400); }

.social { display: flex; gap: 9px; margin-top: 18px; }
.social a {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  color: var(--ink-200);
  font-size: 1.1rem;
  transition: all .3s var(--ease);
}
.social a:hover { background: var(--brand-600); color: #fff; transform: translateY(-3px); }

.footer-bottom {
  position: relative;
  margin-top: 42px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-400);
}

/* floating helpers */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 180;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-600);
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 16px 34px -16px var(--brand-600);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all .4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-700); transform: translateY(-3px); }

.toast-stack { position: fixed; right: 20px; bottom: 82px; z-index: 260; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  max-width: 380px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--ink-900);
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  box-shadow: var(--shadow-lg);
  animation: toastIn .45s var(--ease);
}
.toast i { font-size: 1.25rem; color: var(--cyan-300); flex: 0 0 auto; }
.toast--ok i { color: #34d399; }
.toast--err i { color: #f87171; }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }

.alert {
  display: flex;
  gap: 12px;
  padding: 15px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 400;
}
.alert i { font-size: 1.25rem; flex: 0 0 auto; }
.alert--ok { background: #ecfdf5; color: #065f46; box-shadow: inset 0 0 0 1px #a7f3d0; }
.alert--err { background: #fef2f2; color: #991b1b; box-shadow: inset 0 0 0 1px #fecaca; }
.alert--info { background: var(--brand-50); color: var(--brand-700); box-shadow: inset 0 0 0 1px var(--brand-100); }
.alert--warn { background: #fffbeb; color: #92400e; box-shadow: inset 0 0 0 1px #fde68a; }

/* ------------------------------------------------- 16. motion & keyframes */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal="left"] { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="blur"] { filter: blur(10px); transform: translateY(18px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

[data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(1) { transition-delay: .04s; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .11s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .18s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .25s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: .39s; }
[data-stagger].is-visible > *:nth-child(7) { transition-delay: .46s; }
[data-stagger].is-visible > *:nth-child(8) { transition-delay: .53s; }
[data-stagger].is-visible > *:nth-child(n+9) { transition-delay: .6s; }

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

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

@keyframes ripple {
  0% { transform: translate(-50%, -50%) scale(.26); opacity: .85; }
  80% { opacity: .06; }
  100% { transform: translate(-50%, -50%) scale(2.7); opacity: 0; }
}

@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, .6); }
  70% { box-shadow: 0 0 0 11px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes bump {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.11); }
  70% { transform: scale(.97); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .22; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(28px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(28px) scale(.96); }
}

@keyframes shimmer {
  to { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, var(--ink-50) 25%, var(--ink-100) 37%, var(--ink-50) 63%);
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
  border-radius: var(--radius-sm);
}

/* ---------------------------------------------------------- 17. responsive */
@media (max-width: 1340px) {
  .brand__tag { display: none; }
  .nav__link { padding-inline: 9px; font-size: 14px; }
  .nav__link.is-active::after { left: 9px; right: 9px; }
}

@media (max-width: 1180px) {
  .header__actions .btn--quote-label { display: none; }
}

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 560px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .header__actions .btn--quote-label { display: none; }
  .waves { display: none; }
}

@media (max-width: 680px) {
  :root { --header-h: 66px; }
  /* sideways reveals would push content past the viewport on narrow screens */
  [data-reveal="left"], [data-reveal="right"] { transform: translateY(22px); }
  .brand__name { font-size: 1.02rem; }
  .header__actions .btn { display: none; }
  .basket-btn { padding: 9px 12px; }
  .basket-btn .btn--quote-label { display: none; }
  .section { padding-block: 44px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .spec-table th { width: 46%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .toast-stack { right: 12px; left: 12px; bottom: 76px; }
  .toast { min-width: 0; max-width: none; }
  .timeline { padding-left: 28px; }
  .timeline__item::before { left: -28px; }
}

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

@media print {
  .site-header, .site-footer, .to-top, .toast-stack, .hero__mesh, .hero__grid { display: none !important; }
  body { background: #fff; }
}

/* utilities */
.u-mt-0 { margin-top: 0 !important; }
.u-mt-1 { margin-top: 8px; }
.u-mt-2 { margin-top: 16px; }
.u-mt-3 { margin-top: 24px; }
.u-mt-4 { margin-top: 34px; }
.u-mb-2 { margin-bottom: 16px; }
.u-mb-3 { margin-bottom: 24px; }
.u-center { text-align: center; }
.u-right { text-align: right; }
.u-hide { display: none !important; }
.u-full { width: 100%; }
.u-relative { position: relative; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
