html {
  --color-text: #363428
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box
}

html {
  overflow-x: hidden;
  height: 100%
}

body {
  font-size: 14px;
  font-family: Montserrat, sans-serif;
  font-weight: 400;
  min-height: 100%;
  display: grid;
  grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
  grid-template-rows: min-content 1fr min-content;
  color: var(--color-text);
  background: #f8f8f8
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer
}

h1 {
  color: #000;
  font-weight: 400;
  font-size: 16px
}

h2,
h3 {
  color: #000;
  font-weight: 500;
  font-size: 18px
}

.heading {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 40px
}

.heading__title {
  -ms-flex: none;
  flex: none;
  width: 180px;
  border-bottom: 2px solid #363428;
  padding-bottom: 10px
}

.heading__title h2 {
  text-transform: uppercase
}

.heading__text {
  -ms-flex: none;
  flex: none;
  width: 800px;
  text-align: right;
  line-height: 150%
}

.main-width {
  width: 100%;
  max-width: 1200px;
  min-width: 1000px;
  margin: 0 auto;
  padding: 0 10px
}

.button {
  background: transparent;
  text-transform: uppercase;
  font-size: 16px;
  color: #fff;
  border: 1px solid #fffff1;
  width: 185px;
  padding: 8px 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center;
  transition: all .5s ease-in-out 0s
}

.button:hover {
  color: #ecd948;
  border: 1px solid #ecd948
}

img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: 100%
}

ol,
ul {
  list-style: none
}

fieldset {
  border: none
}

section {
  margin-top: 40px
}

button,
input,
select {
  cursor: pointer;
  outline: none
}

.input-text.some-form__line-required {
  border-bottom: 1px solid #ff4040
}

.input-text {
  border: 0;
  padding: 7px 0;
  border-bottom: 1px solid #fffff1;
  background: transparent
}

.input-text~.input-text__border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ecd948;
  transition: .4s
}

.input-text:focus~.input-text__border {
  width: 100%;
  transition: .4s
}

.input-box {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  position: relative
}

header {
  background: #eaeaeab8;
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 0
}

.header-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-align: center;
  align-items: center
}

.text-nav-phone {
  text-align: end
}

.text-nav-phone>a {
  display: block;
  margin-bottom: 10px
}

.nav__list {
  display: -ms-flexbox;
  display: flex
}

.nav__item {
  position: relative;
  padding-bottom: 5px;
  margin-left: 20px
}

.nav__item a {
  text-transform: uppercase
}

.nav__hover-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #363428;
  transition: .4s
}

.nav__item:hover .nav__hover-border {
  width: 100%;
  transition: .4s
}

.nav-toggle {
  display: none
}

.logo {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content
}

.logo>div {
  display: inline-block;
  vertical-align: middle
}

.logo__img {
  max-width: 120px;
  /* width: 100%; */
  height: 100%;

}

.logo__img img {
  width: 100px;
  height: 100%;
  object-fit: contain;
}

.logo__text {
  font-size: 30px;
  margin-left: 10px
}

.banner {
  background-image: url(../img/bg-baner.jpg);
  background-position: 50%;
  background-size: cover;
  height: 425px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  margin: 0
}

.banner__item-text {
  text-transform: uppercase;
  font-size: 20px;
  color: #fff;
  margin-bottom: 20px
}

.banner__item-text:last-child {
  margin-bottom: 40px
}

.services__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px
}

.services__item {
  background: #fff;
  padding: 20px 10px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-direction: column;
  flex-direction: column;
  transition: all .5s ease-in-out 0s
}

.services__item>div {
  opacity: .6;
  transition: all .5s ease-in-out 0s
}

.services__item:hover {
  box-shadow: 0 4px 3px 1px #e2e2e2c4
}

.services__item:hover>div {
  opacity: 1
}

.services__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-align: center;
  align-items: center
}

.services__text {
  text-transform: uppercase;
  font-size: 16px;
  text-align: center
}

.about-content {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between
}

.about__mini-title {
  margin-bottom: 20px
}

.about-text1__item {
  margin-bottom: 15px;
  position: relative;
  padding-left: 20px
}

.about-text1__item:last-child {
  margin: 0
}

.about-text1__item:before {
  position: absolute;
  top: 9px;
  left: 0;
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  background: #363428
}

.about-text2__digit,
.about-text2__list {
  display: -ms-flexbox;
  display: flex
}

.about-text2__item {
  margin-left: 20px
}

.about-text2__number {
  font-weight: 500;
  font-size: 45px;
  line-height: 64px
}

.about-text2__percent {
  font-weight: 500;
  font-size: 26px;
  line-height: 40px
}

.about-text2__legend {
  line-height: 18px
}

.partners-content {
  padding: 20px 0;
  border-bottom: 2px solid #e1e1e1;
  border-top: 2px solid #e1e1e1
}

.partners__list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between
}

.partners__item {
  opacity: .5;
  -ms-flex-preferred-size: 15%;
  flex-basis: 15%;
  transition: all .5s ease-in-out 0s
}

.partners__item:hover {
  opacity: .8
}

footer {
  --color-footer: #fffff1;
  margin-top: 40px;
  background: #363428;
  padding: 20px 0;
  color: var(--color-footer)
}

footer .heading {
  margin-bottom: 20px
}

footer .heading__title {
  border-color: var(--color-footer)
}

footer .heading__title h2 {
  color: var(--color-footer)
}

.footer-content {
  display: grid;
  grid-template-columns: 430px 1fr;
  grid-gap: 20px
}

.contact {
  padding-right: 20px;
  border-right: 2px solid #747474
}

.contact-form .input-box {
  width: 100%;
  margin-bottom: 15px
}

.contact-form .input-box .input-text {
  width: 100%;
  color: var(--color-footer)
}

.contact-form .input-box .input-text::-webkit-input-placeholder {
  color: #94948a
}

.contact-form .button {
  margin-left: auto
}

.contact-form__legend {
  margin-bottom: 15px;
  font-size: 18px
}

.contact-phone {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 20px
}

.contact-phone__label p {
  font-size: 18px;
  margin-bottom: 10px
}

.contact-phone__label p:last-child {
  margin-bottom: 0
}

.contact-phone__number p {
  font-size: 18px;
  margin-bottom: 3px
}

.contact-phone__number p.contact-phone__note {
  font-size: 10px;
  text-align: center;
  opacity: .5;
  margin-bottom: 0
}

.reviews .heading__title {
  width: 255px
}

.reviews-content__item {
  margin-bottom: 15px;
  line-height: 20px
}

@media screen and (max-width:1199px) {
  .main-width {
    max-width: 990px;
    min-width: inherit
  }
}

@media screen and (max-width:1000px) {
  .main-width {
    max-width: 765px;
    min-width: inherit
  }

  .heading {
    display: block
  }

  .heading__title {
    margin-bottom: 15px
  }

  .heading__text {
    width: 100%;
    text-align: left
  }

  .services__list {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px
  }

  .banner {
    background-position: 50%;
    height: 284px
  }

  .partners__list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap
  }

  .partners__item {
    -ms-flex-preferred-size: 38%;
    flex-basis: 38%
  }

  .footer-content {
    display: block
  }

  .contact {
    border: none;
    padding: 0;
    margin-bottom: 20px
  }
}

@media screen and (max-width:767px) {
  .main-width {
    max-width: 570px;
    min-width: inherit
  }

  .about-content {
    display: block
  }

  .about-text1 {
    margin-bottom: 15px
  }

  .about-text2__list {
    -ms-flex-pack: justify;
    justify-content: space-between
  }

  .about-text2__item:first-child {
    margin: 0
  }
}

@media screen and (max-width:575px) {
  .main-width {
    max-width: 412px;
    min-width: inherit
  }

  body {
    font-size: 12px
  }

  .button {
    font-size: 14px;
    width: 160px
  }

  h2,
  h3 {
    font-size: 16px
  }

  .heading {
    margin-bottom: 20px
  }

  .about__mini-title {
    font-size: 14px;
    margin-bottom: 15px
  }

  nav.open {
    display: block
  }

  nav,
  nav.open {
    transition: all .5s ease-in-out 0s
  }

  nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 73px;
    left: 0;
    background: #8b8b8bf2
  }

  .nav__list {
    display: block
  }

  .nav__item {
    text-align: left;
    padding: 15px 10px;
    font-size: 16px;
    color: #fff
  }

  .nav__hover-border {
    background-color: #fff
  }

  .services__list {
    grid-template-columns: repeat(2, 1fr)
  }

  .text-nav-phone>a {
    display: none
  }

  .nav-toggle {
    display: block
  }

  .services__text {
    font-size: 14px
  }

  .about-text2__number {
    font-size: 36px;
    line-height: 50px
  }

  .about-text2__percent {
    font-weight: 500;
    font-size: 20px;
    line-height: 28px
  }

  footer .heading {
    margin-bottom: 10px
  }

  .contact-phone__number p {
    font-size: 16px
  }

  .contact-phone__number p.contact-phone__note {
    text-align: left
  }

  .contact-phone__label {
    margin-bottom: 15px
  }

  .contact-phone__label p {
    font-size: 14px
  }

  .contact-phone {
    display: block
  }
}

@media screen and (max-width:410px) {
  .main-width {
    max-width: 100vw;
    min-width: inherit
  }
}