:root {
  --primary-color: #A0522D;
  --secondary-color: #7A3B1E;
  --accent-color: #C8763E;
  --light-color: #FBF4EE;
  --dark-color: #2C1A0E;
  --gradient-primary: linear-gradient(135deg, #A0522D 0%, #C8763E 100%);
  --hover-color: #8B4513;
  --background-color: #FEFAF6;
  --text-color: #3B2412;
  --border-color: rgba(160, 82, 45, 0.18);
  --divider-color: rgba(122, 59, 30, 0.12);
  --shadow-color: rgba(160, 82, 45, 0.10);
  --highlight-color: #D4AC0D;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Poppins', 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 — нумерованные с большим бейджем ===== */
.feature-card {
  background: white;
  border-radius: 14px;
  padding: 2.4rem 2rem 2rem;
  box-shadow: 0 3px 18px var(--shadow-color);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative;
  border: 1px solid var(--border-color);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 38px var(--shadow-color);
  border-color: var(--accent-color);
}
.feature-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--alt-font);
  box-shadow: 0 3px 10px rgba(160, 82, 45, 0.35);
  border: 2px solid white;
}
.feature-icon {
  font-size: 2.4rem;
  margin: 0.6rem auto 1.2rem auto;
  color: white;
  width: 68px;
  height: 68px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(160, 82, 45, 0.3);
  transition: all 0.35s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.12);
  box-shadow: 0 7px 22px rgba(160, 82, 45, 0.4);
}
.feature-divider {
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 1rem auto;
  transition: width 0.3s ease;
}
.feature-card:hover .feature-divider {
  width: 70px;
}

/* Testimonials */
.testimonial {
  background: white;
  border-radius: 14px;
  padding: 2.4rem 2rem;
  margin: 1rem 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  overflow: hidden;
}
.testimonial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}
.testimonial::after {
  content: '"';
  position: absolute;
  bottom: -20px;
  right: 16px;
  font-size: 6rem;
  opacity: 0.06;
  color: var(--primary-color);
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px var(--shadow-color);
}
.testimonial-stars {
  color: var(--highlight-color);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

/* FAQ */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  margin: 1.2rem 0;
  box-shadow: 0 2px 12px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2rem 2.2rem;
  position: relative;
  overflow: hidden;
}
.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--accent-color) transparent transparent;
  opacity: 0.5;
}
.faq-item:hover {
  box-shadow: 0 8px 28px var(--shadow-color);
  border-color: var(--primary-color);
}
.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}
.faq-item h3::before {
  content: 'Q';
  background: var(--gradient-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--alt-font);
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Form */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.1rem;
  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(160, 82, 45, 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.6rem;
  border-radius: 8px;
  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 3px 14px rgba(160, 82, 45, 0.3);
}
button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(160, 82, 45, 0.45);
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: var(--alt-font);
  color: var(--text-color);
  background: var(--background-color);
  line-height: 1.7;
  max-width: 100vw;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
h1, h2, h3 {
  font-family: var(--main-font);
  font-weight: 700;
  color: var(--primary-color);
}

/* Header & Footer */
header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  color: var(--text-color);
  padding: 1.2rem 0;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 18px var(--shadow-color);
}
footer {
  background: var(--dark-color);
  color: var(--light-color);
  padding: 3.5rem 0 1.5rem;
}

/* Focus */
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Grids */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0 2rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

/* Pattern BG */
.pattern-bg {
  background-image:
    radial-gradient(circle at 25% 15%, rgba(160, 82, 45, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 75% 85%, rgba(200, 118, 62, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 60% 40%, rgba(212, 172, 13, 0.04) 0%, transparent 50%);
  background-size: 100% 100%;
}

/* ===== Random Block V3: Таблица сравнения DOS/DON'TS ===== */
.dosdonts-block {
  width: 100%;
  background: linear-gradient(150deg, #2C1A0E 0%, #5C3317 100%);
  color: white;
  padding: 4rem 0;
}
.dosdonts-block h2 { color: white; }
.dosdonts-block .subtitle { color: rgba(255,255,255,0.78); max-width: 640px; margin: 0.6rem auto 2.5rem; text-align: center; }
.dosdonts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.dd-col {
  border-radius: 14px;
  padding: 2rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.12);
}
.dd-col.dos { background: rgba(255,255,255,0.07); }
.dd-col.donts { background: rgba(0,0,0,0.18); }
.dd-col-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.dd-col-header .badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}
.dd-col.dos .badge { background: #5A9F77; color: white; }
.dd-col.donts .badge { background: #C0392B; color: white; }
.dd-col-header h3 {
  color: var(--highlight-color);
  font-family: var(--main-font);
  font-size: 1.15rem;
  margin: 0;
}
.dd-list { list-style: none; padding: 0; margin: 0; }
.dd-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.93rem;
  color: rgba(255,255,255,0.86);
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.45;
}
.dd-list li:last-child { border-bottom: none; }
.dd-list li .mark {
  flex-shrink: 0;
  font-size: 0.9rem;
  margin-top: 1px;
}
.dd-col.dos .mark { color: #5A9F77; }
.dd-col.donts .mark { color: #E74C3C; }

/* Contact */
.contact-inner {
  width: 80%;
  margin: 0 auto;
}

/* 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.5rem; line-height: 1.2; padding: 0 1rem; }
  .container { padding: 0 1rem; max-width: 100vw; }
  .features-grid { grid-template-columns: 1fr; gap: 2.2rem; padding: 0 0.5rem; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { margin: 0.8rem 0; max-width: 100%; word-wrap: break-word; }
  .dosdonts-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-inner { width: 100%; }
  .grid { gap: 1.5rem; }
  .space-x-8 { gap: 1rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; line-height: 1.2; padding: 0 0.5rem; }
  .hero p { font-size: 1rem; padding: 0 0.5rem; }
  .feature-card, .testimonial, .faq-item { padding: 1.5rem 1rem; max-width: 100%; }
  .container { padding: 0 0.5rem; }
  input, textarea { font-size: 16px; padding: 1rem; }
  .btn { padding: 1rem 2rem; font-size: 0.95rem; }
}