/* ===== Local fonts (self-hosted, subset: latin + latin-ext for LT diacritics) =====
   Lexend and Montserrat Regular are variable-weight files (single binary
   covers the whole axis) — the weight MUST be declared as a range so the
   browser interpolates real distinct weights instead of reusing one instance. */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/lexend/lexend-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../assets/fonts/lexend/lexend-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat/montserrat-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/montserrat/montserrat-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== Reset & base ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--color-frost-soft);
  line-height: 1.5;
  background: var(--color-void);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle full-page film-grain overlay, matching the reference site exactly */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 45;
  opacity: 0.05;
  mix-blend-mode: overlay;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
}

::selection {
  background: rgba(238, 211, 68, 0.3);
  color: var(--color-frost);
}

:focus-visible {
  outline: 2px solid var(--color-pulse);
  outline-offset: 2px;
  border-radius: 2px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--color-void-soft);
}

::-webkit-scrollbar-thumb {
  background: rgba(154, 154, 154, 0.35);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(154, 154, 154, 0.55);
}

.container {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }
}

/* ===== Brand variables ===== */
:root {
  /* Black Cloud brandbook palette */
  --color-signal-white: #ffffff;
  --color-charcoal-black: #212121;
  --color-cyber-yellow: #eed344;
  --color-cyber-yellow-dark: #d8b41f;

  /* Dark-theme surfaces — exact values from the production site's design
     tokens (--c-void / --c-frost / --c-pulse etc. under [data-theme=dark]) */
  --color-void: #212121;
  --color-void-soft: #282828;
  --color-void-raise: #2f2f2f;
  --color-line: #303030;

  /* Text on dark */
  --color-frost: #ffffff;
  --color-frost-soft: #cfcfcf;
  --color-frost-muted: #9a9a9a;

  /* Accent (brand yellow) + dim tint used for chip/icon backgrounds */
  --color-pulse: var(--color-cyber-yellow);
  --color-pulse-dim: rgba(238, 211, 68, 0.12);

  /* Semantic aliases used across components */
  --color-bg: var(--color-charcoal-black);
  --color-accent: var(--color-cyber-yellow);
  --color-text-light: var(--color-signal-white);
  --color-text-muted: var(--color-frost-muted);

  /* Typography */
  --font-heading: "Montserrat", Arial, Helvetica, sans-serif;
  --font-accent: "Montserrat", sans-serif;
  --font-body: "Lexend", Arial, sans-serif;
  --font-mono: "Lexend", Arial, sans-serif;

  --radius: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --transition: 0.25s ease;
}

/* ===== Shared type helpers ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--color-pulse);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  display: block;
  height: 1px;
  width: 2rem;
  flex-shrink: 0;
  background-color: rgba(238, 211, 68, 0.6);
}

/* Hero eyebrow gets a line on both sides */
.hero .eyebrow::after {
  content: "";
  display: block;
  height: 1px;
  width: 2rem;
  flex-shrink: 0;
  background-color: rgba(238, 211, 68, 0.6);
}

.section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.875rem, 3.4vw, 3rem);
  line-height: 1.15;
  color: var(--color-frost);
  margin-bottom: 20px;
}

.accent,
.section-title .accent {
  color: var(--color-pulse);
}

/* Stencil-style horizontal cut through bold uppercase text, echoing the
   brand's "Strike" display font. */
.text-cut {
  /* cut-pos/size in em (not %) so the tile below is exactly one line-height tall —
     it then repeats identically per wrapped line instead of once per whole block */
  --cut-pos: 0.36em;
  --cut-size: 0.125em;
  display: inline-block;
  line-height: 1em;
  -webkit-mask-image: repeating-linear-gradient(
    to bottom,
    #000 0,
    #000 calc(var(--cut-pos) - var(--cut-size) / 2),
    transparent calc(var(--cut-pos) - var(--cut-size) / 2),
    transparent calc(var(--cut-pos) + var(--cut-size) / 2),
    #000 calc(var(--cut-pos) + var(--cut-size) / 2),
    #000 1em
  );
  mask-image: repeating-linear-gradient(
    to bottom,
    #000 0,
    #000 calc(var(--cut-pos) - var(--cut-size) / 2),
    transparent calc(var(--cut-pos) - var(--cut-size) / 2),
    transparent calc(var(--cut-pos) + var(--cut-size) / 2),
    #000 calc(var(--cut-pos) + var(--cut-size) / 2),
    #000 1em
  );
}

.section-lead {
  font-family: var(--font-body);
  max-width: 620px;
  color: var(--color-frost-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== i18n (LT/EN toggle) =====
   Both languages sit in the DOM; CSS shows one, JS flips [lang] on <html> and
   keeps the hidden copy out of the accessibility tree. Default = Lithuanian. */
.i18n--en {
  display: none !important;
}

html[lang="en"] .i18n--en {
  display: inline !important;
}

html[lang="en"] .i18n--lt {
  display: none;
}

/* block-context translatable chunks (paragraphs/list items authored as
   two whole child blocks rather than inline spans) */
.i18n--en.i18n-block {
  display: none;
}

html[lang="en"] .i18n--en.i18n-block {
  display: block;
}

html[lang="en"] .i18n--en.i18n-block.btn {
  display: inline-flex !important;
}

html[lang="en"] .i18n--lt.i18n-block {
  display: none;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 0.78rem;
}

.btn--primary {
  background: var(--color-cyber-yellow);
  color: var(--color-charcoal-black);
}

.btn--primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 0 40px rgba(238, 211, 68, 0.16);
}

.btn--ghost {
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-frost);
}

.btn--ghost:hover {
  border-color: rgba(238, 211, 68, 0.5);
  background: var(--color-pulse-dim);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

/* ===== Chips / pills ===== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--color-line);
  background: rgba(47, 47, 47, 0.6);
  font-family: var(--font-accent);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-frost-soft);
}

.chip i {
  color: var(--color-pulse);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-pulse-dim);
  color: var(--color-pulse);
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ===== Language toggle ===== */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 36px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-line);
  background: transparent;
  color: var(--color-frost);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.lang-toggle:hover {
  border-color: var(--color-pulse);
  color: var(--color-pulse);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(33, 33, 33, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--color-line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

@media (min-width: 768px) {
  .header__inner {
    height: 4.5rem;
  }
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo__img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  gap: 22px;
}

.nav__link {
  font-family: var(--font-accent);
  color: var(--color-frost);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--color-cyber-yellow);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-void);
  color: var(--color-frost);
  padding-top: 6rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 8rem;
  }
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__inner {
  max-width: 48rem;
  z-index: 1;
  padding-bottom: 6rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 992px) {
  .hero__inner {
    padding-bottom: 9rem;
  }
}

.hero__logo {
  width: 260px;
  max-width: 65vw;
  height: auto;
  margin: 0 auto 32px;
  filter: brightness(0) invert(1);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--color-frost);
  margin-bottom: 24px;
}

/* Lithuanian phrasing runs noticeably longer than the English tagline, so
   it needs its own smaller scale to avoid overflow/awkward wrapping. */
.hero__title .i18n--lt {
  font-size: 0.85em;
  line-height: 1;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-frost-soft);
  margin: 0 auto 36px;
  max-width: 560px;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* ===== Hero entrance animation (plays once on load, not scroll-triggered) ===== */
@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-logo-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__logo {
  animation: hero-logo-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero .eyebrow {
  animation: hero-fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.2s;
}

.hero__title {
  animation: hero-fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.35s;
}

.hero__subtitle {
  animation: hero-fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.5s;
}

.hero__actions {
  animation: hero-fade-up 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.65s;
}

@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .hero .eyebrow,
  .hero__title,
  .hero__subtitle,
  .hero__actions {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.hero__specs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-top: 1px solid var(--color-line);
}

.hero__specs-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  padding: 20px;
}

.hero__spec {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-frost-muted);
  white-space: nowrap;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 6.5rem;
  z-index: 2;
  transform: translateX(-50%);
  display: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-frost-muted);
  cursor: pointer;
  animation: scroll-cue-bounce 2s infinite;
  transition: color var(--transition), border-color var(--transition);
}

.scroll-cue:hover {
  color: var(--color-pulse);
  border-color: rgba(238, 211, 68, 0.5);
}

@keyframes scroll-cue-bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateX(-50%) translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

/* ===== Stats ===== */
.stats {
  background: var(--color-void-soft);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  padding: 44px 0;
}

.stats--light {
  background: #ececec;
  border-top-color: rgba(33, 33, 33, 0.1);
  border-bottom-color: rgba(33, 33, 33, 0.1);
  --color-pulse: var(--color-charcoal-black);
  --color-frost-muted: #6b6b6b;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat__num {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  color: var(--color-pulse);
  white-space: nowrap;
}

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--color-frost-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* ===== Section spacing ===== */
.section {
  padding: 96px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section--tinted {
  background: var(--color-void-soft);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.section--tinted-top {
  background: var(--color-void-soft);
  border-top: 1px solid var(--color-line);
}

/* Light section variant — background flips to white and every design token
   that descendants read (text, accent, borders, card surfaces) is
   redefined for dark-on-light instead of light-on-dark. Because every
   component below is written against these custom properties rather than
   hardcoded colours, nested cards/icons/pills/eyebrows all repaint
   automatically — nothing renders yellow-on-white here, per spec. */
.section--light {
  background: var(--color-signal-white);
  --color-frost: var(--color-charcoal-black);
  --color-frost-soft: #3f3f3f;
  --color-frost-muted: #6b6b6b;
  --color-pulse: var(--color-charcoal-black);
  --color-pulse-dim: rgba(33, 33, 33, 0.06);
  --color-line: rgba(33, 33, 33, 0.12);
  --color-void-soft: #f4f4f4;
  --color-void-raise: #ececec;
}

.section--light .eyebrow::before {
  background-color: rgba(33, 33, 33, 0.3);
}

.section--light .accent {
  display: inline-block;
  color: var(--color-charcoal-black);
  background: var(--color-cyber-yellow);
  padding: 2px 12px;
  border-radius: 8px;
  vertical-align: middle;
}

.section--light .service-card__icon,
.section--light .trusted-card__icon {
  background: var(--color-cyber-yellow);
}

.section--light .card-glass {
  background: var(--color-signal-white);
  box-shadow: 0 12px 30px -18px rgba(33, 33, 33, 0.18);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.section--light .card-glass:hover {
  border-color: rgba(33, 33, 33, 0.3);
}

/* ===== Glass card treatment (services / capabilities / trusted-by / careers) ===== */
.card-glass {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: rgba(47, 47, 47, 0.7);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass:hover {
  border-color: rgba(238, 211, 68, 0.3);
}

/* ===== Services (six disciplines) — Swiper carousel ===== */
.services-swiper {
  padding: 4px 4px 60px;
  overflow: hidden;
  cursor: grab;
}

.services-swiper:active {
  cursor: grabbing;
}

.services-swiper .swiper-slide {
  height: auto;
  padding: 4px;
}

.services-swiper .swiper-slide .service-card {
  height: 100%;
}

.services-swiper .swiper-pagination {
  text-align: left;
}

.services-swiper .swiper-pagination-bullet {
  background: rgba(33, 33, 33, 0.25);
  opacity: 1;
}

.services-swiper .swiper-pagination-bullet-active {
  background: var(--color-cyber-yellow);
}

/* Discrete carousel controls — a small outlined pair above the cards */
.services-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.services-nav__btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(33, 33, 33, 0.18);
  background: transparent;
  color: var(--color-charcoal-black);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}

.services-nav__btn:hover {
  border-color: var(--color-cyber-yellow);
  background: var(--color-cyber-yellow);
}

.services-nav__btn i {
  font-size: 0.75rem;
}

.services-nav__btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-void-raise);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(47, 47, 47, 0.85), rgba(47, 47, 47, 0.1) 60%, transparent);
}

.service-card__body {
  padding: 24px;
}

.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--color-pulse-dim);
  color: var(--color-pulse);
  margin-bottom: 14px;
  font-size: 1rem;
}

.service-card h3 {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-frost);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--color-frost-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.services__note {
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-frost-muted);
  opacity: 0.5;
}

/* ===== Capabilities (quality first) ===== */
.capabilities__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .capabilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.capability-card {
  display: flex;
  gap: 18px;
  padding: 24px;
}

.capability-card__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--color-line);
  background: var(--color-pulse-dim);
  color: var(--color-pulse);
  font-size: 1.1rem;
}

.capability-card h3 {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-frost);
  margin-bottom: 8px;
}

.capability-card p {
  color: var(--color-frost-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ===== Projects / trusted-by ===== */
.trusted__grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 44px;
}

@media (min-width: 640px) {
  .trusted__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .trusted__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trusted-card {
  padding: 24px;
}

.trusted-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--color-pulse-dim);
  color: var(--color-pulse);
  margin-bottom: 14px;
  font-size: 1rem;
}

.trusted-card h3 {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-frost);
  margin-bottom: 8px;
}

.trusted-card p {
  color: var(--color-frost-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.trusted__regions-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-frost-muted);
  margin-bottom: 14px;
}

.trusted__regions-label i {
  color: var(--color-pulse);
}

.trusted__regions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.trusted__note {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-frost-muted);
  opacity: 0.7;
}

/* ===== Contact ===== */
.contact__grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.contact__lead {
  margin-bottom: 28px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-void-soft);
  color: var(--color-frost-soft);
  transition: border-color var(--transition), color var(--transition);
}

.contact__link i {
  color: var(--color-pulse);
}

.contact__link:hover {
  border-color: rgba(238, 211, 68, 0.4);
  color: var(--color-pulse);
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  color: var(--color-frost-muted);
  transition: border-color var(--transition), color var(--transition);
}

.social-icon:hover {
  border-color: rgba(238, 211, 68, 0.5);
  color: var(--color-pulse);
}

.form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-line);
  background: var(--color-void-soft);
}

.form__botcheck {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__row {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-frost-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  background: var(--color-void-raise);
  color: var(--color-frost);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(154, 154, 154, 0.5);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-pulse);
}

.field textarea {
  resize: vertical;
  min-height: 110px;
}

.form__note {
  font-size: 0.8rem;
  color: var(--color-frost-muted);
  line-height: 1.5;
}

.form__note a {
  color: var(--color-pulse);
  text-decoration: underline;
}

.form__status {
  font-size: 0.85rem;
  color: var(--color-pulse);
  display: none;
}

.form__status.visible {
  display: block;
}

.form__status.form__status--error {
  color: #e5484d;
}

/* ===== Footer ===== */
.footer {
  background: #222222;
  color: var(--color-frost-muted);
  border-top: 1px solid var(--color-line);
  padding-top: 64px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}

.footer__logo {
  height: 72px;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 0.9rem;
  max-width: 320px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.footer__col h4 {
  font-family: var(--font-mono);
  color: var(--color-pulse);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 16px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a,
.footer__col span {
  font-size: 0.9rem;
}

.footer__col a {
  transition: color var(--transition);
}

.footer__col a:hover {
  color: var(--color-frost);
}

.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__contact-link i {
  color: var(--color-pulse);
}

.footer__bottom {
  border-top: 1px solid var(--color-line);
  padding: 20px 0;
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--color-frost-muted);
}

/* ===== Back to top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--color-cyber-yellow);
  color: var(--color-charcoal-black);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== Page hero (careers / privacy sub-pages) ===== */
.page-hero {
  padding: 150px 0 70px;
  background: var(--color-void);
  border-bottom: 1px solid var(--color-line);
}

.page-hero__back {
  display: block;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  color: var(--color-frost-muted);
  margin-bottom: 24px;
  transition: color var(--transition);
}

.page-hero__back:hover {
  color: var(--color-pulse);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  color: var(--color-frost);
  margin-bottom: 16px;
}

.page-hero__lead {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--color-frost-soft);
  line-height: 1.6;
}

/* ===== Privacy / legal ===== */
.legal {
  padding: 60px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}

.legal h2 {
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-frost);
  margin: 36px 0 12px;
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  color: var(--color-frost-soft);
  line-height: 1.7;
  margin-bottom: 6px;
}

.legal a {
  color: var(--color-pulse);
  text-decoration: underline;
}

.legal__updated {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-frost-muted);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 991px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-charcoal-black);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    margin-left: 0;
  }

  .nav.open {
    max-height: 360px;
  }

  .nav__list {
    flex-direction: column;
    padding: 16px 24px;
    gap: 20px;
  }

  .header__actions .btn--primary {
    display: none;
  }

  .burger {
    display: flex;
  }

  .burger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .job-card__meta {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 576px) {
  .hero__specs {
    display: none;
  }

  .hero__inner {
    padding-bottom: 2rem;
  }
}

@media (min-width: 992px) {
  .scroll-cue {
    display: grid;
  }
}
