@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  /* 10px по умолчаню браузер 16px*/
  font-size: 62.5%;
}

body {
  color: #2a2a2a;
  font-family: "RobotoRegular";
  border: none;
}

ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

ul:after, .clear:after {
  content: "";
  display: block;
  clear: both;
}

header, section {
  padding: 5rem 0 3rem 0;
}

.br {
  display: none;
}

.br-min {
  display: none;
}

.feature-br {
  display: block;
}

.bold {
  font-family: "RobotoBold";
}

.h1 {
  font-size: 4rem;
  line-height: 8rem;
}

.h2 {
  font-size: 3.4rem;
  line-height: 6.8rem;
}

.h3 {
  font-size: 2.7rem;
  line-height: 5.4rem;
}

.main-text {
  font-size: 2rem;
  line-height: 2.5rem;
}

.text {
  font-size: 2rem;
  line-height: 2.5rem;
}

.button:hover, .callback:hover {
  cursor: pointer;
}

.container {
  margin: 0 auto;
  max-width: 1050px;
}

/* фон меню и футера */
#top, footer {
  background: url(../images/dark-bg.jpg) 50% 50% no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
}
#top a, footer a {
  color: #fff;
}

/* текст над меню */
.general {
  margin: 1rem 0;
  display: flex;
  flex-direction: row;
  justify-content: end;
}

.shedule {
  padding-left: 3rem;
  margin-right: 2.5rem;
  background: url(../images/clock.svg) 0 50% no-repeat;
}

.numbers {
  padding-left: 3rem;
  margin-right: 2.5rem;
  background: url(../images/telefon.svg) 0 50% no-repeat;
}

/* классы создания параллелограммов */
.parallelogram-right {
  transform: skewX(-30deg);
}
.parallelogram-right > * {
  transform: skewX(30deg);
}

.parallelogram-left {
  transform: skewX(30deg);
}
.parallelogram-left > * {
  transform: skewX(-30deg);
}

/* фиксация навигации */
.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: url(../images/dark-bg.jpg) 50% 50% no-repeat;
  background-size: cover;
}
.fixed .menu-line {
  width: 100%;
  justify-content: space-between;
}
.fixed .menu-line .tel-in-nav {
  display: block;
}

/* рисование меню */
.menu-line {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: end;
}
.menu-line .tel-in-nav {
  display: none;
}
.menu-line .tel-in-nav .numbers {
  margin: 1rem;
}
.menu-line .menu {
  background-color: #dc6e15;
  position: relative;
}
.menu-line .menu:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 10;
  top: 0;
  left: 98%;
  width: 50rem;
  height: 4.5rem;
  background-color: #dc6e15;
}
.menu-line .menu ul {
  display: flex;
  flex-direction: row;
  justify-content: end;
}
.menu-line .menu ul li {
  padding: 1rem 0;
}
.menu-line .menu ul li a {
  display: block;
  padding: 0 2rem;
  border-right: 1px solid #f4ac71;
}
.menu-line .menu ul li a:hover {
  text-decoration: underline;
}
.menu-line .menu ul li:last-child a {
  border: none;
}
.menu-line .menu ul li:hover {
  background: url(../images/active-menu.png) 50% 0 no-repeat;
}

/* общие значения классво для заголовков и цвета*/
.title {
  position: relative;
  display: table;
  margin: auto;
  color: #fff;
  font-family: "RobotoBold";
  padding: 0 2rem;
  text-align: center;
  text-transform: uppercase;
}
.title * {
  width: -moz-fit-content;
  width: fit-content;
}

.gray {
  background-color: #373d4b;
}

.orange {
  background-color: #dc6e15;
}

/* головной блок */
header {
  height: 500px;
  background: url(../images/header.webp) 70% 50% no-repeat;
  background-size: cover;
  border-bottom: 7px solid #dc6e15;
}

.titles {
  float: left;
  padding-top: 120px;
  margin-left: 1rem;
}
.titles .title:last-child {
  text-transform: none;
  font-family: "RobotoRegular";
}

/* почему именно мы */
#whyneedus .list {
  padding: 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
#whyneedus .item {
  width: 330px;
  text-align: center;
  padding: 0 0 2rem 0;
}
#whyneedus .item p {
  padding: 0.5rem 0.5rem;
}
#whyneedus .icon {
  margin-bottom: 0.5rem;
}
#whyneedus .icon img {
  max-height: 100%;
}
#whyneedus .ttl {
  position: relative;
  font-family: "Roboto";
  padding-bottom: 1rem;
}
#whyneedus .ttl:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 1rem;
  left: 25%;
  width: 50%;
  height: 1px;
  background-color: #dc6e15;
}

.margin-left {
  left: 250px;
}

.margin-right {
  right: 250px;
}

#services {
  background: url(../images/light-bg.jpg) 50% 50% no-repeat;
  background-size: cover;
}
#services .item {
  position: relative;
  margin-bottom: 5rem;
}
#services .item:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #dc6e15;
}
#services .item:nth-child(2n):before {
  left: auto;
}
#services .item:nth-child(2n) .title {
  left: auto;
}
#services .item:nth-child(2n) .photo {
  float: right;
}
#services .item:after {
  content: "";
  display: block;
  clear: both;
}
#services .title {
  position: absolute;
  top: 0;
  text-transform: none;
}
#services .photo {
  float: left;
  border: 1px solid #dc6e15;
}
#services .photo img {
  display: block;
}
#services .desc {
  padding: 7rem 2rem 1rem 2rem;
  overflow: hidden;
}

#feature {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
#feature .list {
  padding: 70px 0 20px;
  margin: auto;
}
#feature .item {
  padding-left: 100px;
  min-height: 70px;
  margin-bottom: 50px;
  background: url(../images/check.png) 0 0 no-repeat;
}
#feature .item .ttl {
  font-family: "Roboto";
  text-transform: uppercase;
}

#guarantee {
  background: url(../images/light-bg.jpg) 50% 30% no-repeat;
}

.guarant {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
}
.guarant img {
  width: 46%;
  aspect-ratio: auto;
}
.guarant .desc {
  width: 46%;
}
.guarant .desc div {
  font-family: "Roboto";
  text-transform: uppercase;
}

#reviews .container {
  position: relative;
}
#reviews .container .owl-carousel {
  margin: 2rem auto;
  width: 90%;
}
#reviews .container .owl-carousel .owl-dots {
  padding-top: 1rem;
}
#reviews .container .owl-carousel .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  text-align: center;
}
#reviews .container .owl-carousel .item .client {
  width: 280px;
  height: 280px;
  border: 3px solid #dc6e15;
  border-radius: 50%;
  margin: 0 auto 15px;
  overflow: hidden;
}
#reviews .container .owl-carousel .item .client img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#reviews .container .owl-carousel .item .date {
  display: inline;
  float: right;
}
#reviews .container .customNav {
  display: flex;
  justify-content: space-between;
  position: absolute;
  width: 100%;
  height: 100%;
}
#reviews .container .customNav img {
  width: 7rem;
  height: 7rem;
}
#reviews .container .customNav .owl-prev, #reviews .container .customNav .owl-next {
  position: absolute;
  top: 28%;
  z-index: 5;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}
#reviews .container .customNav .owl-prev:hover,
#reviews .container .customNav .owl-next:hover {
  opacity: 0.8;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
#reviews .container .customNav .owl-prev {
  left: 0px;
}
#reviews .container .customNav .owl-next {
  right: 0px;
  text-align: right;
}

footer {
  padding: 30px 0;
}
footer .info {
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
footer .info .contacts, footer .info .locations {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
}
footer .info .contacts > *, footer .info .locations > * {
  margin-bottom: 2rem;
  white-space: nowrap;
}
footer .link {
  text-align: center;
  padding: 2rem 0 0;
}
footer .link a:hover {
  transition: all 0.3s linear;
  color: #dc6e15;
}

.location {
  padding-left: 3rem;
  margin-right: 2.5rem;
  background: url(../images/location.svg) 0 50% no-repeat;
}

@media (max-width: 1200px) {
  .h1 {
    font-size: 3.4rem;
    line-height: 6.8rem;
  }
  .h2 {
    font-size: 2.7rem;
    line-height: 5.4rem;
  }
  .h3 {
    font-size: 2.3rem;
    line-height: 4.6rem;
  }
  .margin-left {
    left: 254px;
  }
  .margin-right {
    right: 254px;
  }
  .titles {
    margin-left: 2rem;
  }
}
@media (max-width: 991px) {
  .h3 {
    line-height: 2.6rem;
    padding: 0.6rem 0;
  }
  .container {
    margin: 0 2rem;
  }
  .fixed .container {
    justify-content: end;
  }
  .fixed .container .tel-in-nav {
    display: none;
  }
}
@media (max-width: 767px) {
  .titles {
    float: none;
    margin: 0;
    padding-top: 240px;
  }
  header {
    background-position: 100% 50%;
  }
  .h1 {
    font-size: 2.5rem;
    line-height: 5rem;
  }
  .h2 {
    font-size: 2rem;
    line-height: 4rem;
  }
  .h3 {
    font-size: 2rem;
    line-height: 2.3rem;
    padding: 0.6rem 0;
  }
  .text {
    font-size: 1.5rem;
    line-height: 2.1rem;
  }
  #top .general {
    display: none;
  }
  .butmenu {
    height: 4.5rem;
    width: 6.5rem;
    padding: 0 1rem;
    background-color: #dc6e15;
  }
  .butmenu:after {
    content: "";
    display: block;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 98%;
    width: 10rem;
    height: 4.5rem;
    background-color: #dc6e15;
  }
  .butmenu div {
    height: 4.5rem;
    width: 4.5rem;
    background: url(../images/menu.png) 50% 50% no-repeat;
  }
  .fixed .menu-line {
    justify-content: space-between;
    padding: 0 1rem;
  }
  .fixed .menu-line .tel-in-nav {
    display: block;
  }
  nav {
    background: url(../images/dark-bg.jpg) 50% 50% no-repeat;
    background-size: cover;
  }
  .menu-line {
    position: relative;
    width: 100%;
    background-color: transparent;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .menu-line .tel-in-nav {
    display: block;
  }
  .menu-line .menu {
    position: absolute;
    left: -15%;
    width: 130%;
  }
  .menu-line .menu:after {
    display: none;
  }
  .menu-line .menu ul {
    display: none;
    position: absolute;
    top: 4.5rem;
    left: 0;
    width: 100%;
    z-index: 10;
    background-color: #dc6e15;
  }
  .menu-line .menu ul.active {
    display: block;
  }
  .menu-line .menu ul li {
    width: 100%;
    float: none;
    border-right: none;
    background-color: #dc6e15;
  }
  .menu-line .menu ul li a {
    margin: auto;
    width: 60%;
    text-align: center;
    padding: 0;
    border-right: 0px;
    border-bottom: 1px solid #f4ac71;
  }
  .menu-line .menu ul li:last-child a {
    border-right: 0px;
    border-bottom: 1px solid #f4ac71;
  }
  #whyneedus .item {
    width: 260px;
  }
  .margin-left {
    left: 258px;
  }
  .margin-right {
    right: 258px;
  }
}
@media (max-width: 640px) {
  #services .item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
  }
  #services .item > * {
    float: none;
  }
  #services .item .title {
    position: relative;
    text-transform: none;
    margin-bottom: 2rem;
  }
  #services .item .photo {
    float: none;
    border: 1px solid #dc6e15;
    margin: 0 auto 2rem;
  }
  #services .item .photo img {
    display: block;
  }
  #services .item .desc {
    padding: 0 2rem 1rem 2rem;
    overflow: hidden;
  }
  #services .item .margin-left {
    left: 0;
  }
  #services .item .margin-right {
    right: 0;
  }
  #reviews .container .owl-carousel .item .client {
    width: 60%;
    height: -moz-fit-content;
    height: fit-content;
    aspect-ratio: 1/1;
  }
}
@media (max-width: 580px) {
  .feature-br {
    display: none;
  }
  .br {
    display: block;
  }
  .h1 {
    text-align: center;
    font-size: 2.2rem;
    line-height: 2.6rem;
    padding: 1rem 0;
  }
  .h2 {
    text-align: center;
    font-size: 2rem;
    line-height: 2.3rem;
    padding: 0.8rem 0;
  }
  .h3 {
    font-size: 1.8rem;
    line-height: 2rem;
    padding: 0.6rem 0;
  }
  .text {
    font-size: 1.5rem;
    line-height: 1.7rem;
  }
  footer .container {
    text-align: center;
  }
  footer .info {
    margin: 30px auto;
    display: inline-block;
  }
  footer .info .contacts, footer .info .locations {
    display: block;
    text-align: start;
  }
  header {
    background-position: 90% 50%;
  }
}
@media (max-width: 420px) {
  .container {
    margin: 0 1rem;
  }
  .guarant {
    flex-direction: column;
    vertical-align: middle;
  }
  .guarant img {
    width: 80%;
    margin: auto;
  }
  .guarant .desc {
    width: 100%;
    text-align: center;
  }
  .br-min {
    display: block;
  }
  .fixed .menu-line {
    padding: 0;
  }
  #reviews .container .customNav img {
    width: 5rem;
    height: 5rem;
  }
  #reviews .container .customNav .owl-prev, #reviews .container .customNav .owl-next {
    top: 20%;
  }
}
@media (max-width: 320px) {
  .h1 {
    font-size: 2rem;
    line-height: 2.2rem;
    padding: 0.8rem 0;
  }
  .h2 {
    font-size: 1.8rem;
    line-height: 2rem;
    padding: 0.6rem 0;
  }
  .h3 {
    font-size: 1.5rem;
    line-height: 1.7rem;
    padding: 0.4rem 0;
  }
  .text {
    font-size: 1.5rem;
    line-height: 1.7rem;
  }
  .fixed .menu-line {
    justify-content: end;
  }
  .fixed .menu-line .tel-in-nav {
    display: none;
  }
}/*# sourceMappingURL=customStyle.css.map */