:root {
  --primary-color: #2C7A5C;
  --secondary-color: #1A5940;
  --accent-color: #D4A843;
  --light-color: #EDF7F2;
  --dark-color: #0D2B1E;
  --gradient-primary: linear-gradient(135deg, #2C7A5C 0%, #1A5940 100%);
  --hover-color: #3A9970;
  --background-color: #F5FBF8;
  --text-color: #1C3528;
  --text-color-secondary: #3D6655;
  --border-color: rgba(44, 122, 92, 0.2);
  --divider-color: rgba(26, 89, 64, 0.12);
  --shadow-color: rgba(13, 43, 30, 0.1);
  --highlight-color: #D4A843;
  --main-font: 'Lora', serif;
  --alt-font: 'Open Sans', sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.75;
  margin: 0;
  padding: 0;
  width: 100%;
  min-width: 320px;
}

img { max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 1rem 0;
}

h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.2; }
h2 { font-size: clamp(1.4rem, 4vw, 2.4rem); line-height: 1.3; }
h3 { font-size: clamp(1.05rem, 3vw, 1.35rem); line-height: 1.4; }

p {
  margin: 0 0 1rem 0;
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.8;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 1.1rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 3px 18px rgba(13, 43, 30, 0.22);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 3rem; width: auto; }

.navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navigation a {
  text-decoration: none;
  color: var(--light-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.navigation a:hover { opacity: 0.75; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 9px;
  background: rgba(255,255,255,0.15);
  border-radius: 6px;
}

.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--light-color);
  margin: 3px 0;
  border-radius: 1px;
  transition: 0.3s;
}

#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(--secondary-color);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.35s ease;
  z-index: 1000;
}

.mobile-nav ul { padding: 1.5rem 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.8rem 0; }

.mobile-nav a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--light-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.3s;
}

.mobile-nav a:hover { background: rgba(255,255,255,0.1); }

/* Hero */
.hero-fullscreen {
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-fullscreen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 43, 30, 0.82) 0%, rgba(44, 122, 92, 0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Pattern */
.pattern-bg {
  position: relative;
  overflow: hidden;
}

.pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(44, 122, 92, 0.09) 2px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(212, 168, 67, 0.08) 2px, transparent 2px),
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(44, 122, 92, 0.03) 60px, rgba(44, 122, 92, 0.03) 120px);
  background-size: 35px 35px, 45px 45px, 120px 120px;
  pointer-events: none;
}

/* Feature cards — горизонтальный стиль с иконкой слева */
.feature-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 3px 16px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
}

.feature-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 28px rgba(44, 122, 92, 0.2);
  border-color: var(--accent-color);
}

.feature-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--accent-color), #b8881f);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
}

.feature-body { flex: 1; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* Random block — checklist cards */
.checklist-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem 1.8rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  border-top: 4px solid var(--accent-color);
  transition: transform 0.3s ease;
}

.checklist-card:hover { transform: translateY(-5px); }

.checklist-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--primary-color);
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-color);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  font-size: 0.97rem;
  color: var(--text-color);
}

.check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.testimonial {
  background: #ffffff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  position: relative;
  transition: box-shadow 0.3s ease;
}

.testimonial:hover {
  box-shadow: 0 8px 28px rgba(44, 122, 92, 0.18);
}

.testimonial::after {
  content: '❝';
  position: absolute;
  bottom: 1.2rem;
  right: 1.5rem;
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.2;
  line-height: 1;
}

/* FAQ */
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 12px var(--shadow-color);
  border-left: 4px solid var(--primary-color);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
  border-left-color: var(--accent-color);
  box-shadow: 0 5px 20px rgba(44, 122, 92, 0.16);
}

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  color: var(--text-color);
  font-size: 1rem;
  width: 100%;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(44, 122, 92, 0.15);
}

/* Buttons */
.btn, button[type="submit"] {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  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 3px 14px rgba(44, 122, 92, 0.35);
}

.btn:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(44, 122, 92, 0.45);
  background: linear-gradient(135deg, #3A9970 0%, #2C7A5C 100%);
}

/* Contact */
.contact-wrapper {
  width: 80%;
  margin: 0 auto;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

footer a {
  color: var(--light-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover { opacity: 0.7; }

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--highlight-color);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .contact-wrapper { width: 100%; }

  .grid-2col { grid-template-columns: 1fr !important; }

  .feature-card { flex-direction: column; }
  .feature-icon { width: 52px; height: 52px; font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 0.75rem; }
}