html, body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #faf8f5;
  color: #2c2c2c;
  line-height: 1.6;
}

a {
  color: #8b3a3a;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #6b2a2a;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background-color: #faf8f5;
  padding: 20px 0;
  border-bottom: 1px solid #e8e3de;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 28px;
  font-weight: 600;
  color: #2c2c2c;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo:hover {
  color: #8b3a3a;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  font-size: 14px;
  color: #2c2c2c;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #8b3a3a;
}

.cta-button {
  border: 1px solid #8b3a3a;
  color: #8b3a3a;
  padding: 10px 24px;
  border-radius: 2px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
}

.cta-button:hover {
  background-color: #8b3a3a;
  color: #faf8f5;
  transform: scale(1.02);
}

.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 20px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(42, 42, 42, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  color: #faf8f5;
}

.hero h1 {
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero p {
  font-size: 18px;
  margin: 0;
  line-height: 1.6;
  font-weight: 300;
}

h1, h2, h3 {
  color: #2c2c2c;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0;
}

h1 {
  font-size: 42px;
  letter-spacing: -1px;
}

h2 {
  font-size: 32px;
  margin-bottom: 20px;
  border-bottom: 2px solid #8b3a3a;
  padding-bottom: 15px;
}

h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.section {
  padding: 80px 0;
  border-bottom: 1px solid #e8e3de;
}

.intro-text {
  font-size: 16px;
  color: #2c2c2c;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
}

.rubrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.rubric-card {
  background: #fff;
  padding: 30px;
  border: 1px solid #d8d0c8;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.rubric-card:hover {
  border-color: #8b3a3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 58, 58, 0.1);
}

.rubric-card h3 {
  color: #8b3a3a;
  margin-top: 0;
  font-size: 20px;
}

.rubric-card p {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
  background: #fff;
  padding: 30px;
  border: 1px solid #d8d0c8;
  border-radius: 4px;
}

.note-item {
  padding: 15px;
  background: #faf8f5;
  border-left: 3px solid #7a8d99;
  font-size: 13px;
  color: #2c2c2c;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.product-card {
  background: #fff;
  border: 1px solid #d8d0c8;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  border-color: #8b3a3a;
  box-shadow: 0 6px 16px rgba(139, 58, 58, 0.12);
  transform: translateY(-4px);
}

.product-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 25px;
}

.product-name {
  font-size: 18px;
  font-weight: 600;
  color: #2c2c2c;
  margin: 0 0 12px 0;
}

.product-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  line-height: 1.6;
  min-height: 42px;
}

.product-price {
  font-size: 20px;
  font-weight: 600;
  color: #8b3a3a;
  margin: 15px 0;
}

.product-note {
  font-size: 12px;
  color: #999;
  font-style: italic;
  margin: 15px 0;
  padding: 10px;
  background: #faf8f5;
  border-left: 2px solid #7a8d99;
}

.product-button {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid #8b3a3a;
  color: #8b3a3a;
  background: transparent;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
  font-weight: 500;
}

.product-button:hover {
  background-color: #8b3a3a;
  color: #faf8f5;
  transform: scale(1.02);
}

.faq {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.faq-item h4 {
  font-size: 16px;
  color: #8b3a3a;
  margin-top: 0;
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

.content-section {
  margin-bottom: 40px;
  line-height: 1.8;
}

.content-section p {
  font-size: 15px;
  color: #2c2c2c;
  margin-bottom: 15px;
}

.content-section ul {
  font-size: 15px;
  color: #2c2c2c;
  line-height: 1.8;
  margin-bottom: 20px;
}

.content-section li {
  margin-bottom: 10px;
}

.rubric-filter {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.rubric-filter button {
  border: 1px solid #7a8d99;
  background: transparent;
  color: #7a8d99;
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.rubric-filter button:hover,
.rubric-filter button.active {
  background-color: #7a8d99;
  color: #faf8f5;
  border-color: #7a8d99;
}

.intro-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.rule-box {
  padding: 20px;
  background: #fff;
  border-left: 4px solid #8b3a3a;
  border-radius: 2px;
}

.rule-box h4 {
  font-size: 15px;
  color: #8b3a3a;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rule-box p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

footer {
  background-color: #2c2c2c;
  color: #faf8f5;
  padding: 60px 0;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #faf8f5;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #bbb;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #faf8f5;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #999;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.contact-form {
  max-width: 600px;
  margin: 40px 0;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #2c2c2c;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #d8d0c8;
  border-radius: 2px;
  font-family: inherit;
  font-size: 14px;
  color: #2c2c2c;
  background-color: #fff;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b3a3a;
  box-shadow: 0 0 0 3px rgba(139, 58, 58, 0.1);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 13px;
}

.form-checkbox input {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #8b3a3a;
}

.form-checkbox label {
  margin: 0;
  cursor: pointer;
  line-height: 1.4;
  color: #666;
}

.form-checkbox a {
  color: #8b3a3a;
}

.submit-btn {
  background-color: #8b3a3a;
  color: #faf8f5;
  padding: 14px 40px;
  border: none;
  border-radius: 2px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.submit-btn:hover {
  background-color: #6b2a2a;
  transform: scale(1.02);
}

.thank-you-message {
  text-align: center;
  padding: 60px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.thank-you-message h1 {
  font-size: 42px;
  margin-bottom: 20px;
  color: #8b3a3a;
}

.thank-you-message p {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  max-width: 500px;
}

.thank-you-message a {
  border: 1px solid #8b3a3a;
  color: #8b3a3a;
  padding: 12px 30px;
  border-radius: 2px;
  display: inline-block;
  transition: all 0.3s ease;
}

.thank-you-message a:hover {
  background-color: #8b3a3a;
  color: #faf8f5;
  transform: scale(1.02);
}

@media (max-width: 768px) {
  nav {
    gap: 15px;
  }

  nav a {
    font-size: 12px;
  }

  .cta-button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .hero {
    min-height: 300px;
    padding: 40px 20px;
  }

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

  .hero p {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 18px;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .intro-rules {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .header-content {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  nav a {
    font-size: 11px;
  }

  .logo {
    font-size: 22px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 16px;
  }

  .rubrics {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
