html {
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #0C0C0C;
}

html,
body {
  height: 100%;
}

*,
*::after,
*::before {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

input[type=checkbox] {
  display: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.section-title {
  font-family: 'Orelega One', sans-serif;
  font-weight: 400;
  font-size: 32px;
  text-transform: uppercase;
  text-align: center;
}

.tac {
  text-align: center;
}

.header {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.header__inner {
  background: rgba(255, 255, 255, .5);
}

.header__top {
  display: flex;
  align-items: center;
  padding: 15px 0;

}

.logo {
  margin-right: 160px;
}

.menu__list {
  display: flex;
  text-transform: uppercase;
  gap: 66px;
  font-size: 16px;
}

.menu__list-link:hover, .footer__menu-link:hover {
 border-bottom: 1px solid #0C0C0C;
}

.menu__btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 45px;
  height: 20px;
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.menu__btn span {
  width: 100%;
  height: 2px;
  background-color: #0C0C0C;
}

.header__title {
  max-width: 420px;
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  /* padding: 40px 30px; */
  /* background: rgba(255, 255, 255, .3); */
  font-family: 'Orelega One', sans-serif;
  font-size: 40px;
  text-transform: uppercase;
  text-align: center;
}

.about {
  padding: 60px 0;
  background-color: #FDEED7;
}

.about__title {
  margin-bottom: 50px;
}

.about__us {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.about__us-text p+p {
  margin-top: 10px;
}
.about__us-img {
  max-width: 590px;
}
.why-we__title {
  margin-bottom: 50px;
}

.why-we__inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.why-we__list {
  list-style: disc;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  font-family: 'Orelega One', sans-serif;
  font-size: 20px;
  padding: 0 39px;
  gap: 30px 60px;
}

.why-we__img {
  max-width: 590px;
}

.diy {
  background: #FDEED7;
  padding: 50px 0 60px;
}

.diy__title {
  margin-bottom: 20px;
}

.diy__subtitle {
  font-size: 24px;
  font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: center;
}

.diy__text {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
}

.diy__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 50px;

}

.diy__checkboxex+.diy__checkboxex {
  margin-top: 30px;
}

.diy__checkbox {
  position: absolute;
  opacity: 0;
  /* скрываем */
}

.diy__checkbox+label {
  position: relative;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 20px;
}

/* бокс */
.diy__checkbox+label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: text-top;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
}

/* бокс при наведении */
.diy__checkbox:hover+label:before {
  /* background: #ECA745; */
}

/* бокс в фокусе */
&:focus+label:before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

/* бокс отмеченный */
.diy__checkbox:checked+label:before {
  background: #ECA745;
}

/* отключенный стиль label */
.diy__checkbox:disabled+label {
  color: #b7b7b7;
  cursor: auto;
}

/* бокс отключенный */
.diy__checkbox:disabled+label:before {
  box-shadow: none;
  background: #ddd;
}

/* отмеченный */
.diy__checkbox:checked+label:after {
  width: 10px;
  height: 10px;
  content: "";
  position: absolute;
  top: 9px;
  right: 0;
  left: 9px;
  /* box-shadow: 0 0 0 8px lime; */
  border-radius: 50%;
}

.diy__btn {
  display: block;
  font-size: 32px;
  font-weight: 700;
  background-color: #ECA745;
  border-radius: 25px;
  border: none;
  padding: 15px;
  text-align: center;
  max-width: 360px;
  width: 100%;
  margin: 0 auto;
  cursor: pointer;
}
.diy__btn:hover {
  background-color: #FBDD8F;
}

.bg-form {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #0C0C0C;
  opacity: .6;
  z-index: 19;
}

.form-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;

}

.form-container {
  max-width: 570px;
  padding: 20px;
  background-color: white;

}

.form-container input[type=text] {
  width: 100%;
  padding: 10px 0;
  margin: 5px 0;
  border: none;
  background: transparent;
  border-bottom: 1px solid #0C0C0C;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.form-container input[type=text]:focus {
  background: transparent;
  outline: none;
}

.form-container .btn {
  background-color: #FDEED7;
  color: #0C0C0C;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  border-radius: 25px;
  margin-top: 30px;
  margin-bottom: 10px;
  opacity: 1;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
}

.form-container .cancel {
  background-color: #ECA745;
  margin: 0;
}

.form-container .btn:hover {
  opacity: 1;
}






.easy {
  padding: 60px 0;
  background-color: #FDEED7;
}

.easy__title {
  margin-bottom: 60px;
}

.easy__inner {
  display: flex;
  justify-content: center;
  gap: 100px;
}

.easy__way {
  text-align: center;
  font-size: 20px;
  max-width: 180px;
  width: 100%;
}

.easy__way-img {
  margin-bottom: 20px;
}

.gallery {
  padding: 60px 0;
  background-color: #FDEED7;
}

.gallery__title {
  margin-bottom: 50px;
}

.gallery-swiper {
  min-height: 330px;
}
.gallery-swiper--2, .gallery-swiper--3, .gallery-swiper--4 {
  display: none;
}

.gallery__slider .swiper-wrapper {
  min-height: 250px;
}

.gallery__slider .swiper-slide {
  display: flex;
  gap: 20px;
  height: 250px;
}

.gallery__slider .swiper-slide__img {
  width: 100%;
  max-width: 285px;
  display: block;
  min-height: 240px;
  height: 100%;
  object-fit: cover;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.gallery__slider .swiper-pagination,
.reviews__slider .swiper-pagination {
  bottom: 0;
}

.gallery__slider .swiper-pagination-bullet,
.reviews__slider .swiper-pagination-bullet {
  /* background-image: url('../images/pagination.svg'); */
  width: 25px;
  height: 25px;
  background-color: #FBDD8F;
  box-shadow: 0px -1px 3px 0px rgba(0, 0, 0, 0.25) inset;
  opacity: 1;
}

.gallery__slider .swiper-pagination-bullet-active,
.reviews__slider .swiper-pagination-bullet-active {
  background-color: #ECA745;
  opacity: 1;
}

.reviews {
  padding: 60px 0;
  background-color: #FDEED7;
}

.reviews__title {
  margin-bottom: 50px;
}

.reviews__slide-img {
  max-height: 135px;
}

.reviews__slide-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.reviews-slide {
  display: flex;
  gap: 20px;
}

.reviews-swiper {
  min-height: 220px;
}

.map {
  height: 300px;
}

.footer {
  background-color: #FBDD8F;
  padding: 50px 0 10px;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding-bottom: 50px;
}

.footer__text {
  max-width: 265px;
}

.footer__logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer__info {
  display: flex;
  justify-content: space-between;
  gap: 95px;
  padding: 0 16px 0 10px;
}

.footer__menu-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-transform: uppercase;
}

.footer__social-text {
  text-transform: uppercase;
}

.footer__social-item {
  text-transform: uppercase;
  margin-top: 20px;
}

.footer__social-link {
  padding-left: 24px;
  position: relative;
}

.footer__social-link::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  content: '';
  display: inline-block;
  width: 17px;
  height: 17px;
}

.footer__social-instagram::before {
  content: '';
  background-image: url('../images/instagram.svg');
}

.footer__social-facebook::before {
  content: '';
  background-image: url('../images/facebook.svg');
}

.footer__contacts-text {
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__contacts-phone {
  margin-bottom: 10px;
  display: block;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  position: relative;
  padding-left: 27px;
}

.footer__copy::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  width: 17px;
  height: 17px;
  background-image: url('../images/copyright.svg');
}

@media (max-width: 1220px) {
  .logo {
    margin-right: 110px;
  }
  .about__us-img {
    max-width: 450px;
    object-fit: cover;
  }
  .about__us {
    align-items: normal;
    gap: 60px;
  }
  .why-we__img {
    max-width: 450px;
    min-height: 400px;
    object-fit: cover;
  }
  .why-we__inner {
    gap: 60px;
  }
  .footer__info {
    gap: 40px;
  }
}
@media (max-width: 960px) {
  .easy__inner {
    gap: 50px;
  }
  .footer__inner {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer__text {
    display: none;
  }
  .footer__logo {
    margin-bottom: 40px;
    display: block;
    text-align: center;
  }
  .gallery-swiper--1 {
    display: none;
  }
  .gallery-swiper--2 {
    display: block;
  }
}
@media (max-width: 800px) {
  .logo {
    margin-right: 0;
  }
  .header__top {
    justify-content: space-between;
  }
  .menu__btn {
    display: flex;
  }
  .menu__list {
    position: absolute;
    z-index: 5;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform .3s ease;
  }
  .menu__list.menu__list--active {
    transform: translateY(0)
  }
  .logo,
  .menu__btn {
    position: relative;
    z-index: 10;
  }
  
  .header__title {
    font-size: 24px;
    max-width: 260px;
    font-weight: 400;
  }
  .about {
    padding: 50px 0;
  }
  .about__us {
    gap: 20px;
    max-width: 640px;
    margin: 0 auto 50px;
  }
  .about__us-img {
    max-width: 310px;
    min-height: 290px;
  }
  .why-we__img {
    max-width: 310px;
  }
  .why-we__inner {
    gap: 15px;
    max-width: 640px;
    margin: 0 auto;
  }
  .why-we__list {
    padding: 0 10px;
  }
  .easy__title, .gallery__title {
    margin-bottom: 40px;
  }
  .easy__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px 130px;
    max-width: 490px;
    margin: 0 auto;
  }
}


@media (max-width: 700px) {
  .header__title {
    font-size: 20px;
  }
  .about__title {
    margin-bottom: 40px;
  }
  .about__us-img {
    display: none;
  }
  .about__us-text {
    max-width: 310px;
    margin: 0 auto;
  }
  .section-title {
    font-size: 20px;
  }
  .why-we__img {
    display: none;
  }
  .diy {
    padding: 50px 0;
  }
  .diy__subtitle {
    margin-bottom: 30px;
  }
  .diy__list {
    grid-template-columns: repeat(1, 1fr);
    margin: 0;
  }
  .diy__item {
    margin-bottom: 30px;
  }
  .diy__btn {
    margin-top: 20px;
    max-width: 300px;
  }
  .easy {
    padding: 50px 0;
  }
  .gallery-swiper--2 {
    display: none;
  }
  .gallery-swiper--3 {
    display: block;
  }
  .gallery-swiper--3 .swiper-slide__img {
    max-width: none;
  }
}
@media (max-width: 520px) {
  .easy__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .easy__way-img {
    width: 17px;
    height: 17px;
    margin: 0 5px 0 0;
  }
  .easy__way {
    display: flex;
    max-width: none;
    width: auto;
  }
  .footer__bottom {
    font-size: 12px;
  }
}

@media (max-width: 430px) {
  .footer__info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }
  .footer__copy span {
    display: none;
  }
  .gallery-swiper--4 {
    display: block;
  }
  .gallery-swiper--4 .swiper-slide__img {
    max-width: 100%;
  }
  .gallery-swiper--3 {
    display: none;
  }
  .reviews__slide-img {
    display: none;
  }
}