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

:root {
  --primary-color: #6A8C6B;
  --bg-color: #FAFAF8;
  --text-color: #2C3E2B;
  --text-light: #5A6B59;
  --border-color: #E8EAE6;
  --white: #FFFFFF;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather Sans', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-color);
  margin-bottom: 1rem;
}

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

h2 {
  font-size: 2rem;
  font-weight: 600;
}

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

p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

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

a:hover {
  color: #556856;
  text-decoration: underline;
}

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 3.3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  width: 32px;
  height: 32px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

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

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

main {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
}

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

.hero {
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  position: relative;
}

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

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

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

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

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

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

.section-title {
  margin-bottom: 2rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.3rem;
  align-items: center;
}

.two-column img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

.cta:hover {
  background-color: #556856;
  color: var(--white);
  text-decoration: none;
}

.links-block {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.link-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.link-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.link-card h3 {
  color: var(--primary-color);
}

.faq {
  margin-top: 2rem;
}

.faq-item {
  background-color: var(--white);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
  border-radius: 4px;
}

.faq-item h4 {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  cursor: pointer;
  font-weight: 600;
}

.faq-item p {
  color: var(--text-light);
  display: none;
  margin-bottom: 0;
}

.faq-item.active p {
  display: block;
}

footer {
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 3.3rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.3rem;
}

.footer-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.footer-contact {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.footer-contact strong {
  color: var(--text-color);
}

.disclaimer {
  background-color: #F5F7F4;
  padding: 1.5rem;
  border-radius: 4px;
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: var(--text-color);
}

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

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

.form-submit {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: #556856;
}

#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--text-color);
  color: var(--white);
  padding: 1.5rem;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

#cookie-consent.hidden {
  display: none;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
}

.cookie-buttons button {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cookie-accept {
  background-color: var(--primary-color);
  color: var(--white);
}

.cookie-accept:hover {
  background-color: #556856;
}

.cookie-decline {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.blog-teaser {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 2rem;
  transition: box-shadow 0.3s ease;
}

.blog-teaser:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.blog-teaser h3 {
  color: var(--primary-color);
}

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

@media (max-width: 768px) {
  .header-content {
    padding: 1rem 1.7rem;
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav ul {
    width: 100%;
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    height: 300px;
  }

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

  .container {
    padding: 0 1.7rem;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

  .two-column.reverse {
    direction: ltr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }

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

  .cookie-buttons {
    width: 100%;
  }

  .cookie-buttons button {
    flex: 1;
  }
}
