:root {
  --primary-color: #2C5F6E;
  --secondary-color: #1A3F4B;
  --accent-color: #3D8FA1;
  --light-color: #EAF4F7;
  --dark-color: #0D2129;
  --gradient-primary: linear-gradient(135deg, #2C5F6E 0%, #3D8FA1 100%);
  --hover-color: #1A3F4B;
  --background-color: #F2F9FB;
  --text-color: #1C3640;
  --border-color: rgba(44, 95, 110, 0.2);
  --divider-color: rgba(26, 63, 75, 0.15);
  --shadow-color: rgba(44, 95, 110, 0.12);
  --highlight-color: #F0A55A;
  --main-font: 'Lora', serif;
  --alt-font: 'Open Sans', 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: 16px;
  box-shadow: 0 6px 24px var(--shadow-color);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 16px 40px var(--shadow-color);
}

.feature-card-header {
  width: 100%;
  background: linear-gradient(135deg, #EAF4F7 0%, #D0EAF0 100%);
  padding: 1.8rem 1.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.feature-icon {
  font-size: 2.2rem;
  width: 58px;
  height: 58px;
  min-width: 58px;
  background: var(--gradient-primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(44, 95, 110, 0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(-6deg) scale(1.08);
}

.feature-card-header h3 {
  font-size: 1.05rem;
  margin: 0;
}

.feature-card-body {
  padding: 1.4rem 1.8rem 1.8rem;
  flex: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin: 2.5rem 0;
}

.testimonial {
  background: white;
  border-radius: 14px;
  padding: 2.2rem 1.8rem;
  margin: 1rem 0;
  box-shadow: 0 4px 18px var(--shadow-color);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-color);
}

.testimonial::after {
  content: '"';
  position: absolute;
  bottom: 10px;
  right: 16px;
  font-size: 5rem;
  opacity: 0.06;
  color: var(--primary-color);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-color);
}

/* FAQ */
.faq-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin: 1.2rem 0;
  box-shadow: 0 3px 14px var(--shadow-color);
  transition: all 0.3s ease;
  padding: 2.2rem;
  position: relative;
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 10px 0 0 10px;
}

.faq-item:hover {
  transform: translateX(3px);
  box-shadow: 0 6px 25px var(--shadow-color);
  border-color: var(--accent-color);
}

.faq-item h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.faq-item h3::before {
  content: '●';
  margin-right: 1rem;
  font-size: 0.8rem;
  color: var(--accent-color);
}

/* Forms */
input, textarea {
  transition: all 0.3s ease;
  font-family: var(--alt-font);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  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(44, 95, 110, 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: 6px;
  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(44, 95, 110, 0.3);
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(44, 95, 110, 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 / 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;
}

a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Pattern */
.pattern-bg {
  background-image:
    radial-gradient(ellipse at 12% 20%, rgba(44, 95, 110, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 88% 80%, rgba(61, 143, 161, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(240, 165, 90, 0.04) 0%, transparent 40%);
}

/* =============================================
   RANDOM BLOCK: Две колонки "Мешает / Помогает"
   таблица-сравнение с иконками
   ============================================= */
.compare-block {
  width: 100%;
  background: var(--background-color);
  padding: 4rem 0;
  border-top: 3px solid var(--border-color);
  border-bottom: 3px solid var(--border-color);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.compare-col {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.compare-col-header {
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.compare-col-header.bad {
  background: linear-gradient(135deg, #5D2A2A 0%, #8B3A3A 100%);
}

.compare-col-header.good {
  background: var(--gradient-primary);
}

.compare-col-header span {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: var(--main-font);
}

.compare-col-header .header-icon {
  font-size: 1.6rem;
}

.compare-rows {
  background: white;
}

.compare-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.6rem;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s;
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row:hover {
  background: var(--light-color);
}

.compare-row-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.compare-row p {
  font-size: 0.93rem;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
}

/* Tips block */
.tips-block {
  width: 100%;
  background: linear-gradient(135deg, #EAF4F7 0%, #D0E8EF 100%);
  padding: 3.5rem 0;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tip-item {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.tip-icon { font-size: 1.8rem; flex-shrink: 0; }

/* 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;
  }

  .testimonial, .faq-item {
    margin: 1rem 0;
    max-width: 100%;
    word-wrap: break-word;
  }

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tips-grid { grid-template-columns: 1fr; }
  .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; }

  .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; }
}