:root {
  --primary-color: #2C6E6A;
  --secondary-color: #1d4d4a;
  --accent-color: #3FA89F;
  --light-color: #E8F5F4;
  --dark-color: #0d2422;
  --gradient-primary: linear-gradient(135deg, #2C6E6A 0%, #3FA89F 100%);
  --hover-color: #1d4d4a;
  --background-color: #F4FAFA;
  --text-color: #192e2d;
  --border-color: rgba(44, 110, 106, 0.18);
  --divider-color: rgba(44, 110, 106, 0.13);
  --shadow-color: rgba(44, 110, 106, 0.11);
  --highlight-color: #F4D03F;
  --main-font: 'Playfair Display', serif;
  --alt-font: 'Roboto', 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 — split design: colored left half + white right
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
  margin: 2rem 0;
}

.feature-card {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 140px;
  box-shadow: 0 4px 22px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 38px var(--shadow-color);
}

.feature-card-left {
  width: 90px;
  flex-shrink: 0;
  background: var(--gradient-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.2rem 0.6rem;
  transition: width 0.3s ease;
}

.feature-icon {
  font-size: 2.2rem;
  line-height: 1;
  display: block;
  text-align: center;
}

.feature-card-right {
  flex: 1;
  padding: 1.4rem 1.6rem;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-card-right h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-family: var(--main-font);
}

.feature-card-right p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

/* 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-bottom: 3px solid var(--accent-color);
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px var(--shadow-color);
  border-bottom-color: var(--primary-color);
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: -6px;
  right: 1.4rem;
  font-size: 5rem;
  color: var(--accent-color);
  font-family: Georgia, serif;
  opacity: 0.16;
  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(44, 110, 106, 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(44, 110, 106, 0.28);
  letter-spacing: 0.03em;
}

button:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(44, 110, 106, 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 {
  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 — Two-column checklist (Да/Нет стиль)
   ============================================================ */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

.checklist-col {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.8rem;
  border: 1px solid rgba(255,255,255,0.15);
}

.checklist-col-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  font-family: var(--main-font);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.88);
  line-height: 1.5;
}

.checklist-item:last-child { margin-bottom: 0; }

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}

.check-yes {
  background: rgba(255,255,255,0.25);
  color: white;
}

.check-no {
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.7);
}

/* Pattern Background */
.pattern-bg {
  background-image:
    radial-gradient(circle at 10% 20%, rgba(63, 168, 159, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(44, 110, 106, 0.09) 0%, transparent 42%),
    radial-gradient(ellipse at 50% 50%, rgba(244, 208, 63, 0.03) 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.2rem;
    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;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .contact-block { max-width: 100% !important; }
}

@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-left { width: 72px; }
  .feature-icon { font-size: 1.8rem; }
  .feature-card-right { padding: 1.1rem 1.1rem; }

  .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;
  }
}