:root {
  --bg: #0b0b0b;
  --bg-elevated: rgba(13, 16, 24, 0.72);
  --panel: rgba(14, 18, 31, 0.58);
  --panel-strong: rgba(18, 22, 38, 0.82);
  --text: #f7f8fb;
  --muted: rgba(223, 228, 245, 0.72);
  --muted-strong: rgba(223, 228, 245, 0.9);
  --stroke: rgba(150, 170, 255, 0.18);
  --stroke-strong: rgba(182, 196, 255, 0.26);
  --blue: #72a4ff;
  --violet: #8e68ff;
  --cyan: #77e6ff;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 2rem;
  --radius-md: 1.35rem;
  --radius-sm: 999px;
  --content-width: min(1200px, calc(100vw - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  max-width: 100%;
  background:
    radial-gradient(circle at top, rgba(31, 46, 103, 0.22), transparent 34%),
    radial-gradient(circle at 80% 8%, rgba(120, 72, 255, 0.18), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "Satoshi", "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

html.is-loading body {
  overflow: hidden;
}

html.is-loading body > :not(.site-loader) {
  opacity: 0;
  visibility: hidden;
}

body > :not(.site-loader) {
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 22% 20%, rgba(114, 164, 255, 0.18), transparent 0 28%),
    radial-gradient(circle at 82% 18%, rgba(142, 104, 255, 0.18), transparent 0 24%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.98), rgba(6, 8, 14, 0.98)),
    var(--bg);
  transition:
    opacity 320ms ease,
    visibility 320ms ease;
}

html:not(.is-loading) .site-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__panel {
  width: min(100%, 28rem);
  display: grid;
  gap: 0.85rem;
}

.site-loader__label {
  margin: 0;
  color: rgba(235, 240, 255, 0.96);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-loader__track {
  position: relative;
  width: 100%;
  height: 3rem;
  padding: 0.35rem;
  overflow: hidden;
  border: 1px solid rgba(169, 188, 255, 0.34);
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(7, 9, 15, 0.88);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 30px rgba(0, 0, 0, 0.28);
}

.site-loader__blocks {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.24rem;
  width: 100%;
  height: 100%;
}

.site-loader__block {
  min-width: 0;
  border-radius: 0.08rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(180deg, rgba(6, 8, 14, 0.96), rgba(9, 12, 18, 0.92)),
    rgba(5, 7, 10, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  transition:
    background 150ms linear,
    border-color 150ms linear,
    box-shadow 150ms linear,
    opacity 150ms linear,
    transform 150ms linear;
}

.site-loader__block.is-active {
  border-color: rgba(157, 191, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(164, 214, 255, 0.98), rgba(96, 155, 255, 0.94) 58%, rgba(138, 98, 255, 0.9)),
    rgba(110, 162, 255, 0.96);
  box-shadow:
    0 0 18px rgba(114, 164, 255, 0.22),
    0 0 28px rgba(142, 104, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.site-loader.is-indeterminate .site-loader__block {
  animation: loader-block-wave 1.2s linear infinite;
}

.site-loader.is-indeterminate .site-loader__block:nth-child(1) { animation-delay: 0s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(2) { animation-delay: 0.08s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(3) { animation-delay: 0.16s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(4) { animation-delay: 0.24s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(5) { animation-delay: 0.32s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(6) { animation-delay: 0.4s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(7) { animation-delay: 0.48s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(8) { animation-delay: 0.56s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(9) { animation-delay: 0.64s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(10) { animation-delay: 0.72s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(11) { animation-delay: 0.8s; }
.site-loader.is-indeterminate .site-loader__block:nth-child(12) { animation-delay: 0.88s; }

.site-loader__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(210, 218, 244, 0.74);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-loader__status,
.site-loader__percent {
  white-space: nowrap;
}

@keyframes loader-block-wave {
  0%,
  100% {
    opacity: 0.18;
    transform: scaleY(0.88);
  }

  40% {
    opacity: 1;
    transform: scaleY(1);
  }
}

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

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.ambient,
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
}

.ambient--blue {
  background:
    radial-gradient(circle at 18% 22%, rgba(83, 132, 255, 0.2), transparent 0 24%),
    radial-gradient(circle at 72% 76%, rgba(60, 129, 255, 0.16), transparent 0 20%);
  filter: blur(12px);
}

.ambient--violet {
  background:
    radial-gradient(circle at 84% 18%, rgba(148, 96, 255, 0.22), transparent 0 26%),
    radial-gradient(circle at 42% 68%, rgba(122, 88, 255, 0.12), transparent 0 20%);
  filter: blur(24px);
}

.grain {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 55%, transparent 100%);
}

.topbar {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 20;
  width: var(--content-width);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(8, 10, 16, 0.58);
  backdrop-filter: blur(22px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.brand__mark {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #dff7ff, transparent 0 32%),
    linear-gradient(135deg, var(--cyan), var(--violet));
  box-shadow:
    0 0 24px rgba(114, 164, 255, 0.48),
    0 0 56px rgba(142, 104, 255, 0.28);
}

.topbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.topbar__nav a {
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.topbar__nav a:hover,
.topbar__nav a:focus-visible {
  color: var(--text);
}

.hero {
  position: relative;
  height: 150svh;
}

.hero__pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: visible;
  padding: 7rem 1.25rem 2rem;
}

.hero__poster,
.hero__video,
.hero__veil {
  position: absolute;
  inset: 0;
}

.hero__media {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(21, 30, 66, 0.35), transparent 0 36%),
    #050608;
}

.hero__poster {
  background:
    linear-gradient(180deg, rgba(8, 11, 18, 0.04), rgba(8, 11, 18, 0.48)),
    url("hero-poster.svg") center / cover no-repeat;
  transform: scale(1.02);
  opacity: 0.98;
  transition: opacity 500ms ease;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
  filter: brightness(0.68) saturate(1.1) contrast(1.04);
  transform: translateZ(0) scale(1.03);
  transition: opacity 700ms ease;
  backface-visibility: hidden;
}

.hero__veil {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.2) 0%, rgba(5, 6, 8, 0.3) 42%, rgba(5, 6, 8, 0.68) 100%),
    radial-gradient(circle at center, transparent 0 24%, rgba(6, 9, 16, 0.34) 80%),
    linear-gradient(135deg, rgba(114, 164, 255, 0.08), rgba(142, 104, 255, 0.08));
}

body.is-video-ready .hero__video {
  opacity: 0.9;
}

body.is-video-ready .hero__poster {
  opacity: 0.18;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 64rem);
  text-align: center;
}

.eyebrow,
.section__label,
.badge-card__meta {
  margin: 0;
  color: rgba(189, 201, 247, 0.86);
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__title {
  margin: 1rem auto 0;
  font-size: clamp(2.35rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 900;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  width: min(100%, 38rem);
  margin: 1.35rem auto 0;
  color: var(--muted-strong);
  font-size: clamp(0.96rem, 1.5vw, 1.14rem);
  text-wrap: balance;
}

.hero__chips {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero__chips span {
  padding: 0.56rem 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(17, 22, 37, 0.44);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.scroll-indicator {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  transform: translateX(-50%);
  color: rgba(232, 236, 248, 0.72);
}

.scroll-indicator__label {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-indicator__track {
  width: 1.1rem;
  height: 2.35rem;
  padding: 0.18rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
}

.scroll-indicator__thumb {
  display: block;
  width: 100%;
  height: 0.58rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(218, 238, 255, 0.95), rgba(114, 164, 255, 0.68));
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(1.15rem);
    opacity: 1;
  }
}

.section {
  position: relative;
  z-index: 1;
  width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 7.5rem;
}

.section--contact {
  padding-bottom: 2rem;
}

.section-orb {
  position: absolute;
  inset: auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.75;
}

.section-orb--about {
  top: 7rem;
  right: -3rem;
  background: radial-gradient(circle, rgba(114, 164, 255, 0.18), transparent 66%);
}

.section-orb--contact {
  right: -2rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgba(142, 104, 255, 0.2), transparent 66%);
}

.section__heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section__heading h2,
.contact-panel h2 {
  margin: 0;
  width: min(100%, 48rem);
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.panel,
.badge-card,
.service-card,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 36%),
    linear-gradient(180deg, rgba(11, 14, 24, 0.42), rgba(8, 10, 16, 0.28));
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.panel::before,
.badge-card::before,
.service-card::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -15%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(114, 164, 255, 0.18), transparent 68%);
  opacity: 0.6;
  pointer-events: none;
}

.panel--about {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.panel__lead {
  margin: 0;
  width: min(100%, 56rem);
  color: var(--muted-strong);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
}

.stat-grid,
.badge-grid,
.services-grid {
  display: grid;
  gap: 1rem;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card {
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
}

.stat-card__value {
  display: block;
  margin-bottom: 0.5rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  color: var(--text);
}

.stat-card__label {
  color: var(--muted);
}

.badge-card,
.service-card {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.badge-card h3,
.service-card h3 {
  margin: 1rem 0 0;
  font-size: 1.55rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.badge-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge-card {
  min-height: 19rem;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.badge-card__verified {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2rem;
  padding: 0.35rem 0.8rem 0.35rem 0.65rem;
  border: 1px solid rgba(128, 188, 255, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(8, 20, 38, 0.56);
  color: rgba(218, 238, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 24px rgba(114, 164, 255, 0.14);
}

.badge-card__verified::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(244, 251, 255, 0.98), transparent 0 28%),
    linear-gradient(135deg, rgba(119, 230, 255, 0.95), rgba(114, 164, 255, 0.92));
  box-shadow:
    0 0 14px rgba(119, 230, 255, 0.38),
    0 0 24px rgba(114, 164, 255, 0.26);
}

.badge-card__seal {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(232, 245, 255, 0.92);
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.95), transparent 0 24%),
    radial-gradient(circle at center, rgba(114, 164, 255, 0.26), transparent 72%),
    linear-gradient(135deg, rgba(114, 164, 255, 0.5), rgba(142, 104, 255, 0.45));
  box-shadow:
    inset 0 0 36px rgba(255, 255, 255, 0.08),
    0 0 30px rgba(114, 164, 255, 0.2);
}

.badge-card__seal-icon {
  width: 1.65rem;
  height: 1.65rem;
  filter: drop-shadow(0 0 10px rgba(119, 230, 255, 0.3));
}

.badge-card p:last-child,
.service-card p,
.contact-panel__copy {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.services-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
  min-height: 18rem;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.service-card__icon {
  position: absolute;
  top: 1.3rem;
  left: 1.35rem;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(128, 188, 255, 0.18);
  border-radius: 1rem;
  color: rgba(221, 238, 255, 0.88);
  background:
    linear-gradient(135deg, rgba(98, 163, 255, 0.16), rgba(132, 103, 255, 0.12)),
    rgba(8, 14, 25, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 26px rgba(114, 164, 255, 0.12);
}

.service-card__icon-svg {
  width: 1.45rem;
  height: 1.45rem;
  filter: drop-shadow(0 0 10px rgba(119, 230, 255, 0.22));
}

.contact-panel {
  padding: clamp(1.5rem, 3vw, 2.8rem);
}

.contact-panel__copy {
  width: min(100%, 38rem);
  font-size: 1.05rem;
}

.contact-panel__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.badge-card:hover,
.badge-card:focus-within,
.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: var(--stroke-strong);
  box-shadow:
    var(--shadow),
    0 0 40px rgba(114, 164, 255, 0.12);
}

.button--email {
  color: var(--text);
  border-color: rgba(128, 188, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(99, 161, 255, 0.18), rgba(124, 101, 255, 0.14)),
    rgba(10, 15, 28, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 24px rgba(114, 164, 255, 0.12);
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.footer {
  width: var(--content-width);
  margin: 0 auto;
  padding: 0 0 2rem;
  color: rgba(223, 228, 245, 0.5);
  font-size: 0.92rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 1120px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    top: 0.75rem;
    padding: 0.85rem 0.9rem;
  }

  .topbar__nav {
    gap: 0.8rem;
    font-size: 0.88rem;
  }

  .badge-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  html,
  body,
  main {
    overflow-x: hidden;
    overflow-x: clip;
  }

  .section {
    overflow-x: clip;
    padding-bottom: 5rem;
  }

  .section--contact {
    padding-bottom: 1rem;
  }

  .hero {
    height: 132svh;
  }

  .hero__pin {
    padding-top: 4.5rem;
  }

  .topbar {
    display: none;
  }

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

  .section-orb {
    width: 12rem;
    height: 12rem;
    opacity: 0.55;
  }

  .badge-card,
  .service-card,
  .contact-panel,
  .panel--about {
    border-radius: 1.5rem;
  }

  .site-loader__panel {
    gap: 0.75rem;
  }

  .site-loader__track {
    height: 2.7rem;
  }

  .site-loader__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .footer {
    width: calc(100vw - 2.5rem);
    min-height: 4.75rem;
    margin: 0 auto 1.25rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero {
    height: auto;
  }

  .hero__pin {
    position: relative;
    min-height: 100svh;
  }

  .hero__video {
    display: none;
  }

  .hero__poster {
    opacity: 1;
  }
}

.reduced-motion .hero__video {
  display: none;
}

.reduced-motion .hero__poster {
  opacity: 1;
}
