/* =============================================================
   TEKROOTS MIDDLE EAST — design system
   Palette lifted from the live brand:
   navy #022940 · deep #0d141a · purple #29103c · accent #00EDF9
   violet #9a53d0 · brand blue #157FBB · lavender #f6f0f9
   ============================================================= */

/* ---------- tokens ---------- */
:root {
  --navy:        #022940;
  --navy-2:      #063a5b;
  --deep:        #0d141a;
  --purple:      #29103c;
  --violet:      #9a53d0;
  --accent:      #00edf9;
  --accent-2:    #45c8e2;
  --blue:        #157fbb;
  --lav:         #f6f0f9;
  --lav-2:       #ece2f2;
  --ink:         #19111d;
  --grey:        #878c95;
  --white:       #ffffff;

  --grad-brand:  linear-gradient(115deg, #7b3fb0 0%, #9a53d0 42%, #4a9fd4 100%);
  --grad-accent: linear-gradient(120deg, #00edf9 0%, #45c8e2 45%, #9a53d0 100%);
  --grad-deep:  linear-gradient(160deg, #022940 0%, #0d141a 55%, #29103c 100%);

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Rubik", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Anonymous Pro", ui-monospace, "SFMono-Regular", monospace;

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --sh-1: 0 2px 10px rgba(2, 41, 64, .06);
  --sh-2: 0 18px 40px -18px rgba(2, 41, 64, .28);
  --sh-3: 0 40px 90px -30px rgba(2, 41, 64, .45);
  --sh-glow: 0 0 0 1px rgba(0, 237, 249, .28), 0 22px 60px -20px rgba(0, 237, 249, .45);

  --ease: cubic-bezier(.22, .68, 0, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: .55s var(--ease-out);

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 0.4vw + 14px, 17px);
  line-height: 1.68;
  color: var(--ink);
  background: var(--lav);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
::selection { background: var(--accent); color: var(--navy); }

.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;
}

.hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }

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

/* ---------- ambient layers ---------- */
.noise {
  position: fixed; inset: 0; z-index: 9000; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9500;
  background: rgba(255, 255, 255, .06);
}
.scroll-progress i {
  display: block; height: 100%; width: 0%;
  background: var(--grad-accent);
  box-shadow: 0 0 14px rgba(0, 237, 249, .8);
  transition: width .1s linear;
}

.cursor { position: fixed; top: 0; left: 0; z-index: 9600; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-active { opacity: 1; }
.cursor__dot, .cursor__ring {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor__dot { width: 6px; height: 6px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(0, 237, 249, .6);
  transition: width .28s var(--ease), height .28s var(--ease), border-color .28s, background-color .28s;
}
.cursor.is-hover .cursor__ring { width: 66px; height: 66px; background: rgba(0, 237, 249, .1); border-color: var(--accent); }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

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

.preloader__grid {
  position: absolute; inset: 0; opacity: .25;
  background-image:
    linear-gradient(rgba(0, 237, 249, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 237, 249, .12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 50%, #000 10%, transparent 72%);
  animation: gridDrift 22s linear infinite;
}
@keyframes gridDrift { to { background-position: 56px 56px, 56px 56px; } }

.preloader__inner { position: relative; z-index: 2; text-align: center; }
.preloader__mark { width: 86px; margin: 0 auto 26px; color: var(--accent); }
.preloader__mark svg { width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(0, 237, 249, .55)); }
.preloader__mark svg path { transform-origin: 60px 60px; animation: glyphPulse 1.6s var(--ease) infinite; }
.preloader__mark svg path:nth-child(2) { animation-delay: .12s; }
.preloader__mark svg path:nth-child(3) { animation-delay: .24s; }
.preloader__mark svg path:nth-child(4) { animation-delay: .36s; }
@keyframes glyphPulse {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

.preloader__word { display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; }
.preloader__label {
  font-family: var(--font-head); font-weight: 800; letter-spacing: .34em;
  color: #fff; font-size: 14px;
}
.preloader__bar {
  display: block; width: 150px; height: 3px; border-radius: 3px;
  background: rgba(255, 255, 255, .14); overflow: hidden;
}
.preloader__bar i {
  display: block; height: 100%; width: 0%;
  background: var(--grad-accent);
  transition: width .25s var(--ease);
}
.preloader__pct {
  font-family: var(--font-mono); font-size: 13px; color: var(--accent);
  min-width: 42px; text-align: left;
}

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: transform .45s var(--ease), background-color .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-stuck {
  background: rgba(2, 41, 64, .82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, .1);
}
.header.is-hidden { transform: translateY(-102%); }

.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; }
.brand__mark {
  width: 38px; height: 38px; display: grid; place-items: center; flex: none;
  border-radius: 11px;
  background: linear-gradient(140deg, #157fbb, #0a5a8c);
  color: #fff;
  box-shadow: 0 6px 20px -6px rgba(21, 127, 187, .8), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.brand__mark svg { width: 24px; height: 24px; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text strong {
  font-family: var(--font-head); font-weight: 800; font-size: 15px;
  letter-spacing: .2em; color: #fff;
}
.brand__text em {
  font-style: normal; font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .3em; color: var(--accent);
  margin-top: 4px; text-transform: uppercase;
}
.brand--lg .brand__mark { width: 46px; height: 46px; }
.brand--lg .brand__mark svg { width: 28px; height: 28px; }
.brand--lg .brand__text strong { font-size: 18px; }

.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 34px); }
.nav__link {
  position: relative; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .76);
  padding: 8px 0; transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad-accent); border-radius: 2px; transition: width .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 12px; }
.nav__foot { display: none; }

/* ---------- buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 30px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .3s, background-color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--grad-accent); color: var(--navy);
  box-shadow: 0 14px 34px -14px rgba(0, 237, 249, .8);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: linear-gradient(120deg, #9a53d0, #00edf9);
  transition: opacity .4s var(--ease);
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary:hover { color: #fff; box-shadow: 0 20px 44px -14px rgba(154, 83, 208, .8); }

.btn--outline {
  color: #fff; border: 1.5px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(0, 237, 249, .08); }

.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .26); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--dark { background: var(--navy); color: #fff; box-shadow: 0 14px 30px -16px rgba(2, 41, 64, .9); }
.btn--dark:hover { background: var(--purple); }

.btn--sm { --pad-y: 10px; --pad-x: 22px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ---------- burger ---------- */
.burger {
  display: none;
  width: 44px; height: 44px; place-content: center; gap: 5px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
}
.burger span {
  display: block; width: 19px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .4s var(--ease), opacity .25s;
}
.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); }

.nav-backdrop {
  position: fixed; inset: 0; z-index: 880;
  background: rgba(2, 20, 30, .6);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .4s;
}
.nav-backdrop.is-open { opacity: 1; }

/* ---------- typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow--dark { color: var(--violet); }
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent);
  animation: dotPulse 2.4s var(--ease) infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 25%, transparent); }
  50% { box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 0%, transparent); }
}

.section { position: relative; padding: clamp(70px, 9vw, 130px) 0; overflow: clip; }
.section--light { background: var(--lav); color: var(--ink); }
.section--dark { background: var(--grad-deep); color: #fff; }
.section--deep { background: #05121c; color: #fff; }
.section--tight { padding-top: clamp(40px, 5vw, 70px); }

.section__head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 66px); text-align: center; }
.section__title {
  font-size: clamp(28px, 4.4vw, 52px);
  margin-bottom: 18px;
}
.section__title em {
  font-style: normal;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section--dark .section__title em, .section--deep .section__title em {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__lead { color: var(--grey); font-size: clamp(15px, 1.1vw, 18px); }
.section__lead--center { margin-inline: auto; max-width: 640px; }
.section--dark .section__lead, .section--deep .section__lead { color: rgba(255, 255, 255, .66); }

.section__orb {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: min(900px, 100%); aspect-ratio: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(0, 237, 249, .14), transparent 62%);
  filter: blur(30px);
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: var(--grad-deep);
  color: #fff; overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 22% 45%, rgba(2, 41, 64, .92) 0%, rgba(2, 41, 64, .35) 45%, transparent 72%),
    radial-gradient(ellipse 60% 60% at 85% 25%, rgba(41, 16, 60, .55), transparent 70%),
    linear-gradient(180deg, rgba(2, 41, 64, .55) 0%, transparent 30%, rgba(13, 20, 26, .75) 100%);
}
.hero__scan {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 5vw, 70px); align-items: center; width: 100%;
}

.hero__title {
  font-size: clamp(38px, 7.4vw, 92px);
  line-height: 1.02; letter-spacing: -.035em;
  margin-bottom: 22px;
}
.hero__grad {
  background: var(--grad-accent);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: gradShift 9s ease-in-out infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero__lead {
  max-width: 56ch; color: rgba(255, 255, 255, .74);
  font-size: clamp(15.5px, 1.2vw, 19px); margin-bottom: 26px;
}

.hero__type {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 10px;
  margin-bottom: 34px; padding: 12px 18px; width: fit-content; max-width: 100%;
  border: 1px solid rgba(0, 237, 249, .24); border-radius: var(--r-pill);
  background: rgba(0, 237, 249, .06); backdrop-filter: blur(8px);
}
.hero__type-label { font-size: 14px; color: rgba(255, 255, 255, .6); }
.typewriter {
  font-family: var(--font-mono); font-size: 15px; color: var(--accent);
  letter-spacing: .04em; min-width: 10ch;
}
.typewriter::after {
  content: "|"; margin-left: 2px; color: var(--accent);
  animation: caret .9s steps(1) infinite;
}
@keyframes caret { 50% { opacity: 0; } }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }

.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04);
  font-size: 13.5px; color: rgba(255, 255,255,.82);
  transition: border-color .35s, background-color .35s, transform .35s var(--ease);
}
.hero__chips li:hover { border-color: var(--accent); background: rgba(0, 237, 249, .1); transform: translateY(-2px); }
.chip__ico { display: grid; place-items: center; width: 20px; height: 20px; color: var(--accent); }
.chip__ico svg, .card__icon svg, .benefit__icon svg, .contact__ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* hero side panel */
.hero__panel {
  position: relative; padding: 22px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--sh-3);
  overflow: hidden;
}
.hero__panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(0, 237, 249, .6), transparent 40%, rgba(154, 83, 208, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.panel__head {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .8); padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.panel__head em { margin-left: auto; font-style: normal; color: var(--accent); }
.panel__pulse {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(0, 237, 249, .6); animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(0, 237, 249, .55); }
  70% { box-shadow: 0 0 0 12px rgba(0, 237, 249, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 237, 249, 0); }
}
.panel__list li {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 9px 0; font-size: 13.5px; color: rgba(255, 255, 255, .55);
  border-bottom: 1px dashed rgba(255, 255, 255, .08);
}
.panel__list li:last-child { border-bottom: 0; }
.panel__list b { color: #fff; font-weight: 600; font-size: 13.5px; }
.panel__bars {
  display: flex; align-items: flex-end; gap: 5px; height: 62px; margin-top: 20px;
}
.panel__bars i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(154, 83, 208, .55));
  transform-origin: bottom; animation: barPulse 2.6s var(--ease) infinite;
  opacity: .85;
}
.panel__bars i:nth-child(2n) { animation-delay: .2s; }
.panel__bars i:nth-child(3n) { animation-delay: .4s; }
@keyframes barPulse {
  0%, 100% { transform: scaleY(.72); }
  50% { transform: scaleY(1); }
}

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}
.hero__scroll span {
  width: 1px; height: 42px; background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollHint 2.2s var(--ease) infinite;
}
@keyframes scrollHint {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee {
  position: relative; z-index: 2;
  background: var(--navy); color: #fff;
  padding: 16px 0; overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, .08);
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__row { display: flex; align-items: center; }
.marquee__row li {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 26px; font-family: var(--font-mono);
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72); white-space: nowrap;
}
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* =============================================================
   ABOUT
   ============================================================= */
.about {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(30px, 5vw, 76px); align-items: center;
}
.about__note {
  font-size: 15px; color: var(--ink); font-weight: 500;
  padding-left: 16px; border-left: 3px solid var(--accent);
  margin: 26px 0 34px;
}
.about__stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
}
.stat {
  padding: 18px 20px; border-radius: var(--r-md);
  background: #fff; box-shadow: var(--sh-1);
  border: 1px solid rgba(2, 41, 64, .06);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stat:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.stat__value {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(30px, 3.4vw, 42px); line-height: 1;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: 12.5px; color: var(--grey); line-height: 1.4; display: block; margin-top: 8px; }

.about__visual { position: relative; }
.about__frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-3); background: var(--navy);
}
.about__frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transform: scale(1.02); }
.about__hud {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; color: #fff;
}
.about__hud-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }
.about__hud-txt { padding: 6px 12px; border-radius: var(--r-pill); background: rgba(2, 41, 64, .68); backdrop-filter: blur(8px); }
.about__badge {
  position: absolute; right: -10px; top: -18px;
  padding: 16px 20px; border-radius: var(--r-md); max-width: 220px;
  background: #fff; box-shadow: var(--sh-2); border-left: 3px solid var(--accent);
}
.about__badge b { display: block; font-family: var(--font-head); font-size: 15px; margin-bottom: 4px; }
.about__badge span { font-size: 12.5px; color: var(--grey); line-height: 1.45; }

/* =============================================================
   SOLUTION CARDS
   ============================================================= */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.card {
  position: relative; padding: 30px 26px 26px; border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .015));
  border: 1px solid rgba(255, 255, 255, .11);
  overflow: hidden; isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 237, 249, .16), transparent 62%);
  transition: opacity .45s;
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: rgba(0, 237, 249, .4); }
.card__glow {
  position: absolute; top: -60px; right: -60px; width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 83, 208, .5), transparent 70%);
  filter: blur(14px); opacity: .6; transition: opacity .5s, transform .6s var(--ease);
}
.card:hover .card__glow { opacity: 1; transform: scale(1.25); }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px;
  border-radius: 16px; color: var(--accent);
  background: rgba(0, 237, 249, .1); border: 1px solid rgba(0, 237, 249, .28);
  transition: transform .5s var(--ease), background-color .4s;
}
.card:hover .card__icon { transform: translateY(-3px) rotate(-6deg); background: rgba(0, 237, 249, .18); }
.card__title { font-size: 21px; margin-bottom: 12px; }
.card__text { color: rgba(255, 255, 255, .64); font-size: 14.5px; margin-bottom: 18px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.card__tags li {
  font-size: 11.5px; padding: 5px 11px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .68);
  border: 1px solid rgba(255, 255, 255, .08);
}
.card__link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--accent);
}
.card__link svg { width: 16px; height: 16px; fill: currentColor; transition: transform .35s var(--ease); }
.card__link:hover svg { transform: translateX(5px); }

/* =============================================================
   SHOWCASE (3D)
   ============================================================= */
.showcase__inner {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(30px, 5vw, 70px); align-items: center;
}
.showcase__facts { margin-top: 34px; display: grid; gap: 18px; }
.showcase__facts li {
  padding-left: 18px; border-left: 2px solid rgba(0, 237, 249, .35);
}
.showcase__facts b { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.showcase__facts span { font-size: 14px; color: rgba(255, 255, 255, .6); }
.showcase__stage {
  position: relative; aspect-ratio: 1 / 1; min-height: 320px;
  border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(0, 237, 249, .08), rgba(3, 12, 18, .2) 65%);
  border: 1px solid rgba(255, 255, 255, .09);
  cursor: grab;
}
.showcase__stage:active { cursor: grabbing; }
.showcase__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.showcase__hint {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  animation: hintFade 3.4s var(--ease) infinite;
}
@keyframes hintFade { 0%, 100% { opacity: .35; } 50% { opacity: .9; } }

/* =============================================================
   PROCESS STEPS
   ============================================================= */
.steps {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(16px, 2vw, 24px); counter-reset: step;
}
.step {
  position: relative; padding: 30px 24px 26px; border-radius: var(--r-lg);
  background: #fff; box-shadow: var(--sh-1);
  border: 1px solid rgba(2, 41, 64, .06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  overflow: hidden;
}
.step::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(154, 83, 208, .16), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.step:hover::after { opacity: 1; }
.step__num {
  display: inline-block; font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em;
  color: var(--violet); margin-bottom: 14px;
  padding: 4px 11px; border-radius: var(--r-pill);
  background: rgba(154, 83, 208, .1);
}
.step__title { font-size: 19px; margin-bottom: 10px; }
.step__text { font-size: 14px; color: var(--grey); }

/* =============================================================
   FILTERS + WORK
   ============================================================= */
.filters {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: clamp(30px, 4vw, 50px);
}
.filter {
  padding: 10px 20px; border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 500; color: var(--grey);
  border: 1px solid rgba(2, 41, 64, .1); background: #fff;
  transition: all .3s var(--ease);
}
.filter:hover { color: var(--navy); border-color: var(--violet); }
.filter.is-active {
  color: #fff; border-color: transparent;
  background: var(--grad-brand); box-shadow: 0 12px 26px -14px rgba(122, 60, 176, .9);
}

.work {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}
.work__item.is-hidden { display: none; }
.work__item { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.work__media {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  background: var(--navy); aspect-ratio: 10/7;
}
.work__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease), filter .6s;
  filter: saturate(.85);
}
.work__item:hover .work__media img { transform: scale(1.08); filter: saturate(1.05); }
.work__overlay {
  position: absolute; inset: 0; padding: 22px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  background: linear-gradient(180deg, rgba(2, 41, 64, .1) 0%, rgba(2, 41, 64, .92) 72%);
  opacity: 0; transition: opacity .5s var(--ease);
  color: #fff;
}
.work__item:hover .work__overlay { opacity: 1; }
.work__cat {
  align-self: flex-start; padding: 5px 12px; border-radius: var(--r-pill);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0, 237, 249, .16); border: 1px solid rgba(0, 237, 249, .4); color: var(--accent);
}
.work__overlay p { font-size: 13.5px; color: rgba(255, 255, 255, .82); line-height: 1.55; }
.work__metric {
  display: flex; align-items: baseline; gap: 9px; padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .16);
}
.work__metric b { font-family: var(--font-head); font-size: 19px; color: var(--accent); }
.work__metric span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.work__title { font-size: 19px; margin-top: 14px; }

/* =============================================================
   CASE STUDIES
   ============================================================= */
.cases { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.case {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 0; align-items: stretch;
  border-radius: var(--r-lg); overflow: hidden;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .5s var(--ease), border-color .4s, background-color .4s;
}
.case:hover { transform: translateY(-4px); border-color: rgba(0, 237, 249, .35); background: rgba(255, 255, 255, .07); }
.case__media { position: relative; min-height: 220px; overflow: hidden; }
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.case:hover .case__media img { transform: scale(1.07); }
.case__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; }
.case__title { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: 12px; }
.case__text { color: rgba(255, 255, 255, .64); font-size: 15px; }

/* =============================================================
   BENEFITS + FAQ
   ============================================================= */
.benefits {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 26px); margin-bottom: clamp(50px, 7vw, 90px);
}
.benefit {
  position: relative; padding: 0 0 26px; border-radius: var(--r-lg); overflow: hidden;
  background: #fff; box-shadow: var(--sh-1); border: 1px solid rgba(2, 41, 64, .06);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.benefit__media { position: relative; height: 190px; overflow: hidden; }
.benefit__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .8s var(--ease), filter .6s; }
.benefit:hover .benefit__media img { transform: scale(1.07); filter: saturate(1.05); }
.benefit__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 41, 64, .1), var(--lav) 96%);
}
.benefit__icon {
  position: absolute; top: -22px; left: 24px; z-index: 2;
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 14px; color: #fff;
  background: var(--grad-accent); box-shadow: 0 12px 26px -12px rgba(0, 237, 249, .9);
}
.benefit__text { padding: 32px 24px 0; font-size: 15px; color: var(--ink); }

.faq {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 70px); align-items: start;
}
.faq__title { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.faq__lead { color: var(--grey); margin-bottom: 24px; }
.faq__item {
  background: #fff; border: 1px solid rgba(2, 41, 64, .07);
  border-radius: var(--r-md); margin-bottom: 12px; overflow: hidden;
  transition: box-shadow .4s var(--ease), border-color .4s;
}
.faq__item[open] { box-shadow: var(--sh-2); border-color: rgba(154, 83, 208, .35); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 22px; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary i {
  position: relative; width: 20px; height: 20px; flex: none;
}
.faq__item summary i::before, .faq__item summary i::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px; border-radius: 2px;
  background: var(--violet); transform: translateY(-50%); transition: transform .35s var(--ease);
}
.faq__item summary i::after { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] summary i::after { transform: translateY(-50%) rotate(0deg); }
.faq__answer { padding: 0 22px 20px; color: var(--grey); font-size: 14.5px; animation: faqIn .4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =============================================================
   QUOTE
   ============================================================= */
.quote {
  position: relative; max-width: 860px; margin-inline: auto; text-align: center;
  padding: clamp(34px, 5vw, 60px) clamp(22px, 4vw, 60px);
  border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--sh-2);
  border: 1px solid rgba(2, 41, 64, .06);
  overflow: hidden;
}
.quote::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at 50% -10%, rgba(154, 83, 208, .12), transparent 60%);
}
.quote__mark {
  display: block; font-family: var(--font-head); font-size: 64px; line-height: .6;
  color: var(--violet); opacity: .5; margin-bottom: 18px;
}
.quote blockquote {
  position: relative; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(19px, 2.4vw, 30px); line-height: 1.4; color: var(--ink);
  margin-bottom: 28px;
}
.quote figcaption { position: relative; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.quote img {
  width: 58px; height: 58px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: var(--sh-1);
}
.quote figcaption b { display: block; font-family: var(--font-head); font-size: 15px; }
.quote figcaption em { font-style: normal; font-size: 13px; color: var(--grey); }

/* =============================================================
   CTA
   ============================================================= */
.cta { position: relative; padding: clamp(70px, 9vw, 120px) 0; color: #fff; overflow: hidden; background: var(--navy); }
.cta__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(700px circle at 50% 120%, rgba(0, 237, 249, .3), transparent 62%),
    radial-gradient(500px circle at 15% 0%, rgba(154, 83, 208, .38), transparent 60%),
    linear-gradient(180deg, #022940, #0d141a);
}
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 237, 249, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 237, 249, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 100%, #000, transparent 70%);
  animation: gridDrift 30s linear infinite;
}
.cta__inner { position: relative; text-align: center; }
.cta__title {
  font-size: clamp(34px, 6.4vw, 76px);
  background: var(--grad-accent); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 8s ease-in-out infinite;
  margin-bottom: 18px;
}
.cta__lead { font-size: clamp(16px, 1.4vw, 20px); color: rgba(255, 255, 255, .74); max-width: 46ch; margin: 0 auto 34px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.cta__social {
  display: inline-flex; align-items: center; gap: 14px; margin-top: 34px;
  padding: 12px 22px 12px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .35s, background-color .35s;
}
.cta__social:hover { transform: translateY(-3px); border-color: rgba(0, 237, 249, .5); background: rgba(0, 237, 249, .08); }
.cta__social-ico {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #f00075, #833ab4 55%, #00edf9);
}
.cta__social-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cta__social b { display: block; font-family: var(--font-head); font-size: 14.5px; color: #fff; }
.cta__social em { font-style: normal; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.cta__social-arrow { width: 18px; height: 18px; color: var(--accent); display: grid; place-items: center; transition: transform .35s var(--ease); }
.cta__social-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cta__social:hover .cta__social-arrow { transform: translateX(4px); }

/* =============================================================
   CONTACT
   ============================================================= */
.contact {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(30px, 5vw, 70px); align-items: start;
}
.contact__list { margin-top: 32px; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 16px; }
.contact__ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: 14px; color: var(--violet);
  background: #fff; border: 1px solid rgba(2, 41, 64, .07); box-shadow: var(--sh-1);
  transition: transform .4s var(--ease), color .3s;
}
.contact__list li:hover .contact__ico { transform: translateY(-3px); color: var(--accent); }
.contact__list b { display: block; font-size: 12.5px; color: var(--grey); font-weight: 500; }
.contact__list a, .contact__list span:not(.contact__ico) { font-family: var(--font-head); font-weight: 600; font-size: 15.5px; }
.contact__list a:hover { color: var(--violet); }

.contact__form-wrap {
  padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-xl);
  background: #fff; box-shadow: var(--sh-2); border: 1px solid rgba(2, 41, 64, .06);
}
.form { position: relative; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; margin-bottom: 7px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .04em; color: var(--grey);
  text-transform: uppercase;
}
.field label i { color: var(--violet); font-style: normal; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1.5px solid rgba(2, 41, 64, .1); background: #fbf9fd;
  font-size: 15px; color: var(--ink); transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: #a9a2b2; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--violet); background: #fff;
  box-shadow: 0 0 0 4px rgba(154, 83, 208, .12);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #e05260; }
.field__err { display: block; min-height: 0; font-size: 12.5px; color: #e05260; margin-top: 5px; }
.field.has-error .field__err { min-height: 18px; }

.select { position: relative; }
.select select { appearance: none; cursor: pointer; padding-right: 44px; }
.select i {
  position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--grey); border-bottom: 2px solid var(--grey);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}

.form__note { margin-top: 14px; font-size: 12.5px; color: var(--grey); text-align: center; }
.form__msg { margin-top: 12px; font-size: 13.5px; text-align: center; min-height: 20px; }
.form__msg.is-ok { color: #1c8f5f; }
.form__msg.is-err { color: #e05260; }
.btn.is-busy { pointer-events: none; opacity: .75; }
.btn.is-busy span { display: inline-flex; align-items: center; gap: 9px; }
.btn.is-busy span::before {
  content: ""; width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid rgba(2, 41, 64, .3); border-top-color: var(--navy);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.alert {
  padding: 14px 18px; border-radius: var(--r-md); margin-bottom: 20px;
  font-size: 14px; border: 1px solid;
}
.alert--ok { background: #eafaf1; border-color: #b6e7ce; color: #17663f; }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { position: relative; background: #05121c; color: rgba(255, 255, 255, .68); padding: clamp(50px, 6vw, 84px) 0 28px; overflow: hidden; }
.footer__glow {
  position: absolute; top: -30%; left: 50%; transform: translateX(-50%);
  width: min(1000px, 130vw); aspect-ratio: 2/1;
  background: radial-gradient(ellipse, rgba(0, 237, 249, .14), transparent 65%);
  filter: blur(40px);
}
.footer__top {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: clamp(30px, 5vw, 70px); padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .09);
}
.footer__blurb { margin: 20px 0 24px; font-size: 14.5px; max-width: 42ch; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  transition: transform .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.socials a svg { width: 19px; height: 19px; fill: currentColor; }
.socials a:hover { transform: translateY(-3px); color: var(--navy); background: var(--accent); border-color: var(--accent); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: clamp(22px, 3vw, 38px); }
.footer__title { font-family: var(--font-head); font-size: 14.5px; color: #fff; margin-bottom: 16px; }
.footer__links li { margin-bottom: 9px; font-size: 14px; }
.footer__links a { transition: color .3s, padding-left .3s var(--ease); }
.footer__links a:hover { color: var(--accent); padding-left: 5px; }
.footer__links--contact a { color: #fff; font-weight: 500; }
.footer__note { font-size: 13.5px; margin-bottom: 14px; }

.newsletter { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.newsletter input {
  flex: 1 1 190px; padding: 13px 16px; border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
  color: #fff; font-size: 14px; transition: border-color .3s, background-color .3s;
}
.newsletter input::placeholder { color: rgba(255, 255, 255, .38); }
.newsletter input:focus { outline: none; border-color: var(--accent); background: rgba(0, 237, 249, .07); }
.newsletter__msg { width: 100%; font-size: 12.5px; min-height: 17px; margin-top: 4px; }
.newsletter__msg.is-ok { color: var(--accent); }
.newsletter__msg.is-err { color: #ff8b95; }

.footer__bottom {
  position: relative; display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .48);
}

/* =============================================================
   TO TOP
   ============================================================= */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 880;
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 50%; color: var(--navy);
  background: var(--grad-accent); box-shadow: 0 14px 30px -12px rgba(0, 237, 249, .7);
  opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 22px; height: 22px; fill: currentColor; }
.to-top:hover { transform: translateY(-3px) scale(1.05); }

/* =============================================================
   REVEAL ANIMATIONS
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__panel { max-width: 480px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .about, .showcase__inner, .faq, .contact { grid-template-columns: 1fr; }
  .case { grid-template-columns: 1fr; }
  .case__media { min-height: 200px; aspect-ratio: 16/10; }
  .about__badge { right: 12px; top: -14px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }

  .header__cta { display: none; }

  .nav {
    position: fixed; top: 0; right: 0; z-index: 890;
    width: min(330px, 86vw); height: 100dvh;
    padding: calc(var(--header-h) + 20px) 26px 34px;
    display: flex; flex-direction: column; justify-content: space-between;
    background: linear-gradient(200deg, #022940, #0d141a 60%, #29103c);
    border-left: 1px solid rgba(255, 255, 255, .1);
    transform: translateX(102%);
    transition: transform .5s var(--ease);
    overflow-y: auto;
    box-shadow: -30px 0 70px -20px rgba(0, 0, 0, .6);
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link {
    display: block; padding: 14px 0; font-size: 19px; font-family: var(--font-head); font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .nav__link::after { bottom: -1px; }
  .nav__foot { display: grid; gap: 16px; }
  .nav__mail { font-size: 13px; color: rgba(255, 255, 255, .55); }

  .burger { display: grid; }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 720px) {
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .hero__type { border-radius: var(--r-md); }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__stats { grid-template-columns: 1fr 1fr; }
  .to-top { right: 14px; bottom: 14px; }
}

@media (max-width: 480px) {
  .hero__title { font-size: clamp(32px, 9.4vw, 46px); }
  .about__stats { grid-template-columns: 1fr; }
  .preloader__bar { width: 100px; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__canvas, .showcase__canvas { display: none; }
}
