:root {
  --sage: #9CAF88;
  --terracotta: #E07A5F;
  --slate: #5D737E;
  --ivory: #FDF8F0;
  --dark-gray: #333333;
  --light-gray: #f9f9f9;
}

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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Karla', 'PT Sans', sans-serif;
  font-size: 18px;
  line-height: 1.69;
  color: var(--dark-gray);
  background-color: var(--ivory);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  color: var(--dark-gray);
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 36px;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

em {
  font-style: italic;
  color: var(--slate);
}

strong, .key-term {
  font-weight: 600;
  color: var(--slate);
}

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

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

a:hover {
  color: var(--terracotta);
}

header {
  position: sticky;
  top: 0;
  background-color: white;
  border-bottom: 1px solid #e0e0e0;
  padding: 1.5rem 2rem;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

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

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--sage);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo img {
  height: 36px;
  width: 36px;
  object-fit: cover;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

nav a.active {
  color: var(--sage);
  font-weight: 600;
}

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

.full-width {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
}

section {
  padding: 120px 0;
}

section:nth-child(odd) {
  background-color: var(--ivory);
}

section:nth-child(even) {
  background-color: white;
}

section.accent-gradient {
  background: linear-gradient(135deg, var(--sage) 0%, var(--ivory) 100%);
}

section.hero {
  padding: 60px 0;
  text-align: center;
  background-color: white;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
  margin-bottom: 2rem;
}

.hero-content {
  text-align: center;
  color: var(--dark-gray);
}

.hero-content h1 {
  margin-bottom: 1rem;
  color: var(--sage);
}

.hero-content p {
  font-size: 20px;
  color: var(--slate);
  margin-bottom: 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--sage);
}

.section-title h2 {
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--slate);
  font-size: 18px;
}

.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.grid.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background-color: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card h3 {
  color: var(--sage);
  margin-top: 0;
}

.image-text-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.image-text-block.reverse {
  direction: rtl;
}

.image-text-block.reverse > * {
  direction: ltr;
}

.image-text-block img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}

.image-text-block.full-width {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.image-text-block.full-width img {
  max-height: 400px;
  width: 100%;
}

.content-block {
  padding: 2rem;
}

.cta-button {
  display: inline-block;
  background-color: var(--sage);
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.cta-button:hover {
  background-color: var(--terracotta);
  transform: scale(1.05);
}

.cta-button-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--sage);
  padding: 12px 28px;
  border: 2px solid var(--sage);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 16px;
}

.cta-button-outline:hover {
  background-color: var(--sage);
  color: white;
}

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

.blog-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-top: 0;
  color: var(--sage);
}

.blog-card p {
  margin-bottom: 1rem;
  color: var(--slate);
  font-size: 16px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: white;
  border-left: 4px solid var(--sage);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
  font-weight: 600;
  color: var(--sage);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.faq-toggle {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  color: var(--dark-gray);
  line-height: 1.69;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  background-color: var(--dark-gray);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--sage);
  font-size: 18px;
  margin-bottom: 1rem;
  margin-top: 0;
}

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

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

.footer-section a {
  color: #cccccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

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

.footer-section p {
  font-size: 14px;
  color: #cccccc;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.footer-disclaimer {
  color: var(--sage);
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

form {
  max-width: 600px;
  margin: 2rem auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Karla', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(156, 175, 136, 0.1);
}

.form-disclaimer {
  background-color: #f5f5f5;
  padding: 1rem;
  border-left: 4px solid var(--terracotta);
  margin-bottom: 1.5rem;
  font-size: 14px;
  color: var(--dark-gray);
  border-radius: 4px;
}

.disclaimer-block {
  background-color: #f5f5f5;
  padding: 1.5rem;
  border-left: 4px solid var(--slate);
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.69;
}

.disclaimer-title {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 1rem;
}

.thank-you-container {
  text-align: center;
  padding: 4rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-container h1 {
  color: var(--sage);
  font-size: 36px;
}

.thank-you-container p {
  font-size: 18px;
  color: var(--slate);
  margin-bottom: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 2000;
  display: none;
  animation: slideUp 0.3s ease;
  max-height: 30vh;
  overflow-y: auto;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.cookie-text {
  flex: 1;
  min-width: 250px;
}

.cookie-text p {
  margin: 0;
  font-size: 14px;
  color: var(--dark-gray);
  line-height: 1.5;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  min-width: 300px;
  justify-content: flex-end;
  align-items: center;
}

.cookie-button {
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.cookie-accept:hover {
  background-color: var(--terracotta);
}

.cookie-reject {
  background-color: #e0e0e0;
  color: var(--dark-gray);
}

.cookie-reject:hover {
  background-color: #d0d0d0;
}

.cookie-learn {
  color: var(--sage);
  text-decoration: underline;
}

.cookie-learn:hover {
  color: var(--terracotta);
}

.closing-invitation {
  text-align: center;
  padding: 3rem 2rem;
  background-color: white;
  border-top: 2px solid var(--sage);
}

.closing-invitation h2 {
  color: var(--sage);
}

.closing-invitation p {
  font-size: 18px;
  color: var(--slate);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  section {
    padding: 60px 0;
  }

  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 14px;
  }

  .grid.two-column,
  .image-text-block {
    grid-template-columns: 1fr;
  }

  .image-text-block.reverse {
    direction: ltr;
  }

  .grid.three-column {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }

  .cookie-content {
    flex-direction: column;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  header {
    padding: 1rem;
  }

  header .container {
    flex-wrap: wrap;
  }

  nav ul {
    width: 100%;
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  body {
    font-size: 16px;
  }

  section {
    padding: 40px 0;
  }

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

  .container,
  footer .container {
    padding: 0 1rem;
  }
}
