/* Reset и базовые стили */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  background: #f8f9fb;
  color: #222;
}

h1, h2 {
  margin-top: 0;
  color: #2b2b87;
}

ul {
  padding-left: 1.2em;
}

section {
  padding: 40px 20px;
  max-width: 880px;
  margin: 0 auto;
}

.hero {
  text-align: center;
  background: linear-gradient(to bottom, #eef1ff, #ffffff);
  padding: 60px 20px 40px;
}

.hero-img {
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #3d40f0;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  margin-top: 20px;
}

.btn:hover {
  background: #2c2ee6;
}

.program {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

blockquote {
  background: #f1f3ff;
  padding: 15px 20px;
  border-left: 4px solid #4a4ddc;
  margin: 10px 0;
  border-radius: 6px;
  font-style: italic;
}

.faq details {
  background: #f4f6ff;
  padding: 12px 16px;
  margin: 10px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq summary {
  font-weight: bold;
  color: #2a2b6f;
  outline: none;
}

.faq details[open] {
  background: #e6e9ff;
}

footer {
  text-align: center;
  padding: 20px;
  background: #f1f1f1;
  font-size: 0.9rem;
}

/* Анимации */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Адаптив */
@media (max-width: 600px) {
  .program {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 1.6rem;
  }

  .btn {
    width: 100%;
  }
}
