* {
  box-sizing: border-box;
}

@font-face {
  font-family: 'BebasNeueRegular';
  src: url('../fonts/BebasNeueRegular.eot');
  src: url('../fonts/BebasNeueRegular.eot?#iefix') format('embedded-opentype'),
    url('../fonts/BebasNeueRegular.woff2') format('woff2'),
    url('../fonts/BebasNeueRegular.woff') format('woff'),
    url('../fonts/BebasNeueRegular.ttf') format('truetype'),
    url('../fonts/BebasNeueRegular.svg#BebasNeueRegular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'BebasNeueBold';
  src: url('../fonts/BebasNeueBold.eot');
  src: url('../fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/BebasNeueBold.woff2') format('woff2'),
    url('../fonts/BebasNeueBold.woff') format('woff'),
    url('../fonts/BebasNeueBold.ttf') format('truetype'),
    url('../fonts/BebasNeueBold.svg#BebasNeueBold') format('svg');
  font-weight: bold;
  font-style: normal;
}
.hidden-desktop {
  display: none;
}
img {
  max-width: 100%;
}

use.ic-2 {
  stroke: #fff;
  stroke-width: 10;
  fill: transparent;
  width: 151px;
}
use.ic-1 {
  stroke: #9ca2a4;
  stroke-width: 10;
  fill: transparent;
  width: 151px;
}

.header-logo {
  background: #000;
  width: 189px;
  height: 251px;
  padding: 40px 24px 10px;
  box-sizing: border-box;
  position: relative;
  top: -135px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
}

.logo {
  float: left;
  margin-right: 20px;
}

.telephone {
  font-family: 'Roboto';
  font-size: 24px;
  color: #ffffff;
  letter-spacing: 0.27px;

  margin: 0;
  padding: 20px 0;
}

[class*='-ground-pane'] {
  filter: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale"); /* Firefox 3.5+ */
  -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */
}

/* Первый слайд */
.header-container {
  height: 830px;
  background: url('../img/main.png');
  background-size: cover;
}
.title--gray,
.title--red {
  font-family: 'BebasNeueBold';
  font-size: 48px;
  color: #ffffff;
  letter-spacing: 0.53px;
  line-height: 53px;
  padding: 25px 30px 16px;
  display: block;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  opacity: 0;
}
.btn {
  font-family: 'BebasNeueBold';
  font-size: 24px;
  color: #ffffff;
  border: none;
  letter-spacing: 0.27px;
  min-width: 189px;
  text-align: center;
  padding: 10px 10px 7px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  background: rgba(224, 171, 43, 0.8);
  display: inline-block;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  transition: 0.8s;
  opacity: 0;
}
.btn:hover {
  background: rgba(224, 171, 43, 1);
}
.title--red {
  max-width: 824px;

  position: relative;
  z-index: 1;
  background: rgba(149, 48, 48, 0.8);
}
.title--gray {
  width: 635px;
  margin: 0 0 0 auto;
  position: relative;
  z-index: 2;
  top: -16px;
  background: rgba(156, 162, 164, 0.8);
}

.back-setka {
  background: url(../img/grey_background.png);
  background-size: 100px;
}

.main-container h1 {
  font-family: 'BebasNeueRegular';
  font-size: 50px;
  font-weight: 400;
  color: #ac353c;
  margin-top: 18px;
  letter-spacing: 0.18px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.main-container h2 {
  font-size: 23px;
  font-family: 'BebasNeueRegular';
  color: #404040;
  letter-spacing: 1.05px;
  text-transform: uppercase;
  margin-top: 0;
  font-weight: 100;
  margin-bottom: 25px;
}
.main-container__logo {
  display: inline-block;
  width: 435px;
}
.main-container__info {
  font-family: 'Roboto';
  font-size: 21px;
  color: #ffffff;
  letter-spacing: 0.95px;
  line-height: 24px;
  display: inline-block;
  width: calc(100% - 440px);
  padding-left: 30px;
}

#experience {
  padding: 0 0 60px;
}
.column {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  width: 190px;
}
.column__firstcell {
  font-family: 'BebasNeueRegular';
  font-size: 72px;
  color: #ac353c;
  letter-spacing: 3.27px;
  line-height: 1;
  border: 4px solid;
  padding: 29px 0;
}
.column__firstcell div {
  font-family: 'BebasNeueRegular';
  font-size: 144px;
  color: #ac353c;
  letter-spacing: 6.55px;
  line-height: 134px;
}

.column__secondcell {
  font-size: 20px;
  color: #404040;
  letter-spacing: 0.91px;
  border: 4px solid #404040;
  border-top: none;
  padding: 4px 0;
  text-transform: uppercase;
}
.column__wrapper {
  float: left;
  margin-right: 70px;
  margin-top: 25px;
}
.column--middle {
  font-size: 66px;
  color: #ac353c;
  padding-top: 90px;
  width: 100px;
  text-transform: uppercase;
  font-family: 'BebasNeueRegular';
}
.info {
  display: inline-block;
  max-width: 635px;
  vertical-align: top;
  margin-top: 25px;
}
.info_item {
  font-family: 'Roboto';
  text-transform: uppercase;
}
.info p {
  margin: 0 0 40px;
  font-size: 18px;
  line-height: 21px;
  font-family: 'Roboto';
}
.subtext {
  margin-top: 80px;
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 16px;
  line-height: 19px;
  color: #9ca2a4;
}
.main svg,
.main h1,
.main h2 {
  margin-left: -19px;
}

/* Технология */
.spheres {
  margin-top: -25px;
  font-size: 0;
}
.spheres-item {
  height: 270px;
  width: 33%;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  position: relative;

  background-color: #fff;
  text-align: center;
}

.galery-title {
  background: rgba(172, 53, 60, 0.8);
  font-family: BebasNeueRegular;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.95px;
  text-align: center;
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
  padding: 13px 0 11px;
}
.spheres-title {
  background: rgba(172, 53, 60, 0.8);
  font-family: BebasNeueRegular;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.95px;
  line-height: 50px;
}
.spheres-item img {
  transition: all 0.4s;
  height: calc(100% - 50px);
}
.whies {
  font-size: 0;
  padding-bottom: 60px;
  margin-top: 50px;
}
.whies-item {
  display: inline-block;
  width: 20%;
  text-align: center;
  margin-right: 6%;
}
.whies-item:last-of-type {
  margin-right: 0;
}
.whies-item img {
  height: 145px;
}
.why__pictures {
  padding-top: 15px;
  margin-bottom: 30px;
}
.why__pictures img {
  margin-right: 50px;
  vertical-align: baseline;
  filter: grayscale(70%);
  transition: 0.8s;
}
.why__pictures img:hover {
  filter: grayscale(0);
}
.whies-title {
  font-family: BebasNeueRegular;
  font-size: 21px;
  letter-spacing: 1.05px;
  padding-top: 25px;
}
.back-grey {
  background-color: rgba(156, 162, 164, 0.7);
}

/* Галерея */

.galery .galery-item {
  position: relative;
  height: 346px;
  opacity: 0.4;
  margin: 10px 0 20px;
  overflow: hidden;
  transition: all 0.3s;
  background-size: cover;
}

.galery .slick-active.slick-center .galery-item {
  opacity: 1;
  margin: 0;
  transform: scale(1.08);
  z-index: 1;
}
.galery .galery-item,
.galery .slick-slide:focus {
  outline: none !important;
}
.galery .galery-item img,
.galery .slick-slide {
  transition: all 0.3s;
}

.galery .galery-item img {
  object-fit: cover;
  cursor: pointer;
}

.galery .slick-dots li button:before {
  width: 24px;
  height: 24px;

  background-color: #d8d8d8;
  border-radius: 50%;
  content: '';
}

.slick-dots li.slick-active button:before {
  background-color: #ae494f;
}

/* Наши контакты */
.contacts-table {
  font-size: 0;
}

.map-info {
  width: 50%;
  display: inline-block;
  vertical-align: top;
}

.map-info__col {
  min-height: 270px;
  padding-right: 50px;
}

.contacts-table__right,
.contacts-table__left {
  display: inline-block;
  vertical-align: top;
}
.contacts-table__left {
  width: calc(100% - 400px);
  padding-right: 25px;
}

.contacts-table__right {
  width: 400px;
  padding-left: 30px;
  border-left: 1px solid #979797;
}

.map-info__title {
  font-family: BebasNeueRegular;
  font-size: 31px;
  color: #404040;
  letter-spacing: 1.64px;
  font-weight: 400;
}
.map-info__phone,
.map-info__mail,
.map-info__address {
  position: relative;
  padding-bottom: 20px;
  padding-left: 50px;
}
.map-info__phone a,
.map-info__mail a {
  font-family: 'Roboto';
  font-size: 24px;
  color: #ad353c;
  letter-spacing: 0.27px;
  text-decoration: none;
}
.map-info__phone a {
  font-weight: bold;
}
.map-info__address {
  font-family: 'Roboto';
  font-size: 20px;
  color: #ad353c;
  letter-spacing: 0.22px;
}
.map-info__phone::before {
  content: '';
  background: url('../img/ico-phone.svg');
  width: 35px;
  height: 35px;
  position: absolute;
  top: 0;
  left: -3px;
}
.map-info__mail::before {
  content: '';
  background: url('../img/ico-mail.svg');
  width: 35px;
  height: 35px;
  position: absolute;
  top: 0;
  left: 0;
}
.map-info__address::before {
  content: '';
  background: url('../img/ico-address.svg');
  width: 30px;
  height: 43px;
  position: absolute;
  top: 0;
  left: 2px;
}
tbody {
  vertical-align: top;
}
.contactform {
  font-size: 18px;
  display: none;
}
.modal__form .btn {
  margin-top: 30px;
}
.modal__form {
  font-size: 12px;
  -webkit-transition: 0.8s;
  transition: 0.8s;
  padding-bottom: 10px;
  font-family: 'Roboto';
}

.input {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-bottom: 5px;
  width: calc(100% - 10px);
  vertical-align: top;
  background: #fff;
  overflow: hidden;
  padding: 0.25em 0;
  border-bottom: 2px solid #ad353c;
}
.border {
  border-bottom: 2px solid #ad353c;
}
textarea:focus {
  outline: none;
}
.input__field {
  position: relative;
  display: block;
  float: right;
  padding: 0.8em;
  width: 60%;
  border: none;
  border-radius: 0;
  background: #f0f0f0;
  color: #aaa;
  font-weight: 400;
  -webkit-appearance: none;
}
.input__field:focus {
  outline: none;
}
.input__label {
  display: inline-block;
  float: right;
  padding: 0 1em;
  width: 40%;
  color: #696969;
  font-weight: bold;
  font-size: 70.25%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.input__label-content {
  position: relative;
  display: block;
  padding: 1.6em 0;
  width: 100%;
}
.input::after {
  content: '';
  width: 1px;
  position: absolute;
  top: 0.5em;
  bottom: 0.5em;
  left: 2.5em;
  background: #f0f0f0;
  z-index: 100;
}
.input__field {
  background: transparent;
  padding: 1em 1em 0.25em 41px;
  width: 100%;
  color: #404040;
  font-size: 22px;
}
.input__label {
  position: absolute;
  width: 100%;
  text-align: left;
  padding-left: 5em;
  pointer-events: none;
}
.icon {
  width: 2em;
  position: absolute;
  top: 0;
  left: 0;
  padding: 23.4px 12.5px;
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}
.input__label-content {
  padding: 0.9em 0;
  font-size: 18px;
  display: inline-block;
  -webkit-transform-origin: 0 0;
  transform-origin: 0 0;
}
.input__label-content span {
  display: inline-block;
}
.input__field:focus + .input__label .input__label-content,
.input--filled .input__label-content {
  -webkit-animation: anim-fumi-1 0.3s forwards;
  animation: anim-fumi-1 0.3s forwards;
}
@-webkit-keyframes anim-fumi-1 {
  50% {
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0);
  }
  51% {
    -webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -3em, 0) scale3d(0.65, 0.65, 1);
  }
  100% {
    color: #a3a3a3;
    -webkit-transform: translate3d(0, -0.4em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -0.4em, 0) scale3d(0.65, 0.65, 1);
  }
}

@keyframes anim-fumi-1 {
  50% {
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0);
  }
  51% {
    -webkit-transform: translate3d(0, -3em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -3em, 0) scale3d(0.65, 0.65, 1);
  }
  100% {
    color: #a3a3a3;
    -webkit-transform: translate3d(0, -0.4em, 0) scale3d(0.85, 0.85, 1);
    transform: translate3d(0, -0.4em, 0) scale3d(0.65, 0.65, 1);
  }
}

.input__field:focus + .input__label .icon,
.input--filled .icon {
  -webkit-animation: anim-fumi-2 0.3s forwards;
  animation: anim-fumi-2 0.3s forwards;
}

@-webkit-keyframes anim-fumi-2 {
  50% {
    opacity: 1;
    -webkit-transform: translate3d(0, -3em, 0);
    transform: translate3d(0, -3em, 0) scale(1.5);
  }
  50.25% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3em, 0);
    transform: translate3d(0, -3em, 0) scale(1.5);
  }
  50.75% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0) scale(1.5);
  }
  51% {
    opacity: 1;
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0) scale(1.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0) scale(1.5);
    color: rgba(248, 176, 69, 1);
  }
}

@keyframes anim-fumi-2 {
  50% {
    opacity: 1;
    -webkit-transform: translate3d(0, -3em, 0);
    transform: translate3d(0, -3em, 0) scale(1.5);
  }
  50.25% {
    opacity: 0;
    -webkit-transform: translate3d(0, -3em, 0);
    transform: translate3d(0, -3em, 0) scale(1.5);
  }
  50.75% {
    opacity: 0;
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0) scale(1.5);
  }
  51% {
    opacity: 1;
    -webkit-transform: translate3d(0, 3em, 0);
    transform: translate3d(0, 3em, 0) scale(1.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0) scale(1.5);
    color: rgba(248, 176, 69, 1);
  }
}
.modal__btn {
  margin: 15px 5px;
  width: calc(100% - 10px);
  padding: 10px;
  background: rgba(151, 199, 17, 0.65);
  text-transform: uppercase;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 0;
  color: #fff;
  letter-spacing: 1px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  -webkit-transition: 0.8s;
  transition: 0.8s;
}
.modal__btn:hover {
  background: rgba(151, 199, 17, 1);
}
.modal__success {
  width: 600px;
  position: absolute;
  top: 40%;
  left: calc(50% - 300px);
  background: rgba(151, 199, 17, 0.9);
  padding: 35px 15px;
  text-align: center;
  display: none;
}
.modal__success-top {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.modal__success-bottom {
  font-size: 18px;
}
textarea {
  width: calc(100% - 10px);
  border: none;
  height: 155px;
  padding: 10px;
  resize: none;
  color: #404040;
  font-size: 14px;
}
.modal__check {
  display: none;
}
.modal__check + label {
  color: #fff;
  display: block;
  position: relative;
  font-weight: 400;
  font-size: 13px;
  line-height: 14px;
  padding-left: 40px;
  margin-top: 9px;
  letter-spacing: 0.4px;
}
.modal__check + label a {
  text-decoration: underline;
}
.modal__check + label:before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: #fff;
  top: 3px;
  left: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.modal__check:checked + label:before {
  background: #696969;
  border: 5px solid #fff;
}
#map {
  height: 350px;
}

/* Базовые стили слоя затемнения и модального окна  */
.overlay {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  display: none;
  /* фон затемнения */
  background-color: rgba(0, 0, 0, 0.65);
  position: fixed; /* фиксированное поцизионирование */
  cursor: default; /* тип курсара */
}
/* активируем слой затемнения */
.overlay:target {
  display: block;
}
/* стили модального окна */
.popup {
  top: -100%;
  right: 0;
  left: 50%;
  font-size: 14px;
  z-index: 20;
  margin: 0;
  width: 85%;
  min-width: 320px;
  max-width: 600px;
  /* фиксированное позиционирование, окно стабильно при прокрутке */
  position: fixed;
  padding: 15px;
  border: 1px solid #383838;
  background: #fefefe;
  /* скругление углов */
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  border-radius: 4px;
  font: 14px/18px 'Tahoma', Arial, sans-serif;
  /* внешняя тень */
  -webkit-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22),
    0 19px 60px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22),
    0 19px 60px rgba(0, 0, 0, 0.3);
  -ms-box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22),
    0 19px 60px rgba(0, 0, 0, 0.3);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.22), 0 19px 60px rgba(0, 0, 0, 0.3);
  -webkit-transform: translate(-50%, -500%);
  -ms-transform: translate(-50%, -500%);
  -o-transform: translate(-50%, -500%);
  transform: translate(-50%, -500%);
  -webkit-transition: -webkit-transform 0.6s ease-out;
  -moz-transition: -moz-transform 0.6s ease-out;
  -o-transition: -o-transform 0.6s ease-out;
  transition: transform 0.6s ease-out;
}
/* активируем модальный блок */
.overlay:target + .popup {
  -webkit-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  top: 20%;
}
/* формируем кнопку закрытия */
.close {
  top: -10px;
  right: -10px;
  width: 25px;
  height: 25px;
  position: absolute;
  padding: 0;
  border: 2px solid #ccc;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
  border-radius: 15px;
  background-color: rgba(61, 61, 61, 0.8);
  -webkit-box-shadow: 0px 0px 10px #000;
  -moz-box-shadow: 0px 0px 10px #000;
  box-shadow: 0px 0px 10px #000;
  text-align: center;
  text-decoration: none;
  font: 13px/20px 'Tahoma', Arial, sans-serif;
  font-weight: bold;
  -webkit-transition: all ease 0.8s;
  -moz-transition: all ease 0.8s;
  -ms-transition: all ease 0.8s;
  -o-transition: all ease 0.8s;
  transition: all ease 0.8s;
}
.close:before {
  color: rgba(255, 255, 255, 0.9);
  content: 'X';
  text-shadow: 0 -1px rgba(0, 0, 0, 0.9);
  font-size: 12px;
}
.close:hover {
  background-color: rgba(252, 20, 0, 0.8);
  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  -o-transform: rotate(360deg);
  transform: rotate(360deg);
}
/* изображения внутри окна */
.popup img {
  width: 100%;
  height: auto;
}
/* миниатюры слева/справа */
.pic-left,
.pic-right {
  width: 25%;
  height: auto;
}
.pic-left {
  float: left;
  margin: 5px 15px 5px 0;
}
.pic-right {
  float: right;
  margin: 5px 0 5px 15px;
}
/* элементы м-медиа, фреймы */
.popup embed,
.popup iframe {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  margin: auto;
  min-width: 320px;
  max-width: 600px;
  width: 100%;
}
.popup h2 {
  /* заголовок 2 */
  margin: 0;
  color: #008000;
  padding: 5px 0px 10px;
  text-align: left;
  text-shadow: 1px 1px 3px #adadad;
  font-weight: 500;
  font-size: 1.4em;
  font-family: 'Tahoma', Arial, sans-serif;
  line-height: 1.3;
}
/* параграфы */
.popup p {
  margin: 0;
  padding: 5px 0;
}
