:root {
  --blue: #1f5bff;
  --text: #000;
  --muted: #666;
  --soft: #f5f7fb;
  --dark: #081d1f;
  --max: 1200px;
}

@font-face {
  font-family: "SiteSans";
  src: url("/assets/fonts/site-sans.woff2") format("woff2-variations");
  font-weight: 250 1000;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "SiteSans", Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0;
}

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

.container--narrow {
  max-width: 1020px;
}

.container--small {
  max-width: 820px;
}

.top-menu {
  position: relative;
  inset: 0 0 auto;
  z-index: 20;
  height: 80px;
  color: #1f5bff;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

.top-menu__inner {
  position: relative;
  height: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.top-menu__left {
  position: absolute;
  top: 0;
  right: 50%;
  height: 80px;
  padding-right: 140px;
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
}

.top-menu__left a,
.top-menu__phone {
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}

.top-menu__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
}

.top-menu__logo img {
  width: 150px;
}

.top-menu__phone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%);
  margin-left: 140px;
  color: #23272f;
}

.menu-toggle {
  display: none;
}

.cover {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("/assets/img/hero.webp") center / cover no-repeat;
}

.cover__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(9, 47, 51, .8), rgba(8, 29, 31, .7));
}

.cover__content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  padding: 78px 0 68px;
}

.cover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255,255,255,.75);
  border-bottom: 2px solid rgba(255,255,255,.75);
  transform: translateX(-50%) rotate(45deg);
}

.cover h1 {
  margin: 0 auto 22px;
  font-size: 44px;
  line-height: 1.17;
  font-weight: 600;
  letter-spacing: .5px;
}

.cover p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 300;
}

.rec {
  padding: 180px 0;
}

.split-about {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: center;
  min-height: 520px;
  padding: 0;
}

.split-about__image {
  width: 360px;
  height: 360px;
  min-height: 0;
  background: url("/assets/img/section-bg.webp") center / cover no-repeat;
}

.split-about__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 360px;
  min-height: 0;
  padding: 0;
  text-align: center;
}

.uptitle {
  margin-bottom: 22px;
  color: #666;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.23;
  font-weight: 600;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 20px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 600;
}

.split-about__content h2 {
  margin-bottom: 26px;
}

.split-about__content p:last-child {
  font-size: 15px;
  line-height: 1.62;
  font-weight: 300;
}

.text-center {
  text-align: center;
}

.text-center h2 {
  margin-bottom: 28px;
}

.text {
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

.text p {
  margin-bottom: 22px;
}

.text p:last-child {
  margin-bottom: 0;
}

.project {
  padding-top: 96px;
  padding-bottom: 80px;
  background: #f2f2f2;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 170px;
  min-height: 42px;
  margin-top: 38px;
  padding: 0 36px;
  border-radius: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
}

.efs-lead {
  padding-top: 58px;
  padding-bottom: 54px;
}

.efs-lead p {
  font-size: 16px;
  line-height: 1.65;
  font-weight: 300;
}

.image-text-list {
  width: min(820px, calc(100% - 20px));
  margin: 0 auto 76px;
}

.image-text {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: stretch;
}

.image-text--reverse .image-text__copy {
  order: 2;
}

.image-text__copy {
  min-height: 260px;
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.image-text__copy p {
  max-width: 290px;
  margin: 0 auto;
  color: rgba(0,0,0,.7);
  font-size: 14px;
  line-height: 1.58;
  font-weight: 300;
}

.image-text img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.system {
  padding-top: 100px;
  padding-bottom: 94px;
  color: #000;
  background: #fff;
}

.system .uptitle,
.system h2,
.system .text {
  color: #000;
}

.system .uptitle {
  opacity: .95;
}

.definition {
  padding-top: 118px;
  padding-bottom: 118px;
  color: #fff;
  background: #1f5bff;
}

.definition .uptitle {
  margin-bottom: 40px;
  color: rgba(255,255,255,.82);
  opacity: 1;
}

.definition h2 {
  margin-bottom: 36px;
  font-size: 28px;
}

.two-column-details {
  padding-top: 105px;
  padding-bottom: 105px;
  text-align: center;
}

.two-column-details.muted {
  background: var(--soft);
}

.detail {
  display: block;
  max-width: 720px;
}

.detail h2 {
  margin-bottom: 26px;
}

.line {
  width: 80px;
  height: 3px;
  margin: 0 auto 36px;
  background: #000;
}

.detail ul {
  margin: 0 auto;
  padding-left: 20px;
  text-align: left;
  max-width: 560px;
}

.detail li {
  margin-bottom: 10px;
}

.contacts {
  padding: 70px 0 56px;
  text-align: center;
}

.contacts__grid {
  display: block;
  max-width: 620px;
}

.contacts__main {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.18;
  font-weight: 600;
}

.contacts p {
  margin: 22px auto 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
}

@media (max-width: 760px) and (min-width: 481px) {
  .top-menu__inner {
    max-width: 100%;
  }

  .top-menu__left {
    right: 50%;
    padding-right: 74px;
    gap: 10px;
  }

  .top-menu__left a {
    font-size: 10px;
  }

  .top-menu__logo,
  .top-menu__logo img {
    width: 118px;
  }

  .top-menu__phone {
    display: none;
  }

  .cover h1 {
    font-size: 38px;
  }

  .cover {
    min-height: 365px;
  }

  .cover__content {
    padding: 42px 0 48px;
  }

  .cover::after {
    bottom: 24px;
    width: 14px;
    height: 14px;
  }

  .cover p {
    max-width: 380px;
    font-size: 12px;
  }

  .split-about {
    width: min(465px, calc(100% - 40px));
    grid-template-columns: 245px 1fr;
    gap: 38px;
    min-height: 430px;
  }

  .split-about__image {
    width: 245px;
    height: 245px;
  }

  .split-about__content {
    max-width: 180px;
  }

  .split-about__content h2,
  h2 {
    font-size: 24px;
  }

  .split-about__content p:last-child,
  .text,
  .efs-lead p,
  .image-text__copy p,
  .contacts p {
    font-size: 9px;
    line-height: 1.65;
  }

  .uptitle {
    font-size: 9px;
    margin-bottom: 14px;
  }

  .image-text-list {
    width: min(475px, calc(100% - 10px));
  }

  .image-text__copy,
  .image-text img {
    min-height: 205px;
  }

  .image-text__copy {
    padding: 28px 24px;
  }

  h3 {
    font-size: 14px;
  }

  .definition h2 {
    font-size: 17px;
  }

  .contacts__main {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .top-menu {
    position: relative;
    height: 64px;
    color: #1f5bff;
    background: #fff;
  }

  .top-menu__inner {
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .top-menu__left,
  .top-menu__phone {
    display: none;
  }

  .top-menu__logo {
    position: static;
    transform: none;
    width: 132px;
  }

  .top-menu__logo img {
    width: 132px;
  }

  .menu-toggle {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #1f5bff;
    padding: 0;
  }

  .menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background: currentColor;
  }

  .top-menu.is-open {
    position: fixed;
    height: auto;
    background: #fff;
  }

  .top-menu.is-open .top-menu__inner {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .top-menu.is-open .top-menu__left,
  .top-menu.is-open .top-menu__phone {
    display: flex;
    position: static;
    transform: none;
    width: 100%;
    margin: 26px 0 0;
    padding: 0;
  }

  .top-menu.is-open .top-menu__left {
    order: 3;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .top-menu.is-open .top-menu__phone {
    order: 4;
    justify-content: center;
  }

  .cover {
    min-height: calc(100vh - 64px);
  }

  .cover h1 {
    font-size: 38px;
  }

  .cover p {
    font-size: 17px;
  }

  .split-about,
  .image-text,
  .contacts__grid {
    grid-template-columns: 1fr;
  }

  .split-about__image,
  .split-about__content,
  .image-text img,
  .image-text__copy {
    min-height: 0;
  }

  .split-about__image {
    width: 100%;
    height: 360px;
  }

  .split-about__content,
  .image-text__copy {
    max-width: none;
    padding: 70px 30px;
  }

  .image-text--reverse .image-text__copy {
    order: 0;
  }

  .rec,
  .definition,
  .two-column-details {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  h2 {
    font-size: 36px;
  }

  .contacts__main {
    font-size: 30px;
  }
}

@media (max-width: 420px) {
  .cover {
    min-height: 500px;
  }

  .cover h1 {
    font-size: 36px;
  }

  .cover p {
    font-size: 15px;
    line-height: 1.5;
  }

  .rec,
  .definition,
  .two-column-details {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .project {
    padding-top: 90px;
    padding-bottom: 60px;
  }

  .efs-lead {
    padding-top: 60px;
    padding-bottom: 90px;
  }

  h2 {
    font-size: 30px;
  }

  .text,
  .split-about__content p:last-child,
  .contacts p {
    font-size: 13px;
    line-height: 1.65;
  }

  .efs-lead p {
    font-size: 13px;
  }

  .contacts__main {
    font-size: 28px;
  }
}
