:root {
  --primary-color: #6B2150;
  --secondary-color: #4E1439;
  --accent-color: #A8487A;
  --light-color: #F8EFF4;
  --dark-color: #2A0A1C;
  --gradient-primary: linear-gradient(135deg, #6B2150 0%, #A8487A 100%);
  --hover-color: #4E1439;
  --background-color: #FDF5F9;
  --text-color: #2E1A26;
  --border-color: rgba(107, 33, 80, 0.17);
  --divider-color: rgba(78, 20, 57, 0.14);
  --shadow-color: rgba(107, 33, 80, 0.1);
  --highlight-color: #D4A843;
  --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 v4 — плитки с цветной нижней полосой и иконкой сверху по центру */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.feature-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 3px 18px var(--shadow-color);
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 38px var(--shadow-color);
}

.feature-card-top {
  width: 100%;
  padding: 2.2rem 1.8rem 1.4rem;
  background: linear-gradient(180deg, var(--light-color) 0%, white 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-bottom {
  width: 100%;
  padding: 0 1.8rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card::after {
  content: '';
  display: block;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  position: absolute;
  bottom: 0;
  left: 0;
  border-radius: 0 0 16px 16px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 2.6rem;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(107, 33, 80, 0.25);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(107, 33, 80, 0.35);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.testimonial {
  background: white;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 4px 20px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.testimonial::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gradient-primary);
  border-radius: 14px 0 0 14px;
}

.testimonial::after {
  content: '\201C';
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 5rem;
  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);
}

/* 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;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 12px 12px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover::before { opacity: 1; }

.faq-item:hover {
  box-shadow: 0 6px 24px var(--shadow-color);
  border-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.faq-item h3::before {
  content: '?';
  min-width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* 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(107, 33, 80, 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(107, 33, 80, 0.3);
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(107, 33, 80, 0.4);
}

/* Typography */
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;
}

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.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;
}

/* Pattern bg v4 — концентрические окружности */
.pattern-bg {
  background-image:
    radial-gradient(circle at 50% 50%, rgba(107, 33, 80, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(107, 33, 80, 0.025) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(168, 72, 122, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(212, 168, 67, 0.04) 0%, transparent 35%);
}

/* Random block v4 — чек-лист советов в карточках с прогресс-баром */
.checklist-banner {
  width: 100%;
  background-color: var(--light-color);
  border-top: 3px solid var(--border-color);
  border-bottom: 3px solid var(--border-color);
  padding: 4.5rem 0;
}

.checklist-intro {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.checklist-card {
  background: white;
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 2px 12px var(--shadow-color);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.checklist-card:hover {
  box-shadow: 0 6px 22px var(--shadow-color);
  transform: translateY(-3px);
}

.checklist-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.checklist-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.checklist-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
  font-family: var(--main-font);
  line-height: 1.3;
}

.checklist-text {
  font-size: 0.92rem;
  color: var(--text-color);
  line-height: 1.55;
}

.progress-wrap {
  margin-top: 0.4rem;
}

.progress-label {
  font-size: 0.78rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* 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: 1.5rem;
    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;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-inner { width: 100%; }
}

@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-top { padding: 1.8rem 1.2rem 1.2rem; }
  .feature-card-bottom { padding: 0 1.2rem 1.6rem; }

  .testimonial,
  .faq-item { padding: 1.5rem 1rem; }

  .container { padding: 0 0.5rem; }

  input, textarea {
    font-size: 16px;
    padding: 1rem;
  }

  .btn {
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
}