:root {
  --primary-color: #9C6B2E;
  --secondary-color: #7A5020;
  --accent-color: #C0E0B1;
  --light-color: #EDE0CE;
  --dark-color: #1C1208;
  --gradient-primary: linear-gradient(135deg, #9C6B2E 0%, #7A5020 100%);
  --hover-color: #845C25;
  --background-color: #FAF7F2;
  --text-color: #2E2010;
  --border-color: rgba(156, 107, 46, 0.2);
  --divider-color: rgba(122, 80, 32, 0.15);
  --shadow-color: rgba(156, 107, 46, 0.13);
  --highlight-color: #C0E0B1;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Inter', sans-serif;
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--border-color);
}
.hamburger .line {
  width: 24px;
  height: 2px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 1px;
}
#menu-toggle { display: none; }
#menu-toggle:checked ~ .mobile-nav {
  max-height: 350px;
  opacity: 1;
}
.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid var(--border-color);
  z-index: 1000;
}
.mobile-nav ul { padding: 2rem; margin: 0; list-style: none; }
.mobile-nav li { margin: 0.8rem 0; }
.mobile-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--text-color);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid transparent;
}
.mobile-nav a:hover { color: var(--primary-color); border-bottom-color: var(--primary-color); }

/* Feature Cards — картка з великою іконкою зверху на кольоровому фоні */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.feature-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px var(--shadow-color);
}
.feature-card-header {
  background: var(--gradient-primary);
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.feature-card:nth-child(2n) .feature-card-header {
  background: linear-gradient(135deg, #7A5020 0%, #5c3a12 100%);
}
.feature-card:nth-child(3n) .feature-card-header {
  background: linear-gradient(135deg, #6b8c5a 0%, #4a6b3a 100%);
}
.feature-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.feature-card:hover .feature-icon {
  background: rgba(255,255,255,0.35);
  transform: scale(1.1);
}
.feature-card-header h3 {
  color: white;
  font-family: var(--main-font);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}
.feature-card-body {
  padding: 1.6rem 2rem;
  flex: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.testimonial {
  background: white;
  border-radius: 16px;
  padding: 2.2rem 2rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-left: 5px solid var(--primary-color);
}
.testimonial:hover { transform: translateY(-3px); box-shadow: 0 8px 30px var(--shadow-color); }
.testimonial::after {
  content: '❝';
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 3rem;
  color: var(--light-color);
  line-height: 1;
}

/* FAQ Items */
.faq-item {
  background: white;
  border-radius: 14px;
  margin: 1rem 0;
  box-shadow: 0 3px 16px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.5rem;
  border-bottom: 4px solid var(--primary-color);
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px var(--shadow-color);
  border-bottom-color: var(--accent-color);
}
.faq-item h3 { margin-bottom: 1rem; display: flex; align-items: flex-start; gap: 0.8rem; }
.faq-item h3::before { content: 'Q'; font-weight: 800; color: var(--primary-color); font-size: 1.1rem; flex-shrink: 0; font-family: var(--main-font); }

/* 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 1.4rem;
  background-color: white;
  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 4px rgba(156, 107, 46, 0.1);
}
input:hover, textarea:hover { border-color: var(--secondary-color); }

/* Buttons */
button, .btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 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 4px 16px rgba(156, 107, 46, 0.3);
}
button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(156, 107, 46, 0.42);
}

/* Typography */
html { scroll-behavior: smooth; }
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.75;
  max-width: 100vw;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--main-font); font-weight: 700; color: var(--primary-color); }

/* Stat Cards */
.stat-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all 0.3s ease;
}
.stat-card:hover { transform: translateY(-3px); box-shadow: 0 6px 28px var(--shadow-color); }
.stat-number { font-size: 2.2rem; font-weight: 700; color: var(--primary-color); font-family: var(--main-font); line-height: 1; }
.stat-text { font-size: 0.95rem; color: var(--text-color); margin-top: 0.6rem; font-weight: 500; }

/* Header */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.5rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px var(--shadow-color);
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Pattern background */
.pattern-bg {
  background-color: var(--background-color);
  background-image:
    repeating-linear-gradient(135deg, transparent, transparent 24px, rgba(156, 107, 46, 0.03) 24px, rgba(156, 107, 46, 0.03) 48px),
    repeating-linear-gradient(45deg, transparent, transparent 24px, rgba(192, 224, 177, 0.04) 24px, rgba(192, 224, 177, 0.04) 48px);
}

/* Tips cards block */
.tips-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.tip-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
}
.tip-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}
.tip-emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.tip-card h4 {
  color: white;
  font-family: var(--main-font);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.tip-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  line-height: 1.55;
}
.tip-number {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 20px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.06em;
  font-family: var(--alt-font);
}

/* Responsive */
* { box-sizing: border-box; }
body { overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 2rem; }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }
  .hero h1 { font-size: 2.1rem; line-height: 1.25; padding: 0 1rem; }
  .container { padding: 0 1rem; max-width: 100vw; }
  .features-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.5rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { margin: 1rem 0; max-width: 100%; word-wrap: break-word; }
  .contact-block { max-width: 100% !important; }
  .tips-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; line-height: 1.25; padding: 0 0.5rem; }
  .hero p { font-size: 1rem; padding: 0 0.5rem; }
  .faq-item { padding: 1.5rem 1rem; }
  .stat-number { font-size: 1.7rem; }
  .container { padding: 0 0.5rem; }
  input, textarea { font-size: 16px; padding: 1rem; }
  .btn { padding: 1rem 2rem; font-size: 0.9rem; }
  .tips-row { grid-template-columns: 1fr; }
}