@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
  --color-accent: #6A8D73;
  --color-text: #333333;
  --color-light-bg: #F9F8F6;
  --color-white: #FFFFFF;
  --color-border: #E8E6E1;
  --spacing-unit: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  line-height: 1.4;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

h4 {
  font-size: 1.3rem;
  font-weight: 600;
}

h5, h6 {
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

nav {
  padding: 1rem 0;
}

.navbar-brand {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-accent);
}

.navbar-brand:hover {
  opacity: 0.8;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--color-text);
  margin-left: 2rem;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--color-accent);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

body {
  padding-top: 80px;
}

main {
  min-height: calc(100vh - 300px);
}

footer {
  background-color: var(--color-light-bg);
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}

footer p {
  margin-bottom: 1rem;
}

footer h5 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

footer a {
  display: block;
  margin-bottom: 0.5rem;
}

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

.hero {
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  margin-top: 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

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

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

.hero h1 {
  color: var(--color-white);
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero p {
  color: var(--color-white);
  font-size: 1.2rem;
}

.section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.section:last-child {
  border-bottom: none;
}

.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 2rem;
}

.section-image {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-image-right {
  order: 2;
}

.section-image-left {
  order: 1;
}

.disclaimer-block {
  background-color: var(--color-light-bg);
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.disclaimer-block h4 {
  margin-top: 0;
  color: var(--color-accent);
}

.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--color-accent);
  cursor: pointer;
}

.faq-item p {
  margin-bottom: 0;
}

.cta-block {
  background-color: var(--color-light-bg);
  padding: 3rem;
  text-align: center;
  border-radius: 4px;
  margin: 3rem 0;
}

.cta-block h3 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 3px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #5a7d63;
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--color-white);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  background-color: var(--color-light-bg);
  padding: 1.5rem;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.blog-card h4 {
  margin-top: 0;
}

.blog-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(106, 141, 115, 0.1);
}

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

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-text);
  color: var(--color-white);
  padding: 1.5rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-banner p {
  margin-bottom: 0;
  margin-right: 2rem;
}

.cookie-banner-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.links-block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.links-block-item {
  background-color: var(--color-light-bg);
  padding: 2rem;
  text-align: center;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.links-block-item:hover {
  background-color: #f0ede6;
}

.links-block-item h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.breadcrumb {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb a {
  margin-right: 0.5rem;
}

.breadcrumb a::after {
  content: ' /';
  margin-right: 0.5rem;
}

.breadcrumb a:last-child::after {
  content: '';
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero {
    height: 350px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-header {
    grid-template-columns: 1fr;
  }

  .section-image-right,
  .section-image-left {
    order: 1 !important;
  }

  .navbar-nav .nav-link {
    margin-left: 1rem;
    font-size: 0.95rem;
  }

  .blog-grid,
  .links-block {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner p {
    margin-bottom: 1rem;
    margin-right: 0;
  }

  .cookie-banner-buttons {
    width: 100%;
  }

  .cookie-banner .btn {
    flex: 1;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero {
    height: 280px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .navbar-nav .nav-link {
    margin-left: 0.5rem;
  }
}
