*, *::before, *::after {
}
body {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  color: #211e1e;
  font-weight: 300;
  line-height: 1.67;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  padding: 0;
}
h1, h2 {
  position: relative;
  font-weight: 900;
  line-height: 1.28;
  z-index: 10;
}
h1:after,
h2:after {
  content: '';
  display: block;
  bottom: -5%;
  left: 0;
  width: 111px;
  height: 7px;
  background: #bf0000;
  margin: 15px 0;
}
h1 {
  font-size: 40px;
  margin-top: 30px;
}
h2 {
  font-size: 59px;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a,
a:active,
a:hover {
  outline: none;
  text-decoration: none;
  transition: 0.5s;
}
button,
button:active,
button:focus,
button:hover,
input,
input:active,
input:focus,
input:hover,
textarea,
textarea:focus {
  outline: none;
}
textarea {
  resize: none;
}
.btn:focus {
  box-shadow: none;
}
.subtitle790 {
  max-width: 790px;
}
section {
  padding: 50px 0;
}
/*=========================================*/
/*                  header                 */
/*=========================================*/
.header__content {
  padding-left: 50px;
  width: 100%;
  position: relative;
}
.header__logo img {
  max-width: 400px;
}
.footer .header__logo img {
  max-width: 300px;
}
.header a {
  color: #000;
}
.header__time {
  margin: 20px 0;
}
.header__lineBg {
  width: 70px;
  height: 20px;
  background: #BF0000;
  position: absolute;
  bottom: -10px;
  z-index: 20;
  left: 50%;

  transform: rotate(45deg);
}
.header__navBox {
  position: absolute;
  background: #211e1e;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  z-index: 999;
}
.header__navBox.active {
  left: 0;
}
.header__8 {
  position: absolute;
  bottom: 30px;
  left: 30px;
}
.header__nav {
  padding-right: 170px;
}
.header__nav li {
  position: relative;
  margin-bottom: 20px;
}
.header__nav li::after {
  position: absolute;
  content: '';
  top: 0;
  right: -20px;
  height: 100%;
  width: 7px;
  background: #bf0000;
  opacity: 0;
}
.header__nav li a {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  line-height: 2;
  text-transform: uppercase;
  text-align: right;
}
.header__nav li:hover a {
  color: #bf0000;
}
.header__nav li:hover::after {
  opacity: 1;
}
.header__upper {
  padding: 10px 0;
}
.header__bg {
  max-width: 600px;
  position: relative;
}
.header__circle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  left: -140px;
  max-width: 280px;
}
.header__bgPic {
  z-index: 10;
  position: relative;
}
.header__burger {
  cursor: pointer;
  padding-right: 54px;
  z-index: 1500;
  position: relative;
  height: 20px;
}
.header__line {
  display: block;
  width: 17px;
  height: 2px;
  background: #000;
  position: absolute;
}
.header__burger_close .header__line {
  background: #fff;
}
.header__burger:hover .header__line {
  background: #bf0000;
}
.header__line {
  left: 20px;
}
.header__line_center {
  top: 20px;
}
.header__line_top {
  top: 15px;
}
.header__line_bottom {
  top: 10px;
}
.header__burger_close .header__line_center {
  opacity: 0;
}
.header__burger_close .header__line_top {
  transform: rotate(45deg);
  top: 10px;
}
.header__burger_close .header__line_bottom {
  transform: rotate(135deg);
}
/*=========================================*/
/*                  general__bg            */
/*=========================================*/
.general {
  background-color: #f7f3f3;
}
.general__bg {
  max-width: 596px;
  width: 100%;
  position: relative;
}
.general__pic {
  position: absolute;
  top: 15%;
  right: -150px;
  z-index: 1;
}
.general__mainPic {
  height: 600px;
  object-fit: cover;
  z-index: 10;
  position: relative;
}
.general__content {
  width: 100%;
  padding: 30px;
}
.general__content p {
  max-width: 760px;
}
/*=========================================*/
/*                  metal                 */
/*=========================================*/
.metal {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr;
  grid-column-gap: 40px;
}
.metal__picBox p, .service__picBox p {
  font-weight: 900;
}
.metal__picBox {
  margin: 60px 0;
}
.metal__picBox:hover p, .service__picBox:hover p {
  color: #bf0000;
}
.metal__picBox:hover img:not(.electronic__pic), .service__picBox:hover img  {
  box-shadow: 8px 10px 76px 0 rgba(33, 30, 30, 0.3);
}
.metal__picBox img:not(.electronic__pic), .service__picBox img  {
  margin-top: 10px;
  box-shadow: 8px 10px 76px 0 rgba(33, 30, 30, 0.2);
  max-width: 100%;
  height: auto;
}
.roW {
  display: flex;
  flex-direction: column;
}
.roW1 {
  align-items: flex-end;
  padding-left: 170px;
}
.roW3 {
  padding-top: 50px;
}
/*=========================================*/
/*                  services               */
/*=========================================*/
.service {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
  grid-column-gap: 40px;
}
.service__picBox {
  margin-bottom: 60px;
}
.service .roW1 {
  align-items: flex-start;
}
.service .roW3 {
  padding-top: 0;
}
.service .roW1 .service__picBox{
  margin-top: 30px;
}
.service .roW2 .service__picBox:first-child, .service .roW3 .service__picBox:first-child  {
  padding-left: 13%;
}
.service .roW3 .service__picBox:last-child {
  max-width: 75%;
  margin: 0 auto;
}

/*=========================================*/
/*                  electronic             */
/*=========================================*/
.electronic {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-column-gap: 30px;
  background-color: #f7f3f3;
}
.roWe1 {
  padding-top: 90px;
}
.roWe3 {
  padding-top: 100px;
}
.electronic .metal__picBox {
  text-align: right;
  position: relative;

}
.electronic .metal__picBox p,
.electronic .metal__picBox img:not(.electronic__pic) {
  z-index: 10;
  position: relative;
}
.electronic__pic {
  position: absolute;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
/*=========================================*/
/*                  inTouch                */
/*=========================================*/
.inTouch > p {
  max-width: 770px;
}
.text-310, .tel-95 {
  margin-right: 30px;
}
.inTouch h2:after {
  margin: 15px auto;
}
.inTouch__form {
  max-width: 760px;
  width: 100%;
  margin-top: 30px;
}
.inTouch__field {
  width: 100%;
  padding: 5px 0;
  border: 2px solid transparent;
  border-bottom-color: #000;
  height: 45px;
}
.inTouch__margin {
  margin: 20px 0;
}
.btn {
  width: 200px;
  height: 60px;
  background-color: #bf0000;
  display: flex;
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin: 55px auto 0;
  border: none;
}
.btn:hover {
  background-color: #e40000;
}
/*=========================================*/
/*                  footer                 */
/*=========================================*/
.footer {
  background-color: #211e1e;
  padding: 50px 0;
}
.footer__email {
  color: #fff;
  font-size: 20px;
}
/*=========================================*/
/*=========================================*/
/*                  Media                  */
/*=========================================*/
/*=========================================*/
/* m-first */
@media screen and (min-width: 768px) {

}
@media screen and (min-width: 1200px) {

}
/* m-last */
@media screen and (max-width: 1500px) {
  .roW1 {
    padding-left: 30px;
  }
}
@media screen and (max-width: 1200px) {
  .metal, .electronic {
    grid-template-columns: 1fr 1fr;
  }
  body {
    font-size: 14px;
  }
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 42px;
  }
}
@media screen and (max-width: 992px) {
  .metal, .electronic, .service {
    grid-template-columns: 1fr;
  }
  .roW {
    align-items: center;
  }
  .metal__picBox {
    margin: 20px 0;
  }
  .header__circle {
    display: none;
  }
  .header__content {
    padding: 0 10px;
  }
  section {
    padding-left: 10px;
    padding-right: 10px;
  }
  .text-310, .tel-95 {
    margin-right: 0;
  }
  .service .roW2 .service__picBox:first-child, .service .roW3 .service__picBox:first-child, .roW1 {
    padding-left: 0;
  }
}
@media screen and (max-width: 768px) {
  .header__bgPic, .general__pic {
    display: none;
  }
  .header__nav {
    padding: 0 10px;
  }
}
@media screen and (max-width: 576px) {
  .header__logo img {
    width: 100%;
  }
}
