@media (max-width: 1024px) {
  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 24px;
    background: rgba(13,17,23,.94);
    display: none;
  }

  .nav .nav-cta {
    width: 100%;
    justify-content: flex-start;
    padding: 14px 16px;
    min-height: 54px;
    margin-left: 0;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px;
  }

  .hero-grid,
  .intro-grid,
  .process-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .pricing-card .btn {
    width: 100%;
    min-height: 58px;
    font-size: 18px;
   }

   .reserve-link {
    display: block;
    margin-top: 18px;
    text-align: center;
   }

  .hero {
    padding-top: 110px;
  }

  .hero-portrait {
    min-height: 520px;
  }

  .hero-author {
    right: -70px;
    bottom: -30px;
    width: min(680px, 92vw);
  }

  .hero-glow {
    right: 20px;
    bottom: 60px;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #reviews .reviews-carousel {
    padding: 0 24px 20px;
  }

    #reviews .review-slide {
      flex: 0 0 calc(100% - 12px);
    }

   #reviews .proof-card {
      box-sizing: border-box;
   }

   #reviews .reviews-track {
      gap: 16px;
   }

  #reviews .proof-card img {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .section-light,
  .code-rain-section,
  .about,
  .final-cta {
    padding: 76px 0;
  }

  .hero-actions,
  .program-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .cards-grid,
  .stats {
    grid-template-columns: 1fr;
  }

   #reviews .reviews-carousel {
      padding: 0 0 52px;
      overflow: visible;
   }

   #reviews .reviews-track {
      padding: 20px 0 28px;
      scroll-padding-left: 0;
   }

    #reviews .review-slide {
      flex: 0 0 calc(100% - 2px);
      box-sizing: border-box;
      scroll-snap-align: start;
    }


   #reviews .carousel-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      top: auto;
      bottom: 0;
      width: 44px;
      height: 44px;
      font-size: 30px;
   }

   #reviews .carousel-prev {
      left: calc(50% - 54px);
   }

   #reviews .carousel-next {
      right: calc(50% - 54px);
   }

   #reviews .proof-meta {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
   }

#reviews .proof-meta strong {
  white-space: nowrap;
}

  .about-grid {
    gap: 28px;
  }

  .about-photo {
    top: 0;
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
  }

  .about-photo img {
    aspect-ratio: 4 / 5;
    border-radius: 26px;
  }

  .about-copy {
    text-align: left;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer a {
    margin-left: 0;
    margin-right: 14px;
  }
}

@media (max-width: 640px) {
 .container {
  width: min(100% - 52px, var(--container));
}

 .hero-copy {
  max-width: 100%;
}

 .hero-grid {
  gap: 24px;
}

  .hero-note {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
  text-align: center;
  max-width: 100%;
  font-size: 17px;
  line-height: 1.3;
}

.hero-note span {
  flex: 0 0 9px;
}


 .hero-portrait {
  min-height: 360px;
  margin-top: 8px;
}

  .hero-actions {
  margin-top: 28px;
}

 .hero-author {
  right: -190px;
  bottom: -22px;
  width: 660px;
}

 .hero-glow {
  right: -40px;
  bottom: 20px;
  width: 320px;
  height: 320px;
}

  .qa-orbit span {
    opacity: .08 !important;
  }

  .qa-orbit span:nth-child(n+11) {
    display: none;
  }

  .qa-orbit span:nth-child(1) {
    top: 10%;
    left: 4%;
    font-size: 56px;
  }

  .qa-orbit span:nth-child(2) {
    top: 44%;
    right: 6%;
    font-size: 26px;
  }

  .qa-orbit span:nth-child(3) {
    top: 70%;
    left: 8%;
    font-size: 38px;
  }

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

  .about-photo {
    max-width: 300px;
  }

  .pricing-card .price {
  text-align: center;
  }

  .final-cta {
  padding-bottom: 52px;
}

.final-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
}

    .telegram-link {
      text-align: center;
      display: block;
      font-size: 16px;
    }

    .footer {
      padding: 34px 0 44px;
    }

    .footer-inner {
      gap: 18px;
      align-items: flex-start;
    }

    .footer-inner div:last-child {
      display: grid;
      gap: 12px;
    }

    .footer a {
      display: block;
      margin: 0;
    }


}

@media (max-width: 480px) {
  .about-photo {
    max-width: 280px;
  }

    #reviews .review-slide {
      flex: 0 0 100%;
    }
}