:root {
  --header-h: 88px;
  --dark-green: #063b22;
  --green: #0f8f4f;
  --bright-green: #16c76f;
  --white: #ffffff;
  --soft: #eafff2;
  --text: #102016;
  --light-text: #e7fff0;
  --muted: #537060;
  --line: rgba(6, 59, 34, 0.14);
  --shadow: 0 18px 50px rgba(6, 59, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

#home {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-green);
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--dark-green), var(--bright-green));
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(15, 143, 79, 0.22);
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
}

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

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-switcher a {
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.84rem;
}

.language-switcher a.is-active {
  background: var(--soft);
  color: var(--dark-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--dark-green);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-6px);
}

.menu-toggle span::after {
  transform: translateY(4px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--bright-green);
  color: var(--dark-green);
  box-shadow: 0 12px 24px rgba(22, 199, 111, 0.25);
}

.btn-primary:hover {
  color: var(--dark-green);
  box-shadow: 0 14px 32px rgba(22, 199, 111, 0.35);
}

.btn-secondary {
  border-color: rgba(231, 255, 240, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.btn-secondary:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  padding: 48px 0 58px;
  background:
    radial-gradient(circle at 20% 20%, rgba(22, 199, 111, 0.18), transparent 34%),
    linear-gradient(135deg, #063b22, #096138 62%, #0f8f4f);
  color: var(--light-text);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

.hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: #baffd5;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--dark-green);
  line-height: 1.12;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.04;
  margin: 12px 0 16px;
}

.hero-intro {
  max-width: 780px;
  margin: 0 auto;
  color: var(--light-text);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-actions {
  justify-content: center;
  margin-top: 24px;
}

.feature-row {
  width: min(100%, 900px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 14px 16px;
  min-height: auto;
  border: 1px solid rgba(231, 255, 240, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.feature-card strong {
  display: block;
  font-size: 0.98rem;
}

.feature-card span {
  display: block;
  margin-top: 4px;
  color: #d8ffe6;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hero-banner {
  width: min(100%, 1120px);
  margin: 28px auto 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.hero-banner img {
  width: 100%;
  display: block;
  aspect-ratio: 21 / 8;
  max-height: 430px;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 56px 0;
}

.section.alt {
  background: var(--soft);
}

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.section h2 {
  margin: 0 0 16px;
  line-height: 1.15;
}

.section-head p {
  margin: 12px 0 0;
  color: var(--muted);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 420px);
  gap: 24px;
  align-items: start;
}

.content-grid.reverse {
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 420px);
}

.content-grid .media-card {
  order: 2;
}

.text-card,
.info-card,
.media-card {
  border-radius: 18px;
  border: 1px solid rgba(6, 59, 34, 0.12);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(6, 59, 34, 0.1);
}

.media-card {
  overflow: hidden;
  align-self: start;
}

.media-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.text-card {
  padding: 24px 28px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.section-copy {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-copy-centered {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-copy-centered h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-copy-centered p {
  max-width: 860px;
  margin: 0 auto 18px;
  text-align: center;
  line-height: 1.65;
}

.section-copy-centered .section-actions {
  justify-content: center;
}

.section-copy-centered p:last-child {
  margin-bottom: 0;
}

.text-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 58px rgba(6, 59, 34, 0.16);
}

.text-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  padding-left: 22px;
  position: relative;
}

.mini-list li::before {
  position: absolute;
  left: 0;
  top: 0.67em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bright-green);
  content: "";
}

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

.info-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px;
}

.info-card p {
  flex: 1;
  line-height: 1.58;
}

.info-card h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(6, 59, 34, 0.08);
}

.faq-question {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border: 0;
  background: var(--white);
  color: var(--dark-green);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font: inherit;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  flex: 0 0 auto;
  content: "+";
  color: var(--green);
  font-size: 1.35rem;
  line-height: 1;
}

.faq-item.is-open .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-item.is-open .faq-answer {
  max-height: 460px;
}

.faq-answer p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.responsible-note {
  padding: 22px;
  border: 1px solid rgba(22, 199, 111, 0.3);
  border-radius: 8px;
  background: #f6fff9;
  color: var(--dark-green);
  font-weight: 750;
}

.site-footer {
  padding: 34px 0;
  background: var(--dark-green);
  color: var(--light-text);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-grid p {
  margin: 6px 0 0;
  color: #c8f8d8;
  font-size: 0.94rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: var(--light-text);
}

@media (max-width: 1200px) {
  .container {
    width: min(1040px, calc(100% - 36px));
  }
}

@media (max-width: 1024px) {
  .main-nav {
    gap: 12px;
    font-size: 0.86rem;
  }

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

  .content-grid .media-card,
  .content-grid.reverse .media-card {
    order: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 76px;
  }

  html {
    scroll-padding-top: calc(var(--header-h) + 18px);
  }

  section[id] {
    scroll-margin-top: calc(var(--header-h) + 18px);
  }

  #home {
    scroll-margin-top: calc(var(--header-h) + 18px);
  }

  .header-inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    inset: 66px 0 auto 0;
    max-height: calc(100vh - 66px);
    padding: 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 44px rgba(6, 59, 34, 0.16);
    display: grid;
    grid-template-columns: 1fr;
    transform: translateY(-120%);
    transition: transform 220ms ease;
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateY(0);
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 34px 0 38px;
  }

  .hero-copy {
    max-width: 100%;
    text-align: left;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .feature-card {
    padding: 13px 14px;
  }

  .hero-banner img {
    aspect-ratio: 16 / 9;
    max-height: 240px;
    border-radius: 16px;
  }

  .section-copy-centered {
    max-width: 100%;
    text-align: left;
  }

  .section-copy-centered h2 {
    text-align: left;
  }

  .section-copy-centered p {
    max-width: 100%;
    text-align: left;
    line-height: 1.6;
  }

  .section-copy-centered .section-actions {
    justify-content: stretch;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 38px 0;
  }

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

  .content-grid,
  .content-grid.reverse,
  .cards-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .content-grid .media-card,
  .content-grid.reverse .media-card {
    order: 0;
  }

  .media-card img {
    aspect-ratio: 16 / 9;
    max-height: 220px;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 440px);
  }

  .hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .logo {
    font-size: 0.98rem;
  }

  .logo-mark {
    width: 34px;
    height: 34px;
  }

  .language-switcher a {
    padding: 3px 6px;
  }

  .hero-actions,
  .section-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .text-card,
  .info-card {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
