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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
}

button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

textarea {
  resize: none;
}

.raleway {
  font-family: "Raleway", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.text_primary {
  color: var(--primary);
}

.text_accent {
  color: var(--accent);
}

body {
  background-color: #FAFAFA;
  color: #000000;
}

.content {
  width: 100%;
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 40px;
}
@media screen and (max-width: 1023px) {
  .content {
    padding: 0 16px;
  }
}

.btn,
.submitButton {
  width: 100%;
  height: 60px;
  padding: 10px;
  border-radius: 8px;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.btn:hover,
.submitButton:hover {
  filter: brightness(70%);
}

.header {
  padding: 24px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1023px) {
  .header {
    padding: 28px;
  }
}
.header .logo {
  width: 410px;
  height: 60px;
}
@media screen and (max-width: 767px) {
  .header .logo {
    width: 341px;
    height: 25px;
  }
}
.header .logo img {
  width: 100%;
}

.nav {
  width: 100%;
  padding: 11px 0;
  background-color: #0845BE;
}
.nav .content {
  height: 98px;
  display: flex;
}
@media screen and (max-width: 1023px) {
  .nav {
    display: none;
  }
}
.nav_item {
  height: 100%;
  padding: 20px 35px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1439px) {
  .nav_item {
    padding: 20px;
    font-size: 14px;
  }
}
.nav_item:last-of-type {
  border: none;
}

.map {
  margin: 50px 0 80px;
  padding: 60px 0px;
  background: #FFF;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.15);
}
@media screen and (max-width: 1023px) {
  .map {
    margin: 20px 0 40px;
    padding: 30px 0px;
  }
}
.map .map__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 600px;
  width: 100%;
  min-height: 595px;
}
@media screen and (max-width: 1023px) {
  .map .map__wrapper {
    min-height: 343px;
  }
}
.map svg#map-svg {
  width: 100%;
}
.map img#map-earth {
  display: none;
}
.map #map-earth.robo {
  display: block;
}

.hero {
  height: 480px;
  background-color: #011A91;
  color: #ffffff;
}
@media screen and (max-width: 1279px) {
  .hero {
    height: 380px;
  }
}
@media screen and (max-width: 1023px) {
  .hero {
    height: auto;
    background-color: #ffffff;
  }
}
.hero_bg {
  width: 100%;
  height: 100%;
  padding-top: 113px;
  background-image: url("../images/hero_bg2_desk.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media screen and (max-width: 1279px) {
  .hero_bg {
    padding-top: 80px;
  }
}
@media screen and (max-width: 1023px) {
  .hero_bg {
    padding-top: 32px;
    background: none;
  }
}
.hero .title {
  margin-bottom: 40px;
  font-weight: 600;
  font-size: 48px;
  line-height: 54px;
  text-align: center;
}
@media screen and (max-width: 1279px) {
  .hero .title {
    font-size: 44px;
  }
}
@media screen and (max-width: 1023px) {
  .hero .title {
    max-width: 420px;
    margin: 0 auto;
    margin-bottom: 24px;
    color: #011A91;
    font-weight: 800;
    font-size: 36px;
    line-height: 40px;
    text-align: left;
  }
}
@media screen and (max-width: 1023px) {
  .hero .subtitle_wrapper {
    width: 420px;
    min-height: 131px;
    margin: 0 auto;
    padding: 23px 80px 23px 16px;
    background-color: #0A2D6C;
    background-image: url("../images/hero_bg2_mob.webp");
    background-position: 100% center;
    background-repeat: no-repeat;
  }
}
@media screen and (max-width: 767px) {
  .hero .subtitle_wrapper {
    width: 100%;
  }
}
.hero .subtitle {
  font-weight: 500;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
}
@media screen and (max-width: 1279px) {
  .hero .subtitle {
    max-width: 420px;
    margin: 0 auto;
  }
}
@media screen and (max-width: 1023px) {
  .hero .subtitle {
    max-width: 300px;
    font-size: 18px;
    line-height: 28px;
    text-align: left;
  }
}

.section2 {
  padding-top: 40px;
  padding-bottom: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 54px 40px;
}
@media screen and (max-width: 767px) {
  .section2 {
    padding-top: 24px;
    padding-bottom: 0;
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "d" "c";
  }
  .section2 > :nth-child(1) {
    grid-area: a;
  }
  .section2 > :nth-child(2) {
    grid-area: b;
  }
  .section2 > :nth-child(3) {
    grid-area: c;
  }
  .section2 > :nth-child(4) {
    grid-area: d;
  }
}
.section2 .block_img {
  max-width: 728px;
}
@media screen and (max-width: 767px) {
  .section2 .block_img {
    max-width: 100%;
  }
}
.section2 .block_left {
  justify-self: end;
}
.section2 .block_right {
  justify-self: start;
}
.section2 .block_text {
  width: 600px;
  align-self: center;
}
@media screen and (max-width: 1439px) {
  .section2 .block_text {
    width: calc(100% - 40px);
  }
}
@media screen and (max-width: 767px) {
  .section2 .block_text {
    width: 100%;
    padding: 18px 16px 32px;
  }
}
.section2 .block_text.block1 {
  margin-right: 40px;
}
@media screen and (max-width: 767px) {
  .section2 .block_text.block1 {
    margin-right: 0;
  }
}
.section2 .block_text.block2 {
  justify-self: end;
  margin-left: 40px;
}
@media screen and (max-width: 1279px) {
  .section2 .block_text.block2 {
    padding-top: 18px;
  }
}
@media screen and (max-width: 767px) {
  .section2 .block_text.block2 {
    margin-left: 0;
  }
}
.section2 h2 {
  margin-bottom: 40px;
  color: #0946BE;
  font-weight: 500;
  font-size: 40px;
  line-height: 32px;
  letter-spacing: -6%;
}
@media screen and (max-width: 1279px) {
  .section2 h2 {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 1023px) {
  .section2 h2 {
    margin-bottom: 16px;
    font-size: 28px;
  }
}
.section2 p {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
}
@media screen and (max-width: 1023px) {
  .section2 p {
    font-size: 16px;
    line-height: 24px;
  }
}