body {
  margin: 0;
  background-color: #fff;

  font-family: "GilroyRegular", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #666;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin: 0 0 0px;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a.active {
  color: #f25822;
}

/*Page*/
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

/*Header*/
.header {
  width: 100%;
  background-color: #f3f3f3;
  opacity: 0.7;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header__logo {
  text-decoration: none;
}

.header__logo img {
  display: inline-block;
  vertical-align: middle;
  width: 40px;
  margin-right: 15px;
}

.header__logo-text {
  vertical-align: middle;
  font-size: 24px;
  font-weight: 700;
  color: #f25822;
}

.header__logo-text span {
  color: #000;
}

/*Nav*/

.nav {
  display: flex;
}

.nav__link {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 0;
  color: #000;
  margin-right: 35px;
  text-decoration: none;
}

.nav__link:hover {
  text-decoration: underline;
}

.nav__link.active {
  color: #f25822;
}

.nav__btn-text {
  font-weight: 600;
  font-size: 12px;
}

/*Intro*/
.intro__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 700px;
  overflow: hidden;
}

.intro__text {
  max-width: 522px;
}

h1 {
  font-weight: 700;
  color: #000;
  font-size: 60px;
  line-height: 1.2;
}

.intro__subtitle {
  margin-top: 20px;
  margin-bottom: 35px;
  color: #888;
  font-weight: medium;
  line-height: 1.2;
  font-size: 20px;
}

.intro__btn-text {
  font-weight: 700;
  font-size: 15px;
}

.intro__image {
  max-width: 550px;
}

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

.section {
  padding: 90px 0;
}

.section--grey {
  background-color: #fafafa;
}

/*Button*/
.btn {
  padding: 13px 27px;
  cursor: pointer;

  border: 0;
  border-radius: 30px;
}

.btn--std {
  background-color: rgb(242, 88, 34, 1);
  color: #fff;
}

.btn--light {
  background-color: rgba(242, 88, 34, 0.25);
  color: #f3602d;
}

.btn--std:hover,
.btn--long:hover {
  background-color: rgb(242, 88, 34, 0.6);
}

.btn--light:hover {
  background-color: rgba(242, 88, 34, 1);
  color: #fff;
}

.btn--long {
  width: 100%;
}

/*Companies*/
.companies__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

/*About*/
.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 540px;
}

.about__col {
  width: 47%;
}

h2 {
  color: #000;
  font-size: 45px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.about_description {
  margin-top: 25px;
  margin-bottom: 35px;
}

.about__btn-text {
  font-weight: 700;
  font-size: 15px;
}

/*Team*/

.section__title,
.section__description {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section__description {
  margin-top: 10px;
  margin-bottom: 50px;
}

.team {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.team__col {
  width: 22.5%;
}

.team__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #eee;
  padding: 50px 0;
  transition: border 0.1s linear;
  box-shadow: none;
}

.team__item:hover .team__name {
  color: #f25822;
}

.team__item:hover {
  border: none;
  box-shadow: 15px 20px 50px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.1s linear;
}

.team .social__item {
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

.team__photo {
  width: 130px;
  height: 130px;
  margin-bottom: 15px;
}

.team__name {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  transition: color 0.1s linear;
}

.team__prof {
  font-size: 13px;
  font-weight: 500;
  color: #888;
  margin-bottom: 17px;
}

.team .social__item:last-child {
  margin-right: 0;
}

.team.social__icon {
  height: 11px;
}

/* Services */

.services {
  display: flex;
  justify-content: space-between;
}

.services__col {
  width: 49%;
}

.services:first-child {
  align-items: center;
}

.services:first-child img {
  max-width: 100%;
}

.services__description {
  margin-top: 23px;
}

.services__list {
  display: flex;
  flex-direction: column;
  margin-top: 50px;
  padding-left: 30px;
}

.services__item {
  display: flex;
  align-items: center;
  margin-bottom: 47px;
  padding: 17px 50px 17px 30px;
}

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

.services__item:hover {
  /* background: #FFFFFF; */
  box-shadow: 15px 25px 60px -5px rgba(0, 0, 0, 0.1);
}

.services__text {
  margin-left: 30px;
}

.services-text__title {
  font-weight: 700;
  font-size: 20px;
  color: #000;
}

.services-text__description {
  font-size: 15px;
}

/*Advantages*/

.advantages {
  margin-top: 80px;
  display: flex;
  border: 2px solid #eee;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 42px 0;
}

.advantages__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 25.5%;
}

.advantages__item:last-child {
  width: 23.5%;
}

.advantages__item:first-child .advantages__divider {
  background: #f3602d;
}

.advantages__item:nth-child(2) .advantages__divider {
  background: #149211;
}

.advantages__item:nth-child(3) .advantages__divider {
  background: #ffc700;
}

.advantages__text {
  align-items: center;
  display: flex;
  flex-direction: column;
  width: 95%;
}

.advantages__item:last-child .advantages__text {
  width: 100%;
}

.advantages__val {
  font-weight: 700;
  font-size: 70px;
}

.advantages__dec {
  font-size: 18px;
}

.advantages__divider {
  width: 15px;
  height: 15px;
  background: red;
  border-radius: 50%;
}

/* Prices */
.prices {
  display: flex;
  justify-content: space-between;
}

.prices__col {
  width: 30%;
}

.prices__card {
  margin-top: 36px;
  padding: 70px 0;
  margin-bottom: 50px;
  display: flex;
  height: 514px;
  flex-direction: column;
  background: #fff;
  justify-content: space-between;
  align-items: center;
}

.prices__card:hover {
  margin-top: 6px;
  padding: 100px 0;
  margin-bottom: 20px;
  height: 574px;
  box-shadow: 15px 25px 70px -5px rgba(0, 0, 0, 0.07);
}

h4 {
  font-size: 24px;
  color: #000;
  font-weight: 500;
  line-height: 1.5;
}

.prices__val {
  color: #000;
  font-weight: 500;
  font-size: 70px;
}

.prices__val sup {
  vertical-align: text-top;
  font-size: 18px;
}

.prices__val sub {
  vertical-align: baseline;
  font-size: 18px;
}

.prices__card:hover .prices__title {
  color: #f25822;
}

.prices__list {
  margin-bottom: 27px;
  text-align: center;
  line-height: 2.5;
  font-weight: 500;
}

/* Projects */
.projects {
  display: flex;
  justify-content: space-between;
}

.projects__col {
  width: 30%;
}

.projects__card {
  display: flex;
  flex-direction: column;
  background-color: white;
  align-items: center;
  padding-bottom: 50px;
}

.projects__card:hover {
  box-shadow: 15px 25px 60px -5px rgba(0, 0, 0, 0.1);
}

.projects__img {
  width: 100%;
  margin-bottom: 25px;
}

h4.projects__title {
  font-weight: 700;
  margin-bottom: 23px;
  padding: 0 30px;
}

.projects__desc {
  text-align: center;
  font-size: 15px;
  color: #aaa;
  margin-bottom: 40px;
  height: 65px;
  padding: 0 30px;
}

.projects__btn-text {
  font-size: 13px;
  font-weight: 700;
}

/* Footer */
.footer {
  padding-top: 100px;
  margin-top: auto;
  background-color: #f3f3f3;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 50px;
}

.footer__inner h3 {
  margin-bottom: 27px;
}

h3.footer_header--last {
  margin-bottom: 33px;
}

.footer-col {
  max-width: 270px;
}

.footer__desc {
  margin-top: 35px;
  color: #666;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social {
  display: flex;
}

.social__item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-right: 20px;
  background-color: transparent;
  transition: background 0.1s linear;
  border-radius: 50%;
}

.social__item:hover {
  background-color: #f25822;
}

.social__item:hover .social__icon {
  fill: #fff;
}

.social__icon {
  display: block;
  height: 16px;
  fill: #aaa;
  transition: fill 0.1s linear;
}

h3 {
  font-weight: 700;
  color: #000;
  font-size: 24px;
  line-height: 1.6;
}

.footer__list {
  font-weight: 600;
  line-height: 2.3;
}

.footer__list li::before {
  content: "\2022";
  color: #f25822;
  display: inline-block;
  width: 15px;
  font-size: 17px;
}

.footer__item a {
  text-decoration: none;
  color: #666;
}

.footer__item:hover a {
  color: #f25822;
}

.footer__contacts {
  font-weight: 600;
  color: #666;
  font-style: normal;
}

.contacts__header {
  color: #333;
}

.contacts__item {
  margin-bottom: 10px;
}

.contacts__item a {
  text-decoration: none;
  color: #666;
}

.contacts__item:hover a {
  color: #f25822;
}

.footer__copyright {
  padding: 20px 0;
  border-top: 1px solid grey;
  text-align: center;
  font-weight: 500;
  color: #888;
  line-height: 2.3;
}

/* Modal */

.modal {
  display: none;
  width: 100%;
  height: 100%;
  padding: 30px 15px;
  overflow-y: auto;

  background-color: rgba(0, 0, 0, 0.9);

  position: fixed;
  top: 0;
  left: 0;
  z-index: 2000;
}

.modal.show {
  display: block;
}

.modal__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
}

.modal__content {
  width: 100%;
  max-width: 400px;
  padding: 25px;
  position: relative;

  background-color: #fff;
  opacity: 0;

  transform: scale(0.5);
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.modal__header {
  margin-bottom: 25px;
  text-align: center;
}

.modal__icon {
  margin-bottom: 10px;
}

.modal__title {
  margin-bottom: 10px;
  line-height: 1.2;
}

.modal__desc {
  margin-top: 20px;
  font-size: 15px;
  color: #aaa;
}

/* Form */

.form__group {
  margin-bottom: 25px;
}

.input {
  display: block;
  width: 100%;
  padding-bottom: 12px;
  padding-left: 10px;

  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  appearance: none;
  box-shadow: none;
  color: #fff;

  transition: border-color 0.1s linear;
}

.input::placeholder {
  color: #fff;
}

.input:focus {
  outline: none;
  border-bottom-color: #fff;
}

.input--dark {
  color: #2c2c2c;
  border-bottom-color: #e8e8e8;
}

.input--dark::placeholder {
  color: #2c2c2c;
}

.input--dark:focus {
  border-bottom-color: #f25822;
}

.modal .btn {
  font-weight: 700;
}

.modal__footer {
  margin-top: 25px;
  padding-top: 15px;

  border-top: 1px solid #e8e8e8;

  text-align: center;
}

.modal__footer-title {
  margin-bottom: 10px;
  font-weight: 500;
}

.modal__contacts {
  font-size: 14px;
  color: #000;
  font-style: normal;
}

.modal__contacts p {
  margin-bottom: 3px;
}

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

.modal__contacts a:hover {
  color: #f25822;
}

.modal__close {
  width: 20px;
  height: 20px;
  padding: 0;

  background: none;
  border: none;
  cursor: pointer;

  position: absolute;
  top: -20px;
  right: -30px;
  z-index: 1;

  transition: transform 0.2s linear;
}

.modal__close:focus {
  outline: none;
}

.modal__close:hover {
  transform: rotate(90deg);
}

.modal__close svg {
  display: block;
}

.modal__icon {
  fill: #fff;
  height: 20px;
  width: 20px;
  margin: 0;
}

@font-face {
  font-family: "GilroyRegular";
  src: url("../fonts/gilroy/gilroy-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: normal;
}

@media (max-width: 1300px) {
  .container {
    max-width: 1000px;
  }

  /*Intro*/

  .intro__text {
    max-width: 400px;
  }

  h1 {
    font-weight: 700;
    font-size: 50px;
  }

  .intro__image {
    max-width: 450px;
  }

  /*Companies*/
  .companies__list {
    justify-content: center;
  }

  .companies__list li {
    flex-basis: 33%;
    text-align: center;
  }
}

@media (max-width: 1100px) {
  .container {
    max-width: 900px;
  }
}
