:root {
  --primary-color: #6B3D5E;
  --secondary-color: #4D2A43;
  --accent-color: #C495B8;
  --light-color: #F7F0F5;
  --dark-color: #2B172A;
  --gradient-primary: linear-gradient(135deg, #845070 0%, #6B3D5E 100%);
  --hover-color: #4D2A43;
  --background-color: #FAF5F9;
  --text-color: #351E30;
  --border-color: rgba(107, 61, 94, 0.18);
  --divider-color: rgba(77, 42, 67, 0.12);
  --shadow-color: rgba(107, 61, 94, 0.11);
  --highlight-color: #3AB89A;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', sans-serif;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: rgba(255,255,255,0.15);
  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(--secondary-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.1rem 1.6rem;
  color: var(--light-color); text-decoration: none;
  border-radius: 10px; transition: all 0.3s ease;
  font-size: 1.05rem; font-weight: 500; border: 2px solid transparent;
}
.mobile-nav a:hover {
  background-color: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(5px);
}

/* Feature Cards — плитки с цветным фоном-заголовком */
.feature-card {
  transition: all 0.35s ease;
  position: relative;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 18px var(--shadow-color);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}
.feature-card-header {
  background: var(--gradient-primary);
  padding: 1.6rem 1.8rem 1rem 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.feature-card:nth-child(2) .feature-card-header { background: linear-gradient(135deg, #5A8A6A 0%, #3D6B4F 100%); }
.feature-card:nth-child(3) .feature-card-header { background: linear-gradient(135deg, #2A4D38 0%, #172B1F 100%); }
.feature-card:nth-child(4) .feature-card-header { background: linear-gradient(135deg, #D4823A 0%, #B06328 100%); }
.feature-card:nth-child(5) .feature-card-header { background: linear-gradient(135deg, #4E8463 0%, #2A4D38 100%); }
.feature-card:nth-child(6) .feature-card-header { background: linear-gradient(135deg, #3D6B4F 0%, #172B1F 100%); }
.feature-card-body {
  padding: 1.4rem 1.8rem 1.8rem 1.8rem;
  flex: 1;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(61,107,79,0.2);
}
.feature-icon {
  font-size: 2rem;
  width: 54px; height: 54px;
  display: flex; justify-content: center; align-items: center;
  background: rgba(255,255,255,0.2);
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.3);
  transition: all 0.4s ease;
  flex-shrink: 0;
  margin: 0 auto;
}
.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.35);
  transform: rotate(10deg) scale(1.1);
}
.feature-card-title {
  color: white;
  font-family: var(--main-font);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}

/* Testimonials */
.testimonial {
  transition: all 0.3s ease;
  position: relative;
  background: white;
  padding: 2rem 2rem 1.6rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 14px var(--shadow-color);
  border: 1px solid var(--border-color);
  border-bottom: 4px solid var(--primary-color);
}
.testimonial:nth-child(2) { border-bottom-color: var(--highlight-color); }
.testimonial:nth-child(3) { border-bottom-color: var(--secondary-color); }
.testimonial:nth-child(4) { border-bottom-color: var(--accent-color); }
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(61,107,79,0.18);
}

/* 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.4rem 0;
  border-radius: 16px;
  box-shadow: 0 3px 10px var(--shadow-color);
}
.faq-item::before {
  content: '?';
  position: absolute; top: 1.5rem; left: -15px;
  width: 36px; height: 36px;
  background: var(--gradient-primary); color: white;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: bold; font-size: 1.2rem;
}
.faq-item:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 22px rgba(61,107,79,0.18);
  border-color: var(--primary-color);
}

input, textarea {
  transition: all 0.3s ease; font-family: var(--alt-font);
  border: 2px solid var(--border-color); border-radius: 10px;
  padding: 1.1rem; 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,107,79,0.12); transform: scale(1.01);
}
input:hover, textarea:hover {
  border-color: var(--secondary-color);
  box-shadow: 0 3px 10px var(--shadow-color);
}

button, .btn {
  transition: all 0.3s ease; position: relative; overflow: hidden;
  background: var(--gradient-primary); color: white; border: none;
  padding: 1.2rem 2.6rem; 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,107,79,0.35);
  text-transform: uppercase; letter-spacing: 1px;
}
button:hover, .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(61,107,79,0.42);
  background: linear-gradient(135deg, #2A4D38 0%, #172B1F 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.1rem; }
  .container { padding: 0 1.5rem; }
  .feature-card-body { padding: 1.2rem 1.4rem 1.4rem; }
  .feature-card-header { padding: 1.2rem 1.4rem 0.8rem; }
  .feature-icon { width: 46px; height: 46px; font-size: 1.7rem; }
  .testimonial, .faq-item { padding: 1.7rem; }
  #contact .grid { max-width: 100% !important; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.85rem; }
  .testimonial, .faq-item { margin: 0.9rem 0; padding: 1.4rem; }
}
@media (min-width: 768px) {
  #contact .grid { max-width: 80% !important; }
}

header {
  background: var(--primary-color); color: var(--light-color);
  padding: 1.4rem 0; position: relative; z-index: 1000;
  box-shadow: 0 3px 12px rgba(61,107,79,0.28);
}
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;
}

.active-link {
  position: relative;
  font-weight: 600;
}
.active-link::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0; right: 0;
  height: 3px;
  background: var(--highlight-color);
  border-radius: 2px;
}

/* Pattern: soft dots */
.pattern-bg {
  background-color: var(--background-color);
  background-image: radial-gradient(circle, rgba(61,107,79,0.10) 1px, transparent 1px);
  background-size: 22px 22px;
}

.info-banner {
  background: linear-gradient(135deg, #D8EDE0 0%, #A8CFBA 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; }

/* Step list for about */
.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.step-num {
  min-width: 48px; height: 48px;
  background: var(--gradient-primary);
  color: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; font-family: var(--main-font);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(61,107,79,0.25);
}
.step-content h3 { font-family: var(--main-font); font-weight: 700; margin-bottom: 0.5rem; color: var(--primary-color); }
.step-content p { color: var(--text-color); }