* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2d3e3e;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Цветовая схема */
:root {
  --primary-green: #2d9e6f;
  --light-green: #a8d5ba;
  --light-bg: #f8faf9;
  --text-dark: #2d3e3e;
  --text-secondary: #6b7a7a;
  --border-light: #e0e5e5;
  --accent-olive: #7a8e6f;
}

/* Header */
header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-green);
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

nav a:hover {
  color: var(--primary-green);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.header-btn {
  background-color: var(--primary-green);
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.header-btn:hover {
  background-color: #247854;
}

/* Контейнер */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background-color: var(--light-bg);
  padding: 80px 20px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 25px;
  line-height: 1.7;
}

.hero-text .btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: white;
  padding: 14px 35px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.hero-text .btn:hover {
  background-color: #247854;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Секции */
section {
  padding: 80px 20px;
}

section.light-bg {
  background-color: var(--light-bg);
}

.section-title {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* Блоки информации */
.info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-block {
  background-color: white;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.info-block:hover {
  box-shadow: 0 8px 24px rgba(45, 158, 111, 0.08);
  transform: translateY(-4px);
}

.info-block h3 {
  font-size: 20px;
  color: var(--primary-green);
  margin-bottom: 15px;
  font-weight: 600;
}

.info-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Текстовые колонки */
.columns-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.column {
  padding: 20px;
}

.column h3 {
  font-size: 20px;
  color: var(--primary-green);
  margin-bottom: 15px;
  font-weight: 600;
}

.column p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Шаги процесса */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-green);
  text-align: center;
}

.step-number {
  font-size: 32px;
  color: var(--primary-green);
  font-weight: 700;
  margin-bottom: 10px;
}

.step h3 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 600;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Преимущества */
.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.advantages-list {
  list-style: none;
}

.advantages-list li {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.advantages-list li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
  font-size: 20px;
}

.advantages-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* FAQ */
.faq-items {
  margin-top: 40px;
}

.faq-item {
  background-color: white;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  background-color: var(--light-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f0f3f2;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: padding 0.3s ease, max-height 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

.faq-answer p {
  font-size: 15px;
  line-height: 1.7;
}

/* Отзывы */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: white;
  padding: 35px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Контактная форма */
.contact-form {
  margin-top: 40px;
  max-width: 500px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-size: 15px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-btn {
  background-color: var(--primary-green);
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-btn:hover {
  background-color: #247854;
}

/* Блок контактов */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.contact-item {
  padding: 20px 0;
}

.contact-item h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-item a {
  color: var(--primary-green);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #247854;
}

/* Блок с изображением и контентом */
.content-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.content-text h3 {
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
}

.content-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Footer */
footer {
  background-color: var(--light-bg);
  padding: 60px 20px 20px;
  border-top: 1px solid var(--border-light);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.footer-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 10px;
}

.footer-section a {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-links a {
  display: inline;
  margin-left: 20px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-green);
}

/* Спасибо страница */
.thank-you-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.thank-you-content {
  max-width: 500px;
}

.thank-you-content h1 {
  font-size: 42px;
  color: var(--primary-green);
  margin-bottom: 20px;
  font-weight: 700;
}

.thank-you-content p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.7;
}

.thank-you-content .btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: white;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.thank-you-content .btn:hover {
  background-color: #247854;
}

/* Странички с контентом */
.page-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  font-size: 42px;
  color: var(--text-dark);
  margin-bottom: 30px;
  font-weight: 700;
}

.page-content {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.page-content h2 {
  font-size: 26px;
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-content h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-content p {
  margin-bottom: 15px;
}

.page-content ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.page-content ul li {
  margin-bottom: 8px;
}

/* Адаптивность */
@media (max-width: 768px) {
  header .container {
    height: 60px;
  }

  .logo {
    font-size: 18px;
  }

  nav ul {
    gap: 15px;
    font-size: 12px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  section {
    padding: 50px 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .content-with-image,
  .advantages {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-links a {
    display: block;
    margin: 5px 0;
  }
}

@media (max-width: 480px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .section-title {
    font-size: 24px;
  }

  .info-blocks {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}
