* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: #ffffff;
  color: #222222;
  line-height: 1.7;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.site-header {
  text-align: center;
  padding: 30px 0 40px;
  border-bottom: 1px solid #ece7df;
  margin-bottom: 40px;
}

.kicker,
.section-label {
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 12px;
  color: #8b6f47;
  margin: 0 0 12px 0;
}

h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.intro {
  max-width: 760px;
  margin: 0 auto;
  font-size: 20px;
  color: #555555;
}

.secret-word {
  cursor: text;
  color: inherit;
  font-weight: inherit;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-bottom: 48px;
}

.hero h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 16px 0;
}

.hero p {
  font-size: 18px;
  color: #555555;
  margin: 0;
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

.recipes {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.recipe-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 1px solid #ece7df;
}

.recipe-card.reverse {
  grid-template-columns: 1fr 380px;
}

.recipe-card.reverse .recipe-photo {
  order: 2;
}

.recipe-card.reverse .recipe-content {
  order: 1;
}

.recipe-photo {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 18px;
}

.recipe-content h3 {
  font-size: 34px;
  margin: 0 0 10px 0;
}

.recipe-content h4 {
  margin: 22px 0 10px 0;
  font-size: 20px;
}

.recipe-intro {
  color: #555555;
  font-size: 18px;
  margin: 0 0 10px 0;
}

.recipe-content ul,
.recipe-content ol {
  padding-left: 22px;
  margin: 0;
}

.meta {
  margin-top: 18px;
  color: #8b6f47;
  font-weight: bold;
}

.hidden {
  display: none;
}

.secret-chat {
  margin-top: 50px;
  padding: 24px;
  border: 1px solid #ece7df;
  border-radius: 18px;
  background: #faf8f4;
}

.secret-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.secret-header h2 {
  margin: 0;
  font-size: 28px;
}

.chat-window {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.message {
  max-width: 75%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 16px;
  word-wrap: break-word;
}

.message.right {
  align-self: flex-end;
  background: #f1dcc2;
  color: #3d2b18;
}

.empty-chat {
  color: #7a7a7a;
  font-style: italic;
}

.chat-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

#message-input {
  flex: 1 1 260px;
  padding: 14px 16px;
  border: 1px solid #d8d0c3;
  border-radius: 12px;
  font-size: 16px;
}

.send-btn,
.clear-btn {
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 15px;
}

.send-btn {
  background: #8b6f47;
  color: white;
}

.clear-btn {
  background: #e9e2d8;
  color: #4b3b28;
}

.send-btn:hover,
.clear-btn:hover {
  opacity: 0.92;
}

@media (max-width: 900px) {
  .hero,
  .recipe-card,
  .recipe-card.reverse {
    grid-template-columns: 1fr;
  }

  .recipe-card.reverse .recipe-photo,
  .recipe-card.reverse .recipe-content {
    order: initial;
  }

  h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .intro {
    font-size: 18px;
  }

  .hero-image img,
  .recipe-photo {
    height: 260px;
  }
}
.secret-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.close-btn,
.clear-btn {
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-size: 15px;
}

.close-btn {
  background: #d8d8d8;
  color: #333333;
}

.chat-image {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin-top: 8px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}