:root {
  --c-black: #000;
  --c-white: #fff;
  --c-gray-900: #141414;
  --c-gray-850: #1d1d1d;
  --c-gray-800: #272727;
  --c-gray-700: #363636;
  --c-gray-500: #8c8c8c;
  --c-gray-300: #d4d4d4;
  --c-primary-1: #007898;
  --c-primary-2: #18aed8;
  --c-primary-border: #005a73;

  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: var(--c-black);
  color: var(--c-white);
  line-height: 1.5;
}

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

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-200%);
  background: var(--c-primary-1);
  color: var(--c-white);
  padding: 10px 12px;
  border-radius: 6px;
  text-decoration: none;
  z-index: 2000;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  border-radius: 3px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(90deg, var(--c-primary-1), var(--c-primary-2));
  color: var(--c-white);
  border: 0;
  box-shadow: 0 10px 25px rgba(0, 120, 152, 0.25);
}
.btn--ghost {
  background: transparent;
  border: 1px solid var(--c-primary-border);
  color: var(--c-white);
}
.btn--full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo__img {
  height: 66px;
  width: auto;
  display: block;
}
.logo__text {
  font-weight: 900;
  letter-spacing: 0.18em;
  font-size: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  opacity: 0.9;
  font-size: 14px;
}
.nav a {
  text-decoration: none;
  opacity: 0.85;
}
.nav a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  height: 40px;
  padding: 0 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: var(--c-white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 854px;
  display: grid;
  align-items: center;
  padding-top: 92px; /* header offset */
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.15) 100%);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.05));
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__content {
  position: relative;
  padding: 90px 0 120px;
}
.hero__title {
  margin: 0 0 18px;
  font-size: clamp(40px, 5vw, 74px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.hero__subtitle {
  max-width: 520px;
  margin: 0 0 26px;
  opacity: 0.85;
  font-size: 18px;
  line-height: 1.55;
}
.hero__subtitle strong {
  font-weight: 800;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero__actions .btn {
  height: 56px;
  font-size: 14px;
}

/* Sections */
.section {
  padding: 70px 0;
}
.section--light {
  background: #fff;
  color: #000;
}
.section--dark {
  background: #000;
  color: #fff;
}
.section__heading {
  margin-bottom: 26px;
}
.section__heading--center {
  text-align: center;
}
.section__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
}
.section__subtitle {
  margin: 6px 0 0;
  opacity: 0.8;
  font-size: 18px;
}
.section__title--dark,
.section__subtitle--dark {
  color: #000;
}

/* Advantages */
.advantages-row {
  display: grid;
  gap: 18px;
  align-items: start;
}
.advantages-row--light {
  grid-template-columns: repeat(4, 1fr);
}
.advantage-mini {
  text-align: center;
  padding: 12px 10px 6px;
}
.advantage-mini__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  background: rgba(0, 120, 152, 0.12);
  border-radius: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
}
.advantage-mini__name {
  font-weight: 900;
  letter-spacing: 0.11em;
  font-size: 14px;
}
.advantage-mini__desc {
  color: rgba(0, 0, 0, 0.72);
  font-size: 13px;
  margin-top: 8px;
}

.advantages-row--dark {
  grid-template-columns: repeat(5, 1fr);
}
.advantage-dark {
  text-align: center;
  padding: 14px 10px;
}
.advantage-dark::before {
  content: "";
  display: block;
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
}
.advantage-dark__name {
  font-weight: 900;
  letter-spacing: 0.22em;
  font-size: 13px;
}
.advantage-dark__desc {
  color: var(--c-gray-500);
  font-size: 13px;
  margin-top: 10px;
}

/* Banner */
.banner {
  position: relative;
  height: 470px;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
}
.banner__bg {
  position: absolute;
  inset: 0;
  background: #000;
  transform: scale(1.02);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.52);
}
.banner__content {
  position: relative;
}
.banner__text {
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.02em;
  text-align: center;
}

/* About */
.about {
  position: relative;
  background: #272727;
  padding: 90px 0;
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
}
.about__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
  align-items: center;
}
.about__title {
  margin: 0 0 14px;
  font-size: 40px;
}
.about__text p {
  margin: 0 0 12px;
  color: var(--c-gray-300);
  font-size: 16px;
  line-height: 1.6;
}

/* Gallery */
.gallery {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.gallery__bg {
  position: absolute;
  inset: 0;
  background: #000;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gallery .container {
  position: relative;
}
.gallery__title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 42px;
  letter-spacing: 0.02em;
}
.gallery__rail {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 18px;
  align-items: end;
  justify-items: center;
}
.gallery__slide {
  width: 100%;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.gallery__slide--side {
  height: 260px;
  opacity: 0.9;
}
.gallery__slide--center {
  height: 360px;
  position: relative;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72));
}
.gallery__label {
  position: absolute;
  left: 26px;
  bottom: 46px;
  font-weight: 800;
  line-height: 1.05;
  font-size: 30px;
}
.gallery__underline {
  position: absolute;
  left: 26px;
  bottom: 30px;
  width: 160px;
  height: 3px;
  background: rgba(255, 255, 255, 0.8);
}
.gallery__dots {
  margin: 16px auto 0;
  width: 120px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

/* MVV */
.mvv {
  position: relative;
  padding: 90px 0 95px;
  overflow: hidden;
}
.mvv__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.82));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.mvv .container {
  position: relative;
}
.mvv__title {
  text-align: center;
  margin: 0;
  font-size: 40px;
}
.mvv__line {
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  margin: 28px 0 26px;
}
.mvv__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mvv-card {
  background: rgba(70, 70, 68, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 28px 24px;
  min-height: 240px;
  backdrop-filter: blur(6px);
}
.mvv-card--active {
  background: rgba(0, 120, 152, 0.5);
}
.mvv-card__title {
  margin: 0 0 10px;
  font-size: 26px;
}
.mvv-card__text {
  margin: 0;
  color: var(--c-gray-300);
  font-size: 14px;
  line-height: 1.5;
}
.mvv-card__list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--c-gray-300);
  font-size: 14px;
  line-height: 1.9;
}

/* Systems */
.systems {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}
.systems__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-position: right top;
  background-size: 520px auto;
  background-repeat: no-repeat;
  pointer-events: none;
}
.systems__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 26px;
  align-items: start;
}
.systems__title {
  margin: 0 0 14px;
  font-size: 40px;
  line-height: 1.1;
}
.systems__bullets {
  color: var(--c-gray-300);
  line-height: 1.7;
  opacity: 0.9;
}
.systems__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.system-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.55);
  min-height: 260px;
  box-shadow: var(--shadow-soft);
}
.system-card__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.85));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.system-card__text {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}
.system-card__sep {
  opacity: 0.9;
}

/* Budget */
.budget {
  background: #464644;
  padding: 90px 0;
}
.budget__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.budget__image {
  border-radius: 6px;
  min-height: 520px;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: var(--shadow-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.budget__form {
  border-radius: 6px;
  background: #3f3f3d;
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.budget__title {
  margin: 0 0 18px;
  font-size: 34px;
}

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

.form input,
.form textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--c-gray-800);
  color: var(--c-white);
  font-size: 15px;
}
.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: rgba(24, 174, 216, 0.7);
  box-shadow: 0 0 0 3px rgba(24, 174, 216, 0.12);
}

/* Footer */
.footer {
  background: var(--c-gray-700);
  padding: 46px 0;
  position: relative;
  overflow: hidden;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer__logo-img {
  height: 22px;
  width: auto;
  display: block;
}
.footer__title {
  font-weight: 800;
  margin-bottom: 10px;
}
.footer__text {
  color: rgba(238, 238, 238, 0.7);
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.footer__link {
  display: block;
  text-decoration: none;
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
}
.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}
.footer__social-link {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  font-size: 12px;
}

/* Responsive */
@media (max-width: 980px) {
  .header__inner {
    grid-template-columns: 1fr auto auto;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .nav.nav--open {
    display: grid;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 14px;
    gap: 12px;
  }

  .advantages-row--light {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-row--dark {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__rail {
    grid-template-columns: 1fr;
  }
  .gallery__slide--side {
    display: none;
  }
  .mvv__grid {
    grid-template-columns: 1fr;
  }
  .systems__inner {
    grid-template-columns: 1fr;
  }
  .systems__cards {
    grid-template-columns: 1fr;
  }
  .budget__inner {
    grid-template-columns: 1fr;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
}
