:root {
  --primary-color: #3D7A5E;
  --secondary-color: #2A5C45;
  --accent-color: #5A9F77;
  --light-color: #EDF7F2;
  --dark-color: #1A3A2A;
  --gradient-primary: linear-gradient(135deg, #3D7A5E 0%, #2A5C45 100%);
  --hover-color: #256048;
  --background-color: #F6FCF9;
  --text-color: #263830;
  --border-color: rgba(61, 122, 94, 0.22);
  --divider-color: rgba(42, 92, 69, 0.12);
  --shadow-color: rgba(61, 122, 94, 0.13);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255, 255, 255, 0.18);
  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 {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2rem 2rem 2rem 7rem;
  box-shadow: 0 4px 14px var(--shadow-color);
  text-align: left;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--gradient-primary);
  border-radius: 16px 0 0 16px;
}

.feature-card:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 28px rgba(61, 122, 94, 0.22);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 2.6rem;
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #EDF7F2 0%, #C8EBD9 100%);
  border: 2px solid var(--primary-color);
  border-radius: 14px;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  background: var(--gradient-primary);
  color: white;
  border-color: var(--highlight-color);
  box-shadow: 0 4px 14px rgba(61, 122, 94, 0.35);
}

/* Testimonial */
.testimonial {
  transition: all 0.3s ease;
  border: 2px solid var(--border-color);
  position: relative;
  background: white;
  padding: 2.5rem 2.5rem 2.5rem 3.5rem;
  margin: 1.5rem 0;
  border-radius: 15px;
  box-shadow: 0 4px 12px var(--shadow-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  font-size: 4rem;
  line-height: 1;
  font-family: var(--main-font);
  color: var(--accent-color);
  opacity: 0.4;
}

.testimonial::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 15px 0 0 15px;
}

.testimonial:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 22px rgba(61, 122, 94, 0.2);
}

/* FAQ */
.faq-item {
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  background: white;
  padding: 2rem 2rem 2rem 3.5rem;
  margin: 1.5rem 0;
  border-radius: 15px;
  box-shadow: 0 3px 10px var(--shadow-color);
}

.faq-item::before {
  content: '?';
  position: absolute;
  top: 1.5rem;
  left: -15px;
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.3rem;
}

.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 24px rgba(61, 122, 94, 0.18);
  border-color: var(--primary-color);
}

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  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(61, 122, 94, 0.1);
  transform: scale(1.01);
}

input:hover, textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px var(--shadow-color);
}

/* Button */
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: 50px;
  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 6px 16px rgba(61, 122, 94, 0.35);
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(61, 122, 94, 0.42);
  background: linear-gradient(135deg, #2A5C45 0%, #1A3A2A 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.7;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.4rem; }
  .container { padding: 0 1.5rem; }
  .feature-card { padding: 1.8rem 1.5rem 1.8rem 5.5rem; }
  .feature-icon { width: 58px; height: 58px; font-size: 2rem; left: 1rem; }
  .testimonial, .faq-item { padding: 1.8rem; }
  #contact .grid { max-width: 100% !important; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .feature-card { padding: 1.5rem 1.2rem 1.5rem 5rem; }
  .testimonial, .faq-item { margin: 1rem 0; padding: 1.5rem; }
}

@media (min-width: 768px) {
  #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 12px rgba(61, 122, 94, 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% 10%, rgba(61, 122, 94, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(90, 159, 119, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(42, 92, 69, 0.04) 0%, transparent 60%);
  background-size: 900px 900px, 1000px 1000px, 750px 750px;
  background-position: 0 0, 100% 100%, 50% 0;
}

.info-banner {
  background: linear-gradient(135deg, #EDF7F2 0%, #C8EBD9 100%);
  color: var(--text-color);
  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;
}