:root {
  --navy-950: #060F20;
  --navy-900: #081428;
  --navy-800: #0B1D38;
  --navy-700: #10294E;
  --navy-600: #16376A;
  --blue-500: #1F5FBF;
  --blue-400: #2E7CD6;
  --ice-200: #BFE3FF;
  --ice-300: #8FD4FF;
  --ice-400: #5FC0F8;
  --white: #F5F9FF;
  --text-dim: #9DB4D6;
  --line: rgba(143, 212, 255, 0.14);
  --card: linear-gradient(160deg, rgba(31, 95, 191, 0.14), rgba(16, 39, 71, 0.55));
  --radius: 18px;
  --shadow: 0 24px 60px rgba(4, 10, 24, 0.45);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, #2E7CD6, #1F5FBF);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(31, 95, 191, 0.4);
}

.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(47, 124, 214, 0.55); }

.btn--ghost, .btn--outline {
  background: rgba(143, 212, 255, 0.06);
  border-color: rgba(143, 212, 255, 0.35);
  color: var(--ice-200);
}

.btn--ghost:hover, .btn--outline:hover {
  background: rgba(143, 212, 255, 0.12);
  border-color: rgba(143, 212, 255, 0.6);
  transform: translateY(-2px);
}

.btn--tg { background: rgba(46, 124, 214, 0.15); border-color: rgba(95, 192, 248, 0.5); color: var(--ice-200); }
.btn--wa { background: rgba(46, 124, 214, 0.15); border-color: rgba(95, 192, 248, 0.5); color: var(--ice-200); }
.btn--tg:hover, .btn--wa:hover { background: rgba(95, 192, 248, 0.25); transform: translateY(-2px); }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.header--solid {
  background: rgba(8, 20, 40, 0.86);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(4, 10, 24, 0.35);
  padding: 10px 0;
}

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

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

.logo svg { width: 44px; height: 44px; flex-shrink: 0; }

.logo__text {
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.06em;
  color: var(--white);
  white-space: nowrap;
}

.logo__text span { color: var(--ice-300); font-weight: 600; }

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

.nav__link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ice-200);
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav__link:hover { opacity: 1; color: var(--ice-300); }

.nav__phone { padding: 10px 20px; font-size: 14px; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--ice-200);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger--open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger--open span:nth-child(2) { opacity: 0; }
.burger--open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding-top: 110px;
}

.hero__bg { position: absolute; inset: 0; }

.hero__scene { width: 100%; height: 100%; }

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(143, 212, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(143, 212, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.25) 60%, transparent);
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  width: 900px;
  height: 900px;
  left: -260px;
  top: -320px;
  background: radial-gradient(circle, rgba(46, 124, 214, 0.35), transparent 65%);
  pointer-events: none;
}

.hero__content { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(34px, 5.4vw, 74px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 18px 0 22px;
}

.hero__title span {
  background: linear-gradient(90deg, #8FD4FF, #5FC0F8 55%, #2E7CD6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__label, .hero__text { color: var(--text-dim); }

.hero__label {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-300);
}

.hero__text {
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 19px);
  margin-bottom: 34px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
  position: relative;
  z-index: 2;
  margin-top: clamp(48px, 7vh, 96px);
  border-top: 1px solid var(--line);
  background: rgba(6, 15, 32, 0.55);
  backdrop-filter: blur(8px);
}

.hero__stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 0;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat__num {
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 800;
  color: var(--ice-300);
  letter-spacing: -0.01em;
}

.stat__label { font-size: 13.5px; color: var(--text-dim); }

.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }

.section__head { display: flex; align-items: baseline; gap: 18px; margin-bottom: clamp(36px, 5vw, 56px); }

.section__num {
  font-size: 15px;
  font-weight: 800;
  color: var(--ice-400);
  letter-spacing: 0.1em;
}

.section__num::after {
  content: "";
  display: inline-block;
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, var(--ice-400), transparent);
  margin-left: 14px;
  vertical-align: middle;
}

.section__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.section__sub { color: var(--text-dim); margin-top: 10px; max-width: 640px; }

.section__head { flex-wrap: wrap; }

.section__head > .section__num { transform: translateY(-6px); }

.about { background: linear-gradient(180deg, var(--navy-950), var(--navy-800)); }

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.lead { font-size: clamp(19px, 2vw, 24px); font-weight: 600; line-height: 1.4; margin-bottom: 20px; color: var(--white); }

.about__text p { color: var(--text-dim); margin-bottom: 16px; }

.about__text .lead { color: var(--white); }

.checklist { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }

.checklist li {
  position: relative;
  padding-left: 34px;
  color: var(--ice-200);
  font-size: 15.5px;
  font-weight: 500;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(95, 192, 248, 0.6);
  background: radial-gradient(circle at center, rgba(95, 192, 248, 0.35), transparent);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--ice-300);
  border-bottom: 2px solid var(--ice-300);
  transform: rotate(-45deg);
}

.about__visual svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(4, 10, 24, 0.4)); }

.about__caption {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim);
  text-align: center;
}

.services { background: var(--navy-800); }

.services__grid { display: grid; gap: 28px; }

.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: clamp(26px, 3.4vw, 44px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 85% 0%, rgba(95, 192, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 192, 248, 0.45);
  box-shadow: var(--shadow, 0 24px 60px rgba(4, 10, 24, 0.45));
}

.service-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }

.service-card__icon { width: 64px; height: 64px; }

.service-card__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-300);
  border: 1px solid rgba(95, 192, 248, 0.4);
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(95, 192, 248, 0.08);
}

.service-card__title { font-size: clamp(21px, 2.2vw, 26px); font-weight: 800; margin-bottom: 12px; }

.service-card__text { color: var(--text-dim); max-width: 720px; margin-bottom: 20px; }

.service-card__list { list-style: none; display: grid; gap: 10px; }

.service-card__list li {
  position: relative;
  padding-left: 26px;
  color: var(--ice-200);
  font-size: 15.5px;
}

.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(135deg, var(--ice-400), var(--blue-500));
  transform: rotate(45deg);
}

.services__extra { margin-top: 34px; }

.services__extra-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ice-300);
  margin-bottom: 16px;
}

.services__chips { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 14.5px;
  color: var(--ice-200);
  background: rgba(16, 39, 71, 0.5);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.chip:hover { border-color: rgba(95, 192, 248, 0.45); background: rgba(31, 95, 191, 0.2); }

.process { background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); }

.process__steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: steps;
}

.step {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: linear-gradient(165deg, rgba(31, 95, 191, 0.12), rgba(11, 29, 56, 0.55));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover { transform: translateY(-4px); border-color: rgba(95, 192, 248, 0.4); }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 18px;
  color: var(--ice-200);
  background: linear-gradient(135deg, var(--blue-500), #2E7CD6);
  box-shadow: 0 10px 24px rgba(31, 95, 191, 0.45);
  margin-bottom: 18px;
}

.step__title { font-size: 18px; font-weight: 800; margin-bottom: 10px; }

.step__text { font-size: 14.5px; color: var(--text-dim); }

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50px;
  right: -18px;
  width: 12px;
  height: 12px;
  border-top: 2px solid rgba(95, 192, 248, 0.5);
  border-right: 2px solid rgba(95, 192, 248, 0.5);
  transform: rotate(45deg);
}

.projects { background: var(--navy-950); }

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

.project {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(16, 39, 71, 0.4);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 192, 248, 0.45);
  box-shadow: 0 22px 50px rgba(4, 10, 24, 0.5);
}

.project__thumb { aspect-ratio: 5 / 3; overflow: hidden; }

.project__thumb svg { width: 100%; height: 100%; transition: transform 0.4s ease; }

.project:hover .project__thumb svg { transform: scale(1.04); }

.project__body { padding: 22px 24px 26px; }

.project__tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice-300);
  margin-bottom: 10px;
}

.project__title { font-size: 18.5px; font-weight: 800; margin-bottom: 8px; }

.project__text { font-size: 14.5px; color: var(--text-dim); }

.clients { background: linear-gradient(180deg, var(--navy-950), var(--navy-800)); }

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

.client {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  background: rgba(16, 39, 71, 0.35);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.client:hover { border-color: rgba(95, 192, 248, 0.45); background: rgba(31, 95, 191, 0.16); transform: translateY(-3px); }

.client h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; color: var(--white); }

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

.contacts { background: radial-gradient(900px 400px at 20% 10%, rgba(31, 95, 191, 0.25), transparent 70%), var(--navy-800); }

.contacts__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contacts__lead { font-size: clamp(19px, 2vw, 23px); font-weight: 600; color: var(--white); margin-bottom: 26px; max-width: 560px; }

.contacts__phone {
  display: block;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ice-300);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.contacts__phone:hover { color: var(--ice-200); }

.contacts__mail {
  display: inline-block;
  font-size: 18px;
  color: var(--text-dim);
  border-bottom: 1px dashed rgba(157, 180, 214, 0.5);
  padding-bottom: 2px;
  margin-bottom: 30px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contacts__mail:hover { color: var(--ice-200); border-color: var(--ice-300); }

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

.contacts__office {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 32px;
  background: linear-gradient(165deg, rgba(31, 95, 191, 0.14), rgba(11, 29, 56, 0.6));
}

.contacts__office h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ice-300);
  margin-bottom: 12px;
}

.contacts__office p { color: var(--ice-200); font-size: 15.5px; margin-bottom: 18px; }

.contacts__map { font-size: 15px; font-weight: 600; color: var(--ice-400); transition: color 0.2s ease; }

.contacts__map:hover { color: var(--ice-200); }

.contacts__hours-title { margin-top: 26px; }

.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line);
  padding: 44px 0 28px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__left { display: flex; flex-direction: column; gap: 10px; }

.footer__left > span { font-weight: 800; letter-spacing: 0.06em; }

.footer__left > span > span { color: var(--ice-300); font-weight: 600; }

.footer__req, .footer__addr { font-size: 13.5px; color: var(--text-dim); }

.footer__nav { display: flex; flex-direction: column; gap: 10px; }

.footer__nav a { font-size: 14px; color: var(--text-dim); transition: color 0.2s ease; }

.footer__nav a:hover { color: var(--ice-300); }

.footer__bottom { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); }

.footer__bottom p { font-size: 13px; color: var(--text-dim); }

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

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

@media (max-width: 1020px) {
  .process__steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 96px 28px 28px;
    background: rgba(8, 20, 40, 0.98);
    backdrop-filter: blur(16px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -20px 0 60px rgba(4, 10, 24, 0.5);
  }

  .nav--open { transform: translateX(0); }

  .nav__link { font-size: 17px; padding: 10px 0; width: 100%; }

  .nav__phone { margin-top: 14px; }

  .burger { display: flex; position: relative; z-index: 110; }

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

@media (max-width: 620px) {
  .hero { padding-top: 96px; }
  .projects__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .hero__stats-row { grid-template-columns: repeat(2, 1fr); padding: 20px 0; gap: 14px; }
  .hero__actions .btn { width: 100%; }
  .contacts__actions .btn { flex: 1; }
  .about__visual { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}