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

body {
  display: flex;
  flex-direction: column;

  width: 100dvw;
  height: 100dvh;

  font-family: 'PTRootUI', serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;

  color: #000;
  background: #fff;
  overflow: hidden;
}

.main {
  display: flex;
  height: 100%;
}

.video {
  position: relative;

  flex-basis: 50%;
  height: 100%;
}

.video::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
}

.video > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  flex-basis: 50%;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;

  padding-block: 100px;
}

.text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;

  margin: auto 12px 130px;
  text-align: center;
}

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

.title {
  font-size: 36px;
  font-weight: 500;
}

.text {
  max-width: 675px;
}

.text > a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.button-link {
  margin-top: 16px;
  padding: 16px 32px;
  border-radius: 8px;

  font-weight: 500;
  color: #fff;
  background: #06579e;
  text-decoration: none;
}

.socials {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 40px;
}

.button {
  padding: 14px;
  border: 1px solid #1b326f;
  border-radius: 8px;

  font: inherit;
  line-height: 0.7;
  text-decoration: none;

  background: #fff;
  color: #1b326f;
}

.phone {
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  color: #06579E;
}

@media (max-width: 1024px) {
  body {
    height: 100%;
    min-height: 10dvh;
    overflow-y: auto;
  }

  .main {
    flex-direction: column-reverse;
  }

  .video {
    aspect-ratio: 1;
  }

  .content {
    padding-block: 40px;
  }

  .logo > svg {
    width: 127px;
    height: 20px;
  }

  .text-block {
    margin-block: 40px 16px;
  }

  .button-link {
    margin-top: 8px;
  }

  .flex {
    gap: 8px;
  }

  .flex > .text {
    font-size: 14px;
  }

  .socials {
    margin-bottom: 32px;
  }
}