:root {
  --bg: #f4f5ef;
  --surface: #ffffff;
  --surface-2: #e7ecdf;
  --text: #1f2b20;
  --muted: #536153;
  --primary: #6dbf4b;
  --primary-dark: #4d9a33;
  --secondary: #2f6b3a;
  --border: #c5d3be;
  --shadow: 0 12px 30px rgba(30, 52, 31, 0.13);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #dce9d4 0%, #f4f5ef 45%);
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

a {
  color: var(--secondary);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 8px 12px;
  border: 2px solid #000;
}

.site-header {
  background: linear-gradient(90deg, #2f6b3a 0%, #3e7f47 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, #2a5f34 0%, #366f3f 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.logo:hover,
.logo:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.logo-image {
  width: 58px;
  height: 58px;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.logo-text {
  letter-spacing: 0.2px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.menu {
  display: flex;
  gap: 16px;
  align-items: center;
}

.menu a {
  color: #ffffff;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: #ffffff;
  background: rgba(109, 191, 75, 0.92);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  border: 1px solid #ffffff66;
  color: #fff;
  background: transparent;
  padding: 8px 12px;
  border-radius: 10px;
}

.hero {
  padding: 80px 0 50px;
  background:
    linear-gradient(140deg, #ffffff 0%, #f4f7ef 50%, #e8f0df 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 30px;
  align-items: stretch;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--primary-dark);
  font-weight: 700;
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  margin: 0 0 16px;
}

.intro {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 62ch;
}

.intro-list {
  margin: 0;
  padding: 0 0 0 20px;
  max-width: 62ch;
  color: var(--text);
  font-size: 1.08rem;
}

.intro-list li + li {
  margin-top: 8px;
}

.cta-row {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(77, 154, 51, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: #edf4e8;
  text-decoration: none;
  transform: translateY(-1px);
}

.hero-card {
  background: linear-gradient(165deg, #2f6b3a 0%, #3d8648 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(15, 53, 84, 0.2);
}

.hero-card h2 {
  font-size: 1rem;
  color: #ddffd1;
  margin: 8px 0;
}

.hero-card p {
  margin: 0 0 12px;
}

.section {
  padding: 66px 0;
}

.section-alt {
  background: linear-gradient(180deg, #edf3e7 0%, #f7faf3 100%);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(11, 34, 52, 0.07);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 12px;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #92b681;
  box-shadow: 0 16px 30px rgba(30, 52, 31, 0.18);
}

.tag-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li {
  background: #ffffff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.timeline > div {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 18px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.timeline > div:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(30, 52, 31, 0.16);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.contact-form {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 8px 20px rgba(11, 34, 52, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.contact-form:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(30, 52, 31, 0.18);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #a8c29c;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
  background: #f8fbf5;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #6dbf4b;
  outline-offset: 1px;
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
}

.checkbox input {
  width: auto;
  margin-top: 3px;
}

.form-note {
  color: var(--muted);
  margin: 12px 0 0;
  font-size: 0.94rem;
}

.legal {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.site-footer {
  background: #244f2d;
  color: #ffffff;
  padding: 22px 0;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: #ffffff;
  margin-right: 10px;
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: 460px;
  background: #234d2c;
  color: #fff;
  padding: 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid #ffffff33;
  display: none;
  z-index: 30;
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.not-found {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .menu {
    position: absolute;
    right: 4%;
    top: 72px;
    background: #2a5e35;
    border: 1px solid #ffffff33;
    border-radius: 12px;
    padding: 10px;
    min-width: 210px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .menu.is-open {
    display: flex;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .logo {
    gap: 8px;
  }

  .logo-image {
    width: 48px;
    height: 48px;
  }

  .logo-text {
    font-size: 0.9rem;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px) scale(0.995);
    transition:
      opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
