:root {
  --primary-color: #3A5A40;
  --secondary-color: #2D4A32;
  --accent-color: #5A9F77;
  --light-color: #F2F7F2;
  --dark-color: #1A2E1E;
  --gradient-primary: linear-gradient(135deg, #5A9F77 0%, #3A5A40 100%);
  --background-color: #F4F9F4;
  --text-color: #1E2D22;
  --border-color: rgba(90, 159, 119, 0.2);
  --divider-color: rgba(58, 90, 64, 0.12);
  --shadow-color: rgba(58, 90, 64, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Lora', serif;
  --alt-font: 'Lato', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--alt-font); color: var(--text-color); background-color: var(--background-color); line-height: 1.75; }
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; line-height: 1.3; }

header {
  background: linear-gradient(90deg, #1A2E1E 0%, #2D4A32 100%);
  color: var(--light-color);
  padding: 1.3rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 14px rgba(26,46,30,0.55);
}
header img[alt="logo"], footer img[alt="logo"] { filter: brightness(0) invert(1); }

footer { background: var(--dark-color); color: var(--light-color); padding: 2rem 0 1rem; }

.hamburger {
  display: none; flex-direction: column; cursor: pointer;
  padding: 8px; background: rgba(255,255,255,0.08); border-radius: 8px;
}
.hamburger .line {
  width: 26px; height: 3px; background-color: var(--light-color);
  margin: 3px 0; transition: 0.3s; border-radius: 2px;
}
#menu-toggle { display: none; }
#menu-toggle:checked ~ .mobile-nav { max-height: 420px; opacity: 1; }
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--dark-color);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.32); z-index: 1000;
}
.mobile-nav ul { padding: 1.8rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.9rem 0; }
.mobile-nav a {
  display: block; padding: 0.9rem 1.3rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 10px; transition: all 0.3s ease;
  font-size: 0.98rem; font-weight: 600; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(90,159,119,0.18);
  border-color: rgba(90,159,119,0.35);
  transform: translateX(5px);
}

/* Feature cards — горизонтальные с иконкой слева */
.feature-card {
  background: white;
  border-radius: 14px;
  padding: 1.8rem 2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  display: flex;
  align-items: flex-start;
  gap: 1.4rem;
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  border-left: 5px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}
.feature-card:nth-child(even) { border-left-color: var(--highlight-color); }
.feature-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(58,90,64,0.18);
}
.feature-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #C8E8D0 0%, #A0D4B4 100%);
  border-radius: 12px;
  display: flex; justify-content: center; align-items: center;
  font-size: 1.7rem;
  flex-shrink: 0;
  transition: all 0.35s ease;
}
.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  transform: scale(1.1) rotate(4deg);
  box-shadow: 0 6px 16px rgba(58,90,64,0.28);
}
.feature-card h3 { margin-bottom: 0.4rem; }

/* Form */
input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px;
  padding: 1rem; background-color: white;
  color: var(--text-color); font-size: 1rem; width: 100%;
  box-sizing: border-box;
}
input:focus, textarea:focus {
  outline: none; border-color: var(--accent-color);
  box-shadow: 0 0 0 4px rgba(90,159,119,0.12);
}
input:hover, textarea:hover { border-color: var(--accent-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.1rem 2.6rem; border-radius: 8px; font-weight: 700;
  font-family: var(--alt-font); cursor: pointer; font-size: 1rem;
  text-decoration: none; display: inline-block; text-align: center;
  box-shadow: 0 5px 16px rgba(58,90,64,0.35);
}
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(58,90,64,0.42);
  background: linear-gradient(135deg, #2D4A32 0%, #1A2E1E 100%);
}

.active-link { position: relative; font-weight: 700; }
.active-link::after {
  content: '';
  position: absolute; bottom: -5px; left: 0; right: 0;
  height: 3px; background: var(--highlight-color); border-radius: 2px;
}

.pattern-bg {
  background-color: var(--background-color);
  background-image:
    linear-gradient(rgba(90,159,119,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(90,159,119,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

.info-banner {
  background: linear-gradient(135deg, #C8E8D0 0%, #A0D4B4 100%);
  color: var(--text-color); text-align: center;
  border-top: 4px solid var(--accent-color);
  border-bottom: 4px solid var(--accent-color);
}
.info-banner h2 { color: var(--secondary-color); margin-bottom: 1.4rem; }

.contact-wrap { width: 100%; }
@media (min-width: 768px) { .contact-wrap { width: 80%; margin: 0 auto; } }

.faq-item {
  background: white; border-radius: 14px;
  padding: 1.8rem 2rem; margin-bottom: 1.2rem;
  border: 2px solid var(--border-color);
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 3px 12px var(--shadow-color);
}
.faq-item h3 { color: var(--primary-color); font-size: 1.05rem; margin-bottom: 0.7rem; }
.faq-item p { color: var(--text-color); font-size: 0.93rem; line-height: 1.7; }

.stat-card {
  background: white; border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  border-bottom: 4px solid var(--accent-color);
}
.stat-number {
  font-size: 2.6rem; font-weight: 900;
  font-family: var(--main-font);
  color: var(--accent-color);
  line-height: 1; margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2rem; }
  .feature-card { flex-direction: column; }
}
@media (max-width: 480px) { .hero h1 { font-size: 1.75rem; } }