:root {
  --navy: #0B1F3A;
  --sky: #39A9DB;
  --ice: #EAF7FF;
  --white: #FFFFFF;
  --graphite: #1E242B;
  --silver: #B7C3CC;
  --teal: #21D4C2;
  --orange: #FF8A00;
  --text-muted: #5A6B7B;
  --border: rgba(183, 195, 204, 0.45);
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 31, 58, 0.14);
  --radius: 16px;
  --radius-sm: 12px;
  --header-h: 76px;
  --container: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--graphite);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

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

a {
  color: var(--sky);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

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

ul {
  list-style: none;
}

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

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--ice {
  background: var(--ice);
}

.section--navy {
  background: linear-gradient(160deg, #071526 0%, var(--navy) 45%, #12325a 100%);
  color: var(--white);
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 14px;
}

.section__label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--sky);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 18px;
  max-width: 18ch;
}

.section--navy .section__title {
  color: var(--white);
}

.section__lead {
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 17px;
}

.section--navy .section__lead {
  color: rgba(255, 255, 255, 0.78);
}

.section__head {
  margin-bottom: 48px;
  max-width: 720px;
}

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.section__head--center .section__title,
.section__head--center .section__lead {
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  background: transparent;
}

.header.is-scrolled,
.header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06), 0 8px 24px rgba(11, 31, 58, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

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

.logo img {
  height: 42px;
  width: auto;
}

.logo--light {
  display: none;
}

.header:not(.is-scrolled):not(.is-solid) .logo--dark {
  display: none;
}

.header:not(.is-scrolled):not(.is-solid) .logo--light {
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  color: var(--graphite);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.header:not(.is-scrolled):not(.is-solid) .nav__link {
  color: rgba(255, 255, 255, 0.9);
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--sky);
}

.header:not(.is-scrolled):not(.is-solid) .nav__link:hover,
.header:not(.is-scrolled):not(.is-solid) .nav__link.is-active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.header__cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  place-items: center;
  gap: 5px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.header:not(.is-scrolled):not(.is-solid) .burger span {
  background: var(--white);
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
  max-width: 100%;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--sky), #2b8fc4);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(57, 169, 219, 0.35);
}

.btn--primary:hover {
  color: var(--white);
  box-shadow: 0 14px 34px rgba(57, 169, 219, 0.45);
}

.btn--secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--border);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--sky);
  color: var(--sky);
}

.btn--orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(255, 138, 0, 0.28);
}

.btn--orange:hover {
  color: var(--white);
}

.btn--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(57, 169, 219, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(33, 212, 194, 0.12), transparent 50%),
    linear-gradient(155deg, #06111f 0%, var(--navy) 42%, #0e2a4d 100%);
  color: var(--white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, black, transparent);
  opacity: 0.5;
}

.hero__flow {
  position: absolute;
  width: 140%;
  height: 2px;
  left: -20%;
  background: linear-gradient(90deg, transparent, rgba(57, 169, 219, 0.55), rgba(33, 212, 194, 0.45), transparent);
  opacity: 0.55;
  animation: flow 12s linear infinite;
}

.hero__flow:nth-child(2) { top: 28%; animation-duration: 16s; opacity: 0.3; }
.hero__flow:nth-child(3) { top: 48%; animation-duration: 11s; width: 120%; }
.hero__flow:nth-child(4) { top: 68%; animation-duration: 18s; opacity: 0.25; }

@keyframes flow {
  from { transform: translateX(-10%); }
  to { transform: translateX(10%); }
}

.hero__ring {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(56vw, 620px);
  height: min(56vw, 620px);
  border: 1px solid rgba(57, 169, 219, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: spin 60s linear infinite;
}

.hero__ring::before,
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(183, 195, 204, 0.2);
  border-radius: 50%;
}

.hero__ring::after {
  inset: 26%;
  border-style: solid;
  border-color: rgba(33, 212, 194, 0.12);
}

@keyframes spin {
  to { transform: translateY(-50%) rotate(360deg); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(57, 169, 219, 0.35);
  background: rgba(57, 169, 219, 0.1);
  color: #9ad8f3;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(33, 212, 194, 0.2);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  50% { box-shadow: 0 0 0 8px rgba(33, 212, 194, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.1vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 16px;
  max-width: 16ch;
}

.hero__title span {
  background: linear-gradient(120deg, #fff 20%, #8fd4f0 55%, var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  color: rgba(255, 255, 255, 0.76);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--teal);
  margin-bottom: 4px;
}

.hero__stat span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero__visual-frame {
  position: relative;
  width: min(100%, 580px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(57, 169, 219, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg), inset 0 0 80px rgba(57, 169, 219, 0.08);
  display: grid;
  place-items: center;
  overflow: visible;
}

.hero__visual-frame img {
  width: 108%;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.02); }
}

.hero__chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(7, 21, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono);
  box-shadow: var(--shadow);
}

.hero__chip--tl { top: 8%; left: 0; }
.hero__chip--br { bottom: 12%; right: 0; }

.page-hero {
  padding: calc(var(--header-h) + 56px) 0 64px;
  background:
    radial-gradient(ellipse 70% 80% at 85% 20%, rgba(57, 169, 219, 0.18), transparent 50%),
    linear-gradient(155deg, #06111f 0%, var(--navy) 55%, #12325a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero .section__label { color: #9ad8f3; }
.page-hero .section__label::before { background: #9ad8f3; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 54ch;
  font-size: 18px;
}

/* Support block */
.support {
  background: var(--ice);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 28px 32px;
  display: grid;
  gap: 20px;
}

.support__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
}

.support__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 40px;
}

.support__logos img,
.support__logos svg {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.support__text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 90ch;
}

.support--compact {
  padding: 18px 20px;
}

.support--compact .support__logos img,
.support--compact .support__logos svg {
  height: 40px;
}

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.hero__inner > *,
.split > *,
.scheme > *,
.contact-grid > * {
  min-width: 0;
}
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.hero__inner > *,
.split > *,
.scheme > *,
.contact-grid > * {
  min-width: 0;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 4px 20px rgba(11, 31, 58, 0.03);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(57, 169, 219, 0.35);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(57, 169, 219, 0.12), rgba(33, 212, 194, 0.1));
  color: var(--sky);
  border: 1px solid rgba(57, 169, 219, 0.15);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.card__text {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.badge--dev { background: rgba(57, 169, 219, 0.12); color: #1a7aa8; }
.badge--proto { background: rgba(33, 212, 194, 0.14); color: #0f8f84; }
.badge--test { background: rgba(255, 138, 0, 0.12); color: #c66a00; }
.badge--design { background: rgba(11, 31, 58, 0.08); color: var(--navy); }

/* Tech scheme */
.scheme {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.scheme__visual {
  position: relative;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 50%, rgba(57, 169, 219, 0.1), transparent 60%),
    linear-gradient(160deg, #f7fbfe, #eef6fb);
  border: 1px solid var(--border);
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.scheme__visual img {
  width: 72%;
  max-width: 340px;
}

.scheme__flow {
  display: grid;
  gap: 14px;
}

.scheme__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--ice);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.scheme__step:hover {
  border-color: rgba(57, 169, 219, 0.4);
  transform: translateX(4px);
}

.scheme__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sky);
  font-weight: 600;
  min-width: 28px;
}

.scheme__step h4 {
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 4px;
}

.scheme__step p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* Timeline */
.timeline {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--sky), var(--teal));
  opacity: 0.35;
}

.timeline__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 20px;
  padding: 18px 0;
  position: relative;
}

.timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--sky);
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 0 0 6px rgba(57, 169, 219, 0.1);
}

.timeline__dot span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky);
}

.timeline__item.is-done .timeline__dot {
  background: var(--sky);
  border-color: var(--sky);
}

.timeline__item.is-done .timeline__dot span {
  background: var(--white);
}

.timeline__item.is-current .timeline__dot {
  border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(33, 212, 194, 0.15);
}

.timeline__item.is-current .timeline__dot span {
  background: var(--teal);
}

.timeline__content {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
}

.timeline__content h3 {
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline__content p {
  color: var(--text-muted);
  font-size: 14.5px;
}

/* Split media */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split--reverse .split__media { order: 2; }
.split--reverse .split__content { order: 1; }

.split__media {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0a1628;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  display: grid;
  place-items: center;
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__media--contain {
  background:
    radial-gradient(circle at 50% 40%, rgba(57, 169, 219, 0.15), transparent 55%),
    linear-gradient(160deg, #0a1628, #0f2744);
  padding: 32px;
}

.split__media--contain img {
  object-fit: contain;
  max-height: 500px;
  width: 100%;
}

.split__list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.split__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-muted);
  font-size: 15.5px;
}

.split__list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--teal));
  box-shadow: 0 0 0 4px rgba(57, 169, 219, 0.12);
}

/* Specs table */
.specs {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}

.specs th,
.specs td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.specs th {
  width: 42%;
  color: var(--navy);
  font-weight: 600;
  background: var(--ice);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
}

.specs td {
  color: var(--text-muted);
}

.specs tr:last-child th,
.specs tr:last-child td {
  border-bottom: 0;
}

.note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 138, 0, 0.08);
  border: 1px solid rgba(255, 138, 0, 0.2);
  color: #8a4d00;
  font-size: 14px;
}

/* News */
.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.news-card__img {
  aspect-ratio: 16/10;
  background: #0a1628;
  overflow: hidden;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.news-card:hover .news-card__img img {
  transform: scale(1.04);
}

.news-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__link {
  margin-top: auto;
  padding-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--sky);
}

/* Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.contact-info__item {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
}

.contact-info__item span {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 6px;
}

.contact-info__item strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

.form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

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

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  background: #fbfcfe;
  color: var(--graphite);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 4px rgba(57, 169, 219, 0.12);
  background: var(--white);
}

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

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13.5px;
  color: var(--text-muted);
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--sky);
}

.form__success {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(33, 212, 194, 0.12);
  border: 1px solid rgba(33, 212, 194, 0.3);
  color: #0b7a70;
  font-size: 14px;
}

.form__success.is-visible {
  display: block;
}

/* Footer */
.footer {
  background: #07111f;
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 14.5px;
  max-width: 32ch;
  line-height: 1.6;
}

.footer h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14.5px;
}

.footer a:hover {
  color: var(--sky);
}

.footer__links {
  display: grid;
  gap: 10px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: grid;
  gap: 18px;
}

.footer__copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer .support {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.1);
}

.footer .support__title,
.footer .support__text {
  color: rgba(255, 255, 255, 0.7);
}

.footer .support__logos img,
.footer .support__logos svg {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Legal pages */
.legal {
  padding: calc(var(--header-h) + 48px) 0 80px;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  margin-bottom: 12px;
}

.legal .meta {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 22px;
  color: var(--navy);
  margin: 28px 0 12px;
}

.legal p,
.legal li {
  color: var(--text-muted);
  margin-bottom: 12px;
  max-width: 78ch;
}

.legal ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.legal li {
  list-style: disc;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gallery strip */
.gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.gallery__item {
  border-radius: 18px;
  overflow: hidden;
  background: #0a1628;
  border: 1px solid var(--border);
  min-height: 220px;
}

.gallery__item:first-child {
  grid-row: span 2;
  min-height: 100%;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--contain {
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(160deg, #0a1628, #12325a);
}

.gallery__item--contain img {
  object-fit: contain;
  max-height: 280px;
}

/* CTA band */
.cta-band {
  border-radius: 28px;
  padding: 48px;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(57, 169, 219, 0.25), transparent 50%),
    linear-gradient(135deg, #0a1a30, #0e2f55);
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  max-width: 16ch;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 42ch;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  z-index: 999;
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s var(--ease);
}

.mobile-nav.is-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mobile-nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  color: var(--navy);
  font-weight: 600;
  font-size: 17px;
}

.mobile-nav a:hover {
  background: var(--ice);
  color: var(--sky);
}

body.nav-open {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item:first-child { grid-row: auto; min-height: 280px; }
  .hero__inner { gap: 32px; }
}

@media (max-width: 920px) {
  :root { --header-h: 64px; }
  .nav,
  .header__cta { display: none; }
  .burger { display: grid; }
  .mobile-nav { display: flex; overflow-y: auto; }
  .header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 1px 0 rgba(11, 31, 58, 0.06);
  }
  .header .logo--dark { display: block !important; }
  .header .logo--light { display: none !important; }
  .header .burger span { background: var(--navy) !important; }
  .header__inner { gap: 12px; }
  .logo img { height: 36px; }
  .hero__inner,
  .scheme,
  .split,
  .contact-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .split--reverse .split__media,
  .split--reverse .split__content { order: initial; }
  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 20px) 0 48px;
  }
  .hero__visual { order: -1; margin-inline: auto; width: 100%; }
  .hero__visual-frame { width: min(86vw, 380px); }
  .hero__chip { display: none; }
  .hero__ring { opacity: 0.35; }
  .hero__title,
  .hero__subtitle,
  .section__title,
  .page-hero h1 {
    max-width: none;
  }
  .hero__badge {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 40px; }
  .scheme { padding: 20px; gap: 24px; }
  .scheme__visual,
  .scheme__visual--anim { min-height: 260px; }
  .split { gap: 28px; }
  .split__media { min-height: 240px; }
  .split__media--contain { padding: 16px; }
  .split__media--contain img { max-height: 280px; }
  .btn-row { width: 100%; }
  .btn-row .btn {
    flex: 1 1 100%;
    white-space: normal;
    text-align: center;
  }
  .cta-band {
    padding: 28px 22px;
    flex-direction: column;
    align-items: stretch;
  }
  .cta-band h2 { max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, var(--container)); }
  body { font-size: 16px; }
  .grid-2,
  .grid-3,
  .grid-4,
  .form__row,
  .footer__grid,
  .gallery {
    grid-template-columns: 1fr;
  }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 28px; }
  .support { padding: 18px; }
  .support__logos { flex-direction: column; align-items: flex-start; gap: 16px; }
  .form { padding: 18px; border-radius: 18px; }
  .scheme { padding: 16px; border-radius: 18px; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .hero__stat strong { font-size: 18px; }
  .hero__visual-frame { width: min(90vw, 340px); }
  .gallery__item,
  .gallery__item:first-child { min-height: 200px; }
  .btn,
  .cta-band .btn {
    width: 100%;
    white-space: normal;
  }
  .card:hover { transform: none; }
  .scheme__step:hover { transform: none; }
  .specs { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .specs tbody { display: block; }
  .specs tr { display: block; }
  .specs th,
  .specs td {
    display: block;
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }
  .specs th {
    padding-top: 14px;
    padding-bottom: 2px;
    border-bottom: 0;
  }
  .specs td {
    padding-top: 0;
    padding-bottom: 14px;
  }
  .contact-info__item strong { word-break: break-word; }
  .footer { padding: 48px 0 24px; }
  .footer__grid { gap: 28px; }
  .page-hero p { font-size: 16px; }
  .edf-anim { width: min(94%, 260px); }
  .scheme__visual--anim { min-height: 220px; }
  .legal { padding: calc(var(--header-h) + 32px) 0 56px; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  .section__title { font-size: 24px; }
  .card { padding: 18px; }
  .logo img { height: 32px; }
}

.contact-info__req {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.55;
}

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

.form__error {
  display: none;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(220, 60, 60, 0.08);
  border: 1px solid rgba(220, 60, 60, 0.28);
  color: #9b1c1c;
  font-size: 14px;
}

.form__error.is-visible,
.form__success.is-visible {
  display: block;
}

.form .btn[disabled] {
  opacity: 0.65;
  pointer-events: none;
}

.scheme__visual--anim {
  min-height: 400px;
  background:
    radial-gradient(circle at 50% 48%, rgba(57, 169, 219, 0.16), transparent 58%),
    linear-gradient(160deg, #f4fafd, #e7f3fb);
}

.edf-anim {
  position: relative;
  width: min(86%, 340px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.edf-anim__svg {
  width: 78%;
  z-index: 2;
  filter: drop-shadow(0 16px 28px rgba(11, 31, 58, 0.14));
}

.edf-anim__rotor {
  transform-origin: 120px 120px;
  transform-box: view-box;
}

.edf-anim__streak {
  position: absolute;
  left: -8%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(57, 169, 219, 0.55), rgba(33, 212, 194, 0.7), transparent);
  animation: airflow 1.8s linear infinite;
  z-index: 1;
}

.edf-anim__streak:nth-child(1) { top: 28%; width: 70%; animation-duration: 1.5s; opacity: 0.45; }
.edf-anim__streak:nth-child(2) { top: 40%; width: 88%; animation-duration: 1.2s; opacity: 0.7; }
.edf-anim__streak:nth-child(3) { top: 50%; width: 92%; animation-duration: 1s; }
.edf-anim__streak:nth-child(4) { top: 60%; width: 84%; animation-duration: 1.35s; opacity: 0.6; }
.edf-anim__streak:nth-child(5) { top: 72%; width: 66%; animation-duration: 1.7s; opacity: 0.4; }

.edf-anim__caption {
  position: absolute;
  bottom: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}

@keyframes rotor-spin {
  to { transform: rotate(360deg); }
}

@keyframes airflow {
  from { transform: translateX(-18%); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  to { transform: translateX(28%); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .edf-anim__rotor,
  .edf-anim__streak,
  .hero__flow,
  .hero__ring,
  .hero__visual-frame img,
  .hero__badge-dot {
    animation: none;
  }
}
