/* ============================================================
   KARMA CLEANSING CLASS — RESPONSIVE ADAPTATIONS
   Breakpoints: 1440px+, 1280px, 1024px, 768px, 430px, 390px, 375px, 320px
   ============================================================ */

/* Large Desktop (1440px+) */
@media (min-width: 1440px) {
  .section-container {
    max-width: 1360px;
  }

  .hero-title {
    font-size: 5.6rem;
  }

  .pillars-grid,
  .awaits-grid {
    gap: 2.5rem;
  }
}

/* Standard Desktop (1025px - 1280px) */
@media (max-width: 1280px) {
  .site-header {
    padding: 1.15rem 2rem;
  }

  .site-header.nav-scrolled {
    padding: 1rem 2rem;
  }

  .guidance-container {
    padding: 3.5rem 2.5rem;
    gap: 2.5rem;
  }

  .class-details-card {
    padding: 3.5rem 2.5rem;
  }
}

/* Tablet Landscape & Laptops (769px - 1024px) */
@media (max-width: 1024px) {
  .nav-links {
    gap: 1.4rem;
  }

  .burdens-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .awaits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .guidance-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .guidance-text-content {
    text-align: center;
  }

  .guidance-quote {
    border-left: none;
    border-top: 2px solid var(--color-warm-gold);
    padding-left: 0;
    padding-top: 1.2rem;
    display: inline-block;
  }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 0.95rem 1.5rem;
  }

  .site-header.nav-scrolled {
    padding: 0.85rem 1.5rem;
    background: rgba(8, 11, 18, 0.98);
  }

  .nav-links,
  .nav-cta-wrap .btn-cta-gold {
    display: none; /* Handled via mobile menu drawer */
  }

  .menu-toggle-btn {
    display: block;
  }

  .hero-section {
    padding: 7.2rem 1.25rem 4rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .burdens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .burden-detail-panel {
    padding: 2rem 1.5rem;
  }

  .burdens-section,
  .cleansing-section,
  .awaits-section,
  .guidance-section,
  .class-details-section {
    padding: 4rem 0 3.5rem;
  }

  .transformation-section {
    padding: 3.5rem 0;
  }

  .breaking-point-section {
    padding: 3.5rem 1.25rem;
    min-height: auto;
  }

  .class-details-card {
    padding: 2.8rem 1.5rem;
  }

  .details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .final-cta-section {
    padding: 4.5rem 1.25rem 5.5rem;
    min-height: auto;
  }

  .site-footer {
    padding: 1rem 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-copy {
    text-align: center;
  }
}

/* Large Mobile (430px - iPhone Pro Max / Plus) */
@media (max-width: 430px) {
  .section-container {
    padding: 0 1.2rem;
  }

  .hero-section {
    padding: 6.8rem 1rem 3.5rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .burdens-section,
  .cleansing-section,
  .awaits-section,
  .guidance-section,
  .class-details-section {
    padding: 3rem 0;
  }

  .transformation-section {
    padding: 2.8rem 0;
  }

  .breaking-point-section {
    padding: 2.8rem 1rem;
    min-height: auto;
  }

  .final-cta-section {
    padding: 3.5rem 1rem 4.5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 0.04em;
  }

  .hero-guide-name {
    font-size: 1.05rem;
  }

  .hero-subhead {
    font-size: 1.1rem;
  }

  .hero-meta-badge {
    padding: 0.45rem 1rem;
    font-size: 0.75rem;
  }

  .btn-cta-gold {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
  }

  .burdens-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .burdens-grid .burden-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 260px;
    margin: 0 auto;
    width: 100%;
  }

  .awaits-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .detail-tile {
    padding: 1.5rem 1rem;
  }

  .guidance-container {
    padding: 2.2rem 1.2rem;
  }

  .guidance-name {
    white-space: normal;
  }

  .guidance-portrait-img {
    max-width: 100%;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.2rem;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-legal-nav {
    justify-content: center;
    gap: 1.6rem;
  }
}

/* Standard Mobile (375px - 390px - iPhone 12/13/14/15) */
@media (max-width: 390px) {
  .hero-title {
    font-size: 2.3rem;
  }

  .section-headline {
    font-size: 2rem;
  }

  .breaking-headline {
    font-size: 2.1rem;
  }

  .final-headline {
    font-size: 2.2rem;
  }

  .burden-card {
    padding: 1.4rem 0.8rem;
  }

  .burden-title {
    font-size: 0.88rem;
  }
}

/* Small Mobile (320px - iPhone SE) */
@media (max-width: 320px) {
  .hero-title {
    font-size: 2.05rem;
  }

  .brand-text {
    font-size: 0.9rem;
    letter-spacing: 0.12em;
  }

  .section-headline {
    font-size: 1.85rem;
  }

  .burdens-grid {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    padding: 2.2rem 1.2rem;
  }
}

/* ============================================================
   PAYMENT SUCCESS MODAL RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 600px) {
  .payment-modal-backdrop {
    padding: 0.85rem 0.65rem;
  }

  .payment-modal-card {
    padding: 1.85rem 1.35rem 1.85rem;
    border-radius: 14px;
    max-height: 94vh;
  }

  .payment-modal-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }

  .payment-modal-symbol {
    width: 30px;
    height: 30px;
    margin-bottom: 0.35rem;
  }

  .payment-modal-eyebrow {
    font-size: 0.68rem;
    margin-bottom: 0.3rem;
  }

  .payment-modal-title {
    font-size: 1.35rem;
    line-height: 1.22;
    margin-bottom: 0.95rem;
  }

  .payment-details-box {
    padding: 0.75rem 0.95rem;
    gap: 0.45rem;
    margin-bottom: 1rem;
    border-radius: 9px;
  }

  .payment-detail-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    padding-bottom: 0.35rem;
  }

  .detail-label {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
    color: rgba(229, 185, 106, 0.9);
  }

  .payment-detail-row .detail-value {
    font-size: 0.8rem;
    text-align: right;
    width: auto;
  }

  .payment-id-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    width: auto;
  }

  .detail-value.payment-id-code {
    font-size: 0.74rem;
    padding: 0.14rem 0.45rem;
    word-break: normal;
    white-space: nowrap;
  }

  .payment-modal-prompt {
    font-size: 0.84rem;
    line-height: 1.44;
    margin: 0 auto 0.8rem;
    max-width: 100%;
    padding: 0 0.25rem;
  }

  .btn-whatsapp-cta {
    padding: 0.84rem 1.2rem;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    gap: 0.55rem;
    border-radius: 10px;
  }

  .btn-whatsapp-cta .whatsapp-icon {
    width: 19px;
    height: 19px;
  }
}

/* Height-constrained viewports (laptops with open taskbars or mobile landscape) */
@media (max-height: 720px) {
  .payment-modal-backdrop {
    padding: 0.5rem;
  }

  .payment-modal-card {
    padding: 1.35rem 1.25rem 1.35rem;
    max-height: 98vh;
  }

  .payment-modal-symbol {
    width: 26px;
    height: 26px;
    margin-bottom: 0.2rem;
  }

  .payment-modal-eyebrow {
    font-size: 0.66rem;
    margin-bottom: 0.15rem;
  }

  .payment-modal-title {
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
  }

  .payment-details-box {
    padding: 0.65rem 0.85rem;
    margin-bottom: 0.75rem;
    gap: 0.35rem;
  }

  .payment-modal-prompt {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .btn-whatsapp-cta {
    padding: 0.78rem 1rem;
    border-radius: 8px;
  }
}

@media (max-width: 360px) {
  .payment-modal-title {
    font-size: 1.22rem;
  }

  .payment-detail-row.payment-id-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .payment-id-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .btn-whatsapp-cta {
    font-size: 0.72rem;
    padding: 0.78rem 0.85rem;
    gap: 0.45rem;
  }
}

