/* ============================================================
   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) {
  /* ============================================================
     MOBILE & TABLET: REMOVE HEADER & NAVIGATION COMPLETELY
     ============================================================ */
  .site-header {
    display: none !important;
  }

  .nav-links,
  .nav-cta-wrap,
  .menu-toggle-btn {
    display: none !important;
  }

  /* Activate Top Urgency Bar on Mobile & Tablet */
  .top-urgency-bar {
    display: block;
  }

  /* Language Switcher Responsiveness */
  .desktop-only {
    display: none !important;
  }

  .mobile-only {
    display: inline-flex !important;
  }

  /* When Top Urgency Bar is visible, glide the floating pill below it */
  .top-urgency-bar.is-visible ~ .lang-switcher-floating,
  body:has(.top-urgency-bar.is-visible) .lang-switcher-floating {
    top: calc(42px + max(6px, env(safe-area-inset-top)));
  }

  body.payment-modal-open .lang-switcher-floating,
  body.welcome-modal-open .lang-switcher-floating,
  body.menu-open .lang-switcher-floating,
  .mobile-menu-overlay.is-open ~ .lang-switcher-floating {
    opacity: 0;
    pointer-events: none;
  }

  /* Tablet layout for top urgency bar (768px - 1024px): single horizontal row */
  @media (min-width: 768px) {
    .top-urgency-bar {
      padding: 0.50rem 1.25rem;
      padding-top: max(0.50rem, env(safe-area-inset-top));
    }

    .top-urgency-container {
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 0.85rem;
    }

    .top-urgency-label {
      font-size: 0.84rem;
      font-weight: 800;
      letter-spacing: 0.07em;
    }

    .top-urgency-countdown {
      gap: 0.30rem;
    }

    .urgency-capsule {
      min-width: 35px;
      height: 31px;
      padding: 0 0.30rem;
    }

    .urgency-capsule strong {
      font-size: 0.88rem;
      font-weight: 800;
    }

    .urgency-capsule .urgency-unit-lbl {
      font-size: 0.60rem;
    }
  }

  .hero-section {
    padding: 3.2rem 1.25rem 2.8rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .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) {
  .hero-section {
    padding: 2.8rem 1.25rem 2.5rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .hero-content {
    margin: 0 auto;
    padding: 1.5rem 1rem;
  }

  .hero-cta-wrap {
    margin-bottom: 2.8rem;
  }

  .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;
  }

  .transformation-card {
    padding: 3rem 1.5rem;
  }

  .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;
  }

  /* CTA Buttons single-line across tablet / mobile */
  .details-cta-center .btn-cta-gold,
  .final-cta-content .btn-cta-gold,
  .hero-cta-wrap .btn-cta-gold {
    white-space: nowrap !important;
    padding: 1rem 1.8rem;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    max-width: 100%;
  }
}

/* Mobile Viewports (<= 480px) */
@media (max-width: 480px) {
  .section-container {
    padding: 0 1.2rem;
  }

  .hero-section {
    padding: 2.2rem 1rem 2.2rem;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .hero-content {
    margin: 0 auto;
    padding: 1rem 0.5rem;
  }

  .hero-guide-wrap {
    margin-bottom: 1.2rem;
  }

  .hero-cta-wrap {
    margin-bottom: 2.8rem;
  }

  .scroll-indicator {
    margin-top: 0.6rem;
  }

  .scroll-indicator-text {
    font-size: 0.74rem;
    letter-spacing: 0.22em;
  }

  .burdens-section {
    padding: 3rem 0;
  }

  .cleansing-section,
  .awaits-section,
  .guidance-section,
  .class-details-section {
    padding: 3rem 0;
  }

  .transformation-section {
    padding: 2.8rem 0;
  }

  .transformation-card {
    padding: 2.5rem 1.2rem;
  }

  html[lang="ta"] .section-headline {
    font-size: clamp(1.75rem, 6.5vw, 2.2rem) !important;
  }

  .breaking-point-section {
    padding: 2.8rem 1rem;
    min-height: auto;
  }

  .final-cta-section {
    padding: 3.5rem 1rem 4.5rem;
    min-height: auto;
  }

  .final-cta-content {
    padding: 2rem 0.5rem;
  }

  .final-subtext {
    margin-bottom: 1.6rem;
  }

  .final-cta-prompt {
    font-size: clamp(11.5px, 2.9vw, 13px);
    margin-bottom: 1.15rem;
    letter-spacing: 0.035em;
  }

  .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.52rem 1.25rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  /* Single-line guarantee for all CTA buttons */
  .details-cta-center .btn-cta-gold,
  .final-cta-content .btn-cta-gold,
  .hero-cta-wrap .btn-cta-gold {
    white-space: nowrap !important;
    width: 100%;
    max-width: 340px;
    padding: 0.95rem 1.15rem;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
    gap: 0.5rem;
    box-sizing: border-box;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .details-cta-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  /* Single-line guarantee for Razorpay trust badge */
  .details-razorpay-trust {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 0.4rem;
    padding: 0.36rem 0.75rem;
    font-size: 0.72rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  .details-razorpay-trust span {
    white-space: nowrap !important;
  }

  .trust-lock-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }

  .rzp-svg-logo {
    width: 78px;
    height: 15px;
    flex-shrink: 0;
  }

  .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;
  }

  .btn-cta-gold,
  .details-cta-center .btn-cta-gold,
  .final-cta-content .btn-cta-gold,
  .hero-cta-wrap .btn-cta-gold {
    white-space: nowrap !important;
    padding: 0.9rem 0.9rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    gap: 0.45rem;
    max-width: 300px;
  }

  .details-razorpay-trust {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 0.32rem;
    padding: 0.34rem 0.6rem;
    font-size: 0.68rem;
  }

  .trust-lock-icon {
    width: 12px;
    height: 12px;
  }

  .rzp-svg-logo {
    width: 72px;
    height: 14px;
  }
}

/* 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;
  }

  .class-details-card {
    padding: 2rem 0.85rem;
  }

  .btn-cta-gold,
  .details-cta-center .btn-cta-gold,
  .final-cta-content .btn-cta-gold,
  .hero-cta-wrap .btn-cta-gold {
    white-space: nowrap !important;
    padding: 0.82rem 0.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    gap: 0.35rem;
    max-width: 270px;
  }

  .details-razorpay-trust {
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
    gap: 0.25rem;
    padding: 0.28rem 0.45rem;
    font-size: 0.62rem;
  }

  .trust-lock-icon {
    width: 11px;
    height: 11px;
  }

  .rzp-svg-logo {
    width: 66px;
    height: 13px;
  }
}

/* ============================================================
   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;
  }

  .welcome-modal-backdrop {
    padding: 1rem 0.75rem;
  }

  .welcome-modal-card {
    padding: 1.85rem 1.25rem 1.65rem;
    border-radius: 16px;
  }

  .welcome-lang-options {
    gap: 0.65rem;
  }

  .welcome-lang-btn {
    padding: 1rem 0.65rem;
  }

  .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;
  }
}

@media (max-width: 440px) {
  .welcome-lang-options {
    grid-template-columns: 1fr;
    gap: 0.72rem;
  }
}

/* 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;
  }
}

/* ============================================================
   STICKY MOBILE & TABLET KARMA CTA RESPONSIVE ADAPTATIONS
   ============================================================ */
/* Strictly hide on desktop (1025px+) */
@media (min-width: 1025px) {
  .sticky-karma-cta {
    display: none !important;
  }
}

/* Enable on tablet and mobile (<= 1024px) */
@media (max-width: 1024px) {
  .sticky-karma-cta {
    display: block;
  }

  .sticky-cta-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }

  .sticky-cta-text {
    font-size: 0.90rem; /* ~14.4px on tablet where horizontal space allows */
    letter-spacing: 0.04em;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .sticky-karma-cta .sticky-cta-button {
    width: auto;
    padding: 0.70rem 1.6rem;
    font-size: 0.82rem;
  }
}

/* Mobile Devices (<= 480px) */
@media (max-width: 480px) {
  .sticky-karma-cta {
    padding: 0.62rem 0.85rem;
    padding-bottom: max(0.62rem, env(safe-area-inset-bottom));
  }

  .sticky-cta-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.38rem;
    padding: 0;
    width: 100%;
  }

  .sticky-cta-text {
    font-size: clamp(11.6px, 1.2vw + 7.4px, 12.4px); /* Scales gracefully ~12px */
    font-weight: 600;
    letter-spacing: 0.03em;
    justify-content: center;
    white-space: nowrap !important;
    flex-shrink: 0;
    line-height: 1.3;
  }

  .sticky-cta-sparkle {
    font-size: 0.76rem;
  }

  .sticky-karma-cta .sticky-cta-button {
    width: 100%;
    max-width: 320px;
    padding: 0.65rem 1rem;
    font-size: 0.80rem;
    letter-spacing: 0.09em;
    gap: 0.45rem;
  }

  /* Top Urgency Bar Mobile (<= 480px) */
  .top-urgency-bar {
    padding: 0.44rem 0.60rem;
    padding-top: max(0.44rem, env(safe-area-inset-top));
  }

  .top-urgency-container {
    gap: 0.50rem;
    justify-content: center;
  }

  .top-urgency-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .top-urgency-countdown {
    gap: 0.20rem;
  }

  .urgency-capsule {
    min-width: 30px;
    height: 28px;
    padding: 0 0.20rem;
  }

  .urgency-capsule strong {
    font-size: 0.80rem;
    font-weight: 800;
  }

  .urgency-capsule .urgency-unit-lbl {
    font-size: 0.54rem;
  }
}

/* Standard Mobile (<= 390px - iPhone 12/13/14/15 & Samsung 360px) */
@media (max-width: 390px) {
  .sticky-karma-cta {
    padding: 0.56rem 0.65rem;
    padding-bottom: max(0.56rem, env(safe-area-inset-bottom));
  }

  .sticky-cta-container {
    gap: 0.35rem;
  }

  .sticky-cta-text {
    font-size: clamp(11.5px, 1.4vw + 6.6px, 12.0px); /* 11.6px on 360px, 11.85px on 375px, 12.0px on 390px */
    letter-spacing: 0.025em;
    gap: 0.40rem;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .sticky-cta-sparkle {
    font-size: 0.72rem;
  }

  .sticky-karma-cta .sticky-cta-button {
    max-width: 290px;
    padding: 0.62rem 0.85rem;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
  }

  /* Top Urgency Bar Standard Mobile (<= 390px) */
  .top-urgency-bar {
    padding: 0.42rem 0.45rem;
    padding-top: max(0.42rem, env(safe-area-inset-top));
  }

  .top-urgency-container {
    gap: 0.40rem;
    justify-content: center;
  }

  .top-urgency-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }

  .top-urgency-countdown {
    gap: 0.16rem;
  }

  .urgency-capsule {
    min-width: 29px;
    height: 27px;
    padding: 0 0.18rem;
  }

  .urgency-capsule strong {
    font-size: 0.76rem;
    font-weight: 800;
  }

  .urgency-capsule .urgency-unit-lbl {
    font-size: 0.52rem;
  }
}

/* Small Mobile (<= 345px - iPhone SE 320px) */
@media (max-width: 345px) {
  .sticky-karma-cta {
    padding: 0.50rem 0.40rem;
    padding-bottom: max(0.50rem, env(safe-area-inset-bottom));
  }

  .sticky-cta-container {
    gap: 0.28rem;
  }

  .sticky-cta-text {
    font-size: 11.2px; /* Perfectly fits on a single line at 320px width */
    gap: 0.30rem;
    letter-spacing: 0.015em;
    white-space: nowrap !important;
    flex-shrink: 0;
  }

  .sticky-cta-sparkle {
    font-size: 0.68rem;
  }

  .sticky-karma-cta .sticky-cta-button {
    max-width: 260px;
    padding: 0.56rem 0.7rem;
    font-size: 0.70rem;
    letter-spacing: 0.04em;
  }

  /* Top Urgency Bar Very Narrow Mobile (<= 345px, e.g. 320px)
     Single-line centered layout with exact wording and zero clipping */
  .top-urgency-bar {
    padding: 0.38rem 0.30rem;
    padding-top: max(0.38rem, env(safe-area-inset-top));
  }

  .top-urgency-container {
    gap: 0.28rem;
    justify-content: center;
  }

  .top-urgency-label {
    font-size: 0.60rem;
    font-weight: 800;
    letter-spacing: 0.025em;
  }

  .top-urgency-countdown {
    gap: 0.12rem;
  }

  .urgency-capsule {
    min-width: 26px;
    height: 26px;
    padding: 0 0.15rem;
  }

  .urgency-capsule strong {
    font-size: 0.72rem;
    font-weight: 800;
  }

  .urgency-capsule .urgency-unit-lbl {
    font-size: 0.48rem;
    margin-left: 0.05rem;
  }
}

/* ============================================================
   TAMIL HERO: MOBILE VIEWPORT FIT
   Global line-height/padding fix lives in style.css.
   These rules additionally compact margins for smaller screens
   where vertical space is tighter than desktop.
   ============================================================ */

/* Tablet & Mobile (≤1024px): reduce hero-content inner padding for Tamil */
@media (max-width: 1024px) {
  html[lang="ta"] .hero-content {
    padding: 0.8rem 1rem !important;
  }
}

/* Tablet Portrait (≤768px): hero-cta-wrap has 2.8rem here — override for Tamil */
@media (max-width: 768px) {
  html[lang="ta"] .hero-cta-wrap {
    margin-bottom: 1.5rem !important;
  }

  html[lang="ta"] .hero-subhead {
    margin-bottom: 1.0rem !important;
  }

  html[lang="ta"] .hero-meta-badge {
    margin-bottom: 1.2rem !important;
  }
}

/* Standard Mobile (≤390px - iPhone 12/13/14/15): extra compact for shorter screens */
@media (max-width: 390px) {
  html[lang="ta"] .hero-guide-wrap {
    margin-bottom: 0.5rem !important;
  }

  html[lang="ta"] .hero-title {
    margin-bottom: 0.6rem !important;
  }

  html[lang="ta"] .hero-subhead {
    margin-bottom: 0.8rem !important;
  }

  html[lang="ta"] .hero-meta-badge {
    margin-bottom: 1.0rem !important;
  }

  html[lang="ta"] .hero-cta-wrap {
    margin-bottom: 1.2rem !important;
  }
}

/* Small Mobile (≤320px - iPhone SE): minimal spacing, everything must fit */
@media (max-width: 320px) {
  html[lang="ta"] .hero-guide-wrap {
    margin-bottom: 0.4rem !important;
  }

  html[lang="ta"] .hero-title {
    margin-bottom: 0.5rem !important;
  }

  html[lang="ta"] .hero-subhead {
    margin-bottom: 0.6rem !important;
  }

  html[lang="ta"] .hero-meta-badge {
    margin-bottom: 0.8rem !important;
  }

  html[lang="ta"] .hero-cta-wrap {
    margin-bottom: 1.0rem !important;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .sticky-karma-cta,
  .top-urgency-bar {
    transition: opacity 0.15s ease !important;
    transform: none !important;
  }

  .sticky-karma-cta:not(.is-visible),
  .top-urgency-bar:not(.is-visible) {
    display: none !important;
  }

  .sticky-cta-sparkle,
  .top-urgency-dot,
  .top-urgency-bar.is-visible {
    animation: none !important;
  }

  .sticky-karma-cta .sticky-cta-button,
  .top-urgency-bar .top-urgency-button {
    animation: none !important;
  }

  .sticky-karma-cta .sticky-cta-button:hover .btn-arrow,
  .sticky-karma-cta .sticky-cta-button:active .btn-arrow,
  .top-urgency-bar .top-urgency-button:hover .btn-arrow,
  .top-urgency-bar .top-urgency-button:active .btn-arrow {
    transform: none !important;
  }
}



