:root {
  --primary-color: #7A3B1E;
  --secondary-color: #5C2A12;
  --accent-color: #C97D4E;
  --light-color: #FBF2EA;
  --dark-color: #2E1508;
  --gradient-primary: linear-gradient(135deg, #A0522D 0%, #7A3B1E 100%);
  --hover-color: #8B4513;
  --background-color: #FDF6EF;
  --text-color: #3D2010;
  --border-color: rgba(122, 59, 30, 0.2);
  --divider-color: rgba(92, 42, 18, 0.15);
  --shadow-color: rgba(92, 42, 18, 0.1);
  --highlight-color: #E8C97A;
  --main-font: 'Lora', serif;
  --alt-font: 'Roboto', sans-serif;
}

/* Mobile Menu Styles */
.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 — горизонтальный стиль с левой иконкой и полосой */
.feature-card {
  background: white;
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--accent-color);
  border-radius: 12px;
  padding: 1.8rem 2rem;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(201, 125, 78, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px var(--shadow-color);
  border-left-color: var(--primary-color);
}

.feature-icon {
  font-size: 2.6rem;
  margin: 0 auto 1.2rem auto;
  color: white;
  width: 76px;
  height: 76px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(122, 59, 30, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(122, 59, 30, 0.45);
}

/* Testimonials */
.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-top: 4px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px var(--shadow-color);
  border-top-color: var(--primary-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 22px;
  font-size: 4.5rem;
  color: var(--accent-color);
  font-family: serif;
  opacity: 0.25;
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.2rem;
  position: relative;
}

.faq-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 12px 0 0 12px;
}

.faq-item:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px var(--shadow-color);
  border-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
}

.faq-item h3::before {
  content: '🫒';
  margin-right: 0.9rem;
  font-size: 1.3rem;
}

/* Form Styles */
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;
  width: 100%;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(122, 59, 30, 0.12);
}

input:hover,
textarea:hover {
  border-color: var(--accent-color);
}

/* Button Styles */
button,
.btn {
  transition: all 0.3s ease;
  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: 1.05rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 14px rgba(122, 59, 30, 0.35);
  letter-spacing: 0.02em;
}

button:hover,
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 22px rgba(122, 59, 30, 0.45);
}

/* Typography */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Statistics Cards */
.stat-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all 0.3s ease;
  position: relative;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 14px 14px 0 0;
}

.stat-number {
  font-size: 2.3rem;
  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;
}

/* Trust Indicators */
.trust-indicator {
  background: white;
  padding: 1.6rem 1.3rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 12px var(--shadow-color);
  transition: all 0.3s ease;
  text-align: center;
}

.trust-indicator:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px var(--shadow-color);
  border-color: var(--accent-color);
}

/* Header and Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.3rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 16px var(--shadow-color);
}

footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 2.8rem 0 1rem;
}

/* Focus States */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grid Layouts */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(250px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 10% 20%, rgba(201, 125, 78, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(122, 59, 30, 0.07) 0%, transparent 50%),
    repeating-linear-gradient(
      -30deg,
      transparent,
      transparent 44px,
      rgba(201, 125, 78, 0.04) 44px,
      rgba(201, 125, 78, 0.04) 45px
    );
}

/* Contact block */
.contact-inner {
  max-width: 80%;
  margin: 0 auto;
}

/* Timeline block styles */
.timeline-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.timeline-dot {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(122, 59, 30, 0.3);
}

.timeline-content {
  flex: 1;
  padding-top: 0.3rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navigation {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .container {
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-inner {
    max-width: 100%;
  }

  .timeline-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    margin: 0.9rem 0;
    padding: 1.6rem 1.2rem;
  }

  .stat-number {
    font-size: 1.9rem;
  }
}