:root {
  --leaf: #1f6f45;
  --leaf-dark: #123c2c;
  --moss: #85a947;
  --mint: #e7f3e3;
  --sky: #d9edf2;
  --clay: #c96f3a;
  --ink: #17231e;
  --muted: #607067;
  --line: #d7e2d5;
  --paper: #fbfcf7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(22, 55, 37, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(217, 237, 242, 0.55), rgba(251, 252, 247, 0) 460px),
    var(--paper);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(201, 111, 58, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--leaf-dark);
  border-radius: 8px;
  font-weight: 850;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  background: rgba(251, 252, 247, 0.88);
  border-bottom: 1px solid rgba(215, 226, 213, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  background: var(--leaf-dark);
  border-radius: 50%;
  box-shadow: inset 0 -10px 0 rgba(255, 255, 255, 0.08);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.94rem;
  font-weight: 750;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #31423a;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--leaf-dark);
  background: var(--mint);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 50%;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px auto;
  background: var(--leaf-dark);
}

.floating-leaf {
  position: fixed;
  z-index: 2;
  right: clamp(14px, 4vw, 58px);
  bottom: clamp(18px, 5vw, 58px);
  width: clamp(76px, 10vw, 134px);
  opacity: 0.82;
  filter: drop-shadow(0 24px 28px rgba(31, 111, 69, 0.18));
  pointer-events: none;
  animation: leafFloat 7s ease-in-out infinite;
}

@keyframes leafFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-18px) rotate(7deg);
  }
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 78px));
  display: grid;
  align-items: end;
  padding: clamp(90px, 13vw, 150px) clamp(18px, 4vw, 54px) clamp(48px, 8vw, 86px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 35, 27, 0.84), rgba(14, 35, 27, 0.42) 48%, rgba(14, 35, 27, 0.12)),
    linear-gradient(0deg, rgba(16, 41, 29, 0.75), rgba(16, 41, 29, 0.05) 46%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--leaf-dark), var(--moss));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  color: var(--white);
}

.hero-content span,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--leaf-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  background: #cbe88d;
  border-radius: 999px;
  padding: 7px 12px;
}

.hero-content h1 {
  max-width: 760px;
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

.hero-button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 0;
  color: var(--white);
  font-weight: 850;
  background: var(--clay);
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(201, 111, 58, 0.24);
  cursor: pointer;
}

.hero-button:hover,
.contact-form button:hover {
  background: #aa572c;
}

.article-wrap,
.topic-cards,
.partners,
.contact-panel {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.article-wrap {
  padding: clamp(48px, 8vw, 92px) 0 28px;
}

.article-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 840px;
}

.article-content h2 {
  margin: 46px 0 12px;
  color: var(--leaf-dark);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.article-content h3 {
  margin: 30px 0 10px;
  color: #25483a;
  font-size: 1.22rem;
  line-height: 1.2;
}

.article-content p {
  margin: 0 0 18px;
  color: #33453d;
  font-size: 1.06rem;
}

.article-content ul {
  display: grid;
  gap: 10px;
  margin: 6px 0 24px;
  padding: 0;
  list-style: none;
}

.article-content li {
  position: relative;
  padding-left: 28px;
  color: #33453d;
}

.article-content li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--moss);
  border-radius: 50%;
}

.topic-cards,
.partners,
.contact-panel {
  padding: clamp(44px, 7vw, 78px) 0;
}

.topic-cards h2,
.partners h2,
.contact-panel h2 {
  margin: 14px 0 26px;
  color: var(--leaf-dark);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.topic-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(23, 35, 30, 0.08);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.topic-card span,
.topic-card strong,
.topic-card p {
  margin-right: 18px;
  margin-left: 18px;
}

.topic-card span {
  margin-top: 18px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
}

.topic-card strong {
  margin-top: 6px;
  color: var(--leaf-dark);
  font-size: 1.24rem;
  line-height: 1.2;
}

.topic-card p {
  margin-top: 10px;
  margin-bottom: 20px;
  color: var(--muted);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.partner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 86px;
  padding: 18px;
  color: var(--leaf-dark);
  background: linear-gradient(135deg, var(--white), var(--mint));
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 850;
}

.partner-card svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--clay);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.contact-panel p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.08rem;
}

.mail-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--clay);
  font-size: 1.15rem;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #3c4b44;
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cddacb;
  padding: 13px 14px;
  color: var(--ink);
  background: #f9fbf5;
  border-radius: 8px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(133, 169, 71, 0.22);
  border-color: var(--moss);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 54px);
  color: #52635a;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--leaf-dark);
  font-weight: 850;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    border-radius: 8px;
  }

  .cards-grid,
  .partner-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .floating-leaf {
    opacity: 0.46;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 620px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(14, 35, 27, 0.84), rgba(14, 35, 27, 0.46)),
      linear-gradient(0deg, rgba(16, 41, 29, 0.78), rgba(16, 41, 29, 0.05) 48%);
  }

  .partner-card {
    min-height: 72px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
