:root {
  --primary-color: #5D4A1E;
  --secondary-color: #3e3012;
  --accent-color: #C4873A;
  --light-color: #FBF5E9;
  --dark-color: #1c1508;
  --gradient-primary: linear-gradient(135deg, #5D4A1E 0%, #C4873A 100%);
  --hover-color: #3e3012;
  --background-color: #FDFAF3;
  --text-color: #2a2010;
  --border-color: rgba(93, 74, 30, 0.18);
  --divider-color: rgba(93, 74, 30, 0.13);
  --shadow-color: rgba(93, 74, 30, 0.12);
  --highlight-color: #F7DC6F;
  --main-font: 'Montserrat', sans-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 — "badge" стиль: иконка + цветная метка сверху, текст снизу */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--light-color);
  border-radius: 18px;
  box-shadow: 0 2px 16px var(--shadow-color);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px var(--shadow-color);
}

.feature-card-badge {
  width: 100%;
  padding: 1.4rem 1.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--border-color);
  background: white;
}

.feature-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--gradient-primary);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.1);
}

.feature-card-badge h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
}

.feature-card-body {
  padding: 1.2rem 1.6rem 1.6rem;
}

.feature-card-body p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.testimonial {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 2rem 1.8rem 1.6rem;
  box-shadow: 0 3px 16px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border-right: 4px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px var(--shadow-color);
  border-right-color: var(--primary-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: 0.6rem;
  right: 1.4rem;
  font-size: 4.5rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.2;
  line-height: 1;
}

/* FAQ Items */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.2rem;
  border-top: 3px solid var(--primary-color);
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--shadow-color);
  border-top-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.faq-item h3::before {
  content: 'Q';
  background: var(--gradient-primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  margin-top: 3px;
  flex-shrink: 0;
  font-family: var(--alt-font);
}

/* Form Styles */
input,
textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 2px solid var(--border-color);
  border-radius: 8px;
  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(93, 74, 30, 0.1);
}

input:hover,
textarea:hover {
  border-color: var(--secondary-color);
}

/* Button */
button,
.btn {
  transition: all 0.3s ease;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 1.2rem 2.6rem;
  border-radius: 8px;
  font-weight: 700;
  font-family: var(--main-font);
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 3px 14px rgba(93, 74, 30, 0.28);
  letter-spacing: 0.03em;
}

button:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(93, 74, 30, 0.38);
}

/* Typography */
html { scroll-behavior: smooth; }

body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.72;
  max-width: 100vw;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* 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 14px var(--shadow-color);
}

footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Random block — Timeline (дорожная карта дня) */
.timeline {
  position: relative;
  padding-left: 2.8rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 3px;
  background: rgba(255,255,255,0.25);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.15rem;
  top: 0.35rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid rgba(255,255,255,0.5);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.15);
}

.timeline-time {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  font-family: var(--alt-font);
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  font-family: var(--main-font);
  margin-bottom: 0.3rem;
}

.timeline-desc {
  font-size: 0.93rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.55;
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(circle at 20% 30%, rgba(196, 135, 58, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(93, 74, 30, 0.09) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 50%, rgba(247, 220, 111, 0.04) 0%, transparent 55%);
  background-size: 100% 100%;
}

/* Responsive */
* { box-sizing: border-box; }
body { overflow-x: hidden; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 2rem;
}

.contact-block {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .navigation { display: none; }
  .mobile-nav { display: block; }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.25;
    padding: 0 1rem;
  }

  .container {
    padding: 0 1rem;
    max-width: 100vw;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 0 0.3rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 0 0.3rem;
  }

  .feature-card,
  .testimonial,
  .faq-item {
    margin: 0.6rem 0;
    max-width: 100%;
    word-wrap: break-word;
  }

  .contact-block { max-width: 100% !important; }

  .timeline { padding-left: 2.2rem; }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.25;
    padding: 0 0.5rem;
  }

  .hero p {
    font-size: 0.97rem;
    padding: 0 0.5rem;
  }

  .feature-card-badge { padding: 1.1rem 1.2rem 0.9rem; }
  .feature-card-body { padding: 1rem 1.2rem 1.3rem; }

  .testimonial, .faq-item {
    padding: 1.4rem 1rem;
    max-width: 100%;
  }

  .container { padding: 0 0.5rem; }
  input, textarea { font-size: 16px; padding: 0.9rem; }

  .btn {
    padding: 0.9rem 1.6rem;
    font-size: 0.88rem;
  }
}