/* ========================================
   MOBILE FIXES — add below existing CSS
   ======================================== */

/* 1. Fix hero background image sizing on mobile */
@media (max-width: 900px) {
  .hero {
    background-size: 120%;
    background-position: center 20%;
    min-height: 100svh; /* avoids mobile browser chrome issues */
    justify-content: flex-end;
    padding: 0 1.5rem 4rem;
  }

  /* Darken overlays so text is readable over bg image */
  .hero-bg {
    background:
      linear-gradient(to bottom, var(--bg) 0%, rgba(27,67,50,0.3) 20%, rgba(27,67,50,0.6) 70%, var(--bg) 100%),
      linear-gradient(to right, rgba(27,67,50,0.85) 0%, transparent 50%, rgba(27,67,50,0.85) 100%);
  }

  /* 2. Fix hero title sizing */
  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
    line-height: 1.05;
  }

  .hero-sub {
    font-size: 0.9rem;
    max-width: 100%;
  }

  /* 3. Stack CTA buttons vertically */
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* 4. Add a simple mobile nav — show a contact link instead */
@media (max-width: 900px) {
  nav {
    justify-content: space-between;
  }

  .nav-cta {
    display: inline-flex !important; /* show only the Apply button */
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }
}

/* 5. Fix section spacing on mobile */
@media (max-width: 900px) {
  section {
    padding: 4rem 1.25rem;
  }

  .cta-section {
    padding: 4rem 1.25rem;
  }

  h2.section-heading {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  /* 6. Stack CTA buttons */
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
  }

  .btn-large,
  .btn-outline-large {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    text-align: center;
  }
}

/* 7. Fix tier cards on mobile */
@media (max-width: 900px) {
  .tier-badge {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  .tier-price .amount {
    font-size: 2.8rem;
  }

  /* Show featured tier first */
  .tiers {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .tier.featured {
    order: -1;
  }
}

/* 8. Fix about section portrait on mobile */
@media (max-width: 900px) {
  .about-portrait {
    aspect-ratio: 4/3; /* wider, shorter on mobile */
    max-height: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 9. Fix footer on mobile */
@media (max-width: 900px) {
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 2rem 1.25rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

/* 10. Fix method pillars padding on mobile */
@media (max-width: 900px) {
  .pillar {
    padding: 1.75rem;
  }

  .pillar-num {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }
}

/* 11. Small phone adjustments (under 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-eyebrow {
    font-size: 0.65rem;
  }

  .nav-logo {
    font-size: 0.85rem;
  }

  .section-label {
    font-size: 0.65rem;
  }

  .tier-price .amount {
    font-size: 2.4rem;
  }
}/* Fix hero background image on mobile */
@media (max-width: 900px) {
  .hero {
    background-size: cover !important;
    background-position: center top !important;
  }
}

/* Fix the arrow symbol on Learn the Method button */
.btn-ghost::after {
  content: '↓' !important;
}/* Fix &mdash; showing as literal text in tier feature lists */
.tier-features li::before {
  content: '\2014' !important;
}