:root {
  --mint: #00c8a0;
  --mint-light: #78fae6;
  --mint-deep: #00a887;
  --deep-navy: #001432;
  --deep-navy-2: #0d2448;
  --graphite: #283246;
  --text: #10253b;
  --muted: #62798f;
  --white: #ffffff;
  --soft: #eef4f7;
  --soft-2: #f6fafb;
  --border: rgba(0, 20, 50, 0.1);
  --border-strong: rgba(0, 200, 160, 0.22);
  --shadow: 0 20px 60px rgba(8, 28, 54, 0.12);
  --glow: 0 24px 72px rgba(0, 200, 160, 0.16);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1220px;
  --site-padding: clamp(1rem, 2vw, 1.6rem);
  --section-space: clamp(1.8rem, 3.2vw, 2.9rem);
  --timing: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans:
    "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-mono:
    "SFMono-Regular", "SF Mono", "JetBrains Mono", "Cascadia Code", Consolas,
    "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(122, 241, 221, 0.18),
      transparent 25%
    ),
    linear-gradient(180deg, #ffffff 0%, #f4f8fa 54%, #eef4f7 100%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.cookie-modal-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

p,
li,
dt,
dd {
  text-wrap: pretty;
}

a {
  color: inherit;
  text-decoration: none;
  transition:
    color 0.25s var(--timing),
    background-color 0.25s var(--timing),
    border-color 0.25s var(--timing),
    transform 0.25s var(--timing),
    box-shadow 0.25s var(--timing);
}

:focus-visible {
  outline: 3px solid rgba(0, 200, 160, 0.35);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - (var(--site-padding) * 2)));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 3000;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: var(--deep-navy);
  color: var(--white);
  font-weight: 700;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.glass {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-header {
  position: relative;
  z-index: 30;
  padding-top: 1rem;
}

.header-shell {
  padding: 0.85rem 1rem;
  border-radius: 28px;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}

.brand img {
  width: clamp(150px, 15vw, 210px);
  height: auto;
  max-width: 100%;
}

.brand-meta {
  display: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 0.85vw, 1rem);
}

.nav-link {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--deep-navy);
}

.topbar-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.header-cta {
  white-space: nowrap;
}

@media (min-width: 981px) {
  #topbarCta {
    display: none;
  }
}

.hero-grid--single {
  grid-template-columns: minmax(0, 1fr);
}

.desktop-lang-switch {
  display: inline-flex;
}

.menu-lang-switch {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.lang-switch__button,
.menu-toggle {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.lang-switch__button {
  min-width: 44px;
  padding: 0.35rem 0.72rem;
}

.lang-switch__button.is-active {
  background: linear-gradient(135deg, var(--mint-light), var(--mint));
  color: var(--deep-navy);
  box-shadow: 0 8px 18px rgba(67, 229, 197, 0.22);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--mint-light), var(--mint));
  color: var(--deep-navy);
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(67, 229, 197, 0.18);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(67, 229, 197, 0.26);
}

.button-ghost {
  border-color: rgba(4, 26, 51, 0.1);
  background: rgba(255, 255, 255, 0.72);
  color: var(--deep-navy);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  background: rgba(255, 255, 255, 0.72);
}

.menu-toggle__logo {
  display: none;
  width: clamp(112px, 22vw, 158px);
  height: auto;
  flex-shrink: 0;
}

.mobile-actions {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: start center;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(3, 10, 21, 0.46);
}

body.menu-open .menu-drawer {
  display: grid;
}

.menu-drawer.is-open {
  display: grid;
}

.menu-drawer__panel {
  width: min(100%, 680px);
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overflow-x: hidden;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  padding: calc(1.1rem + env(safe-area-inset-top))
    calc(1.1rem + env(safe-area-inset-right))
    calc(1.1rem + env(safe-area-inset-bottom))
    calc(1.1rem + env(safe-area-inset-left));
  border-radius: 28px;
}

.menu-drawer__top {
  order: 1;
  min-width: 0;
}
.menu-drawer__extras {
  order: 2;
  min-width: 0;
  flex-wrap: wrap;
}
.menu-drawer__panel > #menuPrimaryCta {
  order: 3;
  min-height: 44px;
}
.menu-drawer__panel > .menu-nav {
  order: 4;
  min-width: 0;
}
body.menu-open {
  overflow: hidden;
}

.menu-drawer__extras {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.menu-telegram {
  color: var(--deep-navy);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 700;
}

.menu-drawer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.menu-close {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
}

.menu-nav {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.menu-nav .nav-link {
  display: block;
  padding: 0.8rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.menu-nav__divider {
  height: 1px;
  margin: 0.35rem 0 0.15rem;
  background: rgba(4, 26, 51, 0.1);
}

.menu-nav__meta {
  display: grid;
  gap: 0.4rem;
}

.nav-link--meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs-band {
  margin-top: 0.55rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a {
  color: var(--deep-navy);
  font-weight: 600;
}

.breadcrumbs a,
.breadcrumbs span {
  overflow-wrap: anywhere;
}

.breadcrumbs__sep {
  color: rgba(16, 37, 59, 0.4);
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  padding: clamp(1.7rem, 4vw, 3rem) 0 clamp(2rem, 4.8vw, 3.2rem);
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at top right,
      rgba(122, 241, 221, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #081c36 0%, var(--deep-navy) 62%, #072447 100%);
  z-index: 0;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(1rem, 2.3vw, 1.9rem);
  align-items: center;
  padding-top: 1.1rem;
}

.hero-copy,
.page-hero {
  color: var(--white);
}

.eyebrow,
.card-label,
.hero-panel__label,
.case-preview__badge,
.footer-column > span,
.contact-panel > span,
.solution-meta > div > span,
.case-flow span,
.cookie-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--mint-light);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0.7rem 0 0.85rem;
  font-size: clamp(2.3rem, 4.9vw, 4.35rem);
  line-height: 1.02;
}

.hero-text,
.page-hero__text {
  max-width: 50rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
}

.hero-bullets {
  display: grid;
  gap: 0.65rem;
  margin: 1.2rem 0 1.45rem;
  list-style: none;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-bullets li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(67, 229, 197, 0.55);
}

.hero-bullet {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.hero-bullet span {
  width: 10px;
  height: 10px;
  margin-top: 0.42rem;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(67, 229, 197, 0.55);
}

.hero-bullet p {
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-panel,
.cta-band,
.case-preview,
.case-card,
.info-card--dark {
  color: var(--white);
}

.hero-panel {
  padding: clamp(1.05rem, 1.7vw, 1.45rem);
  border-color: rgba(122, 241, 221, 0.15);
  background:
    linear-gradient(180deg, rgba(7, 29, 56, 0.94), rgba(4, 26, 51, 0.98)),
    radial-gradient(
      circle at top right,
      rgba(67, 229, 197, 0.16),
      transparent 35%
    );
  box-shadow: var(--glow);
}

.hero-panel__logo {
  width: min(42%, 180px);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 24px rgba(67, 229, 197, 0.24));
}

.hero-panel__stack {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.stack-card {
  padding: 0.9rem 0.95rem 0.9rem 1rem;
  border: 1px solid rgba(122, 241, 221, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.stack-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.stack-card p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
}

.page-hero {
  padding: clamp(1.75rem, 4vw, 2.7rem) 0;
}

.page-pills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.page-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(122, 241, 221, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-align: center;
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.2rem 0 1.4rem;
}

.process-flow__step {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 86px;
  padding: 1rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--deep-navy);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

main {
  padding-bottom: 1rem;
}

.section {
  padding: var(--section-space) 0;
}

.section-soft {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.26),
      rgba(239, 247, 248, 0.8)
    ),
    transparent;
}

.section-head {
  max-width: 52rem;
  margin-bottom: 1.4rem;
}

.section-head--left {
  margin-bottom: 1.4rem;
}

.section-head h2,
.cta-band h2,
.form-block h2,
.contact-band h2,
.case-card h2,
.solution-card h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.07;
}

.section-head p,
.info-card p,
.solution-card p,
.case-card p,
.cta-band p,
.form-block > p,
.contact-band__intro p,
.footer-lead p,
.footer-requisite dd,
.faq-item p {
  color: var(--muted);
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1.2rem;
}

.split-compact {
  align-items: stretch;
}

.info-card,
.solution-card,
.step-card,
.cta-band,
.form-block,
.contact-band,
.footer-grid,
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.info-card,
.solution-card,
.step-card,
.case-card {
  padding: clamp(1.25rem, 2vw, 1.7rem);
}

.info-card::before,
.solution-card::before,
.step-card::before,
.case-card::before,
.cta-band::before,
.form-block::before,
.contact-band::before,
.footer-grid::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--mint-light),
    rgba(67, 229, 197, 0.1)
  );
}

.info-card h3,
.solution-card h2,
.solution-card h3,
.case-card h2 {
  color: var(--deep-navy);
}

.info-card--accent {
  padding: clamp(1.25rem, 2vw, 1.7rem);
}

.info-card h3,
.step-card p,
.faq-item summary {
  font-size: 1.05rem;
  font-weight: 700;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-navy);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}

.info-card--tall {
  padding: clamp(1.4rem, 2vw, 1.9rem);
}

.footer-grid {
  background:
    linear-gradient(180deg, rgba(6, 24, 45, 0.96), rgba(4, 26, 51, 0.98)),
    radial-gradient(
      circle at top right,
      rgba(67, 229, 197, 0.14),
      transparent 36%
    );
  border-color: rgba(122, 241, 221, 0.12);
  box-shadow: var(--glow);
}

.footer-grid,
.footer-grid a,
.footer-grid p,
.footer-grid dd,
.footer-grid dt,
.faq-item p,
.info-card--dark h3,
.info-card--dark p {
  color: var(--white);
}

.case-preview,
.case-card {
  padding: clamp(1.35rem, 2vw, 1.8rem);
}

.case-preview h3,
.case-card h2 {
  margin: 0.8rem 0 0.9rem;
  color: var(--white);
}

.compact-list {
  display: grid;
  gap: 0.55rem;
  padding-left: 1rem;
  margin-top: 1rem;
}

.compact-list li::marker {
  color: var(--mint);
}

.compact-list--light {
  color: rgba(255, 255, 255, 0.82);
}

.section-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.section-note--link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--deep-navy);
  font-weight: 700;
}

.text-link::after {
  content: "→";
}

.text-link--light {
  color: var(--mint-light);
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.step-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.step-card {
  display: grid;
  gap: 0.9rem;
}

.step-card strong,
.metric-card strong {
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.metric-card h3 {
  margin: 0.7rem 0;
}

.solution-meta {
  display: grid;
  gap: 1rem;
}

.solution-meta p,
.solution-meta li {
  color: var(--muted);
}

.solution-card__lead {
  margin-bottom: 0.65rem;
  color: var(--deep-navy);
  font-weight: 700;
}

.solution-meta--compact {
  gap: 0.45rem;
  margin-top: 1rem;
}

.solution-meta--compact p {
  font-size: 0.95rem;
}

.solution-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.case-list {
  display: grid;
  gap: 1.2rem;
}

.case-flow {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

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

.faq-item {
  padding: 1rem 1.1rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  color: var(--deep-navy);
}

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

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--mint);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin-top: 0.8rem;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.4rem, 2vw, 1.9rem);
}

.cta-band--spotlight {
  border-color: var(--border-strong);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94),
      rgba(244, 251, 249, 0.96)
    ),
    radial-gradient(
      circle at top right,
      rgba(67, 229, 197, 0.14),
      transparent 36%
    );
}

.form-shell,
.contact-band {
  width: 100%;
}

.form-block,
.contact-band {
  padding: clamp(1.35rem, 2vw, 1.9rem);
}

.form-block > p,
.contact-band__intro p,
.contact-panel p,
.form-disclaimer {
  color: var(--muted);
}

form {
  margin-top: 1.3rem;
}

label {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(4, 26, 51, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  outline: none;
  transition:
    border-color 0.25s var(--timing),
    box-shadow 0.25s var(--timing),
    background-color 0.25s var(--timing);
}

input::placeholder,
textarea::placeholder {
  color: #7d8ea2;
}

select {
  color: var(--text);
}

option {
  color: var(--deep-navy);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(122, 241, 221, 0.42);
  box-shadow: 0 0 0 4px rgba(67, 229, 197, 0.12);
  background: rgba(255, 255, 255, 1);
}

textarea {
  resize: vertical;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #d14d72;
  box-shadow: 0 0 0 4px rgba(209, 77, 114, 0.12);
}

.form-field-error {
  min-height: 1.25rem;
  margin: -0.65rem 0 0.85rem;
  color: #b42318;
  font-size: 0.88rem;
}

.form-status {
  min-height: 1.6em;
  margin-top: 1rem;
  font-size: 0.96rem;
  font-weight: 600;
}

.form-direct-contacts,
.form-legal-links {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

.form-direct-contacts {
  color: var(--text);
}

.form-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: var(--muted);
}

.form-legal-links a,
.cookie-links a {
  color: var(--deep-navy);
  font-weight: 600;
}

.form-disclaimer {
  margin-top: 0.8rem;
  font-size: 0.88rem;
}

.form-consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: flex-start;
  margin-top: 1rem;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 0.92rem;
}

.form-consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
}

.form-consent a {
  color: var(--deep-navy);
  font-weight: 600;
}

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

.contact-band__intro {
  max-width: 56rem;
  margin-bottom: 1.25rem;
}

.contact-panel {
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
}

.contact-links,
.footer-links {
  display: grid;
  gap: 0.75rem;
}

.contact-links a,
.footer-links a {
  width: fit-content;
  color: var(--mint-light);
  font-family: var(--font-mono);
  font-weight: 700;
}

.site-footer {
  padding: 0 0 1.5rem;
}

.footer-grid {
  padding: 1.1rem 1.2rem;
  border-radius: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.2rem;
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 0.8rem;
}

.footer-block > span {
  color: rgba(255, 255, 255, 0.62);
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-contact-stack {
  display: grid;
  gap: 0.35rem;
}

.footer-contact-stack p,
.footer-contact-stack a {
  color: var(--white);
  font-size: 0.98rem;
}

.footer-legal {
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-legal summary {
  padding: 0.95rem 1rem;
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

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

.footer-legal[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal .footer-links {
  padding: 0.9rem 1rem 1rem;
}

.footer-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-resource-links a {
  color: var(--mint-light);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-social-links a {
  color: var(--mint-light);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.telegram-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.25rem;
  border: 1px solid rgba(122, 241, 221, 0.22);
  border-radius: 999px;
  background: rgba(122, 241, 221, 0.08);
}

.telegram-link__icon {
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--mint-light);
}

.telegram-link__icon svg {
  width: 100%;
  height: 100%;
}

.footer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.footer-bar__lead h2 {
  margin-bottom: 0.45rem;
  font-size: 1.45rem;
  color: var(--white);
}

.footer-bar__lead p {
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.footer-bar__links,
.footer-bar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bar__links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
}

.footer-bar__contact {
  justify-content: flex-end;
}

.footer-bar__contact a {
  color: var(--mint-light);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-requisites {
  display: grid;
  gap: 0.7rem;
}

.footer-requisite {
  display: grid;
  gap: 0.18rem;
}

.footer-requisite dt {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-requisite dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.45;
}

.footer-requisites--inverted dd {
  color: var(--white);
}

.cookie-banner {
  position: fixed;
  right: clamp(1rem, 2vw, 1.5rem);
  bottom: clamp(1rem, 2vw, 1.5rem);
  z-index: 70;
  width: min(100% - 2rem, 540px);
  padding: 1.25rem;
  border-radius: 28px;
  border: 1px solid rgba(122, 241, 221, 0.16);
  background:
    linear-gradient(180deg, rgba(6, 17, 34, 0.96), rgba(3, 10, 21, 0.98)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.38);
}

.cookie-banner__content {
  display: grid;
  gap: 0.4rem;
}

.cookie-banner__content h2,
.cookie-modal__header h2 {
  margin-bottom: 0.7rem;
  color: var(--white);
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.cookie-banner__content p,
.cookie-modal__body p {
  color: rgba(255, 255, 255, 0.76);
}

.cookie-links {
  margin-top: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.88rem;
}

.cookie-links a {
  color: var(--mint-light);
}

.case-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.case-card__label,
.case-card__status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(67, 229, 197, 0.12);
  color: var(--deep-navy);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
}

.case-card__demo {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.case-card__demo > span {
  color: var(--deep-navy);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}

.cta-band,
.case-card,
.form-block,
.contact-band {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.cta-band {
  background:
    linear-gradient(
      180deg,
      rgba(237, 252, 248, 0.96),
      rgba(255, 255, 255, 0.96)
    ),
    rgba(255, 255, 255, 0.96);
}

.cta-band h2,
.case-card h2,
.form-block h2,
.contact-band h2 {
  color: var(--deep-navy);
}

.cta-band p,
.case-card p,
.case-flow p,
.contact-band p {
  color: var(--muted);
}

.faq-card h3 {
  margin-bottom: 0.7rem;
}

.contact-status {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(209, 77, 114, 0.24);
  border-radius: 18px;
  background: rgba(209, 77, 114, 0.08);
  color: #9c2148;
  font-weight: 700;
}

.noscript-note {
  margin: 1rem auto 0;
  max-width: calc(var(--container) - 2rem);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(4, 26, 51, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-navy);
  box-shadow: var(--shadow);
}

.cookie-banner__actions,
.cookie-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.cookie-banner__actions .button,
.cookie-modal__footer .button {
  flex: 1 1 180px;
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(2, 6, 14, 0.72);
  backdrop-filter: blur(16px);
}

.cookie-modal {
  width: min(100%, 720px);
  padding: 1.5rem;
  border-radius: 32px;
  border: 1px solid rgba(122, 241, 221, 0.16);
  background:
    linear-gradient(180deg, rgba(7, 19, 39, 0.96), rgba(4, 11, 23, 0.98)),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42);
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-modal__close {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(122, 241, 221, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-size: 1.35rem;
  cursor: pointer;
}

.cookie-modal__body {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.cookie-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(122, 241, 221, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.cookie-option h3 {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-size: 1rem;
}

.cookie-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(122, 241, 221, 0.18);
  border-radius: 999px;
  background: rgba(9, 23, 43, 0.82);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cookie-switch:not(.cookie-switch--locked):has(input:checked) {
  border-color: rgba(122, 241, 221, 0.42);
  background: rgba(25, 90, 84, 0.5);
  color: var(--mint-light);
}

.cookie-switch--locked {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.68);
  cursor: not-allowed;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s var(--timing),
    transform 0.7s var(--timing);
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .hero-grid,
  .grid-4,
  .process-flow,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .split {
    grid-template-columns: 1fr;
  }

  .step-grid--four,
  .step-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    gap: 0.9rem;
  }
}

@media (max-width: 980px) {
  .desktop-nav {
    display: none;
  }

  .desktop-lang-switch {
    display: none;
  }

  .menu-lang-switch {
    display: inline-flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .brand {
    display: none;
  }

  .topbar {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .topbar-tools {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 0.55rem;
  }

  .header-cta,
  .menu-toggle {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(4, 26, 51, 0.14);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(8, 28, 54, 0.08);
  }

  .header-cta {
    order: 2;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    order: 1;
    min-width: 0;
    padding-inline: 0.85rem;
    border-radius: 18px;
  }

  .menu-toggle__logo {
    display: block;
  }

  .hero-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .process-flow {
    grid-template-columns: 1fr;
  }

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

  .hero .hero-panel {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 0.8rem;
  }

  .header-shell {
    padding: 0.8rem 0.85rem;
    border-radius: 24px;
  }

  .topbar {
    align-items: center;
  }

  .topbar-tools {
    gap: 0.5rem;
  }

  .header-cta {
    min-height: 52px;
    padding: 0.95rem 1rem;
    font-size: 0.94rem;
  }

  .lang-switch__button,
  .menu-toggle {
    min-height: 48px;
    padding-inline: 1rem;
  }

  .menu-toggle {
    padding-inline: 0.8rem;
  }

  .menu-toggle__logo {
    width: min(100%, clamp(124px, 34vw, 152px));
  }

  .hero {
    padding-top: 1.1rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(1.65rem, 8.2vw, 2.55rem);
  }

  .hero-actions .button,
  .cta-band__actions .button,
  .cookie-modal__footer .button {
    width: 100%;
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    width: auto;
    padding: 0.82rem 0.85rem 0.88rem;
    border-radius: 24px;
  }

  .cookie-banner__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
  }

  .cookie-banner__content h2 {
    margin-bottom: 0.2rem;
    font-size: clamp(1rem, 5vw, 1.16rem);
    line-height: 1.08;
  }

  .cookie-banner__content p {
    font-size: 0.84rem;
    line-height: 1.34;
  }

  .cookie-links {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .cookie-banner__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.75rem;
  }

  .cookie-banner__actions .button {
    min-height: 40px;
    padding: 0.72rem 0.78rem;
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: normal;
  }

  #cookieAcceptBtn {
    grid-column: 1 / -1;
  }

  .cookie-option {
    grid-template-columns: 1fr;
  }

  .cookie-switch {
    min-width: 100%;
  }

  .home-summary {
    align-items: flex-start;
  }

  .overview-grid {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.25rem;
  }

  .overview-grid::-webkit-scrollbar {
    display: none;
  }

  .overview-grid > * {
    scroll-snap-align: start;
  }

  .footer-grid {
    padding: 1rem;
  }

  .footer-contact-row {
    align-items: flex-start;
  }

  .menu-drawer__extras,
  .form-legal-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-pills,
  .step-grid,
  .step-grid--four,
  .step-grid--five {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner {
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.78rem 0.78rem 0.82rem;
    border-radius: 22px;
  }

  .cookie-banner__content {
    gap: 0.32rem;
  }

  .cookie-banner__content p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .cookie-links {
    font-size: 0.75rem;
  }
}
