:root {
  --bg: #070b14;
  --bg-soft: #0a1020;
  --card: #0e1526;
  --border: rgba(255, 255, 255, 0.07);
  --blue: #3b82f6;
  --blue-light: #7db4ff;
  --blue-bright: #6cb8ff;
  --text: #eef2fb;
  --muted: #8d97ad;
  --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  color-scheme: dark;
}

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

svg {
  display: block;
}

::selection {
  background: #2563eb;
  color: #ffffff;
}

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

::-webkit-scrollbar-track {
  background: #070b14;
}

::-webkit-scrollbar-thumb {
  background: #1c2740;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a3a5e;
}

.container {
  width: min(1140px, calc(100% - 48px));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 96px;
}

.accent {
  background: linear-gradient(115deg, #9ed3ff 0%, #5aa8ff 35%, #3b82f6 65%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  color: var(--blue-bright);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 700;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: background 0.35s ease, padding 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(7, 11, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: rgba(96, 165, 250, 0.14);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: var(--blue-bright);
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.25), transparent 70%);
}

.brand__mark svg {
  width: 20px;
  height: 20px;
}

.brand__name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  gap: 34px;
}

.nav a {
  font-size: 0.92rem;
  color: #b9c2d4;
  transition: color 0.25s ease;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn--blue {
  background: linear-gradient(135deg, #4f9dff, #2563eb 55%, #1e40af);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.28);
}

.btn--blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.4);
}

.btn--ghost {
  border-color: rgba(96, 165, 250, 0.4);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.btn--small {
  padding: 11px 22px;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
  margin-top: 6px;
}

.hero {
  position: relative;
  padding: 190px 0 130px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto;
  height: 820px;
  background: radial-gradient(560px 420px at 50% 35%, rgba(59, 130, 246, 0.18), transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__mark {
  width: 92px;
  height: 92px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  border: 1px solid rgba(96, 165, 250, 0.45);
  box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.05), 0 0 60px rgba(59, 130, 246, 0.22);
  margin-bottom: 38px;
  background: radial-gradient(circle at 32% 25%, rgba(59, 130, 246, 0.28), transparent 65%);
}

.hero__mark svg {
  width: 40px;
  height: 40px;
}

.hero .eyebrow {
  margin-bottom: 22px;
}

.hero__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(3.6rem, 9vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}

.hero__lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
  margin-bottom: 42px;
}

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

.hero__stats {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  justify-content: center;
}

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

.hero__stats strong {
  font-family: var(--sans);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__stats span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.section {
  padding: 110px 0;
}

.section--soft {
  background:
    linear-gradient(180deg, rgba(96, 165, 250, 0.03), transparent 30%, transparent 70%, rgba(96, 165, 250, 0.03)),
    var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.section__head h2 {
  font-family: var(--sans);
  font-size: clamp(2.1rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section__sub {
  color: var(--muted);
  font-size: 1rem;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.04), transparent 45%), var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(96, 165, 250, 0.1);
}

.service-card__num {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(96, 165, 250, 0.6);
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
  flex: 1;
}

.service-card__foot {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card__price {
  color: var(--blue-light);
  font-weight: 800;
  font-size: 1.05rem;
  white-space: nowrap;
}

.service-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  transition: color 0.25s ease;
  white-space: nowrap;
}

.service-card__link:hover {
  color: var(--blue-light);
}

.services__note {
  text-align: center;
  margin-top: 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.services__note a {
  color: var(--blue-light);
  border-bottom: 1px solid rgba(96, 165, 250, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.25s ease;
}

.services__note a:hover {
  border-bottom-color: var(--blue-light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.step {
  border-left: 1px solid rgba(96, 165, 250, 0.35);
  padding-left: 28px;
}

.step__num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(125, 180, 255, 0.85);
  margin-bottom: 18px;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.step p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.contacts {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: start;
}

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

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(96, 165, 250, 0.04), transparent), var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  transform: translateY(-2px);
}

.contact-card__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(59, 130, 246, 0.08);
}

.contact-card__icon svg {
  width: 21px;
  height: 21px;
}

.contact-card__label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-card__value {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}

.promo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(37, 99, 235, 0.04));
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: 16px;
}

.promo__title {
  font-weight: 800;
  font-size: 1rem;
}

.promo__text {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.promo__link {
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-light);
  transition: color 0.25s ease;
}

.promo__link:hover {
  color: var(--blue-bright);
}

.form {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), transparent 35%), var(--card);
  border: 1px solid rgba(96, 165, 250, 0.24);
  border-radius: 22px;
  padding: 38px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.form h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.form__sub {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 26px;
}

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

.form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  margin-top: 8px;
  background: #080d18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: #55617a;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.65);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.form select {
  cursor: pointer;
}

.form textarea {
  resize: vertical;
  min-height: 96px;
}

.form__note {
  margin-top: 16px;
  font-size: 0.74rem;
  color: #6f7a90;
  text-align: center;
  line-height: 1.5;
}

.form__note a {
  color: var(--blue-light);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--muted);
}

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

.footer__links a {
  transition: color 0.25s ease;
}

.footer__links a:hover {
  color: var(--blue-light);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .contacts {
    grid-template-columns: 1fr;
  }

  .steps {
    gap: 32px;
  }
}

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

  .hero {
    padding: 150px 0 100px;
  }
}

@media (max-width: 680px) {
  .services {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .section {
    padding: 84px 0;
  }

  .hero__stats {
    gap: 28px;
  }

  .hero__actions {
    margin-bottom: 56px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .form {
    padding: 28px 22px;
  }
}

@media (max-width: 560px) {
  .brand__name {
    display: none;
  }

  .header .btn--small {
    padding: 10px 16px;
    font-size: 0.78rem;
  }

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

  .hero__stats strong {
    font-size: 1.6rem;
  }

  .hero__stats span {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .footer__inner {
    justify-content: center;
    text-align: center;
  }
}

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

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

  .btn,
  .service-card,
  .contact-card {
    transition: none;
  }
}
