html {
  box-sizing: border-box;
}
*,
*::after,
*::before {
  box-sizing: inherit;
}
body {
  font-size: 16px;
  line-height: 1.5;
  color: #2b2b2b;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
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;
}
.container {
  max-width: 1740px;
  padding: 0 10px;
  margin: 0 auto;
}
.section-box {
  padding: 150px 0;
}
.section__title {
  text-transform: uppercase;

  font-weight: 300;
  font-size: 42px;
  line-height: 1.16;
  margin-bottom: 55px;
}
.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;
  min-height: 100vh;
  color: #f5f5f5;
}
.header__top {
  padding: 64px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  font-weight: 300;
}
.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;
  height: 2px;
  background-color: #f5f5f5;
}
.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;
  font-size: 30px;
}
.logo img {
  width: 100px;
}
.header__phone {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__title {
  max-width: 1200px;
  padding-top: 100px;
  margin-bottom: 30px;
  font-size: 85px;
  line-height: 1.17;
  font-weight: 400;
  text-transform: uppercase;
}
.header__text {
  max-width: 758px;
  font-size: 24px;
  line-height: 1.17;
  margin-bottom: 30px;
}
.header__btn {
  display: inline-block;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.17;
  color: #2b2b2b;
  font-weight: 300;
  padding: 20px 49px;
  background-color: #f5f5f5;
  margin-bottom: 100px;
}
.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;
  text-transform: uppercase;
  font-weight: 300;
}
.services__item-text {
  max-width: 800px;
  width: 100%;
  font-size: 16px;
}
.projects__item {
  padding: 20px;
  border: 1px solid #d9d9d9;
  max-width: 560px;
}
.projects__item img {
  max-width: 100%;
  margin-bottom: 40px;
}
.project__slider {
  padding-bottom: 50px;
  overflow: visible;
}
.projects__item-title {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.16;
}
.projects__item-descr {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.16;
  margin-bottom: 30px;
}
.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;
  font-weight: 300;
  line-height: 1.16;
}
.projects__arrow {
  cursor: pointer;
  position: absolute;
  bottom: -5px;
  left: 50%;
}
.projects__arrow-prev {
  transform: translateX(-75px);
}
.projects__arrow-next {
  transform: translateX(15px);
}

.steps {
  padding: 60px 0 100px;
  background-color: #171717;
  color: #f5f5f5;
  display: flex;
  margin-bottom: 150px;
}

.steps__title {
  max-width: 562px;
  text-transform: uppercase;
  font-weight: 300px;
}

.steps__list {
  max-width: 562px;
  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;
  font-family: "Montserrat", sans-serif;
  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: 6px;
}

.steps__item-text {
  font-size: 16px;
  font-weight: 400;
}
.steps__img img {
  width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.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;
  text-transform: uppercase;
  font-size: 28px;
  line-height: 1.16;
  font-weight: 300;
  margin-bottom: 20px;
}
.catalog__form-text {
  max-width: 430px;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 300;
  margin-bottom: 50px;
}
.catalog__form-input {
  text-transform: uppercase;
  display: inline-block;
  padding: 20px;
  border: 1px solid #171717;
  font-size: 24px;
  font-weight: 100;
  line-height: 1.16;
  margin-bottom: 30px;
  display: block;
  width: 100%;
}
.catalog__form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 50px;
}
.catalog__form-checkbox {
  font-size: 14px;
  font-weight: 300;
  width: 17px;
  height: 10px;
  accent-color: #171717;
  margin: 0;
}
.catalog__form-btn {
  background-color: #171717;
  color: #f5f5f5;
  padding: 20px 54px;
  font-size: 15px;
  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%;
}

.request {
  padding-bottom: 150px;
}
.request__inner {
  background-image: url(../images/request-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 184px 0;
}

.request__inner-form {
  background-color: rgba(23, 23, 23, 0.85);
  padding: 75px 115px;
  margin: 0 auto;
  max-width: 1000px;
}
.request__title {
  color: #f5f5f5;
}
.request__form {
  display: flex;
}
.request__form-input {
  display: inline-block;
  background-color: #d9d9d9;
  padding: 20px;
  border: none;
  font-size: 18px;
  font-weight: 100;
  line-height: 1.16;
  width: 100%;
  color: #2b2b2b;
}
.request__form-btn {
  background-color: #f5f5f5;
  text-transform: uppercase;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 300;
  padding: 20px 50px;
  width: 360px;
}
.footer {
  background-color: #171717;
  padding: 100px 0;
  color: #f5f5f5;
}
.footer__inner {
  display: flex;
  align-items: center;
  gap: 100px;
  padding-right: 174px;
  margin-bottom: 10px;
}
.footer__logo p {
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  margin-right: auto;
}
.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-transform: uppercase;
  font-weight: 300;
}

.footer__social {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.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-map {
  align-self: start;
}
.footer__contacts-link {
  display: flex;

  gap: 10px;
}
.footer__contacts-time {
  padding-left: 25px;
}
.footer__copy {
  display: flex;
  gap: 6px;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.16;
}
/* /
/
/
/
/
/
/
/ */
@media (max-width: 1500px) {
  .footer__inner {
    gap: 50px;
    padding-right: 0;
  }
}

@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 0.3s ease-in-out;
  }
  .menu__list.active {
    transform: translateY(0);
  }
  .services__item {
    display: block;
    padding-right: 0;
  }

  .projects__item-link {
    padding: 10px 65px;
  }
  .steps {
    display: block;
    margin-bottom: 100px;
  }
  .steps__list {
    padding-bottom: 40px;
  }
  .catalog__content {
    display: block;
  }
  .catalog__content-img {
    width: 100%;
    margin-bottom: 40px;
  }
}

@media (max-width: 1092px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer__inner {
    flex-wrap: wrap;
  }
  .footer__inner {
    gap: 30px 135px;
    padding-right: 0;
  }
}
@media (max-width: 820px){
.footer__inner {
  flex-direction: column;
  gap: 30px 0;
}
}

@media (max-width: 740px) {
  .header__top {
    padding: 40px 0;
  }
  .header__title {
    padding-top: 75px;
    font-size: 64px;
  }
  .header__btn {
    display: block;
    margin: 0 auto;
    width: 260px;
    padding: 16px 49px;
    font-size: 16px;
  }
  .section-box {
    padding: 50px 0;
  }
  .section__title {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
  }
  .services__item {
    padding: 10px 0;
  }
  .services__item-title {
    font-size: 20px;
  }
  .projects__item {
    padding: 10px;
  }
  .projects__item img {
    margin-bottom: 20px;
  }
  .projects__item-descr {
    font-size: 16px;
    margin-bottom: 10px;
  }
  .projects__item-title {
    font-size: 24px;
  }
  .projects__item-text {
    margin-bottom: 15px;
  }
  .projects__item-link {
    padding: 10px 45px;
    font-size: 15px;
  }
  .steps {
    padding: 50px 0;
    margin-bottom: 50px;
  }
  .catalog__content {
    margin-bottom: 50px;
  }
  .catalog__form {
    max-width: 100%;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .request {
    padding-bottom: 50px;
  }
  .request__inner {
    padding: 85px 0;
  }
  .request__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .request__form-btn {
    width: 100%;
  }
  .request__inner-form {
    padding: 50px 10px;
  }
  .footer{
    padding: 50px;
  }
  .footer__inner{
    gap: 20px;
  }
  .footer__nav {
    gap: 10px;
  }
  .footer__logo p{
    font-size: 30px;
  }
}
@media (max-width: 540px) {
  .header__phone span {
    display: none;
  }
  .header__phone img {
    width: 24px;
  }

  .header__title {
    padding-top: 50px;
    font-size: 44px;
  }
  .header__text {
    font-size: 22px;
  }
  .steps__item::before {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
  .steps__item::after {
    left: 10px;
    top: 28px;
    bottom: 8px;
  }
  .steps__item {
    padding-left: 37px;
    padding-bottom: 20px;
  }
  .steps__item-title {
    font-size: 22px;
    margin-bottom: 5px;
    padding-top: 0;
    margin-top: -1px;
  }
  .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;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .footer__social {
flex-direction: row;
  }
  .footer__social-link span {
    display: none;
  }
}
