@font-face {
  font-family: "Roboto-Medium";
  src: url("../fonts/Roboto-Medium.ttf");
  font-display: swap;
}
@font-face {
  font-family: "Roboto-Bold";
  src: url("../fonts/Roboto-Bold.ttf");
  font-display: swap;
}
@font-face {
  font-family: "Roboto-Regular";
  src: url("../fonts/Roboto-Regular.ttf");
  font-display: swap;
}
:root {
  --primary-color: #1E3A5F;
  --secondary-color: #fff;
  --accent-color: #3B82F6;
  --services-color: rgba(249, 249, 247, 1);
}

html {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

*,
*::after,
*::before {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
}

ul[class],
ol[class] {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul[class] {
  list-style: none;
}

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

input,
button,
textarea,
select {
  font: inherit;
  outline: none;
}

a {
  text-decoration: none;
}

html,
body {
  height: 100%;
  font-family: "Roboto-Regular";
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  min-height: 100%;
  background: #fff;
}

.main {
  word-wrap: break-word;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.title {
  text-align: center;
  color: var(--primary-color);
  font-size: 56px;
  font-family: "Roboto-Bold";
  line-height: 120%;
}

.text {
  font-size: 16px;
  font-family: "Roboto-Regular";
  line-height: 140%;
  color: var(--primary-color);
}

.button {
  color: var(--secondary-color);
  border: none;
  border-radius: 8px;
  padding: 18px 35px;
  background: var(--accent-color);
  font-size: 18px;
  line-height: 100%;
  font-family: "Roboto-Bold";
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  text-align: center;
  cursor: pointer;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.button img, .button svg {
  margin-left: 8px;
}

.link {
  font-family: "Roboto-Bold";
}

.header {
  padding: 35px;
  width: 100%;
}
.header__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.header__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 60px;
}
.header__menu {
  display: none;
}
.header__logo svg {
  width: 180px;
  height: auto;
}
.header__logo_nav {
  display: none;
}
.header__close {
  display: none;
}

.nav {
  margin-left: auto;
}
.nav__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.nav__list li {
  list-style: none;
}
.nav__list li:not(:last-child) {
  margin-right: 75px;
}
.nav__list li a {
  font-size: 18px;
  line-height: 120%;
  font-family: "Roboto-Bold";
  color: var(--primary-color);
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}
.nav__list li a:hover {
  color: var(--accent-color);
}
.nav__list li .active {
  color: var(--accent-color);
}

.footer {
  padding: 64px 0;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.footer__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.footer__logo {
  width: 180px;
  height: auto;
}
.footer__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 64px;
}
.footer__menu a {
  font-family: "Roboto-Bold";
  font-size: 16px;
  text-decoration: underline;
}
.footer__menu a:hover {
  text-decoration: none;
}

.success {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(6, 8, 19, 0.85);
  z-index: -2;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}
.success_active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}
.success__block {
  width: 400px;
  height: auto;
  padding: 30px 30px 50px 30px;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: #efede9;
  border-radius: 16px;
}
.success__icon {
  display: block;
  margin: 0 auto;
  fill: #ffea3d;
  width: 160px;
  height: auto;
  margin-bottom: 22px;
}
.success__title {
  text-align: center;
  font-size: 24px;
  line-height: 100%;
  margin-bottom: 14px;
  color: var(--primary-color);
}
.success__subtitle {
  color: var(--primary-color);
  text-align: center;
  font-size: 18px;
  line-height: 100%;
  margin-bottom: 30px;
}
.success__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  width: 100%;
}

.first {
  padding-top: 80px;
  margin-bottom: 130px;
}
.first__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 60px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.first__image {
  width: 760px;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.first__title {
  font-size: 58px;
  max-width: 742px;
  margin-bottom: 24px;
  text-align: left;
}
.first__text {
  font-size: 22px;
  line-height: 120%;
  text-align: left;
  max-width: 477px;
  margin-bottom: 40px;
}
.first__button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
}
.first__button img, .first__button svg {
  margin-left: 8px;
}

.services {
  margin-bottom: 120px;
}
.services__title {
  margin-bottom: 20px;
}
.services__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
.services__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.services__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: var(--secondary-color);
  padding: 32px;
  border-radius: 16px;
}
.services__info {
  max-width: 621px;
  margin: 0 auto;
}
.services__image {
  margin-bottom: 30px;
  width: 120px;
  height: auto;
  min-width: 100px;
}
.services__itemTitle {
  font-size: 28px;
  margin-bottom: 16px;
  text-align: left;
}
.services__text {
  text-align: left;
  line-height: 140%;
  max-width: 571px;
}

.why-us {
  margin-bottom: 120px;
}
.why-us__title {
  margin-bottom: 40px;
}
.why-us__title_second {
  margin-top: 80px;
  margin-bottom: 16px;
}
.why-us__subtitle {
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
}
.why-us__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
}
.why-us__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
.why-us__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  background: var(--secondary-color);
}
.why-us__image {
  width: 80px;
  height: auto;
  min-width: 80px;
}
.why-us__itemTitle {
  font-size: 28px;
  margin-bottom: 16px;
  text-align: left;
}
.why-us__text {
  text-align: left;
  line-height: 140%;
  max-width: 571px;
}
.why-us__button {
  margin: 0 auto;
  margin-top: 30px;
}

.about-us {
  margin-bottom: 120px;
}
.about-us__title {
  text-align: center;
  margin-bottom: 43px;
}
.about-us__content {
  display: grid;
  grid-template-columns: auto 500px;
  gap: 80px;
}
.about-us__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
.about-us__text {
  font-size: 26px;
  line-height: 140%;
}

.contact__form {
  padding: 40px;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  background: var(--accent-color);
  border-radius: 16px;
  width: 600px;
  min-width: 600px;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
}
.contact__title {
  font-size: 56px;
  margin-bottom: 24px;
}
.contact__text {
  max-width: 464px;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 32px;
}
.contact__input {
  font-size: 16px;
  line-height: 140%;
  padding: 21px 24px;
  border-radius: 8px;
  width: 100%;
  border: none;
}
.contact__textarea {
  font-size: 16px;
  line-height: 140%;
  padding: 21px 24px;
  border-radius: 8px;
  width: 100%;
  border: none;
  height: 221px;
  resize: none;
}
.contact__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}
.contact__block {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 40px;
}
.contact__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
  width: auto;
}
.contact__item {
  font-size: 20px;
  text-decoration: none;
}
.contact__item a {
  color: var(--accent-color);
}
.contact__nav {
  margin-top: 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.contact__fields {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 16px;
}
.contact__button {
  background: var(--primary-color);
  padding: 20px 105px;
  margin-left: auto;
}

@media (min-width: 990px) and (max-width: 1400px) {
  .container {
    max-width: 900px;
  }

  .title {
    font-size: 36px;
  }

  .first__title {
    font-size: 36px;
    max-width: 450px;
  }
  .first__text {
    font-size: 20px;
  }
  .first__image {
    width: 400px;
    height: auto;
    -o-object-fit: cover;
       object-fit: cover;
    margin-top: 0;
  }

  .services {
    margin-bottom: 70px;
  }
  .services__info {
    max-width: 600px;
  }
  .services__content {
    grid-template-columns: 1fr 1fr;
  }
  .services__item img, .services__item svg {
    width: 40px;
    height: auto;
  }
  .services__itemTitle {
    font-size: 24px;
  }

  .about-us {
    margin-bottom: 50px;
  }
  .about-us__itemTitle {
    font-size: 24px;
  }
  .about-us__text {
    font-size: 19px;
  }
  .about-us__content {
    grid-template-columns: 1fr 1fr;
    gap: 30px 40px;
  }

  .why-us {
    margin-bottom: 70px;
  }
  .why-us__itemTitle {
    font-size: 24px;
  }
  .why-us__text {
    font-size: 15px;
  }

  .contact__container {
    padding: 60px 80px;
  }
  .contact__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contact__form {
    width: 100%;
  }
  .contact__map {
    width: 100%;
  }
}
@media (max-width: 990px) {
  .container {
    max-width: 700px;
  }

  .title {
    font-size: 36px;
  }

  .first {
    padding-top: 110px;
  }
  .first__container {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  .first__text {
    max-width: 100%;
  }
  .first__title {
    font-size: 34px;
    max-width: 100%;
  }
  .first__text {
    font-size: 24px;
  }
  .first__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .first__image {
    width: auto;
    max-height: 400px;
    margin: 0 auto;
  }

  .services {
    margin-bottom: 70px;
  }
  .services__content {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .services__item {
    padding: 0;
  }
  .services__item img, .services__item svg {
    width: 40px;
    height: auto;
  }
  .services__itemTitle {
    font-size: 24px;
  }

  .about-us {
    margin-bottom: 60px;
  }
  .about-us__title {
    margin-bottom: 24px;
  }
  .about-us__itemTitle {
    font-size: 24px;
  }
  .about-us__text {
    font-size: 24px;
  }
  .about-us__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-us {
    margin-bottom: 70px;
  }
  .why-us__title {
    margin-bottom: 20px;
  }
  .why-us__content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .why-us__itemTitle {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .why-us__text {
    font-size: 15px;
  }
  .why-us__head {
    gap: 8px;
  }

  .contact__container {
    padding: 0;
  }
  .contact__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contact__form {
    width: 100%;
    min-width: 100%;
    padding: 16px;
  }
  .contact__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .contact__map {
    width: 100%;
  }
}
@media (max-width: 767px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }

  .title {
    font-size: 36px;
  }

  .first {
    padding-top: 110px;
  }
  .first__title {
    font-size: 28px;
    max-width: 100%;
  }
  .first__text {
    font-size: 20px;
  }
  .first__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
  .first__image {
    width: 100%;
  }

  .services {
    margin-bottom: 70px;
  }
  .services__info {
    max-width: 600px;
  }
  .services__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .services__item {
    padding: 0;
  }
  .services__item img, .services__item svg {
    width: 40px;
    height: auto;
  }
  .services__itemTitle {
    font-size: 24px;
  }

  .about-us {
    margin-bottom: 60px;
  }
  .about-us__title {
    margin-bottom: 24px;
  }
  .about-us__itemTitle {
    font-size: 24px;
  }
  .about-us__text {
    font-size: 15px;
  }
  .about-us__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-us__item img, .about-us__item svg {
    width: 60px;
    margin-bottom: 12px;
  }

  .why-us {
    margin-bottom: 70px;
  }
  .why-us__title {
    margin-bottom: 20px;
  }
  .why-us__title_second {
    margin-top: 70px;
  }
  .why-us__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .why-us__itemTitle {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .why-us__text {
    font-size: 15px;
  }
  .why-us__head {
    gap: 8px;
  }

  .contact__container {
    padding: 0;
  }
  .contact__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .contact__form {
    width: 100%;
    min-width: 100%;
    padding: 16px;
  }
  .contact__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .contact__map {
    width: 100%;
  }
}
@media (min-width: 990px) and (max-width: 1400px) {
  .footer__block {
    gap: 0 50px;
  }
  .footer__logo {
    width: 140px;
  }

  .header__logo svg {
    width: 140px;
  }

  .nav__list li:not(:last-child) {
    margin-right: 30px;
  }
}
@media (max-width: 989px) {
  .footer {
    padding: 30px 0;
  }
  .footer__logo {
    width: 120px;
  }
  .footer__block {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px 0;
  }
  .footer__btn {
    text-align: center;
  }
  .footer__menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .button {
    padding: 16px 60px;
  }

  .nav {
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    top: 0;
    padding: 20px 15px;
    -webkit-transition: 0.4s;
    -o-transition: 0.4s;
    transition: 0.4s;
    padding-top: 20px;
  }
  .nav__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 24px 0;
    margin-top: 50px;
  }
  .nav__list li a {
    font-size: 18px;
  }

  .header {
    top: 30px;
    padding: 20px 0 0 0;
  }
  .header__logo svg {
    width: 120px;
  }
  .header__logo_nav {
    display: block;
  }
  .header__menu {
    display: block;
    margin-left: auto;
  }
  .header__menu img, .header__menu svg {
    fill: var(--primary-color);
  }
  .header__close {
    display: block;
    margin-left: auto;
    position: absolute;
    right: 18px;
    top: 26px;
  }
  .header__close img, .header__close svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-color);
  }
  .header__items {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }

  .success__block {
    width: 80%;
    padding: 20px 20px 34px 20px;
  }
  .success__icon {
    width: 120px;
    margin-bottom: 18px;
  }
  .success__title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .success__subtitle {
    font-size: 16px;
  }
  .success__btn {
    font-size: 11px;
  }
}