body {
  margin: 0 auto;
  font-family: 'Noto Sans';
  --background-color:#F9F8F6;
  --white-color:#FFFFFF;
  --blue-color:#0046C6;
  --text-color:#1e1e1e;
  --gray-color:#A7A8A9;
}
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  max-width: 1820px;
  margin: 0 auto;
}
/* стили хедера */
.header__container {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  margin-bottom: 40px;
}
body {
  background: var(--background-color);
}
.header__logo {
  display: flex;
  justify-content: center;
  margin: auto auto 0 0;
  width: 15%;
}
.header__logo__img {
  width: 100%;
}
.header__position {
  margin: auto 0px;
  display: flex;
  align-items: center;
}
.header__position img {
padding-right: 10px;
}
.position__text {
  font-size: 17px;
  line-height: 19px;
  font-weight: 400;
}
.header__menu {
  display: inline-flex;
  padding-left: 0;
  margin: auto 0;
  width: 57%;
  justify-content: center;
  background: var(--white-color);
  border-radius: 36px;
  padding: 26px;
  box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.15);

}
.header__menu a {
  color: var(--text-color);
  font-weight: 400;
  font-size: 16px;
  line-height: 25px;
  }
.header__menu a:active {
font-weight: 700;
}
.header__menu li:not(:last-of-type) {
  padding-right: 20px;
}
.header__tel {
  margin: auto ;
  display: flex;
  flex-direction: column;
}
.header__tel img {
  padding-right: 10px;
  width: 20px;
}
.header__tel__text {
  margin-bottom: 8px;
}
.header__tel a {
  font-weight: 700;
  font-size: 17px;
  line-height: 19px;
  color: var(--text-color);
  align-items: center;
  display: flex;
}
.header__btn__div {
  display: flex;
  align-items: center;
}
.request__call {
  background: linear-gradient(342.23deg, #B00A07 1.91%, #E51151 98.59%);;
  border-radius: 48px;
  border: 0;
  padding: 18px;
  font-weight: 700;
  font-size: 16px;
  line-height: 25px;
  color: var(--white-color);
}
/* Стили футера */
.footer__container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.blue__footer {
  margin-bottom: 12px;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border-radius: 42px;
  background: linear-gradient(180deg, #4786F6 0%, #2365DD 78.9%, #0046C7 124.39%);
  box-sizing: border-box;
}
.blue__footer .request__call {
  background: linear-gradient(334.07deg, #000000 0.77%, #555555 97.02%);
}
.header__logo {
  flex-direction: column;
}
.blue__footer .footer__submenu a , .header__logo p  {
  color: var(--white-color);
  font-weight: 400;
  font-size: 17px;
}
.blue__footer .header__tel a {
  color: var(--white-color);
}
.drive__map {
  text-decoration: underline;
}
.blue__footer .header__position {
  margin-bottom: 16px;
}
.blue__footer .position__text {
  font-weight: 700;
}
.header__logo p {
  margin-bottom: 0;
}
.blue__footer__first ,.blue__footer__second {
  display: flex;
}
.footer__submenu {
  display: inline-flex;
  padding-left: 0;
  margin: auto 0;
}
.footer__submenu li:not(:last-of-type) {
  padding-right: 20px;
}
.footer__menu__div {
  width: 59%;
  display: flex;
  flex-direction: column;
}
.footer__menu__div .header__menu {
  width: 100%;
  box-sizing: border-box;
  margin:15px auto;
}
/* Черный футер*/
.black__footer {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 30px;
  border-radius: 42px;
  background: url("../img/black_big_logo.png") , linear-gradient(180deg, #2A2C2D 0%, #000000 277.57%);
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-position-y: 93%;
  margin-bottom: 15px;
}
.black__footer__first {
  width: 24%;
}
.black__footer__second ,.black__footer__third ,.black__footer__fourth ,.black__footer__fifth {
  width: 19%;
}
.black__footer .request__call {
  color: var(--text-color);
  background: var(--white-color);
  font-weight: 700;
}
.black__footer h3 {
  margin: 0 auto 12px 0;
  color: var(--white-color);
  font-size: 17px;
  font-weight: 500;
}
.black__footer ul {
  padding: 0;
  margin-bottom: 36px;
}
.black__footer li {
  padding-bottom: 8px;
  font-size: 17px;
}
.black__footer a {
  color: var(--gray-color);
  font-weight: 500;
}

/* Медиа хедер-футер */
@media screen and (max-width:1840px) {
  body{
    padding: 0 10px;
  }
}
@media screen and (max-width:1720px) {
  .header__logo {
    width: 12%;
    margin: auto;
  }
  .header__menu {
   padding: 26px 12px;
  }
  .header__menu a ,.blue__footer .footer__submenu a {
    font-size: 14px;
  }
  .header__menu li:not(:last-of-type) {
    padding-right: 18px;
  }
  .header__tel a {
    font-size: 12px;
  }
  .position__text {
    font-size: 12px;
  }
  .request__call {
    font-size: 14px;
  }
  .header__tel__text {
    margin: 0;
  }
  .blue__footer ,.black__footer {
    padding: 30px;
  }
.blue__footer .header__menu li:not(:last-of-type) {
    padding-right: 13px;
  }
}
@media screen and (max-width:1285px) {
  .header__menu {
   padding: 12px;
  }
  .header__menu a ,.blue__footer .footer__submenu a {
    font-size: 12px;
  }
  .header__logo p {
    font-size: 14px;
  }
  .header__menu li:not(:last-of-type) {
    padding-right: 15px;
  }
  .header__tel a {
    font-size: 10px;
  }
  .position__text {
    font-size: 10px;
  }
.request__call {
    font-size: 12px;
    padding: 10px ;
  }
  .header__tel img {
  padding-right: 8px;
  width: 12px;
  }
  .header__tel a {
  padding-right: 12px;
  }
  .black__footer h3, .black__footer li {
  font-size: 14px;
  }
}
@media screen and (max-width:1140px) {
  .header__menu a {
    font-size: 10px;
    }
    .black__footer h3, .black__footer li {
    font-size: 12px;
    }
  }
@media screen and (min-width:990px) {
  .mobile__header ,.footer__mobile ,.first__mobile ,.first__mobile__ul {
    display: none;
  }
}
@media screen and (max-width:989px) {
  .mobile__header {
    padding-top: 15px;
  }
  .header__main ,.blue__footer  {
    display: none;
  }
  .mobile__header .header__tel {
    display: flex;
    flex-direction: row;
  }
  .mobile__header .header__tel__text {
    margin-right: auto;
  }
  .mobile__header .header__tel a ,.position__text {
    font-size: 13px;
  }
  .mobile__header__main {
    display: flex;
    margin-top: 18px;
    margin-bottom: 18px;
  }
  .mobile__header__main  .header__logo {
    width: 45%;
    margin: auto auto auto 0;
  }
  .mobile__header__main  .header__logo__img{
    width: 80%;
  }
  .mobile__header__main .header__btn__div {
    width: 40%;
  }
  .mobile__header__main .request__call {
    font-size: 15px;
    padding: 10px 20px;
  }
  .mobile__header__main .header__burger {
    margin: auto 0;
  }
/*mobile footer */
  .black__footer {
    flex-direction: column;
  }
  .black__footer__first ,.black__footer__second ,.black__footer__third ,.black__footer__fourth ,.black__footer__fifth {
    width: 100%;
  }
  .first__mobile {
    display: flex;
  }
  .first__mobile .header__logo {
    width: 50%;
    margin-left: 0;
  }
  .first__mobile .header__tel {
    margin-right: 0;

  }
  .first__mobile .header__tel__text , .first__mobile .header__position {
    font-size: 14px;
    padding-right: 0;
  }
  .first__mobile__ul {
    margin-top: 28px;
    margin-bottom: 20px;
  }
  .first__mobile__ul .footer__submenu {
    margin-bottom: 20px;
    display: block;
  }
  .footer__submenu li ,.black__footer li ,.black__footer h3 {
    font-size: 14px;
  }
  .black__footer ul ,.black__footer__first .header__btn__div{
    margin-bottom: 20px;
  }
  .black__footer__first .header__btn__div {
    margin: 20px auto;
    width: 70%;
  }
  .black__footer__first .header__btn__div .request__call {
    font-size: 14px;
    width: 100%;
    text-align: center;
  }
}
@media screen and (max-width:450px) {
.mobile__header__main .request__call {
    font-size: 12px;
    padding: 10px;
  }
  .mobile__header__main  .header__logo__img{
    width: 100%
}
.black__footer__first .header__btn__div {
  width: 100%;
}
 .first__mobile .header__tel__text, .position__text {
   font-size: 11px;
}