:root {
  --coal: #353535;
  --brick: #c15447;
  --white: #ffffff;
  --graphite: #575756;
  --sand: #ffc44f;
  --gray: #c6c6c6;
  --brick-light: #dc513c;
  --beige: #f8bca4;
  --pink: #f10000;
  --milk: #fecd9f;
  --burgundy: #ad003a;
}

/* .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin: 0;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

.wrapper {
  display: flex;
  flex-direction: column;
}

/*блок 1*/

.hero {
  background-image: url("/img/block_1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 500px;

  padding: 180px 0 100px;
}

.hero__container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 24px;

  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero__title {
  font-size: 3rem;
  line-height: 140%;
  font-weight: 600;
  color: var(--white);
}

.hero__subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  color: var(--white);
  margin: 0;
}

.hero__btn {
  padding: 12px 30px;
  background: #de614c;
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 140%;
}

.hero__btn:hover {
  background: var(--white);
  color: #de614c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/*конец блока 1*/

/*блок 2*/
.about {
  background: var(--milk);
  width: 100%;
  min-height: 500px;
  padding: 80px 0;
}

.about__container {
  display: flex;
  gap: 53px;
  min-height: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.about__content {
  width: 568px;
}

.about__divider {
  width: 81px;
  height: 4px;
  background-color: var(--brick);
}

.about__subtitle {
  margin: 40px 0 24px 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 150%;
}

p.about__text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 20px;
}

.about__image {
  background-image: url("/img/block_2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 549px;
}

.about__stats {
  display: flex;
  justify-content: space-between;
  padding: 16px;
  background-color: #f9c391;
  margin-top: 32px;
  border-radius: 8px;
}

.about__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__stat-number {
  color: var(--brick);
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 150%;
  font-weight: 700;
}

.about__stat-label {
  font-size: 16px;
  color: var(--coal);
  text-align: center;
  line-height: 150%;
  font-weight: 400;
}

.about__title {
  margin-bottom: 28px;
  position: relative;
  line-height: 150%;
  font-weight: 700;
}

/*конец блока 2*/

/*блок 3*/

.products {
  display: flex;
  justify-content: center;
  background: var(--white);
  width: 100%;
  min-height: 500px;
  padding: 130px 0;
}

.products__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.products__title,
.contacts__title {
  margin-bottom: 24px;
  font-size: 32px;
  font-weight: 700;
  line-height: 105%;
}

.products__subtitle {
  margin-top: 40px;
  margin-bottom: 32px;
  font-size: 24px;
  font-weight: 700;
  line-height: 105%;
}

.products__subtitle.amino {
  margin-top: 8px;
  margin-bottom: 0;
}

.products__divider {
  width: 81px;
  height: 4px;
  background-color: var(--brick);
}

.products__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
  flex-direction: column;
}

.block_cadrs_odd,
.block_cadrs_even {
  display: flex;
  justify-content: center;
  gap: 30px;
}


.products__card.even {
  padding: 32px;
  max-width: 370px;
  width: 100%;
  min-width: 300px;
  flex-wrap: wrap;
}


.products__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08);
  padding: 32px 86px 32px 86px;
  max-width: 570px;
  height: -webkit-fill-available;
  border: none;
  border-top: solid 4px var(--brick);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: var(--white);
}

.products__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

h2.products__card-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 150%;
  text-align: center;
}

p.products__card-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
}

.products__card-title,
.products__card-desc {
  margin: 0;
}

/*конец блока 3*/

/*блок 4*/
.contacts {
  background: var(--gray);
  width: 100%;
  padding: 80px 0;
}

.contacts__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

.contacts__title {
  margin: 0;
}

.contacts__divider {
  width: 81px;
  height: 4px;
  background-color: var(--brick);
  margin: 24px 0 40px 0;
}

.contacts__wrapper {
  display: flex;
  gap: 50px;
  width: 100%;
}

.contacts__info {
  flex: 1;
}

.contacts__subtitle {
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 600;
  font-size: 1.17rem;
}

.contacts__item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contacts__item i {
  margin-right: 10px;
  color: var(--brick);
}

.contacts__text {
  color: #000;
}

.contacts__map {
  width: 100%;
  height: 300px;
  margin-top: 30px;
  border-radius: 8px;
}

.contacts__form {
  flex: 1;
}

.contacts__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.contacts__field {
  margin-bottom: 19px;
}

.contacts__input {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%;
}

.contacts__input:focus {
  box-shadow: none;
  outline: none;
}

.contacts__textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-height: 150px;
  resize: vertical;
  width: 100%;
}

.contacts__btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--brick);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contacts__btn:hover {
  background: var(--brick-light);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

form#contactForm {
  margin-top: 40px;
}

/*конец блока 4*/

/*блок 5*/
.faq {
  background: var(--white);
  width: 100%;
  padding: 80px 0;
}

.faq__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1170px;
  margin: 0 auto;
}

.faq__title {
  margin: 0;
}

.faq__divider {
  width: 81px;
  height: 4px;
  background-color: var(--brick);
  margin: 15px 0 50px 0;
}

.faq__list {
  width: 100%;
}

.faq__item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq__question {
  background: var(--white);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background 0.3s ease;
}

.faq__question:hover {
  background: var(--brick-light);
  color: var(--white);
}

.faq__question i {
  transition: transform 0.3s ease;
}

.faq__item.active .faq__question i {
  transform: rotate(180deg);
}

.faq__answer {
  background: var(--white);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq__item.active .faq__answer {
  padding: 20px;
  max-height: 500px;
}

/*конец блока 5*/

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  /* скрыт */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-window {
  background: #fff;
  padding: 25px 30px;
  border-radius: 6px;
  max-width: 400px;
  width: 90%;
  position: relative;
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 22px;
  cursor: pointer;
}








@media (max-width: 990px) {
  .block_cadrs_even {
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .block_cadrs_odd {
    flex-direction: column;
  }
}

@media (max-width: 750px) {
  .contacts__wrapper {
    flex-direction: column;
  }

  form#contactForm {
    margin-top: 25px;
  }

  .hero__title {
    font-size: 2rem;
  }

  .products__card {
    padding: 35px 28px 32px 28px;
  }

  .products__container {
    padding: 0 20px;
  }

  .faq__container {
    padding: 0 20px;
  }

}

@media (max-width: 600px) {
  .about__image {
    height: 700px;
  }
}


@media (max-width: 450px) {
  .products__card {
    padding: 24px !important;
  }
}