
body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7fafc;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h2{
    text-align: center;
}
/* Анимации для появления секций и элементов */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}
/* Для заголовков */
.animate-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}
.animate-fade.visible {
  opacity: 1;
  transform: none;
}
/* Адаптивное меню */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 56px;
  transition: background 0.2s;
}
.nav-menu ul {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-menu a {
  color: #5b21b6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-menu a:hover, .nav-menu a.active {
  background: #ede9fe;
  color: #312e81;
}
.nav-burger {
  display: none;
  position: absolute;
  right: 18px;
  top: 12px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}
.nav-burger span, .nav-burger span:before, .nav-burger span:after {
  display: block;
  position: absolute;
  width: 24px;
  height: 3px;
  background: #5b21b6;
  border-radius: 2px;
  transition: 0.3s;
  left: 4px;
}
.nav-burger span {
  top: 14px;
}
.nav-burger span:before {
  content: '';
  top: -8px;
}
.nav-burger span:after {
  content: '';
  top: 8px;
}
@media (max-width: 900px) {
  .nav-menu ul {
    gap: 10px;
  }
  .nav-menu a {
    font-size: 0.97rem;
    padding: 7px 7px;
  }
}
@media (max-width: 700px) {
  .nav-menu {
    height: 48px;
    justify-content: flex-start;
    padding-left: 12px;
  }
  .nav-menu ul {
    flex-direction: column;
    position: fixed;
    top: 48px;
    left: 0;
    width: 100vw;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 0 18px 0;
    gap: 0;
    display: none;
  }
  .nav-menu ul.open {
    display: flex;
  }
  .nav-menu a {
    display: block;
    padding: 13px 24px;
    font-size: 1.08rem;
    border-radius: 0;
    border-bottom: 1px solid #ede9fe;
  }
  .nav-burger {
    display: block;
  }
}
body {
  padding-top: 56px;
}
@media (max-width: 700px) {
  body {
    padding-top: 48px;
  }
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
header.hero {
  /*background: linear-gradient(120deg, #e0e7ff 0%, #fdf6e3 100%);*/
  background: #fff;
  padding: 50px 0 30px 0;
  box-shadow: 0 4px 24px rgba(60,60,120,0.07);
  position: relative;
  overflow: hidden;
}
.logo {
  width: 200px;
  margin-bottom: 20px;
  display: block;
}
.hero-content {
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-content h1 {
  font-size: 2.9rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: #2d3a4a;
  line-height: 1.2;
}
.hero-content h1 span {
  font-size: 1.2rem;
  color: #5b21b6;
  font-weight: 400;
}
.subtitle {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 25px;
}
.cta-btn {
  background: linear-gradient(90deg, #6366f1 0%, #f59e42 100%);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 16px 38px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(99,102,241,0.13);
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover {
  background: linear-gradient(90deg, #f59e42 0%, #6366f1 100%);
  transform: translateY(-2px) scale(1.04);
}
.hero-img {
  position: absolute;
  right: 20%;
  top: 30px;
  width: 470px;
/*    
  position: absolute;
  right: 0;
  top: 30px;
  width: 100%;
  max-width: 40vw;
  border-radius: 30px 0 0 30px;
  box-shadow: 0 8px 32px rgba(99,102,241,0.09);
  object-fit: cover;
  z-index: 1;
  */
}
@media (max-width: 900px) {
  .hero-img { position: static; width: 100%; max-width: 100%; border-radius: 20px; margin-top: 20px; }
  .container { padding: 0 10px; }
}
@media (max-width: 600px) {
  .hero-content h1 { font-size: 1.3rem; }
  .hero-img { width: 100%; }
  .logo { width: 60px; }
}

/* Problems Section */
section.problems {
  background: radial-gradient(circle at 40% 40%, #00bff3 0%, #e0f7fa 100%);
  padding: 40px 0 20px 0;
  border-bottom: 1px solid #e5e7eb;
}
.problems-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}
.problem-item {
  background: #f3f4f6;
  border-radius: 18px;
  padding: 18px 28px;
  font-size: 1.08rem;
  color: #3b3b3b;
  box-shadow: 0 2px 8px rgba(99,102,241,0.04);
  display: flex;
  align-items: center;
  min-width: 260px;
  max-width: 350px;
  flex: 1 1 260px;
  transition: box-shadow 0.2s;
}
.problem-item:hover {
  box-shadow: 0 4px 16px rgba(99,102,241,0.10);
  background: #e0e7ff;
}
.icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 12px;
  background-size: contain;
  background-repeat: no-repeat;
}
.icon.parent { background-image: url('icon-parent.svg'); }
.icon.child { background-image: url('icon-child.svg'); }
.icon.joy { background-image: url('icon-joy.svg'); }

/* Solution Section */
section.solution {
  background: radial-gradient(circle at 40% 40%, #f57c00 0%, #ffe0b2 100%);
  padding: 50px 0 40px 0;
}
.solution-columns {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.column {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px rgba(99,102,241,0.07);
  padding: 28px 22px;
  flex: 1 1 260px;
  min-width: 260px;
  max-width: 340px;
  margin-bottom: 20px;
  transition: box-shadow 0.2s;
}
.column:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.13);
}
.column h3 {
  color: #5b21b6;
  font-size: 1.18rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.solution-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solution-item {
  font-size: 1.05rem;
  color: #333;
  background: #f3f4f6;
  border-radius: 12px;
  padding: 10px 16px;
  transition: background 0.2s;
}
.solution-item:hover {
  background: #e0e7ff;
}

/* Lessons Section */
section.lessons {
  background: radial-gradient(circle at 40% 40%, #fcee21 0%, #fffde7 100%);
  padding: 45px 0 30px 0;
}
.lessons-info {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 22px;
  justify-content: center;
}
.lessons-item {
  background: #e0e7ff;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 1.05rem;
  color: #3b3b3b;
  box-shadow: 0 1px 6px rgba(99,102,241,0.04);
  min-width: 220px;
  margin-bottom: 8px;
}
.lessons-item img {
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(99,102,241,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  background: #f3f4f6;
  max-width: 100%;
}
.lessons-item img:hover {
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 6px 24px rgba(99,102,241,0.13);
}
.lessons-item p{
  margin: 0 0 10px 0;
  height: 50px;
  display: flex;
  align-items: center;
  line-height: normal;
}

/* Advantages Section */
section.advantages {
  background: radial-gradient(circle at 40% 40%, #8e24aa 0%, #ede7f6 100%);
  padding: 45px 0 30px 0;
}
section.advantages h2{
  color: #fff;
}
.advantages-list {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}
.advantages-item {
  background: #fff;
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 1.08rem;
  color: #3b3b3b;
  box-shadow: 0 2px 8px rgba(99,102,241,0.04);
  margin-bottom: 8px;
  transition: box-shadow 0.2s;
}
.advantages-item:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.13);
  background: #e0e7ff;
}

/* About Section */
section.about {
  background: radial-gradient(circle at 40% 40%, #b6e23a 0%, #f1f8e9 100%);
  padding: 50px 0 30px 0;
}
.about-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}
.about-text {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
}
.about-text > div:first-child {
  flex: 2 1 320px;
  min-width: 260px;
}
.about-text > div:last-child {
  flex: 1 1 120px;
  min-width: 120px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px rgba(99,102,241,0.10);
  border: 4px solid #e0e7ff;
  margin-top: 10px;
}
section.about h2 {
  color: #5b21b6;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 700;
}
section.about p {
  margin-bottom: 8px;
  color: #444;
}

/* Reviews Section */
section.reviews {
  background: radial-gradient(circle at 40% 40%, #e53935 0%, #ffebee 100%);
  padding: 45px 0 30px 0;
}
.reviews-list {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  justify-content: center;
}
.review-item {
  background: #fff;
  border-radius: 16px;
  padding: 22px 28px;
  font-size: 1.08rem;
  color: #2d3a4a;
  box-shadow: 0 2px 8px rgba(99,102,241,0.04);
  flex: 1 1 220px;
  margin-bottom: 8px;
  font-style: italic;
  position: relative;
  transition: box-shadow 0.2s;
}
.review-item span {
  display: block;
  margin-top: 10px;
  font-size: 0.98rem;
  color: #5b21b6;
  font-style: normal;
  font-weight: 700;
}
.review-item:before {
  content: "“";
  font-size: 2.5rem;
  color: #f59e42;
  position: absolute;
  left: 12px;
  top: 8px;
  opacity: 0.2;
  pointer-events: none;
}

/* Price Section */
section.price {
  background: radial-gradient(circle at 40% 40%, #f57c00 0%, #fff3e0 100%);
  padding: 45px 0 30px 0;
}
.price-info {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
  justify-content: center;
  align-items: center;
}
.price-info > div {
  background: #e0e7ff;
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 1.12rem;
  color: #3b3b3b;
  box-shadow: 0 2px 8px rgba(99,102,241,0.04);
  min-width: 220px;
  max-width: 340px;
  flex: 1 1 220px;
  margin-bottom: 8px;
  text-align: center;
}
.price-value {
  color: #5b21b6;
  font-weight: 700;
  font-size: 1.18rem;
}
.promo {
  background: linear-gradient(90deg, #f59e42 0%, #fbbf24 100%);
  color: #fff;
  border-radius: 10px;
  padding: 8px 14px;
  font-weight: 700;
  margin: 8px 0;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(245,158,66,0.07);
}

.steps {
        background: linear-gradient(120deg, #e0e7ff 0%, #e6f4ea 50%, #fdf6e3 100%);
        padding: 48px 0 36px 0;
        margin-bottom: 0;
      }
      .steps-cards {
        display: flex;
        gap: 28px;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 22px;
      }
      .step-card {
        flex: 1 1 260px;
        max-width: 340px;
        min-width: 220px;
        background: #fff;
        border-radius: 18px;
        box-shadow: 0 2px 16px rgba(99,102,241,0.07);
        padding: 28px 22px 22px 22px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
      }
      .step-card.visible {
        opacity: 1;
        transform: translateY(0);
      }
      .step-math { background: #e0e7ff; }
      .step-art  { background: #e6f4ea; }
      .step-lit  { background: #fdf6e3; }
      .step-icon {
        margin-bottom: 8px;
        margin-left: 2px;
      }
      .step-title {
        font-size: 1.13rem;
        font-weight: 700;
        margin-bottom: 6px;
        letter-spacing: 0.01em;
      }
      .step-duration {
        font-size: 1.01rem;
        color: #555;
        margin-bottom: 8px;
      }
      .step-goal {
        font-size: 1.01rem;
        color: #444;
        margin-bottom: 10px;
        font-style: italic;
      }
      .step-skills {
        list-style: none;
        padding: 0;
        margin: 0 0 10px 0;
        width: 100%;
      }
      .step-skills li {
        display: flex;
        align-items: center;
        font-size: 1.01rem;
        color: #333;
        margin-bottom: 5px;
      }
      .skill-svg {
        display: inline-flex;
        margin-right: 8px;
        vertical-align: middle;
      }
      .step-format {
        font-size: 0.98rem;
        color: #5b21b6;
        margin-bottom: 8px;
        margin-top: 2px;
      }
      .step-result {
        font-size: 0.99rem;
        color: #222;
        font-weight: 500;
        margin-top: auto;
        margin-bottom: 0;
        background: rgba(255,255,255,0.5);
        border-radius: 8px;
        padding: 7px 10px 6px 10px;
        box-shadow: 0 1px 4px rgba(99,102,241,0.04);
      }
      .steps-note {
        margin-top: 18px;
        text-align: center;
        color: #000;
        font-size: 1.05rem;
        font-weight: 500;
        background: #fffbe7;
        border-radius: 10px;
        padding: 10px 16px;
        box-shadow: 0 1px 6px rgba(245,158,66,0.07);                
        margin-left: auto;
        margin-right: auto;
      }
      @media (max-width: 900px) {
        .steps-cards {
          flex-direction: column;
          gap: 18px;
          align-items: stretch;
        }
        .step-card {
          max-width: 100%;
        }
      }
      @media (max-width: 600px) {
        .steps {
          padding: 28px 0 18px 0;
        }
        .step-card {
          padding: 18px 8px 14px 8px;
        }
        .steps-note {
          font-size: 0.98rem;
          padding: 8px 6px;
        }
      }

/* FAQ Section */
section.faq {
  background: radial-gradient(circle at 40% 40%, #00bff3 0%, #e3f2fd 100%);
  padding: 45px 0 30px 0;
}
.faq-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(99,102,241,0.04);
  padding: 16px 22px;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.faq-item:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.13);
  background: #e0e7ff;
}
.faq-question {
  font-weight: 700;
  color: #5b21b6;
  font-size: 1.08rem;
  margin-bottom: 6px;
}
.faq-answer {
  color: #444;
  font-size: 1.02rem;
  margin-left: 8px;
}

/* CTA Footer */
footer.cta-footer {
  background: linear-gradient(90deg, #f59e42 0%, #6366f1 100%);
  color: #fff;
  padding: 50px 0 30px 0;
  text-align: center;
  border-radius: 30px 30px 0 0;
  box-shadow: 0 -4px 24px rgba(99,102,241,0.07);
  margin-top: 40px;
}
.cta-footer h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(99,102,241,0.10);
}
.cta-form {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 22px;
}
.cta-form input {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-size: 1.05rem;
  margin-bottom: 8px;
  min-width: 180px;
  background: #fff;
  color: #222;
  box-shadow: 0 1px 4px rgba(99,102,241,0.04);
  transition: box-shadow 0.2s;
}
.cta-form input:focus {
  outline: 2px solid #6366f1;
  box-shadow: 0 2px 12px rgba(99,102,241,0.13);
}
.cta-form button {
  background: #5b21b6;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(99,102,241,0.13);
  transition: background 0.2s, transform 0.2s;
}
.cta-form button:hover {
  background: #f59e42;
  transform: translateY(-2px) scale(1.04);
}
.contacts {
  margin-top: 18px;
  font-size: 1.08rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.socials {
  margin-top: 8px;
  display: flex;
  gap: 16px;
  justify-content: center;
}
.socials a {
  color: #fff;
  background: rgba(99,102,241,0.18);
  padding: 6px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}
.socials a:hover {
  background: #fff;
  color: #5b21b6;
}
@media (max-width: 900px) {
  .solution-columns, .advantages-list, .reviews-list, .price-info, .lessons-info {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .about-flex, .about-text {
    flex-direction: column;
    gap: 18px;
  }
  .gallery { flex-direction: row; }
  
  .lessons-info{
      grid-template-columns: 1fr
  }
}
@media (max-width: 600px) {
  .container { padding: 0 4px; }
  .column, .problem-item, .advantages-item, .review-item, .price-info > div, .lessons-item {
    min-width: 0;
    max-width: 100%;
    padding: 14px 10px;
  }
  .about-photo { width: 80px; height: 80px; }
  .gallery img { width: 100px; height: 70px; }
  .cta-form input { min-width: 120px; }
}