:root {
  --primary: #B74410;
  --subtitleColor: #A30100;
  --light: #f3f3f3;
  --twoTextColor: #C4C4C4;
  --textColor: #2C2B2B;
  --darkColor: #242b33;
  --bgFormColor: #679b9b;
  --bgProgressColor: #ff9a76;
}

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

body{
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  line-height: 27px;
  font-weight: 300;
  color: var(--textColor);
}

#instagram path{
  fill: #000
}
.test path{
  fill: #000
}
a{
  text-decoration: none;
  color: inherit;
  display: inline-block;
  z-index: 99;
}

.container{
  position: relative;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto; 
  padding: 0 10px;
}

.container .card__note {
  position: absolute;
  right: 0;
  top: 8rem; 
  width: 260px;
  padding: 10px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  border-radius: 15px;
  background: hsla(0, 0%, 100%, 0.1);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 3px solid #b74510b0;
  backdrop-filter: blur(5px);
}

.card__note-content {
  margin: 0 auto;
  text-align: center;
}

.card__note-content h2 {
  font-size: 1.4em;
  color: var(--light);
  text-shadow: 3px 3px 10px var(--textColor);
}

.card__note-content h3 {
  font-size: 1.6em;
  font-weight: 600;
  margin: .8rem;
  color: var(--light);
  text-shadow: 0px 0px 20px var(--textColor);
  z-index: 1;
} 

.card__note-content p {
  margin-top: 0.6rem;
  font-size: 1em;
  color: var(--light);
  text-shadow: 3px 3px 10px var(--textColor);
  font-weight: 400;
}

.header{
  position: relative;
  background: linear-gradient(
   180deg,
   rgba(163, 141, 40, 0) 0%,
   var(--darkColor) 150%),
    url('../images/main_bg.jpeg') bottom center no-repeat;
  background-size: cover;
  min-height: 700px;
  color: var(--light);
}

.header__top{
  padding: 47px 0 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-logo {
  width: 90%;
}

.phone{
  font-weight: 400;
  font-size: 36px;
  line-height: 54px;
}

.header__content{
  padding-top: 60px;
  position: relative;
}

.header__title{
  font-size: 72px;
  font-weight: 400;
  line-height: 6.4rem;
  text-transform: uppercase;
}

.header__subtitle{
  font-size: 36px;
  line-height: 54px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.header__text{
  margin-bottom: 30px;
  max-width: 800px;
}

.button{
  font-size: 20px;
  line-height: 21px;
  text-transform: uppercase;
  padding: 0.8rem 3.4rem 0.9rem;
  background-color: #b74510a4;
  border: 1px solid #ffffff80;
  border-radius: 0.25rem;
  transition: all 250ms ease-in-out;
}

.button:hover{
  box-shadow: 0 0 0 2px var(--light), 0 0 0 5px #b74510a4;
  text-shadow: 1px 1px 2px var(--darkColor);
}

.header__social{
  padding: 70px 0 20px 70px;
}

.social{
  display: flex;
  align-items: center;
}

.social__link{
  margin: 0 5px;
}

.header__images{
  position: absolute;
  right: 0;
  bottom: -150px;
}

.services{
  padding-top: 12rem;
  position: relative;
}

.services::before {
  content: url(../images/truck_and_hen.svg);
  display: block;
  width: 1200px;
  position: absolute;
  left: 50%;
  top: 13.75rem;
  opacity: 0.1;
  transform: translate(-50%);
}


.title{
  color: var(--primary);
  font-size: 36px;
  line-height: 54px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}

.title::after{
  content: '';
  width: 80px;
  height: 3px;
  background-color: var(--primary);
  position: absolute;
  top: 20px;
  margin-left: 20px;
}

.services__inner{
  display: flex;
  margin-bottom: 100px;
}

.services__content{
  width: 505px;
  margin-right: 90px;
}

.services__content-title{
  color: var(--subtitleColor);
  font-size: 18px;
  line-height: 27px;
  font-weight: 300;
  margin-bottom: 12px;
}

.services__content-textbox{
  margin-bottom: 30px;
}

.services__content-list {
  margin-left: 1rem;
}

.services__content-list,
.services__content-text{
  margin-bottom: 12px;
}

.button--decor{
  /* margin-top: -7px; */
  color: var(--light);
  position: relative;
}

.button--decor::after{
  content: 'Paina';
  color: var(--twoTextColor);
  margin-left: 130px;
  position: absolute;
}

.btn--opac {
  background-color: var(--primary);
  &:hover {
    box-shadow: 0 0 0 2px var(--light), 0 0 0 3px var(--primary);
  }
}

.button--decor::before{
  content: '';
  width: 80px;
  height: 2px;
  background-color: var(--twoTextColor);
  position: absolute;
  right: -65px;
  top: 24px;
}

.services__list{
  padding-top: 1rem;
  list-style: none;
  counter-reset: my-counter;
}

.services__item{
  counter-increment: my-counter;
  border: 2px solid var(--twoTextColor);
  margin-bottom: 12px;
  width: 580px;
  padding: 10px 15px 10px 90px;
  position: relative;
  transition: all .5s;
}

.services__item::before{
  content: '0' counter(my-counter);
  position: absolute;
  left: 20px;
  font-size: 36px;
  line-height: 54px;
  font-weight: 400;
  color: var(--twoTextColor);
  transform: rotate(270deg);
  transition: all .5s;
}

.services__item:hover{
  border: 2px solid var(--primary);
  width: 600px;
}

.services__item:hover .services__item-title{
  color: var(--primary);
}

.services__item:hover::before{
  color: var(--primary);
}

.services__item-title{
  font-size: 24px;
  font-weight: 300;
}

.benefits{
  margin-bottom: 100px;
}

.benefits__inner{
  display: flex;
}

.benefits__images{
  margin-top: 2rem;
  margin-right: 95px;
}

.benefits__content{
  width: 100%;
}

.benefits__list{
  list-style: none;
  background-color: var(--primary);
  padding: 50px 75px;
  color: var(--light);
  text-shadow: 0px 0px 2px #646464;
}

.benefits__item{
  width: 100%;
  margin-bottom: 20px;
}

.benefits__item-title{
  font-size: 24px;
  line-height: 36px;
  font-weight: 300;
}

.benefits__item-text{
  color: var(--light);
  text-shadow: 0px 0px 2px #646464;
}

.carousel{
  margin-bottom: 100px;
  position: relative;
}

.carousel::before {
  content: url(../images/svg_ben.svg);
  display: block;
  width: 400px;
  position: absolute;
  left: 10%;
  top: 70px;
  opacity: 0.2;
  transform: translate(-50%);
}

.carousel__inner{
  margin: 0 -7px;
  position: relative;
  .slick-arrow {
    position: absolute;
    top: 50%;
    margin: -60px 0 0 0;
    z-index: 10;
    font-size: 0;
    width: 60px;
    height: 60px;
    border-style: none;
  }
}

.slick-arrow.slick-prev {
  left: -45px;
  background: url(../images/carousel/arrow_left.svg) 0 0 / 100% no-repeat;
}

.slick-arrow.slick-next {
  right: -50px;
  background: url(../images/carousel/arrow_right.svg) 0 0 / 100% no-repeat;
}

.carousel__item{
  margin: 0 7px;
}

.carousel__item-box{
  border: 1px solid var(--twoTextColor);
  padding: 6px;
  text-align: center;
  transition: all .5s;
}

.carousel__item-box:hover{
  color: var(--light);
  background-color: var(--primary);
  border-color: var(--subtitleColor);
}

.carousel__item-img{
  max-width: 100%;
  /* margin-bottom: 23px; */
}

.carousel__item-title{
  font-weight: 300;
  margin-bottom: 5px;
}

.carousel .slick-dots{
  display: flex;
  justify-content: center;
  margin-top: 50px;
  list-style: none;
}

.carousel .slick-dots button{
  font-size: 0;
  border: none;
  padding: 0;
  margin: 0 10px;
  background-color: var(--twoTextColor);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel .slick-active button{
  background-color: transparent;
  border: 1px solid var(--primary);
}

.contacts {
  position: relative;
}

.contacts__inner{
  display: flex;
  justify-content: space-between;
}

.contacts__list{
  list-style: none;
}

.contacts__item{
  margin-bottom: 20px;
}

.contacts__item-title{
  color: var(--primary);
}

.contacts__form{
  background-color: var(--primary);
  padding: 50px 75px 50px;
  margin-bottom: 100px;
  text-align: center;
  border-bottom: 1px solid var(--twoTextColor);
}

.contacts__title{
  color: var(--light);
  margin-bottom: 16px;
  text-align: left;
}

.contacts__title::after{
  background-color: var(--light);
}

.contacts__input{
  background-color: transparent;
  width: 550px;
  height: 50px;
  color: var(--light);
  border: 1px solid var(--light);
  margin-bottom: 12px;
  display: block;
  font-size: 24px;
  padding: 0 15px;
  text-align: center;
  &:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary), 0 0 0 3px var(--light);
  }
}

.contacts__input::placeholder{
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  line-height: 27px;
  font-weight: 300;
  color: var(--light);
}

.contacts__form-text {
  color: var(--light);
  text-align: start;
}

.contacts__btn{
  border: none;
  margin-top: 40px;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  transition: all 250ms ease-in-out;
}

.wpcf7-spinner {
  display: none;
}

.white {
  background-color: var(--light);
  border: 1px solid #ffffff80;
  box-shadow: inset 0px 0px 0px var(--primary);
  color: var(--primary);

  &:hover {
    box-shadow: 0 0 0 2px var(--primary), 0 0 0 3px var(--light);
  }
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: var(--light);
	color: var(--light);
}

.wpcf7-not-valid-tip {
    color: var(--textColor);
}

.footer{
  margin-top: auto;
  background-image: url(../images/main_bg.jpeg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

.footer__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--light);
  height: 100px;
}

/* Media */

@media (max-width: 1140px){
  .container .card__note {
    width: 180px;
    right: 1rem;
  }

  .services::before{
    width: 100%;
  }

  .services__item:hover {
    width: 450px;
  }

  .benefits__title::after {
    display: none;
  }
  .carousel::before {
    display: none;
  }
}


@media (max-width: 1024px){
  .container .card__note {
    width: 260px;
    right: 35%;
    top: 2.5rem;
  }

  .header__images{
    width: 80%;
  }
  .title::after {
    display: none;
  }
  .services{
    padding-top: 250px;
  }
  .services__inner{
    flex-wrap: wrap;
  }
  .services__list{
    order: -1;
    margin-bottom: 30px;
    width: 100%;
  }
  .services__item{
    width: 100%;
  }
  .services__item:hover{
    width: 100%;
  }
  .services__content{
    width: 100%;
    margin-right: 0;
  }
  .benefits__images{
    display: none;
  }
}

@media (max-width: 900px){
  .container .card__note {
    width: 200px;
    right: 30%;
  }

  .phone {
    font-size: 24px;
    line-height: 36px;
  }
  .header__title{
    font-size: 3rem;
    line-height: 4rem;
  }
  .header__subtitle {
    font-size: 24px;
    line-height: 36px;
    margin-bottom: 20px;
  }
  .header__social {
    padding: 30px 0 20px 53px;
  }
  .contacts__inner{
    display: block;
    text-align: center;
  }
  .contacts__list{
    margin-bottom: 30px;
  }
  .contacts__input{
    width: 100%;
  }
  .contacts__btn{
    margin-top: 20px;
  }
  .contacts__title{
    text-align: center;
    margin-left: 0;
  }
}

@media (max-width: 768px){
   body {
	overflow-x: hidden;
  }
  .container .card__note {
    width: 180px;
  }

  .benefits__inner{
    text-align: center;
  }
  .benefits__list {
      padding: 25px 15px;
  }
  .benefits__item{
    width: 100%;
  }
  .benefits__title{
    margin-left: 0;
  }
}

@media (max-width: 650px){
  .container .card__note {
    top: 44rem;
    left: 1rem;
    background-color: var(--primary);
  }

  .title {
    margin-top: 2rem;
  }

  .footer__inner{
    flex-wrap: wrap;
    justify-content: center;
    height: auto;
    padding: 20px 0;
    text-align: center;
  }
  .footer__social{
    width: 100%;
    justify-content: center;
    margin: 25px 0;
  }
}



@media (max-width: 600px){
  
  .container .card__note {
    top: 45rem;
  }

  .header__content{
    padding-top: 0;
    text-align: center;
  }
  .header__social {
    padding: 30px 0 20px 0px;
  }
  .social{
    justify-content: center;
  }
  .services{
    padding-top: 150px;
  }
  .title{
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 30px;
    text-align: center;
  }
  .title::after{
    display: none;
  }
  body{
    font-size: 16px;
    line-height: 22px;
  }
  .services__item::before{
    top: 5px;
  }
  
  .services__content-button{
    text-align: center;
  }

  .services__content-list {
    list-style-position: inside;
  }

  .benefits__item-num {
    font-size: 28px;
    line-height: 36px;
  }
  .carousel__item-img{
    width: 100%;
  }
}

@media (max-width: 520px){
  .container .card__note {
    top: 54rem;
    z-index: 99;
  }

  .header__top{
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  .logo{
    margin-bottom: 20px;
    width: 100%;
  }
  .header__title{
    margin-bottom: 20px;
  }
  .header__images{
    position: static;
    width: 100%;
  }
  .services {
    padding-top: 80px;
  }
  .services__item{
    padding: 10px 15px 10px 60px;
  }
  .services__item::before{
    left: 11px;
  }
  .button--decor::before{
    right: -50px;
  }
  .button--decor::after{
    margin-left: 110px;
  }
  .services__inner,
  .benefits,
  .carousel{
    margin-bottom: 50px;
  }
  .contacts__form{
    padding: 50px 10px 57px;
  }
  .button--decor::before,
  .button--decor::after{
    display: none;
  }
}

@media (max-width: 340px){
  .container .card__note {
    width: 150px;
    top: 46rem;
  }

  .header__title {
      font-size: 44px;
      line-height: 50px;
  }
}








