:root {
  --primary-color: #2F5D4C;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
  --spacing-base: 40px;
  --radius: 4px;
  --transition: 0.32s ease-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.8;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  margin-top: 40px;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 30px;
}

p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--text-dark);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

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

nav a {
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: color var(--transition);
}

nav a:hover {
  color: var(--primary-color);
}

/* Main content with header offset */
main {
  margin-top: 80px;
  padding: 0 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero block */
.hero {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  padding: 60px 40px;
  text-align: center;
  margin-bottom: 60px;
  margin-top: 40px;
}

.hero h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-image {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius);
}

/* Section blocks */
section {
  margin-bottom: 60px;
}

.section-title {
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
  margin-bottom: 30px;
}

/* Two-column layout for content + image */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-text {
  padding: 20px;
}

.content-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  transition: transform var(--transition);
}

.content-image img:hover {
  transform: scale(1.02);
}

/* Product cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background-color: var(--bg-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid var(--border-color);
}

.product-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(47, 93, 76, 0.08);
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

.product-content p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* CTA Links */
.cta-link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  transition: all var(--transition);
  margin-top: 15px;
}

.cta-link:hover {
  color: var(--text-dark);
  transform: translateX(4px);
}

.cta-link::after {
  content: ' →';
  margin-left: 5px;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: #ffffff;
  padding: 50px 40px 30px;
  margin-top: 80px;
  font-size: 0.9rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 1rem;
}

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

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

.footer-section a {
  color: #cccccc;
  transition: color var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 30px;
  text-align: center;
  color: #999999;
}

.footer-bottom p {
  color: #999999;
  font-size: 0.85rem;
  margin: 0;
}

.footer-links {
  text-align: center;
  margin-bottom: 15px;
}

.footer-links a {
  margin: 0 15px;
  color: #cccccc;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  padding: 20px 40px;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  max-height: 150px;
  overflow-y: auto;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--primary-color);
  font-weight: 600;
}

.cookie-button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color var(--transition);
  white-space: nowrap;
}

.cookie-button:hover {
  background-color: #1e4237;
}

/* Disclaimer block */
.disclaimer {
  background-color: var(--bg-light);
  border-left: 4px solid var(--primary-color);
  padding: 20px 25px;
  border-radius: var(--radius);
  margin: 40px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.disclaimer strong {
  color: var(--text-dark);
}

/* Contact form */
.contact-form {
  max-width: 600px;
  margin: 30px 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.form-group button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color var(--transition);
}

.form-group button:hover {
  background-color: #1e4237;
}

/* Educational message */
.educational-message {
  text-align: center;
  padding: 30px 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  margin: 40px 0;
}

/* Responsive design */
@media (max-width: 768px) {
  main {
    padding: 0 20px;
  }

  .header-container {
    padding: 0 20px;
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

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

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

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

  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .cookie-button {
    width: 100%;
  }

  footer {
    padding: 40px 20px 20px;
  }

  .hero {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  main {
    padding: 0 15px;
  }

  .header-container {
    padding: 0 15px;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  nav {
    gap: 10px;
    font-size: 0.9rem;
  }

  body {
    font-size: 15px;
  }
}
