.featuredSwiper .swiper-wrapper,
.gallerySwiper .swiper-wrapper {
  align-items: stretch;
}

.featuredSwiper .swiper-slide {
  height: auto;
}

@media (max-width: 1199.98px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 36px;
  }

  .site-header {
    background: rgba(255, 250, 241, 0.96);
    box-shadow: 0 12px 28px rgba(7, 88, 76, 0.08);
  }

  .navbar-collapse {
    margin-top: 14px;
    padding: 16px;
    background: #fffaf1;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .navbar-nav {
    align-items: flex-start;
  }

  .nav-cta {
    width: 100%;
    margin-top: 10px;
  }

  .hero-book-stage {
    max-width: 540px;
    margin: 0 auto;
  }

  .book-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .section {
    padding: 76px 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 136px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 33px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy p,
  .hero-stats {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-book-stage {
    height: 480px;
  }

  .book-orbit {
    height: 440px;
  }

  .orbit-book {
    width: 158px;
    height: 241px;
    margin-left: -79px;
    margin-top: -120px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-timeline::before {
    display: none;
  }

  .counter-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .feature-book-scene,
  .angled-book-stack {
    max-width: 600px;
    margin: 0 auto;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 50px 0;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 340px;
    text-align: left;
  }

  .hero-book-stage {
    height: 410px;
  }

  .hero-book-row {
    gap: 18px;
    min-height: 218px;
  }

  .book-mockup {
    width: 105px;
  }

  .book-mockup.tall {
    width: 138px;
  }

  .book-mockup.short {
    width: 94px;
  }

  .book-orbit {
    height: 375px;
    perspective: 1200px;
    overflow: hidden;
  }

  .orbit-book {
    width: 126px;
    height: 192px;
    margin-left: -63px;
    margin-top: -96px;
  }

  .orbit-caption {
    gap: 10px;
  }

  .orbit-caption span {
    font-size: 12px;
    padding: 8px 10px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-grid,
  .process-timeline {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .book-grid article {
    padding: 7px;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

.testimonial-card {
    display: flex;
    padding: 30px 22px;
    min-height: 500px;
    flex-direction: column;
    justify-content: center;
}
  
   .testimonials-section .testimonial-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
  
}

@media (max-width: 575.98px) {
    
    .line-form {
    display: flex;
    flex-direction: column;
}

 .contact-hori-form {
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: stretch;
}

.cta-btn-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    padding: 50px 10px;
}

.msp-bas-compare {
    position: relative;
    width: 100%;
    margin: auto;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
    overflow: hidden;
    background: var(--msp-bas-paper);
    cursor: grab;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}


  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 27px;
  }

  .brand-lockup strong {
    font-size: 16px;
  }

  .brand-lockup img {
    width: 275px;
    height: auto;
}

  .btn {
    width: 100%;
  }

  .slider-nav .slider-btn,
  .testimonial-controls button {
    width: 42px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-section {
    padding-top: 126px;
  }

  .hero-book-stage {
    height: 360px;
  }

  .hero-book-track {
    left: 0;
    right: 0;
  }

  .hero-book-row:nth-child(even) {
    transform: translateX(22px);
  }

  .book-orbit {
    height: 335px;
  }

  .orbit-book {
    width: 108px;
    height: 165px;
    margin-left: -54px;
    margin-top: -82px;
  }

  .book-shell::before {
    left: -14px;
    width: 16px;
  }

  .feature-book-scene,
  .angled-book-stack {
    min-height: 340px;
  }

  .feature-book.main,
  .angled-book-stack img:nth-child(2) {
    width: 190px;
  }

  .feature-book.side,
  .angled-book-stack img {
    width: 145px;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form,
  .highlight-card,
  .pricing-card {
    padding: 22px;
  }

  .cta-inner span {
    font-size: 22px;
  }

  .newsletter-form {
    border-radius: var(--radius);
  }
}


  /* ============================================================
     Responsive
     ============================================================ */

   @media (max-width: 900px) {
    .msp-before-after-section { padding: 70px 20px; }
    .msp-bas-grid { gap: 26px; }
  }

  @media (max-width: 640px) {
    .msp-bas-grid { grid-template-columns: 1fr; }
    .msp-bas-card { padding: 24px 22px 28px; }
    .msp-bas-compare { aspect-ratio: 2 / 3.6; }
  }

  @media (prefers-reduced-motion: reduce) {
    .msp-before-after-section * {
      animation-duration: 0.001ms !important;
      transition-duration: 0.001ms !important;
    }
  }
  
  
  /* Large Desktop */

      @media (min-width: 1200px) {
        .banner-title {
          width: 280px;
          font-size: 40px;
        }
      }

      /* Laptop */

      @media (min-width: 992px) and (max-width: 1199px) {
        .banner-title {
          width: 230px;
          font-size: 36px;
        }

        .banner-input {
          font-size: 16px;
        }

      }

      /* Tablet */

      @media (max-width: 991px) {
        .form-wrapper {
          flex-wrap: wrap;
        }

        .banner-title {
          text-align: center;
          margin-bottom: 30px;
          font-size: 32px;
        }

        .send-btn {
          width: 100%;
        }
      }

      /* Mobile */

      @media (max-width: 576px) {
        .banner-title {
          font-size: 36px;
        }
        
       .form-wrapper {
    display: flex;
    flex-direction: column;
}

        .banner-input {
          height: 54px;
        }
      }
  
  