
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  user-select: none;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  line-height: 1.5;
  overflow-x: hidden;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: 100%;
}
h1, h2, h3, h4, h5 {
  margin-bottom: 0.6em;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
p {
  font-size: 1.1rem;
}
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 2px solid #111;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fee6e3;
  z-index: 999;
  height: 70px;
}
.logo {
  font-weight: bold;
  font-size: 1.5rem;
}
nav ul {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  width: 100%;
}
nav li a {
  font-weight: 500;
  padding: 5px 10px;
  position: relative;
  transition: 0.3s ease background-color;
}
nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #111;
  transition: width 0.3s;
}
nav li a:hover::after {
  width: 100%;
}
nav li a.active {
  color: #111;
}
nav li a.active::after {
  background: #111;
  width: 100%;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
}
@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 64px;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    transform: translateX(100%);
  }
  nav ul.open {
    transform: translateX(0);
  }
  .burger {
    display: flex;
  }
}
.spacer {
  height: 70px;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1s ease;
}
.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transition: all 1s ease;
}
.fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}
.hero {
  position: relative;
  background: url('../img/main-image.webp') center/cover no-repeat;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  padding: 60px 20px;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  max-width: 600px;
  text-shadow:
    -1px -1px 0 black,  
     1px -1px 0 black,
    -1px  1px 0 black,
     4px  4px 0 black;
}
.hero p {
  font-size: 1.1rem;
  margin-top: 5px;
  max-width: 600px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.product-card {
  align-items: center;
  background-color: #fee6e3;
  border: 2px solid #111;
  border-radius: 8px;
  box-sizing: border-box;
  color: #111;
  cursor: pointer;
  display: flex;
  font-family: Inter,sans-serif;
  font-size: 16px;
  justify-content: center;
  line-height: 24px;
  max-width: 100%;
  position: relative;
  text-align: center;
  text-decoration: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}
.product-card:after {
  background-color: #111;
  border-radius: 8px;
  content: "";
  display: block;
  height: 100%;
  left: 0;
  width: 100%;
  position: absolute;
  top: -2px;
  transform: translate(8px, 8px);
  transition: transform .2s ease-out;
  z-index: -1;
}
.product-card:hover:after {
  transform: translate(0, 0);
}
.product-card:active {
  background-color: #ffdeda;
  outline: 0;
}
.product-card:hover {
  outline: 0;
}
.product-card img {
  border-radius: 5px;
}
.btn-more {
  display: inline-block;
  padding: 12px 24px;
  background-color: #fee6e3;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-align: center;
  transition: 0.3s ease background-color;
}
.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
.advantage-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.advantage-item img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.advantage-item .text {
  flex: 1;
}
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
.step-item {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
}
.step-item img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.faq-item {
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 10px;
  overflow: hidden;
  max-width: 500px;
}
.faq-question {
  background-color: #fee6e3;
  padding: 12px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  height: 80px;
  display: flex;
  align-items: center;
  transition: .2s ease-out;
}
.faq-question:hover {
    background-color: #e8c6c2;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 10px;
  font-weight: bold;
}
.faq-question.active::after {
  content: "-";
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer p {
  padding: 1rem 2rem;
}
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}
.testimonial {
  background: #fafafa;
  border-left: 5px solid #fee6e3;
  padding: 15px 20px;
  border-radius: 4px;
}
.testimonial strong {
  display: block;
  margin-bottom: 5px;
  color: #111;
}
.form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  max-width: 600px;
  width: 100%;
}
.form-wrapper label {
  font-weight: 600;
}
.form-wrapper input, .form-wrapper textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.form-wrapper button {
  align-self: flex-end;
}
.cta-block {
  background-color: #fee6e3;
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
}
.cta-block h2 {
  margin-bottom: 20px;
}
footer {
  margin-top: 50px;
  padding: 20px;
  background-color: #111;
  color: #fff;
  text-align: center;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
#block2 {
  display: grid;
}
#block4 {
  text-align: end;
}
#block7 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fee6e3;
  border-radius: 8px;
}
.button {
  padding: 1rem 2rem;
  background-color: #b02a37;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 30px;
}
#block5 {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1039px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
@media (max-width: 830px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  #block5 {
    display: block;
  }
  .faq-item {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
@media (max-width: 568px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  }
}


input {
    height: 50px;
    transition: 0.3s;
}
textarea {
    height: 120px;
    resize: none;
    font-size: 0.9rem;
    transition: 0.3s;
}
input textarea {
    border: none;
    font-size: 0.9rem;
}
input:focus, textarea:focus {
    outline: none;       
    box-shadow: none;    
    border-color: inherit;
    box-shadow: 0 0 0 1px rgba(0, 0, 0);
    border-radius: 25px;
    font-size: 1.1rem;
    padding-left: 1rem ;
}
textarea:focus {
padding-top: 1rem;
}