*, *:after, *::before {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  font-family: 'Inter Tight', sans-serif;
  background: #F8F8F8;
  /*cursor: url('../images/cursor_lapka.svg'), auto;*/
  overflow-x: hidden;
}

button {
  background: transparent;
}

.container {
  width: 100%;
  max-width: 1440px;
  min-width: 300px;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.content {
  width: 100%;
  max-width: 1256px;
  min-width: 300px;
  height: auto;
  margin: 0 auto;
  padding: 0 20px;
}

.mt-40 {
  margin-top: 40px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-40 {
  margin-bottom: 40px;
}

.mb-60 {
  margin-bottom: 60px;
}
-
.mt-90 {
  margin-top: 90px;
}

.mb-90 {
  margin-bottom: 90px;
}
.mt-120 {
  margin-top: 120px;
}

.mb-120 {
  margin-bottom: 120px;
}

.bt {
  border-top: 1px solid rgba(47, 43, 67, 0.15);
}
.bb {
  border-bottom: 1px solid rgba(47, 43, 67, 0.15);
}
a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  /*cursor: url('../images/cursor_lapka.svg'), auto;*/
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.btn {
  width: 180px;
  height: 64px;
  border-radius: 999px;
  background: var(--red-main, #E30613);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
}

.btn > a {
  color: #FFF;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.btn > a > span::after {
  content: url("/local/templates/premilpro/images/arrow-right.svg");
  border-radius: 9999px;
  background: #FFF;
  width: 44px;
  height: 44px;
  display: inline-block;
  vertical-align: middle;
  padding: 10px;
}

.header_title > .title {
  color: #140A32;
  font-size: clamp(36px, 3vw, 54px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-wrap: balance;
}

/*Header*/
.header_top__logo_nav {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 30px;
  padding-bottom: 30px;
}

.header_top__logo_nav .contacts .phone {
  color: #140A32;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.header_top__logo_nav .contacts .phone::before {
  content: url("../images/phone.svg");
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.contacts_content .contacts_items {
  display: grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 598px));
  gap: 20px;
}

.contacts_content .contacts_items .item {
  padding: clamp(24px, 3vw, 30px);
  display: flex;
  background: white;
  border-radius: 36px;
  overflow: hidden;
}

.contacts_content .contacts_items .item #contact_img_card_first {
  object-fit: contain;
  height: 174px;
}

.contacts_content .contacts_items .item .title_desc {
  display: inherit;
  flex-direction: column;
  justify-content: space-between;
  gap: 51px;
  width: clamp(198px, 3vw, 100%);
}

.contacts_content .contacts_items .item .title_desc .header {
  min-width: 233px;
}

.contacts_content .contacts_items .item .title_desc .header .title {
  color: #140A32;
  font-size: clamp(20px, 3vw, 24px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 10px;
}

.contacts_content .contacts_items .item .title_desc .header .desc {
  color: #140A32;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contacts_content .contacts_items .item .title_desc .footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts_content .contacts_items .item .title_desc .footer .phone {
  color: #140A32;
  font-size: clamp(20px, 3vw, 24px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.contacts_content .contacts_items .item .title_desc .footer .phone_social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.contacts_content .contacts_items .item .title_desc .footer .phone_social .social {
  display: flex;
  gap: 12px;
}

.contacts_content .contacts_items .item .title_desc .footer .phone_social .social > a {
  padding: 10px;
  border-radius: 9999px;
  background: rgba(47, 43, 67, 0.04);
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 44px;
}

.contacts_content .contacts_items .item .title_desc .footer > span,
.contacts_content .contacts_items .item .title_desc .footer .email {
  color: rgba(47, 43, 67, 0.50);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.contacts_content .contacts_items .item .title_desc .footer .email {
  color: #140A32;
  font-size: 18px;
}

.contacts_content .contacts_items .item img {
  width: 100%;
  max-width: 330px;
  min-width: 200px;
}
.block_img_company > img {
  max-width: 100%;
  width: 100%;
}

.item:nth-child(2) .title_desc {
  width: 100% !important;
}

/*страница о нас*/
.block_img_company > img {
  width: 100%;
}

.our_mission_list.content.mb-90 {
  position: relative;
  top: -100px;
}

/*подвал сайта*/
.footer_top {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer_top .footer_top__contacts {
  display: inherit;
  gap: 80px;
  align-items: center;
  flex-flow: row wrap;
}

.footer_top .footer_top__contacts .contacts {
  display: flex;
  gap: 40px;
}

.footer_top .footer_top__contacts .contacts .contacts_phone,
.footer_top .footer_top__contacts .contacts .contacts_email {
  display: inherit;
  flex-direction: column;
  gap: 10px;
}

.footer_top .footer_top__contacts .contacts .contacts_phone .phone,
.footer_top .footer_top__contacts .contacts .contacts_email .email {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.footer_top .footer_top__contacts .contacts .contacts_phone .time,
.footer_top .footer_top__contacts .contacts .contacts_email .support {
  color: rgba(47, 43, 67, 0.50);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer_bottom {
  margin: 0 auto;
  background: rgba(47, 43, 67, 0.04);
  padding: 20px;
}

.footer_bottom .footer_bottom__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1236px;
  flex-flow: row wrap;
  margin: 0 auto;
}

.footer_bottom .copyright {
  color: rgba(47, 43, 67, 0.70);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.footer_bottom .footer_bottom__link {
  display: flex;
  gap: 35px;
  flex-flow: row wrap;
}

.footer_bottom .footer_bottom__link > a {
  color: rgba(47, 43, 67, 0.70);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/*404 page*/
.error_page {
  display: flex;
  gap: 54px;
  justify-content: space-between;
}

.error_page .error_page_block_left .error_page_info .t404 {
  color: rgba(47, 43, 67, 0.15);
  font-size: 156px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.error_page .error_page_block_left .error_page_info .title {
  color: #140A32;
  font-size: clamp(34px, 3vw, 54px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.error_page .error_page_block_left .error_page_info .desc {
  color: #140A32;
  font-size: clamp(14px, 3vw, 18px);
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-top: 20px;
}

/*animations*/
.header_title.animations {
  max-width: 900px;
}

.header_title.animations .title {
  font-size: clamp(36px, 3vw, 54px);
  padding: 0 0 0 clamp(20px, 3vw, 112px);
}

.block_animations.content {
  width: 100%;
  max-width: 1440px !important;
  min-width: 300px;
  padding: 0 !important;
  overflow: hidden;
  height: 360px;
}

#layer {
  background: white;
  padding: clamp(14px, 3vw, 20px) 0;
  transform: rotate(-6.7deg);
  position: relative;
  top: 70px;
  width: 102%;
  z-index: 10;
  right: clamp(5px, 1vw, 25px);
}

#layer_second {
  position: relative;
  padding: clamp(14px, 3vw, 20px) 0;
  outline: 1px solid #140A32;
  transform: rotate(2deg);
  width: 101%;
  left: -3px;
}

#layer > div > div,
#layer_second > div > div {
  display: flex;
  gap: clamp(20px, 3vw, 190px);
}

#layer > div > div > .scroller,
#layer_second > div > div > .scroller {
  font-size: clamp(16px, 3vw, 32px);
  text-wrap: nowrap;
  white-space: nowrap;
}

#layer > div > div > .scroller:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none'%3E%3Cpath d='M8.15178 10.5615C8.15178 9.0921 6.99819 7.90055 5.57564 7.90055C4.15308 7.90055 3 9.0921 3 10.5615C3 12.032 4.15283 13.223 5.57564 13.223C6.99845 13.223 8.15178 12.032 8.15178 10.5615ZM18.4241 8.42036C17.0018 8.42036 15.8485 9.61191 15.8485 11.0813C15.8485 12.5518 17.0018 13.7423 18.4241 13.7423C19.8467 13.7423 21 12.5518 21 11.0813C21 9.61191 19.8469 8.42036 18.4241 8.42036ZM16.0847 14.0436C15.9056 13.8155 15.6521 13.5516 15.3611 13.2747C14.5844 12.2348 13.3696 11.5621 12.0001 11.5621C10.7813 11.5621 9.68558 12.0952 8.91119 12.9449C8.47129 13.3403 8.08016 13.7263 7.83126 14.0438L7.66464 14.254C6.88746 15.233 5.92004 16.4511 5.92715 18.518C5.93401 20.4374 7.44698 22 9.29953 22C9.81364 22.0011 10.321 21.8796 10.7822 21.6447C11.2433 21.4099 11.6457 21.0682 11.958 20.6463C12.2703 21.0684 12.6728 21.4102 13.1341 21.645C13.5953 21.8798 14.1029 22.0013 14.6172 22C16.469 22 17.9817 20.4377 17.9888 18.518C17.9959 16.4511 17.0282 15.233 16.2513 14.254L16.0847 14.0436Z' fill='%23E30613'/%3E%3Cpath d='M12.1787 9.8646C13.7462 9.8646 15.0169 8.55176 15.0169 6.9323C15.0169 5.31284 13.7462 4 12.1787 4C10.6112 4 9.34043 5.31284 9.34043 6.9323C9.34043 8.55176 10.6112 9.8646 12.1787 9.8646Z' fill='%23E30613'/%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: top;
}

#layer_second > div > div > .scroller:before {
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 26 26' fill='none'%3E%3Cpath d='M8.97714 4.38647C10.1507 4.17682 11.4435 5.42399 11.8632 7.19086C12.2826 8.94773 11.6862 10.5487 10.5129 10.7684C9.34967 10.9877 8.04694 9.74083 7.6172 7.9743C7.1878 6.21777 7.80421 4.6161 8.97714 4.38647ZM16.1231 4.14567C17.3188 4.29548 18.0316 5.85236 17.7415 7.63314C17.4216 9.42493 16.2158 10.7563 15.0304 10.6161C13.835 10.4763 13.1322 8.91911 13.4423 7.13765C13.7422 5.34653 14.948 4.01517 16.1231 4.14567ZM3.7851 9.16404C4.90795 8.63592 6.48705 9.47322 7.34879 10.9951C8.16157 12.5486 7.95762 14.2164 6.84476 14.7442C5.73191 15.2719 4.16315 14.4443 3.32072 12.9018C2.47829 11.3593 2.70189 9.68081 3.7851 9.16404ZM21.7749 8.55783C22.8904 9.00051 23.2265 10.6601 22.4898 12.2558C21.7532 13.8516 20.2437 14.7829 19.0978 14.3313C17.9519 13.8796 17.6362 12.2293 18.3425 10.6246C19.0999 9.04819 20.619 8.1065 21.7749 8.55783ZM20.4689 19.388C20.5405 20.3261 19.856 21.3897 19.0096 21.8085C17.2482 22.6883 15.0722 21.0607 13.0833 21.1277C11.0944 21.1947 9.01525 23.0358 7.22627 22.2055C6.21033 21.7495 5.47694 20.4735 5.5705 19.3897C5.70021 17.8945 7.46226 17.0347 8.48495 15.9096C9.84666 14.4529 10.7568 11.7707 12.7657 11.703C14.7646 11.6357 15.9119 14.2085 17.3099 15.6122C18.4604 16.7941 20.344 17.7612 20.4689 19.388Z' fill='%23140A32'/%3E%3C/svg%3E");
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: top;
}

@media screen and (max-width: 620px) {
  #layer {
    transform: rotate(-10deg);
  }
}

@media screen and (max-width: 1000px) {
  .error_page {
    justify-content: center;
    flex-flow: row wrap;
    flex-direction: column-reverse;
    gap: 0;
  }
}

@media screen and (max-width: 800px) {
  .footer_top,
  .footer_bottom__content,
  .footer_top__contacts {
    justify-content: center;
  }
}
