* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

a,
nav,
footer,
header,
aside {
  display: block;
}

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  background: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: 400;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto-Flex", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #656565;
}

p {
  line-height: 120%;
  cursor: default;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

[class*=__container] {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0;
  height: 100%;
}
@media (max-width: 1110px) {
  [class*=__container] {
    max-width: 980px;
  }
}
@media (max-width: 1040px) {
  [class*=__container] {
    max-width: 910px;
  }
}
@media (max-width: 990px) {
  [class*=__container] {
    padding: 0 50px;
    max-width: 100%;
  }
}
@media (max-width: 570px) {
  [class*=__container] {
    padding: 0px 20px;
  }
}

.title {
  font-weight: 700;
  font-size: 36px;
  color: #434343;
}
@media (max-width: 990px) {
  .title {
    font-size: 32px;
  }
}
@media (max-width: 767.98px) {
  .title {
    font-size: 28px;
  }
}
@media (max-width: 570px) {
  .title {
    font-size: 24px;
  }
}

.base__title-block {
  display: flex;
  align-items: center;
  gap: 5px;
}
.base__title-block .left-line {
  width: 100px;
  height: 3px;
  background-color: #e53936;
}
@media (max-width: 360px) {
  .base__title-block .left-line {
    width: 64px;
  }
}

.button {
  font-weight: 500;
  font-size: 16px;
  border-radius: 10px;
  border: 1px solid #e53936;
  color: #fff;
  padding: 10px 20px;
  background-color: #e53936;
  transition: all 0.5s ease;
}
.button:hover {
  border: 1px solid #656565;
  color: #656565;
  background-color: #fff;
}

.hierarchy-pages__links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 210px;
}
@media (max-width: 1110px) {
  .hierarchy-pages__links {
    padding-top: 180px;
  }
}
@media (max-width: 990px) {
  .hierarchy-pages__links {
    padding-top: 150px;
  }
}
@media (max-width: 767.98px) {
  .hierarchy-pages__links {
    padding-top: 130px;
  }
}
@media (max-width: 520px) {
  .hierarchy-pages__links {
    padding-top: 110px;
  }
}
.hierarchy-pages__links .hierarchy__link {
  color: #656565;
  font-size: 14px;
  position: relative;
  transition: color 0.5s ease;
}
.hierarchy-pages__links .hierarchy__link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: #656565;
  transition: all 0.5s ease;
}
.hierarchy-pages__links .hierarchy__link:hover {
  color: #434343;
}
.hierarchy-pages__links .hierarchy__link:hover::after {
  width: 100%;
  left: 0;
}
.hierarchy-pages__links .hierarchy-current-page {
  color: #e53936;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hierarchy-pages__links .separator {
  width: 10px;
  height: 2px;
  background-color: #656565;
}

#base__callback-form-error {
  color: #e53936;
  font-size: 14px;
  font-weight: 500;
  max-height: 0;
  transition: all 0.5s ease;
}
#base__callback-form-error.active {
  max-height: 100%;
}

/*------components-------*/
header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  background-color: transparent;
  transition: all 0.5s ease;
  z-index: 10;
}
header.scrolled, header.gray {
  background-color: rgba(63, 63, 63, 0.55);
}
header .header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0px;
}
@media (max-width: 767.98px) {
  header .header__content {
    padding: 12px 0px;
  }
}
header .header__content .header__logo {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media (max-width: 990px) {
  header .header__content .header__logo img {
    height: 56px;
  }
}
@media (max-width: 767.98px) {
  header .header__content .header__logo {
    gap: 16px;
  }
  header .header__content .header__logo img {
    height: 40px;
  }
}
@media (max-width: 520px) {
  header .header__content .header__logo {
    justify-content: space-between;
    width: 100%;
  }
}
header .header__content .header__logo .burger-button {
  width: 25px;
  height: 20px;
  align-items: center;
  justify-content: center;
  position: relative;
  display: none;
}
header .header__content .header__logo .burger-button::before, header .header__content .header__logo .burger-button::after {
  content: "";
  position: absolute;
  left: 0;
}
header .header__content .header__logo .burger-button::before {
  top: 0;
}
header .header__content .header__logo .burger-button::after {
  bottom: 0;
}
header .header__content .header__logo .burger-button span, header .header__content .header__logo .burger-button::before, header .header__content .header__logo .burger-button::after {
  width: 25px;
  height: 4px;
  border-radius: 2px;
  background-color: #e53936;
}
@media (max-width: 990px) {
  header .header__content .header__logo .burger-button {
    display: flex;
  }
}
header .header__content .header__menu {
  position: relative;
  z-index: 9;
}
header .header__content .header__menu .header-menu__phone-number {
  font-weight: 700;
  color: #fff;
  display: none;
}
@media (max-width: 520px) {
  header .header__content .header__menu .header-menu__phone-number {
    display: block;
  }
}
header .header__content .header__menu .menu__close-button {
  position: absolute;
  right: 30px;
  top: 30px;
  display: none;
  cursor: pointer;
}
header .header__content .header__menu .header-menu__logo {
  display: none;
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 160px;
}
header .header__content .header__menu .menu-list {
  display: flex;
  align-items: center;
  gap: 25px;
}
header .header__content .header__menu .menu-list__item {
  position: relative;
}
header .header__content .header__menu .menu-list__item::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1.4px;
  background-color: #fff;
  transition: all 0.3s ease;
}
header .header__content .header__menu .menu-list__item .menu__link {
  color: #fff;
  transition: color 0.3s ease;
}
header .header__content .header__menu .menu-list__item:hover::after {
  left: 0;
  width: 100%;
  background-color: #e53936;
}
header .header__content .header__menu .menu-list__item:hover .menu__link {
  color: #e53936;
}
header .header__content .header__menu .menu__header-language {
  position: relative;
  display: none;
}
header .header__content .header__menu .menu__header-language .menu__open-languages {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
header .header__content .header__menu .menu__header-language .menu__open-languages img {
  margin-top: -1px;
}
header .header__content .header__menu .menu__header-language .menu__languages-list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  border: 1px solid transparent;
  transition: all 0.5s ease;
  opacity: 0;
  overflow: hidden;
  display: flex;
}
header .header__content .header__menu .menu__header-language .menu__languages-list.opened {
  border: 1px solid #e53936;
  opacity: 1;
}
header .header__content .header__menu .menu__header-language .menu__languages-list a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #e53936;
}
header .header__content .header__menu .menu__header-language .menu__languages-list a img {
  margin-top: -1px;
}
@media (max-width: 990px) {
  header .header__content .header__menu {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.5s ease;
  }
  header .header__content .header__menu.opened {
    transform: translateX(0);
  }
  header .header__content .header__menu .menu-list {
    flex-direction: column;
    gap: 25px;
  }
  header .header__content .header__menu .menu__header-language {
    display: block;
  }
  header .header__content .header__menu .menu__close-button {
    display: block;
  }
  header .header__content .header__menu .header-menu__logo {
    display: block;
  }
}
header .header__content .header__phone-language {
  display: flex;
  align-items: center;
  gap: 32px;
}
@media (max-width: 1110px) {
  header .header__content .header__phone-language {
    gap: 24px;
  }
}
header .header__content .header__phone-language .header__phone-number {
  font-weight: 700;
  color: #fff;
  transition: color 0.5s ease;
}
@media (max-width: 520px) {
  header .header__content .header__phone-language .header__phone-number {
    display: none;
  }
}
header .header__content .header__phone-language .header__phone-number:hover {
  color: #e8e2db;
}
header .header__content .header__phone-language .header__language {
  position: relative;
  z-index: 8;
}
@media (max-width: 990px) {
  header .header__content .header__phone-language .header__language {
    display: none;
  }
}
header .header__content .header__phone-language .header__language .open-languages {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}
header .header__content .header__phone-language .header__language .open-languages img {
  margin-top: -1px;
}
header .header__content .header__phone-language .header__language .languages__list {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  border: 1px solid transparent;
  transition: all 0.5s ease;
  opacity: 0;
  overflow: hidden;
  display: flex;
}
header .header__content .header__phone-language .header__language .languages__list.opened {
  border: 1px solid #e53936;
  opacity: 1;
}
header .header__content .header__phone-language .header__language .languages__list a {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  color: #e53936;
}
header .header__content .header__phone-language .header__language .languages__list a img {
  margin-top: -1px;
}

footer {
  background-color: #1b1b1b;
}
footer .footer__content {
  padding: 50px 0px 90px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 990px) {
  footer .footer__content {
    padding: 50px 0px 70px;
  }
}
@media (max-width: 767.98px) {
  footer .footer__content {
    padding: 50px 0px;
  }
}
@media (max-width: 520px) {
  footer .footer__content {
    padding: 50px 30px;
  }
}
footer .footer__content .logo-block img {
  width: 130px;
  height: auto;
}
footer .footer__content .contacts-block {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 767.98px) {
  footer .footer__content .contacts-block {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: flex-start;
  }
}
@media (max-width: 520px) {
  footer .footer__content .contacts-block {
    flex-direction: column;
  }
}
footer .footer__content .contacts-block .social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
@media (max-width: 767.98px) {
  footer .footer__content .contacts-block .social-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  footer .footer__content .contacts-block .social-links {
    display: flex;
  }
}
footer .footer__content .contacts-block .social-links__item {
  max-width: 215px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  transition: color 0.3s ease;
}
footer .footer__content .contacts-block .social-links__item .icon {
  min-width: 30px;
}
footer .footer__content .contacts-block .social-links__item:hover {
  color: #f4f0ec;
}
footer .footer__content .contacts-block__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
footer .footer__content .contacts-block__column .column__title {
  font-weight: 700;
  font-size: 24px;
  color: #e53936;
}
@media (max-width: 520px) {
  footer .footer__content .contacts-block__column .column__title {
    text-align: center;
  }
}
footer .footer__content .contacts-block__column .column__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
footer .footer__content .contacts-block__column .column__list-item .item__link {
  color: #fff;
  transition: color 0.3s ease;
}
footer .footer__content .contacts-block__column .column__list-item .item__link:hover {
  color: #d3c6c6;
}
footer .copyright {
  padding-bottom: 20px;
  font-weight: 400;
  color: #fff;
  text-align: center;
}