body {
    margin: 0;
    font-family: 'Georgia', serif;
    background-color: #faf8f6;
  }
  
  .book-promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 12%;
    background: #E4E2DD;
  }
  
  .book-content {
    max-width: 50%;
  }
  
  .book-title {
    font-size: 48px;
    color: #3d352b;
    margin-bottom: 20px;
    font-style: italic;
    font-family: 'Georgia', serif;
    font-weight: 300;
  }
  
  .book-title em {
    font-style: italic;
  }
  
  .book-description {
    font-size: 17px;
    color: #4a4033;
    line-height: 1.6;
    margin-bottom: 30px;
  }
  
  .book-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #fff;
    color: #3d352b;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.2);
  }
  
  .book-button:hover {
    background-color: #f8d7e0;
    color: #fff;
  }
  
  .book-image img {
    max-width: 400px;
    transform: rotate(8deg);
    border-radius: 8px;
  }
  

  /* Адаптация для планшетов */
@media (max-width: 1024px) {
  .book-promo {
    padding: 30px 8%;
  }

  .book-title {
    font-size: 36px;
  }

  .book-description {
    font-size: 16px;
  }

  .book-image img {
    max-width: 300px;
  }
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .book-promo {
    flex-direction: column;        /* Контент становится вертикальным */
    text-align: center;
    padding: 30px 5%;
  }

  .book-content {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .book-title {
    font-size: 28px;
  }

  .book-description {
    font-size: 15px;
  }

  .book-image img {
    max-width: 250px;
    transform: none;               /* Убираем наклон для мобильных */
  }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
  .book-title {
    font-size: 24px;
  }

  .book-description {
    font-size: 14px;
  }

  .book-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  .book-image img {
    max-width: 200px;
  }
}

/* Только на мобильных */
@media (max-width: 768px) {
  .book-promo {
    flex-direction: column;
  }

  .book-image {
    order: 1;           /* Картинка первой */
    margin-bottom: 20px;
  }

  .book-content {
    order: 2;           /* Текст после картинки */
  }
}



/* how to buy */


.buy-section {
  background-color: #E4E2DD;
  text-align: center;
  padding: 60px 10%;
  font-family: 'Georgia', serif;
}

.buy-title {
  font-size: 42px;
  color: #3d352b;
  margin-bottom: 15px;
  font-style: italic;
}

.buy-subtitle {
  font-size: 18px;
  color: #4a4033;
  margin-bottom: 40px;
}

.buy-steps {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.step {
  flex: 1;
}

.step-number {
  font-size: 50px;
  font-weight: bold;
  color: #3d352b;
  margin-bottom: 15px;
  font-family: 'Georgia', serif;
  position: relative;
}

.step-text {
  font-size: 16px;
  color: #4a4033;
  line-height: 1.5;
}

/* Кнопки */
.buy-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.buy-btn {
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.buy-btn.primary {
  background-color: #310E10;
  color: #fff;
}

.buy-btn.primary:hover {
  background-color: #3d352b;
}

.buy-btn.secondary {
  border: 1px solid #4a4033;
  color: #4a4033;
}

.buy-btn.secondary:hover {
  background-color: #4a4033;
  color: #fff;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 768px) {
  .buy-steps {
    flex-direction: column;
    text-align: center;
  }

  .step-number {
    font-size: 36px;
  }

  .buy-title {
    font-size: 32px;
  }
}




/* faq */



.faq-section {
  background-color: #E4E2DD;
  padding: 50px 10%;
  font-family: 'Georgia', serif;
}

.faq-title {
  font-size: 36px;
  color: #3d352b;
  margin-bottom: 30px;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.faq-question {
  font-size: 20px;
  color: #4a4033;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-style: italic;
  transition: color 0.3s;
}


.faq-icon {
  font-size: 22px;
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  margin-top: 10px;
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* При активном вопросе */
.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* ---------- Адаптивность ---------- */

/* Планшеты */
@media (max-width: 1024px) {
  .faq-section {
    padding: 40px 6%;
  }
  .faq-title {
    font-size: 30px;
  }
  .faq-question {
    font-size: 18px;
  }
  .faq-answer {
    font-size: 15px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .faq-section {
    padding: 30px 4%;
  }
  .faq-title {
    font-size: 26px;
    text-align: center;
  }
  .faq-question {
    font-size: 16px;
  }
  .faq-answer {
    font-size: 14px;
  }
  .faq-icon {
    font-size: 20px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .faq-title {
    font-size: 22px;
  }
  .faq-question {
    font-size: 15px;
  }
  .faq-answer {
    font-size: 13px;
  }
}
