:root {
  --color-primary: #25671e;
  --color-secondary: #48a111;
  --color-accent: #f2b50b;
  --color-surface: #f7f0f0;
  --color-surface-strong: #ebe2e2;
  --color-text: #1e2a1a;
  --color-white: #ffffff;
  --font-body: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-heading: "Avenir Next Demi Bold", "Gill Sans", "Segoe UI", Arial, sans-serif;
  --shadow-strong: 0 20px 40px rgba(37, 103, 30, 0.16);
  --shadow-soft: 0 10px 25px rgba(37, 103, 30, 0.12);
  --shadow-hover: 0 14px 30px rgba(37, 103, 30, 0.22);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: linear-gradient(160deg, var(--color-surface), #fcf7f7 48%, var(--color-surface-strong));
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: var(--space-2);
  top: var(--space-2);
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 240, 240, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(37, 103, 30, 0.12);
}

header section {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2);
  text-align: center;
}

.logo-wrap {
  display: block;
}

.logo-dot {
  display: block;
}

.logo-dot img {
  width: 4rem;
  position: relative;
  z-index: 20;
}

.logo-dot img {
  display: inline-block;
  transform: rotate(-5deg);
  transition: transform var(--transition-normal);
}

.logo-dot:hover img {
  transform: rotate(0);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .logo-dot img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 768px) {
  .logo-dot img {
    width: 3rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 576px) {
  .logo-dot img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

@media (max-width: 400px) {
  .logo-dot img {
    width: 2rem;
    position: relative;
    z-index: 20;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
  margin: 0 0 var(--space-2);
}

p {
  margin: 0 0 var(--space-2);
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--space-1);
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
  margin: var(--space-2) 0 0;
}

nav a {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(37, 103, 30, 0.08);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-2);
}

.hero {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(12, 1fr);
  margin-bottom: var(--space-5);
}

.hero article {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.35s ease;
}

.hero article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.hero article:nth-child(1) {
  grid-column: span 7;
}

.hero article:nth-child(2) {
  grid-column: span 5;
}

.hero article:nth-child(3) {
  grid-column: span 4;
}

.hero article:nth-child(4) {
  grid-column: span 8;
}

section.cards {
  margin-bottom: var(--space-5);
}

section.cards ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

section.cards li,
.panel {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(37, 103, 30, 0.08);
}

section.cards li:hover,
.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

figure {
  margin: 0 0 var(--space-2);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
}

button,
.button-link {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.7rem 1.1rem;
  font: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

button:hover,
button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-2px);
  background: var(--color-secondary);
}

.button-link {
  display: inline-block;
}

.badge {
  display: inline-block;
  background: rgba(72, 161, 17, 0.16);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.9rem;
  margin-bottom: var(--space-1);
}

.stats-grid {
  display: grid;
  gap: var(--space-2);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 0 0 var(--space-4);
}

.stats-grid article {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-2);
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 1.6rem;
  color: var(--color-primary);
}

.timeline {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.timeline article {
  background: var(--color-white);
  border-left: 5px solid var(--color-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  box-shadow: var(--shadow-soft);
}

.faq-accordion {
  display: grid;
  gap: var(--space-1);
}

.faq-accordion details {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-2);
}

.faq-accordion summary {
  cursor: pointer;
  font-weight: 700;
}

.tabs {
  margin-bottom: var(--space-5);
}

.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  margin-bottom: var(--space-2);
}

.tab-buttons button[aria-selected="true"] {
  background: var(--color-secondary);
}

.tab-panel {
  display: none;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
}

.tab-panel.is-active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.highlight-block {
  background: radial-gradient(circle at top right, rgba(242, 181, 11, 0.18), var(--color-white) 50%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  padding: var(--space-3);
  margin-bottom: var(--space-5);
}

form {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: var(--space-3);
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 var(--space-2);
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(37, 103, 30, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.7rem;
  font: inherit;
  margin-bottom: var(--space-1);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

.error {
  color: #8f1f1f;
  min-height: 1.2rem;
  margin-bottom: var(--space-1);
}

.cookie-banner,
.cookie-settings {
  position: fixed;
  left: var(--space-2);
  right: var(--space-2);
  bottom: var(--space-2);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: var(--space-2);
  z-index: 20;
}

.cookie-settings {
  bottom: 10rem;
}

.hidden {
  display: none;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-1);
  padding-bottom: var(--space-1);
  border-bottom: 1px solid rgba(37, 103, 30, 0.15);
}

iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-2);
}

footer section {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

footer a {
  color: var(--color-white);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {

  .hero article:nth-child(1),
  .hero article:nth-child(2),
  .hero article:nth-child(3),
  .hero article:nth-child(4) {
    grid-column: span 12;
  }
}

@media (max-width: 600px) {
  main {
    padding: var(--space-3) var(--space-1);
  }

  header section {
    padding: var(--space-1);
  }

  .cookie-settings {
    bottom: 12rem;
  }
}