:root {
  --bg: #eaf4fb;
  --bg-elevated: #ffffff;
  --bg-tint: #d9ebf8;
  --ink: #0a1c30;
  --ink-soft: #35506a;
  --muted: #5f7590;
  --line: rgba(26, 107, 181, 0.12);
  --line-strong: rgba(15, 79, 138, 0.18);
  --accent: #1a78c7;
  --accent-deep: #0e5a9c;
  --sky: #6bb8e8;
  --shell: min(1140px, calc(100% - 2.5rem));
  --font-display: "Unbounded", sans-serif;
  --font-body: "Manrope", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 5rem;
  --footer-h: 4.6rem;
}

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

html, body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body.app {
  margin: 0;
  display: grid;
  grid-template-rows: var(--header-h) 1fr auto;
  min-height: 100%;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 1000px 580px at 6% -10%, rgba(120, 190, 235, 0.5), transparent 58%),
    radial-gradient(ellipse 820px 520px at 98% 0%, rgba(26, 120, 199, 0.22), transparent 55%),
    radial-gradient(ellipse 900px 560px at 50% 40%, rgba(160, 210, 240, 0.32), transparent 65%),
    radial-gradient(ellipse 700px 420px at 70% 100%, rgba(107, 184, 232, 0.22), transparent 60%),
    linear-gradient(180deg, #f2f8fd 0%, #e8f3fb 42%, #ddeef8 100%);
  -webkit-font-smoothing: antialiased;
}

body.app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(26, 120, 199, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 120, 199, 0.05) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 28%, #000 18%, transparent 78%);
}

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

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
}

h1, h2, h3, .hero__brand {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  max-width: 18ch;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

/* Header + tabs */
.site-header {
  position: relative;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(14, 90, 156, 0.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: auto;
  height: 3.35rem;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(26, 120, 199, 0.18));
}

.sysbar {
  display: none;
  align-items: center;
  gap: 0.45rem;
  margin-left: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 120, 199, 0.16);
  background: rgba(232, 243, 252, 0.75);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.sysbar__dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.45);
  animation: pulseDot 2.2s ease-out infinite;
}

.tabs {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: stretch;
  gap: 0.12rem;
  padding: 0.28rem;
  border-radius: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(232, 242, 251, 0.88));
  border: 1px solid rgba(26, 120, 199, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 10px 24px rgba(14, 90, 156, 0.06);
}

.tabs__btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  min-width: 3.9rem;
  padding: 0.38rem 0.48rem 0.42rem;
  border-radius: 0.75rem;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.tabs__icon {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
  opacity: 0.78;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.tabs__btn:hover {
  color: var(--ink);
}

.tabs__btn:hover .tabs__icon {
  opacity: 1;
  transform: translateY(-1px);
}

.tabs__btn.is-active {
  color: #fff;
}

.tabs__btn.is-active .tabs__icon {
  opacity: 1;
}

.tabs__btn:focus-visible {
  outline: 2px solid var(--sky);
  outline-offset: 2px;
}

.tabs__glow {
  position: absolute;
  top: 0.28rem;
  left: 0;
  bottom: 0.28rem;
  border-radius: 0.75rem;
  background:
    linear-gradient(160deg, #1a86d8 0%, #0e5a9c 70%);
  box-shadow:
    0 8px 18px rgba(14, 90, 156, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s;
  z-index: 0;
  pointer-events: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  margin-left: 0.35rem;
}

.header__cta {
  flex-shrink: 0;
}

.theme-toggle,
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(26, 120, 199, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.theme-toggle:hover,
.btn-icon:hover {
  background: rgba(232, 243, 252, 0.95);
  border-color: rgba(26, 120, 199, 0.28);
  color: var(--accent);
}

.theme-toggle svg,
.btn-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.theme-toggle__moon {
  display: none;
}

body.theme-dark .theme-toggle__sun {
  display: none;
}

body.theme-dark .theme-toggle__moon {
  display: block;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  margin: 0.35rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 1.25rem 1.1rem;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}

.mobile-nav button {
  text-align: left;
  border: 0;
  background: transparent;
  padding: 0.8rem 0.25rem;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.mobile-nav svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
  flex-shrink: 0;
}

.mobile-nav:not([hidden]) {
  display: flex;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.05rem;
  padding: 0.75rem 1.45rem;
  border-radius: 0.4rem;
  background: linear-gradient(180deg, #1568b0 0%, var(--accent-deep) 100%);
  color: #f7fbff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: 0 8px 20px rgba(14, 90, 156, 0.22);
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  background: linear-gradient(180deg, #1a78c7 0%, #0e5a9c 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(14, 90, 156, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: rgba(15, 79, 138, 0.22);
  box-shadow: none;
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 28, 48, 0.18);
}

.btn--sm {
  min-height: 2.45rem;
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(14, 90, 156, 0.18);
}

/* Workspace / panels */
.workspace {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.panels {
  position: relative;
  height: 100%;
  min-height: 0;
}

.panel {
  position: absolute;
  inset: 0;
  overflow: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transform: translateX(28px);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.45s var(--ease);
}

.panel.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}

.panel.is-entering.slide-from-right {
  animation: panelInRight 0.45s var(--ease) both;
}

.panel.is-entering.slide-from-left {
  animation: panelInLeft 0.45s var(--ease) both;
}

.panel.is-leaving {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.panel.is-leaving.slide-out-left {
  transform: translateX(-28px);
}

.panel.is-leaving.slide-out-right {
  transform: translateX(28px);
}

.panel.is-active .panel__inner > *,
.panel.is-active .hero__content > *,
.panel.is-active .trust,
.panel.is-active .home-extra,
.panel.is-active .home-launch,
.panel.is-active .focus__item,
.panel.is-active .process__list > li,
.panel.is-active .services__item,
.panel.is-active .license,
.panel.is-active .case,
.panel.is-active .vacancy,
.panel.is-active .contact-block,
.panel.is-active .office,
.panel.is-active .partners,
.panel.is-active .about__copy,
.panel.is-active .about__aside,
.panel.is-active .request-form,
.panel.is-active .vacancies {
  animation: riseSoft 0.55s var(--ease) both;
}

.panel.is-active .panel__inner > *:nth-child(1),
.panel.is-active .hero__content > *:nth-child(1) { animation-delay: 0.04s; }
.panel.is-active .panel__inner > *:nth-child(2),
.panel.is-active .hero__content > *:nth-child(2) { animation-delay: 0.1s; }
.panel.is-active .panel__inner > *:nth-child(3),
.panel.is-active .hero__content > *:nth-child(3) { animation-delay: 0.16s; }
.panel.is-active .hero__content > *:nth-child(4) { animation-delay: 0.22s; }
.panel.is-active .hero__content > *:nth-child(5) { animation-delay: 0.28s; }
.panel.is-active .services__item:nth-child(1) { animation-delay: 0.08s; }
.panel.is-active .services__item:nth-child(2) { animation-delay: 0.12s; }
.panel.is-active .services__item:nth-child(3) { animation-delay: 0.16s; }
.panel.is-active .services__item:nth-child(4) { animation-delay: 0.2s; }
.panel.is-active .services__item:nth-child(5) { animation-delay: 0.24s; }
.panel.is-active .services__item:nth-child(6) { animation-delay: 0.28s; }
.panel.is-active .services__item:nth-child(7) { animation-delay: 0.32s; }
.panel.is-active .services__item:nth-child(8) { animation-delay: 0.36s; }

.panel__inner {
  padding: clamp(1.8rem, 4vh, 3rem) 0 clamp(2.2rem, 5vh, 3.5rem);
}

@keyframes panelInRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes panelInLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100% - 5.5rem);
  overflow: hidden;
  isolation: isolate;
}

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

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
  filter: saturate(1.05) contrast(1.02);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(234, 244, 251, 0.5) 0%, rgba(232, 243, 251, 0.78) 34%, rgba(234, 244, 251, 0.95) 72%, #eaf4fb 100%),
    linear-gradient(105deg, rgba(236, 246, 253, 0.9) 0%, rgba(220, 238, 250, 0.55) 48%, rgba(180, 218, 242, 0.22) 100%),
    radial-gradient(ellipse 55% 50% at 50% 42%, rgba(255, 255, 255, 0.55), transparent 72%);
}

.hero__scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(107, 184, 232, 0.08) 48%,
    transparent 52%
  );
  background-size: 100% 220%;
  animation: scanMove 7s linear infinite;
  mix-blend-mode: multiply;
  opacity: 0.55;
}

.hero__stage {
  position: relative;
  width: var(--shell);
  margin-inline: auto;
  min-height: calc(100svh - var(--header-h) - var(--footer-h) - 14rem);
  display: grid;
  align-items: end;
  padding: clamp(2.2rem, 6vh, 4.5rem) 0 clamp(1.8rem, 4vh, 3rem);
}

.hero__emblem {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(56vw, 460px);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  animation: emblemIn 1.2s var(--ease) both;
}

.hero__emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.14;
  filter: saturate(1.15);
  user-select: none;
  /* небольшой запас сверху, чтобы кончик знака не обрезался */
  padding-top: 4%;
  box-sizing: border-box;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.hero__content::before {
  content: "";
  position: absolute;
  left: -1.5rem;
  top: 8%;
  width: 3px;
  height: 48%;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sky), var(--accent-deep));
  opacity: 0.85;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(26, 120, 199, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__chip-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #22a06b;
  box-shadow: 0 0 0 3px rgba(34, 160, 107, 0.15);
}

.hero__brand {
  position: relative;
  font-size: clamp(2.7rem, 7.5vw, 5.4rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, #0a1c30 10%, #0e5a9c 55%, #1a78c7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 24ch;
  margin-bottom: 0.9rem;
}

.hero__lead {
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 1.7rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Trust */
.trust {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(237, 245, 251, 0.88));
}

.trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(107, 184, 232, 0.12), transparent);
  pointer-events: none;
}

.trust__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 1.35rem 0;
}

.trust__item {
  display: grid;
  gap: 0.25rem;
  padding: 0 1.1rem;
  border-left: 1px solid var(--line);
}

.trust__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.trust__item strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(90deg, var(--ink), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust__item span {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Home extra content */
.home-extra {
  padding: 1.5rem 0 2.2rem;
  display: grid;
  gap: 1.6rem;
}

.focus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.focus__item {
  padding: 1rem 1.05rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(26, 120, 199, 0.14);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(214, 233, 247, 0.78));
  display: grid;
  gap: 0.3rem;
  box-shadow: 0 10px 24px rgba(14, 90, 156, 0.05);
}

.focus__item strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent-deep);
}

.focus__item span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.process__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  counter-reset: none;
}

.process__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 1rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  position: relative;
}

.process__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  padding-top: 0.15rem;
}

.process__list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.process__list p {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Home launch pads */
.home-launch {
  padding: 0;
}

.home-launch__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.home-launch__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.launch {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 252, 0.85));
  padding: 1rem 1rem 0.95rem;
  cursor: pointer;
  display: grid;
  gap: 0.3rem;
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(14, 90, 156, 0.05);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.launch svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.launch span {
  font-weight: 700;
  font-size: 0.95rem;
}

.launch small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.launch:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 120, 199, 0.28);
  box-shadow: 0 16px 32px rgba(14, 90, 156, 0.12);
}

/* Section heads */
.section__head {
  margin-bottom: clamp(1.5rem, 3.5vh, 2.4rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.85rem;
}

.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
}

.section__lead {
  margin-top: 0.9rem;
  color: var(--muted);
  max-width: 44ch;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
}

.services__item {
  padding: 1.35rem 1.1rem 1.35rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 2.6rem 2.4rem 1fr;
  column-gap: 0.55rem;
  align-items: start;
  transition: background 0.35s var(--ease);
}

.services__item:nth-child(odd) {
  padding-right: 1.6rem;
  border-right: 1px solid var(--line);
}

.services__item:nth-child(even) {
  padding-left: 1.6rem;
}

.services__item:hover {
  background: linear-gradient(90deg, rgba(107, 184, 232, 0.1), rgba(255, 255, 255, 0.55));
}

.services__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  color: var(--accent-deep);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(214, 232, 247, 0.9));
  border: 1px solid rgba(26, 120, 199, 0.14);
  grid-row: 1 / span 2;
}

.services__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.services__num {
  grid-row: 1 / span 2;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  padding-top: 0.45rem;
}

.services__item h3 {
  margin-bottom: 0.4rem;
  grid-column: 3;
}

.services__item p {
  color: var(--muted);
  font-size: 0.95rem;
  grid-column: 3;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.95fr;
  gap: clamp(1.3rem, 3vw, 2.5rem);
  align-items: start;
}

.about__copy {
  display: grid;
  gap: 1rem;
  color: var(--ink-soft);
}

.about__copy strong {
  color: var(--ink);
}

.about__aside {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 252, 0.9));
  box-shadow: 0 16px 40px rgba(14, 90, 156, 0.07);
}

.about__aside-label {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.55rem;
}

.about__badge {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--accent-deep);
  padding: 0.25rem 0.5rem;
  border-radius: 0.3rem;
  background: rgba(26, 120, 199, 0.08);
  border: 1px solid rgba(26, 120, 199, 0.14);
}

.about__aside dl {
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.about__aside dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.about__aside dl div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.about__aside dt {
  color: var(--muted);
}

.about__aside dd {
  margin: 0;
  font-weight: 600;
  color: var(--accent-deep);
}

/* Partners */
.partners {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 90, 156, 0.06);
}

.partners__item {
  background: linear-gradient(180deg, #ffffff, #f3f8fd);
  min-height: 7.4rem;
  display: grid;
  place-items: center;
  padding: 1.25rem 1.4rem;
  transition: background 0.3s var(--ease);
}

.partners__item:hover {
  background: #fff;
}

.partners__item img {
  max-height: 3.6rem;
  width: auto;
  max-width: 12rem;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.2) contrast(1.06);
  opacity: 0.96;
  transition: filter 0.3s var(--ease), opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.partners__item:hover img {
  filter: none;
  opacity: 1;
  transform: scale(1.05);
}

/* Licenses */
.licenses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.license {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 245, 251, 0.75));
  box-shadow: 0 12px 30px rgba(14, 90, 156, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.license::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--sky));
}

.license:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(14, 90, 156, 0.1);
}

.license__code {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.license h3 {
  margin-bottom: 0.6rem;
}

.license p {
  color: var(--muted);
  font-size: 0.96rem;
}

.license--link {
  text-decoration: none;
  color: inherit;
}

.license--link span {
  display: inline-block;
  margin-top: 0.95rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.92rem;
}

/* Vacancies */
.vacancies {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(107, 184, 232, 0.22), transparent 55%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 243, 252, 0.9));
  box-shadow: 0 16px 40px rgba(14, 90, 156, 0.06);
}

.vacancies .section__head {
  margin-bottom: 0;
}

.vacancy-list {
  display: grid;
  gap: 1rem;
}

.vacancy {
  padding: 1.35rem 1.3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(237, 245, 251, 0.78));
  box-shadow: 0 12px 28px rgba(14, 90, 156, 0.05);
  display: grid;
  gap: 0.7rem;
  justify-items: start;
}

.vacancy h3 {
  margin: 0;
}

.vacancy p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Contacts */
.contacts {
  display: grid;
  gap: 1.8rem;
}

.contacts__main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.contact-block {
  padding: 1.25rem 1.2rem;
  border-radius: 0.65rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f4f9fd);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(14, 90, 156, 0.08);
}

.contact-block h3 {
  margin-bottom: 0.75rem;
}

.contact-block p {
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
}

.contact-block a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.contact-block a:hover {
  color: var(--accent);
}

.contact-block span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 0.35rem;
}

.offices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.office {
  padding: 1.15rem 1.1rem 1.1rem;
  border-top: 2px solid var(--sky);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0 0 0.65rem 0.65rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.office__pin {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.office h3 {
  margin: 0;
}

.office p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.office__link {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 560;
  transition: color 0.25s var(--ease);
}

.office__link:hover {
  color: var(--accent-deep);
  text-decoration: underline;
}

.office__map {
  margin-top: 0.35rem;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8f1f8;
  min-height: 240px;
}

.office__map iframe,
.office__map > ymaps,
.office__map > div {
  width: 100% !important;
  max-width: 100%;
}

.office__map iframe {
  height: 240px !important;
  border: 0;
  display: block;
}

/* Footer */
.footer--compact {
  border-top: 1px solid rgba(107, 184, 232, 0.2);
  background:
    radial-gradient(ellipse 50% 80% at 0% 0%, rgba(26, 120, 199, 0.28), transparent 50%),
    linear-gradient(180deg, #0d2740 0%, #091929 100%);
  color: rgba(247, 251, 255, 0.78);
  padding: 0.85rem 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr auto auto;
  gap: 1rem;
  align-items: center;
}

.footer__brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
}

.footer__brand img {
  width: auto;
  height: 2.2rem;
  object-fit: contain;
  filter: brightness(1.12);
}

.footer__brand strong {
  display: block;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.82rem;
  margin-bottom: 0.1rem;
}

.footer__brand p {
  font-size: 0.78rem;
  color: rgba(247, 251, 255, 0.58);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer__okved {
  position: relative;
}

.footer__okved summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  list-style: none;
  font-size: 0.85rem;
}

.footer__okved summary::-webkit-details-marker {
  display: none;
}

.footer__okved summary::after {
  content: "+";
  margin-left: 0.4rem;
  color: var(--sky);
}

.footer__okved[open] summary::after {
  content: "−";
}

.footer__okved ul {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.6rem);
  width: min(70vw, 520px);
  max-height: 40vh;
  overflow: auto;
  margin: 0;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: rgba(247, 251, 255, 0.7);
  background: #0d2740;
  border: 1px solid rgba(107, 184, 232, 0.25);
  border-radius: 0.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 20;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(247, 251, 255, 0.45);
  margin: 0;
  text-align: right;
}

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

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes emblemIn {
  from {
    opacity: 0;
    transform: translate(-50%, -44%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

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

@keyframes scanMove {
  0% { background-position: 0 -40%; }
  100% { background-position: 0 140%; }
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 160, 107, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 160, 107, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img,
  .hero__emblem,
  .hero__scan,
  .hero__content,
  .panel,
  .panel.is-entering,
  .panel.is-entering.slide-from-left,
  .panel.is-entering.slide-from-right,
  .panel.is-active .panel__inner > *,
  .panel.is-active .hero__content > *,
  .panel.is-active .trust,
  .panel.is-active .home-extra,
  .panel.is-active .home-launch,
  .panel.is-active .services__item,
  .tabs__glow,
  .sysbar__dot,
  .hero__scan {
    animation: none !important;
    transition: none !important;
  }

  .panel {
    transform: none !important;
    filter: none !important;
  }

  .hero__emblem {
    transform: translate(-50%, -50%) !important;
  }
}

/* Responsive */
@media (min-width: 1280px) {
  .sysbar {
    display: inline-flex;
  }
}

@media (max-width: 1100px) {
  .tabs {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }

  .header__actions {
    margin-left: 0.25rem;
  }

  .home-launch__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr auto;
  }

  .footer__copy,
  .footer__meta {
    grid-column: 2;
  }

  .footer__okved {
    grid-column: 1 / -1;
  }

  .footer__okved ul {
    left: 0;
    right: auto;
  }
}

@media (max-width: 960px) {
  .trust__row,
  .contacts__main,
  .offices,
  .licenses,
  .cases,
  .partners,
  .focus__grid,
  .process__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust__item {
    border-left: 0;
    padding: 0.55rem 0;
    border-top: 1px solid var(--line);
  }

  .trust__item:first-child,
  .trust__item:nth-child(2) {
    border-top: 0;
  }

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

  .hero__content::before {
    display: none;
  }

  .hero__emblem {
    width: min(72vw, 380px);
    top: 52%;
  }

  .hero__emblem img {
    opacity: 0.12;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(1140px, calc(100% - 1.5rem));
    --footer-h: auto;
  }

  body.app {
    overflow: hidden;
  }

  .services,
  .trust__row,
  .contacts__main,
  .offices,
  .licenses,
  .cases,
  .partners,
  .focus__grid,
  .process__list {
    grid-template-columns: 1fr;
  }

  .services__item,
  .services__item:nth-child(odd),
  .services__item:nth-child(even) {
    padding: 1.2rem 0;
    border-right: 0;
    grid-template-columns: 2.4rem 2rem 1fr;
  }

  .home-launch__grid {
    grid-template-columns: 1fr;
  }

  .hero__brand {
    letter-spacing: 0.04em;
  }

  .vacancies {
    align-items: start;
    flex-direction: column;
    padding: 1.4rem;
  }

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

  .footer__copy,
  .footer__meta {
    text-align: left;
    justify-items: start;
    grid-column: auto;
  }

  .footer__brand p {
    white-space: normal;
  }

  .cookie {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Service filters */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.filter-bar__btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.filter-bar__btn:hover {
  border-color: rgba(26, 120, 199, 0.28);
  color: var(--ink);
}

.filter-bar__btn.is-active {
  background: linear-gradient(160deg, #1a86d8 0%, #0e5a9c 70%);
  border-color: transparent;
  color: #fff;
}

.services__item.is-filtered-out,
.services__item[hidden] {
  display: none;
}

/* Cases / Projects */
.cases {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.case {
  padding: 1.35rem 1.25rem 1.3rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 245, 251, 0.8));
  box-shadow: 0 12px 30px rgba(14, 90, 156, 0.05);
  display: grid;
  gap: 0.85rem;
  align-content: start;
}

.case__tag {
  display: inline-flex;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.case h3 {
  margin: 0;
  font-size: 1.05rem;
  max-width: none;
}

.case__steps {
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.case__steps dt {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.2rem;
}

.case__steps dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.case__link {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--accent-deep);
}

.case__link:hover {
  color: var(--accent);
}

/* Audience */
.audience {
  display: grid;
  gap: 0.85rem;
}

.audience__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.audience__btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink-soft);
  border-radius: 0.55rem;
  padding: 0.7rem 1.05rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.audience__btn.is-active {
  background: linear-gradient(160deg, #1a86d8 0%, #0e5a9c 70%);
  border-color: transparent;
  color: #fff;
}

.audience__panel {
  padding: 1.1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.audience__list {
  display: grid;
  gap: 0.55rem;
}

.audience__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.audience__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
}

/* News */
.news__list {
  display: grid;
  gap: 0.7rem;
}

.news__list li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1.05rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.news__list time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  padding-top: 0.15rem;
}

.news__list p {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

@media (max-width: 720px) {
  .news__list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* Request form */
.request-form {
  padding: 1.4rem 1.3rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(107, 184, 232, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(237, 245, 251, 0.85));
  box-shadow: 0 14px 34px rgba(14, 90, 156, 0.06);
  display: grid;
  gap: 0.85rem;
}

.request-form h3 {
  margin: 0;
}

.request-form__hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.request-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.request-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.request-form__full {
  grid-column: 1 / -1;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-weight: 500;
}

.request-form textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(107, 184, 232, 0.65);
  outline-offset: 1px;
}

.request-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.request-form__success {
  color: #1a7a52;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-block__messengers {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .request-form__grid {
    grid-template-columns: 1fr;
  }
}

/* Cookie + modals */
.cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(10, 28, 48, 0.14);
  max-width: 720px;
  margin-inline: auto;
}

.cookie[hidden] {
  display: none !important;
}

.cookie p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.cookie button[data-privacy-open] {
  border: 0;
  background: none;
  padding: 0;
  color: var(--accent-deep);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 48, 0.55);
  backdrop-filter: blur(3px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(80vh, 720px);
  overflow: auto;
  border-radius: 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px rgba(10, 28, 48, 0.28);
}

.modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.7rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal__dialog h2 {
  max-width: none;
  margin-bottom: 0.85rem;
  padding-right: 1.5rem;
}

.modal__body {
  display: grid;
  gap: 0.75rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.footer__meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  text-align: right;
}

.footer__privacy-link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--sky);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer__meta .footer__copy {
  text-align: right;
}

body.modal-open {
  overflow: hidden;
}

/* Dark theme */
body.app.theme-dark {
  --bg: #0b1726;
  --bg-elevated: #122335;
  --bg-tint: #163049;
  --ink: #e7f1fa;
  --ink-soft: #b7c9db;
  --muted: #8aa0b8;
  --line: rgba(120, 180, 220, 0.14);
  --line-strong: rgba(120, 180, 220, 0.22);
  --accent: #4ea3e0;
  --accent-deep: #7bbcea;
  --sky: #5eb0e6;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 900px 520px at 8% -8%, rgba(40, 110, 170, 0.35), transparent 58%),
    radial-gradient(ellipse 780px 480px at 96% 0%, rgba(26, 90, 150, 0.28), transparent 55%),
    linear-gradient(180deg, #0d1a2b 0%, #0b1726 45%, #0a1522 100%);
  color: var(--ink);
}

body.app.theme-dark::before {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(120, 180, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 180, 220, 0.05) 1px, transparent 1px);
}

body.theme-dark .site-header,
body.theme-dark .mobile-nav {
  background: rgba(12, 26, 42, 0.88);
  border-bottom-color: var(--line);
}

body.theme-dark .site-header.is-scrolled {
  background: rgba(12, 26, 42, 0.95);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

body.theme-dark .tabs {
  background: linear-gradient(180deg, rgba(22, 42, 64, 0.95), rgba(16, 32, 50, 0.92));
  border-color: var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.theme-dark .theme-toggle,
body.theme-dark .btn-icon {
  background: rgba(18, 35, 53, 0.9);
  border-color: var(--line);
  color: var(--accent);
}

body.theme-dark .nav-toggle span {
  background: var(--ink);
}

body.theme-dark .hero__veil {
  background:
    linear-gradient(180deg, rgba(11, 23, 38, 0.55) 0%, rgba(11, 23, 38, 0.82) 40%, #0b1726 100%),
    linear-gradient(105deg, rgba(11, 23, 38, 0.85) 0%, rgba(18, 40, 62, 0.45) 55%, transparent 100%);
}

body.theme-dark .trust,
body.theme-dark .focus__item,
body.theme-dark .process__list li,
body.theme-dark .launch,
body.theme-dark .services__item,
body.theme-dark .license,
body.theme-dark .case,
body.theme-dark .vacancy,
body.theme-dark .contact-block,
body.theme-dark .office,
body.theme-dark .audience__panel,
body.theme-dark .news__list li,
body.theme-dark .request-form,
body.theme-dark .cookie,
body.theme-dark .filter-bar__btn,
body.theme-dark .audience__btn {
  background: linear-gradient(180deg, rgba(18, 35, 53, 0.95), rgba(14, 28, 44, 0.9));
  border-color: var(--line);
}

body.theme-dark .btn--ghost {
  background: rgba(18, 35, 53, 0.65);
  color: var(--ink);
  border-color: var(--line-strong);
}

body.theme-dark .btn--ghost:hover {
  background: var(--ink);
  color: #0b1726;
}

body.theme-dark .request-form input,
body.theme-dark .request-form select,
body.theme-dark .request-form textarea {
  background: rgba(10, 20, 32, 0.85);
  border-color: var(--line-strong);
  color: var(--ink);
}

body.theme-dark .footer {
  background: rgba(10, 18, 30, 0.92);
  border-top-color: var(--line);
}

body.theme-dark .request-form__success {
  color: #63d3a0;
}

body.theme-dark .trust__item strong {
  background: linear-gradient(90deg, #e7f1fa, #7bbcea);
  -webkit-background-clip: text;
  background-clip: text;
}
