:root {
  --font-primary: 'Manrope';
  --font-secondary: 'DM Sans';
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-Medium.woff2') format('woff2'),
    url('/static/fonts/Manrope-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-ExtraLight.woff2') format('woff2'),
    url('/static/fonts/Manrope-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-SemiBold.woff2') format('woff2'),
    url('/static/fonts/Manrope-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-Light.woff2') format('woff2'),
    url('/static/fonts/Manrope-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-Bold.woff2') format('woff2'),
    url('/static/fonts/Manrope-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-Regular.woff2') format('woff2'),
    url('/static/fonts/Manrope-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/static/fonts/Manrope-ExtraBold.woff2') format('woff2'),
    url('/static/fonts/Manrope-ExtraBold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/DMSans-Medium.woff2') format('woff2'),
    url('/static/fonts/DMSans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/DMSans-MediumItalic.woff2') format('woff2'),
    url('/static/fonts/DMSans-MediumItalic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/DMSans-BoldItalic.woff2') format('woff2'),
    url('/static/fonts/DMSans-BoldItalic.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/DMSans-Bold.woff2') format('woff2'),
    url('/static/fonts/DMSans-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/DMSans-Italic.woff2') format('woff2'),
    url('/static/fonts/DMSans-Italic.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/static/fonts/DMSans-Regular.woff2') format('woff2'),
    url('/static/fonts/DMSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

html[lang="en"] .offer__subtitle {
  font-weight: 500;
  font-size: 110px;
  line-height: 100%;
  letter-spacing: -0.03em;
}

html[lang="en"] h1 {
  font-weight: 500;
  font-size: 110px;
  line-height: 100%;
  letter-spacing: -0.03em;
  margin-bottom: 100px;
}

html[lang="en"] h1:before {
  right: 276px;
  height: 130px;
  top: 170px;
}

html[lang="en"] .offer__info {
  padding-top: 50px;
}

.toggle-container {
  transition: height 0.35s ease-in-out;
  overflow: hidden;
  display: flex;
}

.toggle-container:not(.active) {
  display: none;
}

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

body {
  font-family: var(--font-primary);
}

.hamburger {
  display: none;
}

.nav__mobile {
  display: none;
}

.btn-white {
  padding: 12px 18px;
  text-align: center;
  color: #0056B4;
  background: transparent;
  text-decoration: none;
  font-size: 1.11rem;
  font-weight: 600;
  position: relative;
}

.btn-white span {
  z-index: 2;
  position: relative;
}

.btn-white:before {
  content: '';
  display: block;
  position: absolute;
  pointer-events: none;
  background: #ffffff;
  transition: .3s ease-out;
  will-change: transform;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.btn-white:hover:before {
  transform: scale(1.1);
}

h1 {
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 211px;
  font-weight: 500;
  font-size: 88px;
  line-height: 100%;
  width: 100%;
  position: relative;
}

h1:before {
  content: '';
  display: block;
  position: absolute;
  width: 359px;
  height: 212px;
  border-top: 3px solid #FFFFFF;
  border-right: 3px solid #FFFFFF;
  right: 410px;
  top: 135px;
}

header {
  position: fixed;
  top: 10px;
  padding: .7rem 20px;
  max-width: 1240px;
  width: 100%;
  display: flex;
  align-items: center;
  transition: .3s ease-out;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

header.scrolled {
  background: #F5F6F8;
}

header.scrolled .logo {
  background: url(/static/images/logo-colored.svg) no-repeat;
  background-size: contain;
}

header.scrolled .nav__link {
  color: #000000;
  opacity: 1;
}

header.scrolled .nav__link svg path {
  stroke: #000000;
  transition: .3s ease-out;
}

header.scrolled .nav__link:hover svg path {
  stroke: #0056B4;
}

header.scrolled .nav__link:hover,
header.scrolled .nav__link.active,
header.scrolled .language__dropdown ul a:hover {
  color: #0056B4;
}

header.scrolled .language__current,
header.scrolled .language__dropdown ul a {
  color: #000000;
}

header.scrolled .btn-white:before {
  background: #00C466;
}

header.scrolled .btn-white {
  color: #ffffff;
}

header.scrolled .language__dropdown ul {
  background: #ffffff;
}

header.scrolled .language__current svg path {
  fill: black;
}

.logo {
  display: flex;
  background: url(/static/images/logo.svg) no-repeat;
  background-size: contain;
  width: 200px;
  height: 39px;
}

.nav {
  display: flex;
  align-items: center;
  margin: 0 auto 0 50px;
}

.nav:hover>.nav__link {
  opacity: 0.5
}

.nav__link {
  font-weight: 400;
  color: #ffffff;
  opacity: 1;
  transition: .3s ease-out;
  font-size: 1.12rem;
  line-height: 18px;
  text-decoration: none;
  margin-right: 26px;
}

.nav:hover>.nav__link:hover {
  opacity: 1;
}

.language {
  position: relative;
  margin-right: 25px;
}

.language__dropdown {
  position: absolute;
}

.language__current {
  display: flex;
  align-items: center;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  font-family: var(--font-secondary);
  padding-left: 10px;
}

.language__current svg {
  transition: .3s ease-out;
  margin-left: 4px;
}

.language__dropdown ul {
  list-style-type: none;
  padding: 0 10px;
}

.language__dropdown ul a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--font-secondary);
}

.offer {
  background: url(/static/images/offer-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 768px;
}

.offer__wrapper {
  display: flex;
  flex-wrap: wrap;
  padding-top: 147px;
  padding-bottom: 101px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 10px;
  padding-right: 10px;
}

.offer__info {
  max-width: 525px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.offer__info p {
  font-weight: 500;
  font-size: 1.1rem;
  line-height: 145%;
  color: #ffffff;
  margin-bottom: 22px;
}

.offer__info .btn-white {
  padding: 19px 48px;
}

.offer__subtitle {
  color: #ffffff;
  margin-left: auto;
  font-size: 5.2rem;
  font-weight: 600;
  margin-right: 33px;
  line-height: 100%;
  margin-top: -25px;
}

.advantages {
  padding: 160px 0 0;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.advantages__title {
  letter-spacing: -0.04em;
  font-weight: 600;
  font-size: 64px;
  line-height: 110%;
  color: #000000;
  margin-bottom: 60px;
  max-width: 530px;
  background: linear-gradient(90deg, #0056B4 0%, #3B92AF 32.29%, #00C466 66.02%, #0056B4 100%), #343434;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.advantages__row {
  border-top: 2px solid rgba(150, 160, 161, 0.3);
  position: relative;
  display: flex;
  padding-bottom: 30px;
}

.advantages__wrapper {
  border-bottom: 2px solid rgba(150, 160, 161, 0.3);
  position: relative;
}

.advantages__wrapper:last-child:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  background: rgba(150, 160, 161, 0.3);
  height: 30px;
}

.advantages__wrapper:last-child:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 2px;
  background: rgba(150, 160, 161, 0.3);
  height: 30px;
}

.advantages__row.advantages__row--reverse {
  flex-direction: row-reverse;
}

.advantages__row.advantages__row--reverse .advantages__item {
  border-right: 0;
}

.advantages__row.advantages__row--reverse .advantages__item:first-child {
  border-left: 2px solid rgba(150, 160, 161, 0.3);
}

.advantages__row:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(150, 160, 161, 0.3);
  height: 30px;
  width: 2px;
}

.advantages__row:after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  background: rgba(150, 160, 161, 0.3);
  height: 30px;
  width: 2px;
}

.advantages__item {
  width: 33.33%;
  border-right: 2px solid rgba(150, 160, 161, 0.3);
  padding: 40px;
  display: flex;
}

.advantages__item.advantages__item--big {
  width: 66.66%;
  display: flex;
  align-items: flex-start;
}

.advantages__item:last-child {
  border-right: 0;
}

.advantages__item-name {
  font-weight: 600;
  font-size: 36px;
  line-height: 115%;
  letter-spacing: -0.01em;
  color: #343434;
  margin-bottom: 15px;
}

.advantages__item-info {
  display: flex;
  flex-direction: column;
}

.advantages__item-text {
  font-weight: 500;
  font-size: 20px;
  line-height: 140%;
  color: #343434;
  opacity: 0.5;
  max-width: 410px;
}

.advantages__item-image {
  margin: 0 auto;
}

.advantages__item-logos {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.advantages__item-logos img {
  margin-right: 8px;
}

.advantages__item-logos img.advantages__item-logo-single {
  min-width: 89px;
}

.advantages__item-logos img:last-child {
  margin-right: 0;
}

.faq {
  padding: 160px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.faq__title {
  font-weight: 600;
  font-size: 64px;
  line-height: 110%;
  letter-spacing: -0.04em;
  margin-bottom: 75px;
  background: linear-gradient(90deg, #0056B4 0%, #3B92AF 32.29%, #00C466 66.02%, #0056B4 100%), #343434;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.faq__item {
  border-top: 2px solid rgba(150, 160, 161, 0.3);
  position: relative;
  padding: 40px 0 40px 40px;
  margin-bottom: 10px;
  width: calc(100% - 40px);
}

.faq__item:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 30px;
  background: rgba(150, 160, 161, 0.3);
}

.faq__top {
  display: flex;
  position: relative;
  align-items: center;
  z-index: 2;
  cursor: pointer;
}

.faq__top.active .faq__top-descr {
  opacity: 0;
}

.faq__icon {
  position: absolute;
  display: flex;
  width: 30px;
  height: 30px;
  right: -40px;
  top: -56px;
  cursor: pointer;
  transition: .3s ease-out;
}

.faq__icon.active svg path {
  stroke: #00C466;
}

.faq__icon.active {
  transform: rotate(45deg);
}

.faq__icon.active~.faq__top-descr {
  opacity: 0;
}

.faq__icon svg {
  pointer-events: none;
}

.faq__icon svg path {
  transition: .3s ease-out;
}

.faq__top.active .faq__icon {
  transform: rotate(45deg);
}

.faq__top.active .faq__icon svg path {
  stroke: #00C466;
}

.faq__name {
  font-weight: 600;
  font-size: 36px;
  line-height: 115%;
  letter-spacing: -0.01em;
  margin-right: auto;
  max-width: 420px;
  pointer-events: none;
}

.faq__top-descr {
  font-weight: 400;
  font-size: 24px;
  line-height: 110%;
  text-align: right;
  letter-spacing: -0.04em;
  color: #96A0A1;
  transition: .3s ease-out;
  pointer-events: none;
}

.faq__bottom {
  padding-left: 450px;
  transform: translateY(-30px);
  z-index: 1;
  pointer-events: none;
}

.faq__bottom-item {
  width: calc(50% - 40px);
}

.faq__bottom-item:last-child {
  margin-left: auto;
}

.faq__bottom-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 110%;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #0056B4 0%, #3B92AF 32.29%, #00C466 66.02%, #0056B4 100%), #343434;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.faq__bottom-list {
  list-style-type: none;
}

.faq__bottom-list li {
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #657071;
  margin-bottom: 15px;
  padding-left: 26px;
  position: relative;
}

.faq__bottom-list li:last-child {
  margin-bottom: 0;
}

.faq__bottom-list li:before {
  content: '';
  display: block;
  position: absolute;
  left: 6px;
  top: 10px;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  background: #00C466;
}

.contacts {
  max-width: 960px;
  margin: 160px auto 200px;
  padding: 140px 0 74px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.contacts:before {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid #0C50B1;
  border-radius: 50%;
  width: 726px;
  height: 726px;
  pointer-events: none;
}

.contacts__title {
  font-weight: 600;
  font-size: 56px;
  line-height: 110%;
  text-align: center;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #0056B4 0%, #3B92AF 32.29%, #00C466 66.02%, #0056B4 100%), #343434;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  margin-bottom: 35px;
}

.contacts__descr {
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  color: #96A0A1;
  max-width: 586px;
  margin-bottom: 190px;
}

.contacts__link {
  margin-top: auto;
  font-weight: 600;
  font-size: 24px;
  line-height: 115%;
  letter-spacing: -0.01em;
  color: #0056B4;
  text-decoration: none;
}

.footer {
  width: calc(100% - 40px);
  margin: 0 auto 20px;
  background: #F7F7F7;
  padding: 75px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.footer__title {
  font-weight: 600;
  font-size: 64px;
  line-height: 110%;
  text-align: center;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

.footer__subtitle {
  margin-bottom: 92px;
  font-weight: 500;
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  color: #96A0A1;
}

.footer__mail {
  font-weight: 600;
  font-size: 36px;
  line-height: 115%;
  letter-spacing: -0.01em;
  color: #00C466;
  text-decoration: none;
  margin-bottom: 25px;
}

.footer__tel {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: #343434;
  text-decoration: none;
  margin-bottom: 15px;
}

.footer__address {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: #343434;
  text-decoration: none;
  margin-bottom: 170px;
}

.copyright {
  padding: 35px 0;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  color: #96A0A1;
  width: 100%;
  border-top: 1px solid rgba(150, 160, 161, .5);
  text-align: center;
}

.error {
  background: url(/static/images/offer-bg.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.error__number {
  font-weight: 800;
  font-size: 300px;
  line-height: 100%;
  text-align: center;
  letter-spacing: -0.05em;
  color: #ffffff;
  margin-bottom: 30px;
}

.error__text {
  font-weight: 500;
  font-size: 36px;
  line-height: 115%;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 50px;
  color: #ffffff;
}

.error__illustration-1 {
  width: calc(50% - 433px);
  border-top: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  position: absolute;
  bottom: 0;
  height: calc(50% - 50px);
  left: 70px;
  pointer-events: none;
}

.error__illustration-2 {
  width: calc(50% - 433px);
  border-bottom: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  position: absolute;
  top: 0;
  height: calc(50% - 50px);
  right: 70px;
  pointer-events: none;
}

.error__illustration-1 img {
  position: absolute;
  right: -40px;
  top: -18px;
}

.error__illustration-2 img {
  position: absolute;
  left: -40px;
  bottom: -18px;
}

.error.error--505 .error__number {
  margin-bottom: 130px;
}

.error.error--505 .error__illustration-1,
.error.error--505 .error__illustration-2 {
  width: calc(50% - 95px);
}

.error.error--505 .error__illustration-1 {
  height: 40%;
}

.error.error--505 .error__illustration-2 {
  height: 60%;
}

@media(max-width: 1439px) {
  h1 {
    font-size: 56px;
  }

  h1:before {
    right: 240px;
    top: 90px;
    width: 360px;
    height: 183px;
  }

  .offer__subtitle {
    font-size: 46px;
  }

  .nav__link {
    margin-right: 10px;
  }

  .nav {
    margin: 0 auto 0 20px;
  }

  .faq__bottom {
    padding-left: 390px;
  }

  .faq__bottom-item {
    width: calc(50% - 10px);
  }

  .faq__name {
    max-width: 360px;
  }
}

@media(max-width: 1280px) {
  .offer__info {
    max-width: 410px;
  }

  .offer__subtitle {
    margin-right: 0;
  }

  h1:before {
    right: 205px;
    width: 355px;
  }

  .logo {
    width: 40px;
    height: 40px;
    background: url(images/logo-mobile.svg) no-repeat;
    background-size: contain;
  }

  .nav {
    align-items: flex-end;
  }

  .nav__link {
    margin-right: 18px;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
  }

  .language__current {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
  }

  .btn-white {
    font-weight: 600;
    font-size: 12px;
    line-height: 140%;
    padding: 13px 18px;
  }

  .faq__bottom {
    padding-left: 250px;
  }

  .faq__name {
    font-weight: 600;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: -0.01em;
    max-width: 230px;
  }

  .faq__top-descr {
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.04em;
  }

  .faq__bottom-title {
    font-weight: 600;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.04em;
  }

  .advantages {
    padding: 100px 32px 0;
  }

  .advantages__item {
    padding: 20px;
    min-height: 220px;
  }

  .advantages__item-image {
    display: none;
  }

  .advantages__item-logos img {
    max-width: calc(25% - 10px);
  }

  .advantages__item-text {
    margin-bottom: 30px;
  }

  .advantages__item-name {
    font-weight: 600;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: -0.01em;
  }

  .advantages__item-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: #343434;
  }

  .advantages__title {
    font-weight: 600;
    font-size: 45px;
    line-height: 110%;
    letter-spacing: -0.04em;
  }

  .contacts__title {
    font-weight: 600;
    font-size: 40px;
    line-height: 110%;
    max-width: 680px;
    letter-spacing: -0.04em;
  }

  .contacts:before {
    width: 500px;
    height: 500px;
  }

  .contacts__descr {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    max-width: 350px;
    margin-bottom: 90px;
  }

  .contacts__link {
    font-weight: 600;
    font-size: 18px;
    line-height: 115%;
  }

  .contacts {
    margin: 100px auto 120px;
    padding-top: 80px;
  }

  .footer__title {
    font-weight: 600;
    font-size: 40px;
    line-height: 110%;
    letter-spacing: -0.04em;
    margin-bottom: 15px;
  }

  .footer__subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
  }

  .footer__mail {
    font-weight: 600;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
  }

  .footer__tel {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 10px;
  }

  .footer__tel {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
  }

  .error__illustration-1 {
    left: 15px;
  }

  .error__illustration-2 {
    right: 15px;
  }

  .error.error--505 .error__illustration-1,
  .error.error--505 .error__illustration-2 {
    width: calc(50% - 40px);
  }

  html[lang="en"] .offer__subtitle {
    font-size: 75px;
    line-height: 100%;
  }

  html[lang="en"] h1 {
    font-size: 75px;
    line-height: 100%;
  }

  html[lang="en"] h1:before {
    top: 120px;
    right: 255px;
    height: 90px;
  }
}

@media(max-width: 991px) {
  .offer {
    padding: 0 32px;
  }

  .advantages__item-text {
    max-width: 260px;
  }

  header {
    padding: 10px;
    width: calc(100% - 40px);
  }

  header.scrolled .logo {
    background: url(images/logo-mobile-colored.svg) no-repeat;
    background-size: contain;
  }

  .language {
    margin-right: 10px;
  }

  .nav {
    margin-left: 15px;
  }

  .nav__link {
    margin-right: 10px;
  }

  .nav__link img {
    width: 7px;
  }

  h1 {
    margin-bottom: 210px;
    order: 0;
  }

  h1:before {
    width: 140px;
    right: 266px;
  }

  .offer__info {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .offer__info p {
    max-width: 410px;
  }

  .offer__info .btn-white {
    padding: 16px 24px;
  }

  .offer__wrapper {
    padding-top: 160px;
  }

  .offer__subtitle {
    font-size: 58px;
    margin-bottom: 32px;
    order: 1;
  }

  .faq__item {
    padding: 25px 0 5px 25px;
    margin-bottom: 35px;
  }

  .faq__bottom {
    transform: translateY(0);
    padding-left: 0;
  }

  .faq__icon {
    top: -41px;
  }

  .faq__item:before {
    height: 20px;
  }

  .faq__bottom-item {
    padding-top: 20px;
  }

  .faq__bottom-list li {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 10px;
  }

  .faq {
    padding: 100px 32px 0;
  }

  .faq__title {
    font-weight: 600;
    font-size: 45px;
    line-height: 110%;
    letter-spacing: -0.04em;
    margin-bottom: 55px;
  }

  .advantages__title {
    max-width: 369px;
  }

  .error__number {
    font-weight: 800;
    font-size: 200px;
    line-height: 100%;
  }

  .error__text {
    font-weight: 500;
    font-size: 24px;
    line-height: 115%;
  }

  .error__illustration-1,
  .error__illustration-2 {
    width: calc(50% - 250px);
    height: 50%;
  }

  .error.error--505 .error__number {
    margin-bottom: 100px;
  }

  .error.error--505 .error__illustration-1 {
    height: 45%;
  }

  .error.error--505 .error__illustration-2 {
    height: 55%;
  }

  html[lang="en"] h1:before {
    top: 120px;
    right: 255px;
    height: 140px;
    width: 80px;
  }

  html[lang="en"] h1 {
    margin-bottom: 145px;
  }

  html[lang="en"] .offer__wrapper {
    padding-top: 140px;
  }
}

@media(max-width: 767px) {
  header {
    padding: 0 0 0 10px;
    top: 20px;
    z-index: 100;
  }

  header.scrolled {
    padding: 10px;
  }

  header.scrolled .hamburger span {
    background: #0056B4;
  }

  header.scrolled .hamburger.active span {
    background: #fff;
  }

  header.scrolled .nav__link {
    color: #fff;
  }

  .nav {
    position: fixed;
    left: 50%;
    top: -20px;
    width: 100vw;
    height: 100vh;
    background: #0056B4;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 115px 20px 40px;
    transform: translateX(-170%);
    transition: .5s ease-out;
  }

  .language__dropdown ul a {
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
  }

  .nav.active {
    transform: translateX(-50%);
  }

  .nav.active~.language .language__current {
    color: #ffffff;
  }

  .nav.active~.language .language__current svg path {
    fill: #ffffff;
  }

  .nav.active~.language .language__dropdown ul {
    background: transparent;
  }

  .nav.active~.language .language__dropdown ul a {
    color: #fff;
  }

  .nav__link {
    margin: 10px 0;
    font-weight: 400;
    font-size: 36px;
    line-height: 115%;
    letter-spacing: -0.01em;
    opacity: 1;
  }

  .nav__link img {
    width: 16px;
  }

  .offer {
    padding: 0 20px;
    background-position: -700px center;
    min-height: 100vh;
    display: flex;
  }

  .hamburger {
    display: flex;
    justify-content: space-between;
    width: 30px;
    height: 10px;
    flex-direction: column;
    margin-right: 20px;
    z-index: 3;
  }

  .hamburger.active span:first-child {
    transform: rotate(45deg) translate(2px, 5px);
    width: 34px;
  }

  .hamburger.active span:last-child {
    transform: rotate(-45deg) translate(1px, -3px);
    width: 34px;
  }

  .logo {
    margin-right: auto;
  }

  .hamburger span {
    background: #fff;
    height: 2px;
    width: 100%;
    transition: .3s ease-out;
  }

  h1 {
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.03em;
    margin-bottom: 154px;
  }

  h1:before {
    border-width: 2px;
    right: 65px;
    width: 40px;
    top: 56px;
    height: 139px;
  }

  .offer__wrapper {
    padding-top: 90px;
    padding-bottom: 25px;
  }

  .offer__info {
    order: 2;
    margin-top: auto;
  }

  .offer__subtitle {
    order: 1;
    font-weight: 500;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: -0.03em;
    margin-bottom: 60px;
  }

  .offer__info p {
    font-weight: 500;
    font-size: 16px;
    max-width: 242px;
    line-height: 140%;
    margin-bottom: 19px;
  }

  .offer__info .btn-white {
    font-weight: 600;
    font-size: 14px;
    line-height: 140%;
    padding: 12px 18px;
  }

  .nav__mobile {
    display: flex;
    flex-direction: column;
    margin-top: auto;
  }

  .nav__mobile a,
  .nav__mobile span {
    font-weight: 600;
    font-size: 16px;
    line-height: 140%;
    text-decoration: none;
    margin: 7px 0;
    color: #ffffff;
  }

  .nav__mobile a:first-child {
    font-weight: 700;
    font-size: 20px;
    line-height: 115%;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    margin: 7px 0;
  }

  .nav__mobile a:first-child:hover {
    opacity: .6;
  }

  .faq {
    padding: 150px 20px 0;
  }

  .faq__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 110%;
    margin-bottom: 50px;
  }

  .faq__item {
    padding: 20px 0 20px 20px;
    margin-bottom: 15px;
  }

  .faq__top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .faq__name {
    font-weight: 600;
    font-size: 20px;
    line-height: 115%;
    letter-spacing: -0.01em;
    margin-bottom: 10px;
    max-width: 100%;
    width: 100%;
  }

  .faq__top-descr {
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    letter-spacing: -0.04em;
    text-align: left;
  }

  .faq__bottom-item {
    padding-top: 0;
    width: 100%;
    margin-bottom: 20px;
  }

  .faq__bottom-item:last-child {
    margin-bottom: 0;
  }

  .faq__bottom {
    flex-direction: column;
  }

  .advantages {
    padding: 100px 20px 0;
  }

  .advantages__title {
    font-weight: 600;
    font-size: 32px;
    line-height: 110%;
    margin-bottom: 40px;
  }

  .advantages__row:before,
  .advantages__row:after {
    display: none;
  }

  .advantages__row {
    flex-wrap: wrap;
    border: 0;
    padding-bottom: 20px;
  }

  .advantages__item,
  .advantages__item.advantages__item--big {
    width: 100%;
    border-right: 0 !important;
    border-left: 0 !important;
    flex-direction: column;
    border-top: 2px solid rgba(150, 160, 161, 0.3);
    position: relative;
    margin-bottom: 20px;
    min-height: auto;
  }

  .advantages__item:last-child {
    margin-bottom: 0;
  }

  .advantages__item:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 20px;
    width: 2px;
    background: rgba(150, 160, 161, 0.3);
  }

  .advantages__item:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    height: 20px;
    width: 2px;
    background: rgba(150, 160, 161, 0.3);
  }

  .advantages__item-image {
    display: block;
    margin-top: 20px;
  }

  .advantages__item-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 0;
  }

  .advantages__wrapper:last-child:before,
  .advantages__wrapper:last-child:after {
    height: 20px;
  }

  .contacts {
    overflow: hidden;
    padding-bottom: 110px;
  }

  .contacts__title {
    font-weight: 600;
    font-size: 28px;
    line-height: 110%;
    letter-spacing: -0.04em;
    max-width: 335px;
  }

  .footer__title {
    font-weight: 600;
    font-size: 28px;
    line-height: 110%;
  }

  .advantages__item-logos {
    margin-top: 20px;
  }

  .faq__icon {
    top: -38px;
  }

  .error__number {
    font-weight: 800;
    font-size: 100px;
    line-height: 100%;
    margin-bottom: 25px;
  }

  .error.error--505 {
    padding: 80px 25px 0;
  }

  .error.error--505 .error__number {
    margin-bottom: 75px;
  }

  .error__text {
    font-weight: 500;
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 35px;
  }

  .error__illustration-1,
  .error__illustration-2 {
    width: 50%;
    height: 70px;
  }

  .error__illustration-1 img,
  .error__illustration-2 img {
    width: 20px;
    height: 20px;
  }

  .error__illustration-1 {
    border: 0;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    left: 0;
    bottom: auto;
    top: 15%;
    height: 70px;
  }

  .error__illustration-2 {
    border: 0;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    right: 0;
    top: auto;
    bottom: 10%;
    height: 70px;
  }

  .error__illustration-1 img {
    right: -10px;
    bottom: -30px;
    top: auto;
  }

  .error__illustration-2 img {
    left: -10px;
    top: -30px;
  }

  .error.error--505 .error__illustration-1,
  .error.error--505 .error__illustration-2 {
    width: calc(50% - 25px);
  }

  .error.error--505 .error__illustration-1 {
    border: 0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    left: 10px;
    bottom: 0;
    top: auto;
  }

  .error.error--505 .error__illustration-2 {
    border: 0;
    border-bottom: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    right: 10px;
    top: 0;
    bottom: auto;
  }

  .error.error--505 .error__illustration-1 img {
    top: -10px;
    right: -25px;
    width: 20px;
    height: 20px;
  }

  html[lang="en"] .offer__subtitle {
    font-size: 40px;
    line-height: 100%;
  }

  html[lang="en"] h1 {
    font-size: 40px;
    line-height: 100%;
  }

  html[lang="en"] h1:before {
    border-width: 2px;
    right: 75px;
    width: 40px;
    top: 60px;
    height: 150px;
  }
}