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

:root {
  --color-white: #fdfcf8;
  --color-green: #3d5a40;
  --color-green-dark: #314a32;
  --color-terra: #b04e38;
  --color-sand: #f1e8d4;
  --color-slate: #6c747a;
  --color-text: #333333;
  --color-border: #e0dcd6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background-color: var(--color-white);
  color: var(--color-text);
  line-height: 1.68;
  font-size: 18px;
}

html {
  scroll-behavior: smooth;
}

h1 {
  font-size: 64px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 42px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}

h3 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.25rem;
  max-width: 70ch;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--color-green);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

a:hover {
  border-bottom-color: var(--color-green);
}

button, .btn {
  background-color: var(--color-green);
  color: white;
  border: none;
  padding: 0.75rem 1.75rem;
  font-size: 17px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

button:hover, .btn:hover {
  background-color: var(--color-green-dark);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

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

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

header {
  background-color: var(--color-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease;
}

header.scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-green);
  text-decoration: none;
}

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

.nav a {
  color: var(--color-text);
  font-weight: 400;
}

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

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

section {
  padding: 100px 0;
}

.section-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-content {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 1340px;
}

footer {
  background-color: var(--color-slate);
  color: white;
  padding: 60px 0 20px;
  margin-top: 120px;
}

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

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

.footer-section h3 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 18px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-section a:hover {
  color: white;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-top: 40px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.hero-section {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 0;
}

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

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  padding: 60px 2rem;
  color: white;
  text-align: center;
}

.hero-overlay h1 {
  color: white;
  font-size: 80px;
  max-width: 900px;
  margin: 0 auto;
}

.content-section {
  background-color: var(--color-white);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.two-column.reverse > :first-child {
  order: 2;
}

.two-column.reverse > :last-child {
  order: 1;
}

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

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

.grid-card {
  background-color: var(--color-sand);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.grid-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.grid-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

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

.grid-card-content p {
  font-size: 16px;
  margin-bottom: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 50px;
  margin-top: 3rem;
}

.blog-card {
  background-color: var(--color-sand);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

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

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

.blog-card h3 {
  margin-bottom: 1rem;
  margin-top: 0;
}

.blog-card p {
  font-size: 16px;
  margin-bottom: 1.5rem;
}

.blog-card a {
  font-weight: 500;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background-color: var(--color-sand);
}

table th {
  background-color: var(--color-green);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

table td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

table tbody tr:hover {
  background-color: #f5f0e8;
}

.accordion {
  margin: 2rem 0;
}

.accordion-item {
  border: 1px solid var(--color-border);
  margin-bottom: 1rem;
  border-radius: 6px;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--color-sand);
  padding: 1.5rem;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f0e8dc;
}

.accordion-header h3 {
  margin: 0;
  font-size: 20px;
}

.accordion-toggle {
  font-size: 20px;
  color: var(--color-green);
  transition: transform 0.3s ease;
}

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

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: white;
  border-top: 1px solid var(--color-border);
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-content p {
  margin-bottom: 0;
}

.disclaimer-block {
  background-color: var(--color-sand);
  border-left: 4px solid var(--color-green);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 4px;
}

.disclaimer-block p {
  margin-bottom: 0;
  font-size: 16px;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 2px rgba(61, 90, 64, 0.1);
}

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

.form-disclaimer {
  background-color: var(--color-sand);
  padding: 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 15px;
}

.thank-you-message {
  text-align: center;
  padding: 4rem 2rem;
}

.thank-you-message h1 {
  color: var(--color-green);
  margin-bottom: 1.5rem;
}

.thank-you-message p {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.message-block {
  background-color: var(--color-sand);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.message-block p {
  margin-bottom: 0;
  font-size: 18px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight {
  color: var(--color-green);
  font-weight: 500;
}

.info-message {
  background-color: #f0f8f0;
  border-left: 4px solid var(--color-green);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 15px;
}

.centered-text {
  text-align: center;
}

.center-heading h1,
.center-heading h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.text-balance {
  word-spacing: 100vw;
}

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

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 24px;
  }

  body {
    font-size: 16px;
  }

  .header-content {
    flex-direction: column;
    gap: 1.5rem;
  }

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

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

  .two-column.reverse > :first-child {
    order: 0;
  }

  .two-column.reverse > :last-child {
    order: 0;
  }

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

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

  table {
    font-size: 14px;
  }

  table th, table td {
    padding: 0.75rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
  }

  section {
    padding: 60px 0;
  }

  .hero-overlay h1 {
    font-size: 48px;
  }
}

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

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

.cookie-message {
  flex: 1;
  min-width: 250px;
  font-size: 14px;
}

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

.cookie-buttons button {
  background-color: white;
  color: var(--color-slate);
  padding: 0.5rem 1rem;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-buttons button:hover {
  background-color: var(--color-sand);
}

.cookie-buttons .btn-accept {
  background-color: var(--color-green);
  color: white;
}

.cookie-buttons .btn-accept:hover {
  background-color: var(--color-green-dark);
}

.cookie-buttons .btn-learn-more {
  background-color: transparent;
  color: white;
  border: 1px solid white;
  padding: 0.5rem 1rem;
}

.cookie-buttons .btn-learn-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
