:root {
  --primary-color: #3A7D5A;
  --secondary-color: #2A5E42;
  --accent-color: #5A9F77;
  --light-color: #EBF5EF;
  --dark-color: #162E22;
  --gradient-primary: linear-gradient(135deg, #3A7D5A 0%, #2A5E42 100%);
  --hover-color: #245235;
  --background-color: #F4FAF6;
  --text-color: #243B2E;
  --border-color: rgba(58, 125, 90, 0.2);
  --divider-color: rgba(42, 94, 66, 0.12);
  --shadow-color: rgba(58, 125, 90, 0.1);
  --highlight-color: #F2D57F;
  --main-font: 'Lora', serif;
  --alt-font: 'Lato', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.hamburger .line {
  width: 28px;
  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: 400px;
  opacity: 1;
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--primary-color);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 1000;
}

.mobile-nav ul {
  padding: 2rem;
  margin: 0;
  list-style: none;
}

.mobile-nav li {
  margin: 1rem 0;
}

.mobile-nav a {
  display: block;
  padding: 1.2rem 1.8rem;
  color: var(--light-color);
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid transparent;
}

.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(5px);
}

/* Feature Cards — горизонтальный стиль с левой иконкой */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: white;
  border-radius: 14px;
  padding: 2rem 2.2rem;
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--primary-color);
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(58, 125, 90, 0.2);
  border-bottom-color: var(--accent-color);
}

.feature-icon {
  flex-shrink: 0;
  font-size: 2.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 68px;
  height: 68px;
  background: var(--light-color);
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
  margin: 0 auto;
}

/* Для секції features центрування іконок окремо */
.feature-card.centered {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card.centered .feature-icon {
  margin: 0 auto 1.2rem auto;
}

.feature-card:hover .feature-icon {
  background: var(--primary-color);
  color: white;
  border-color: var(--highlight-color);
  box-shadow: 0 6px 16px rgba(58,125,90,0.3);
  transform: scale(1.1);
}

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-left: 6px solid var(--primary-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-color);
  opacity: 0.18;
  font-family: Georgia, serif;
}

.testimonial:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 22px rgba(58,125,90,0.2);
  border-left-color: var(--accent-color);
}

/* FAQ */
.faq-item {
  background: white;
  border-radius: 10px;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
  box-shadow: 0 2px 10px var(--shadow-color);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 18px rgba(58,125,90,0.18);
  border-left-width: 8px;
}

/* Forms */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 1.2rem;
  background-color: white;
  color: var(--text-color);
  font-size: 1rem;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(58,125,90,0.12);
  transform: translateY(-2px);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px var(--shadow-color);
}

/* Buttons */
button,
.btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.3rem 2.8rem;
  border-radius: 10px;
  font-weight: 600;
  font-family: var(--alt-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 5px 15px rgba(58,125,90,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover,
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(58,125,90,0.4);
  background: linear-gradient(135deg, #245235 0%, #162E22 100%);
}

html { scroll-behavior: smooth; }

.hero { position: relative; background: var(--primary-color); }

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  line-height: 1.3;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.5rem; }
  .container { padding: 0 1.5rem; }
  .feature-card, .testimonial, .faq-item { padding: 1.8rem; }
  #contact .contact-grid { max-width: 100% !important; }

  .feature-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .feature-card .feature-icon {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem; }
}

@media (min-width: 768px) {
  #contact .contact-grid { max-width: 80% !important; }
}

header {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 10px rgba(58,125,90,0.25);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 2rem 0 1rem;
}

header img[alt="logo"],
footer img[alt="logo"] {
  filter: brightness(0) invert(1);
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid var(--highlight-color);
  outline-offset: 2px;
}

.pattern-bg {
  background-image:
    radial-gradient(ellipse at 10% 30%, rgba(58,125,90,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 70%, rgba(90,159,119,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 55% 15%, rgba(42,94,66,0.05) 0%, transparent 60%);
  background-size: 1000px 1000px, 850px 850px, 1200px 1200px;
  background-position: 8% 25%, 92% 75%, 55% 10%;
}

.info-banner {
  background: linear-gradient(135deg, #EBF5EF 0%, #C8E8D4 100%);
  text-align: center;
  position: relative;
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--primary-color);
}

.info-banner h2 { color: var(--primary-color); margin-bottom: 1.5rem; }

.info-banner p {
  color: var(--text-color);
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Random block: Timeline */
.timeline-block {
  background: var(--gradient-primary);
  padding: 5rem 0;
  color: white;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.timeline-dot {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--highlight-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--main-font);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.timeline-content h3 {
  color: white;
  margin-bottom: 0.4rem;
}

.timeline-content p {
  color: rgba(255,255,255,0.85);
  font-size: 0.97rem;
  margin: 0;
}

.timeline-line {
  width: 2px;
  background: rgba(255,255,255,0.25);
  margin: 0 22px;
  flex-shrink: 0;
  height: 30px;
}