html{
   box-sizing: border-box;
}
*,
*::after,
*::before{
   box-sizing: inherit;
}
button{
   background-color: transparent;
   padding: 0;
   border: none;
   font-family: inherit;
   color: inherit;
   display: inline-block;
}
input{
   font-family: inherit;
   color: inherit;
}
input::placeholder{
   font-family: inherit;
   color: inherit;
}
body{
   font-family: "Inter", sans-serif;
   font-weight: 400;
   font-size: 16px;
   line-height: 1.5;
   color: #2b2b2b;
   overflow-x: hidden;
}
a{
   color: inherit;
   text-decoration: none;
}
ul{
   list-style: none;
}
.container {
   max-width: 1740px;
   padding: 0 10px;
   margin: 0 auto;
}
.section-box{
   padding: 150px 0;
}
.section__title{
   text-transform: uppercase;
   margin-bottom: 60px;
   font-weight: 300;
   font-size: 42px;
   line-height: 1.16;
}

/* ----HERO---- */
.header {
   background-image: url(../images/header-bg.jpg);
   
   background-image: image-set(
      '../images/header-bg.avif' type('image/avif'),
      '../images/header-bg.webp' type('image/webp'),
      '../images/header-bg.jpg' type('image/jpeg')
   );
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
   height: 100vh;
   color: #f5f5f5;
}
.header__top {
   padding: 64px 0;
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
   font-weight: 300;
}
.header__phone {
   justify-self: end;
   display: flex;
   align-items: center;
   gap: 10px;
}


.header__hero{
   display: flex;
   flex-direction: column;
   align-items: center;
}
.header__title {
   padding-top: 100px;
   margin-bottom: 30px;
   
   font-size: 85px;
   font-weight: 400;
   line-height: 1.17;
   text-transform: uppercase;
   max-width: 840px;
   text-align: center;
}
.header__subtitle {
   font-size: 26px;
   line-height: 1.16;
   font-weight: 300;
   max-width: 758px;
   text-align: center;
   margin-bottom: 30px;
}

.header__btn {
   display: inline-block;
   text-transform: uppercase;
   font-size: 18px;
   line-height: 1.16;
   font-weight: 300;
   color: #2b2b2b;
   background-color: #f5f5f5;
   padding: 20px 50px;
   border-radius: 2px;
}

.container {
}
/* ----BURGER---- */
.menu {
   justify-self: start;
}
.menu__btn {
   display: none;
   justify-content: center;
   align-items: center;
   width: 40px;
   height: 24px;
   position: relative;
   z-index: 10;
}
.menu__btn::after,
.menu__btn::before {
   content: '';
   position: absolute;
   left: 0;
   right: 0;
   background-color: #f5f5f5;
   height: 2px;
}
.menu__btn::after {
   top: 0;
}
.menu__btn::before {
   bottom: 0;
}
.menu__btn span{
   height: 2px;
   background-color: #f5f5f5;
   width: 100%;
}
.menu__list {
   display: flex;
   gap: 40px;
   text-transform: uppercase;
   
}

.logo {
   justify-self: center;
}

@media(max-width: 1300px){
   .menu__btn{
      display: flex;
   }
   .menu__list{
      position: absolute;
      inset: 0;
      background-color: #171717;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transform: translateY(-100%);
      transition: transform .3s ease-in-out;
   }
   .menu__list.active{
      transform: translateY(0);
   }
   .header__title {
      font-size: 73px;
   }
}
@media(max-width: 740px){
   .header__top {
      padding: 40px 0;
   }
   .header__phone {
      gap: 3px;
   }
   .header__title {
   padding-top: 75px;
   font-size: 64px;
   }
}
@media(max-width: 540px){
   .header__phone span{
   display: none;
   }
   .header__phone img{
   width: 24px;
   }
   .header__title {
   font-size: 48px;
   }
   .header__subtitle {
   font-size: 22px;
   }
   .header__btn {
      font-size: 16px;
      padding: 16px 50px;
   }
}
@media(max-width: 380px){
   .header__title {
   font-size: 34px;
   }
   .header__subtitle {
   font-size: 16px;
   }
   .header__btn {
      font-size: 14px;
   }
}
/* ----SERVICES---- */
.services {
   background-color: #171717;
   color: #f5f5f5;
}
.services__list {
   border-top: 1px solid #f5f5f5;
}
.services__item {
   display: flex;
   justify-content: space-between;
   gap: 20px;
   align-items: center;
   padding: 24px 0;
   border-bottom: 1px solid #f5f5f5;
   padding-right: 44px;
}
.services__item-title {
   font-size: 28px;
   font-weight: 300;
   text-transform: uppercase;
}
.services__item-text {
   max-width: 800px;
   width: 100%;
}
@media(max-width: 1300px){
   .services__item{
      display: block;
      padding-right: 0;
   }
   .section-box {
      padding: 100px 0;
   }
   .section__title {
      margin-bottom: 30px;
   }
}
@media(max-width: 740px){
   .section-box {
      padding: 50px 0;
   }
   .services__item {
      padding: 10px 0;
   }
   .section__title {
      margin-bottom: 20px;
      font-size: 28px;
   }
   .services__item-title {
   font-size: 20px;
   }
}

/* ----PROJECTS---- */

.projects__slider {
   padding-bottom: 50px;
   overflow: visible;
}
.projects__item {
   padding: 20px;
   border: 1px solid #D9D9D9;
   max-width: 560px;
}
.projects__item img {
   width: 100%;
   margin-bottom: 40px;
}
.projects__item-title {
   margin-bottom: 10px;
   text-transform: uppercase;
   font-weight: 300;
   font-size: 28px;
   line-height: 1.16;
}
.projects__item-subtitle {
   margin-bottom: 30px;
   text-transform: uppercase;
   font-weight: 300;
   font-size: 18px;
   line-height: 1.16;
}
.projects__item-text {
   margin-bottom: 30px;
}
.projects__item-link {
   display: inline-block;
   text-transform: uppercase;
   border: 1px solid #171717;
   padding: 20px 100px;
   font-size: 18px;
   line-height: 1.1;
   font-weight: 300;
}
.projects__arrow {
   cursor: pointer;
   position: absolute;
   bottom: -5px;
   left: 50%;
}
.projects__arrow-prev {
transform: translateX(-75px);
}
.projects__arrow-next {
transform: translateX(15px);
}

@media(max-width: 740px){
   .projects__item {
      padding: 10px;
   }
   .projects__item img {
      margin-bottom: 20px;
   }
   .projects__item-title {
      font-size: 24px;   
   }
   .projects__item-subtitle {
      font-size: 16px;
      margin-bottom: 10px;
   }
   .projects__item-text {
      margin-bottom: 15px;
   }
   .projects__item-link {
      padding: 16px 100px;
      font-size: 16px;
   }
}

/* ----STEPS---- */
.steps {
   padding: 60px 0 100px;
   background-color: #171717;
   color: #f5f5f5;
   display: flex;
}
.steps__title {
   max-width: 605px;
}
.steps__list {
   max-width: 605px;
   list-style: none;
   counter-reset: my-counter;
}
.steps__item {
   counter-increment: my-counter;
   padding-left: 57px;
   position: relative;
   padding-bottom: 40px;
}
.steps__item:last-child {
   padding-bottom: 0;
}
.steps__item:last-child::after {
   display: none;
}
.steps__item::before {
   content: counter(my-counter);
   position: absolute;
   width: 40px;
   height: 40px;
   border: 1px solid #f5f5f5;
   font-size: 15px;
   font-weight: 600;
   display: flex;
   justify-content: center;
   align-items: center;
   left: 0;
}
.steps__item::after {
   content: '';
   position: absolute;
   width: 1px;
   background-color: #f5f5f5;
   left: 20px;
   top:48px;
   bottom: 8px;
}
.steps__item-title {
   font-size: 24px;
   line-height: 1.16;
   font-weight: 300;
   margin-bottom: 12px;
   padding-top: 5px;
}
.steps__img img {
   width: 100%;
   display: block;
   height: 100%;
   object-fit: cover;
}
@media(max-width: 1300px){
   .steps__list {
      padding-bottom: 40px;
   }
}
@media(max-width: 1090px){
   .steps {
      display: block;
   }
   .steps__list {
   max-width: max-content;
}
}
@media(max-width: 740px){
   .steps {
      padding: 50px 0;
   }
}
@media(max-width: 380px){
   .steps__item {
   padding-left: 37px;
   padding-bottom: 20px;
   }
   .steps__item::before {
   width: 20px;
   height: 20px;
   font-size: 12px;
   }
   .steps__item::after {
   left: 10px;
   top:28px;
   }
   .steps__item-title {
   font-size: 22px;
   margin-bottom: 5px;
   padding-top: 0px;
   margin-top: -1px;
   }
}

/* ----CATALOG---- */
.catalog__title {
   max-width: 556px;
}
.catalog__content{
   display: flex;
   gap: 50px;
   align-items: center;
   margin-bottom: 150px;
}
.catalog__form {
   max-width: 560px;
   width: 100%;
}
.catalog__form-title{
   max-width: 430px;
   font-size: 28px;
   text-transform: uppercase;
   line-height: 1.16;
   font-weight: 300;
   margin-bottom: 20px;
}
.catalog__form-text{
   max-width: 430px;
   font-size: 18px;
   text-transform: uppercase;
   line-height: 1.16;
   font-weight: 300;
   margin-bottom: 50px;
}
.catalog__form-input{
   display: inline-block;
   padding: 20px;
   border: 1px solid #171717;
   text-transform: uppercase;
   font-size: 24px;
   font-weight: 100;
   line-height: 1.16;
   margin-bottom: 30px;

   width: 100%;
   display: block;
}
.catalog__form-label{
   display: flex;
   gap: 10px;
   align-items: center;
   font-size: 14px;
   font-weight: 300;
   line-height: 1.16;
   margin-bottom: 50px;
}
.catalog__form-checkbox{
   width: 17px;
   height: 17px;
   accent-color: #171717;
   margin: 0;
}
.catalog__form-btn{
   padding: 20px 54px;
   background-color: #171717;
   color: #f5f5f5;
   font-size: 18px;
   line-height: 1.16;
   text-transform: uppercase;
   font-weight: 300;
}
.gallery{
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
}
.gallery img{
   width: 100%;
}

@media(max-width: 1300px){
   .catalog__content{
   display: block;
   }
   .catalog__content img{
      width: 100%;
      margin-bottom: 40px;
   }
}
@media(max-width: 1090px){
   .gallery{
      grid-template-columns: repeat(3, 1fr);
   } 
}
@media(max-width: 740px){
   .catalog__content{
      margin-bottom: 50px;
   }
   .catalog__form{
      max-width: 100%;
   }
   .gallery{
      grid-template-columns: repeat(2, 1fr);
   }
}
@media(max-width: 540px){
   .catalog__content-img {
      margin-bottom: 20px;
   }
   .catalog__form-title{
      font-size: 22px;
      margin-bottom: 10px;
   }
   .catalog__form-text{
      font-size: 16px;
      margin-bottom: 15px;
   }
   .catalog__form-input{
      padding: 10px;
      font-size: 16px;
      margin-bottom: 20px;
   }
   .catalog__form-label{
      margin-bottom: 20px;
   }
   .catalog__form-btn {
      padding: 15px 54px;
      font-size: 16px;
   }
   .gallery{
      grid-template-columns: 1fr;
   }
}

.request {
   padding-bottom: 150px;
}
.request__inner {
   background-image: url(../images/request/request_bg.jpg);
   background-repeat: no-repeat;
   background-size: cover;
   background-position: center center;
   padding: 220px 0;
}
.request__inner-form {
   background-color: rgba(23, 23, 23, .85);
   padding: 75px 115px;
   max-width: 1000px;
   margin: 0 auto;
}
.request__title {
   color: #f5f5f5;
}
.request__form{
      display: flex;
   }
.request__form-input {
   display: inline-block;
   padding: 20px;
   border: none;
   background-color: #D9D9D9;
   color: #2b2b2b;
   font-size: 18px;
   font-weight: 100;
   line-height: 1.16;
   width: 100%;
}
.request__form-btn {
   background-color: #f5f5f5;
   text-transform: uppercase;
   font-size: 16px;
   line-height: 1.16;
   font-weight: 300;
   padding: 20px 50px;
   width: 380px;
}
@media(max-width: 1300px){
   .request__form-btn{
      font-size: 14px;
   }
}
@media(max-width: 740px){
   .request {
   padding-bottom: 50px;
   }
   .request__inner {
      padding: 85px 0;
   }
   .request__form{
      flex-direction: column;
      gap: 20px;
   }
   .request__form-btn{
      width: 100%;
      font-size: 16px;
   }
   .request__inner-form {
      padding: 50px 10px;
   }
}

.footer {
   background-color: #171717;
   padding: 100px 0 60px;
   color: #f5f5f5;
}
.footer__inner {
   display: flex;
   align-items: end;
   gap: 100px;
   margin-bottom: 10px;
   padding-right: 174px;
}
.footer__logo {
   margin-right: auto;
}
.footer__menu {
   display: flex;
   gap: 100px;
}
.footer__nav {
   display: flex;
   flex-direction: column;
   gap: 15px;
   text-transform: uppercase;
   font-weight: 300;
}
.footer__social {
   display: flex;
   flex-direction: column;
   gap: 15px;
   font-size: 14px;
}
.footer__social-link {
   display: flex;
   gap: 10px;
   line-height: 1.16;
}
.footer__contacts {
   display: flex;
   flex-direction: column;
   gap: 20px;
   font-weight: 300;
   font-size: 14px;
   line-height: 1.16;
}
.footer__contacts-location{
   align-self: start;
}
.footer__contacts-link {
   display: flex;
   gap: 10px;
}
.footer__contacts-time{
   padding-left: 25px;
}
.footer__copy {
   display: flex;
   gap: 6px;
   font-size: 14px;
   font-weight: 300;
   line-height: 1.16;
}

@media(max-width: 1500px){
   .footer__inner{
      padding-right: 0;
      gap: 50px;
   }
   .footer__menu {
      gap: 40px;
   }
}
@media(max-width: 1090px){
   .footer { 
   padding: 60px 0 40px;
}
   .footer__inner{
      flex-wrap: wrap;
      gap: 30px;
   }
   .footer__menu {
      gap: 30px;
      margin: 0 auto;
   }
   .footer__copy {
      margin-top: 40px;
   }
}

@media(max-width: 740px){
   .footer{
      padding: 50px 0 40px;
   }
   .footer__menu {
      flex-wrap: wrap;
      justify-content: center;
   }
}
@media(max-width: 540px){
   .footer__inner {
      flex-direction: column;
   }
   .footer__social{
      flex-direction: row;
   }
   .footer__social-link span{
      display: none;
   }
}
@media(max-width: 370px){
   .footer__menu{
      flex-direction: column;
      align-items: start;
   }
}








