/* ══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE FIXES FOR FITAMPLIFY
   Add this CSS to fix all mobile UI issues
══════════════════════════════════════════════════════════════ */
@media only screen and (max-width: 1400px) {
.site-nav-links {
  gap: 20px;
}

}

@media only screen and (max-width: 1199px) {
.site-nav-links {
  gap: 13px;
}
.site-nav {  
  padding: 0 30px;
}

}
/* ═══════════════════════════════════════
   IMPROVED TABLET RESPONSIVE (max-width: 960px)
═══════════════════════════════════════ */
@media(max-width:960px) {
  /* General sections */
  section {
    padding: 70px 24px;
  }

  /* Navigation */
  nav {
    padding: 12px 24px;
  }

  /* Hero Section - Better mobile layout */
  #hero {
    min-height: auto;
    padding-bottom: 40px;
  }

  #hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 120px 24px 50px !important;
    min-height: auto;
  }

  #hero .hero-left {
    align-items: flex-start;
    text-align: left;
  }

  #hero .hero-badge {
    font-size: 0.7rem;
    padding: 8px 16px;
  }

  #hero .hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 16px;
  }

  #hero .hero-sub {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 24px;
  }

  #hero .hero-actions {
    flex-direction: row;
    gap: 12px;
    flex-wrap: wrap;
  }

  #hero .hero-btn-main,
  #hero .hero-btn-ghost {
    padding: 14px 28px;
    font-size: 0.88rem;
  }

  #hero .hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 20px;
  }

  #hero .hero-img-frame {
    width: 100%;
    max-width: 420px;
    height: 100%;
    padding-right: 0;
    justify-content: center;
  }

  #hero .hero-img-frame img {
    max-width: 380px;
    width: 100%;
    margin-bottom: -60px;
  }

  /* Stat chips hidden on tablet */
  .hsc-1,
  .hsc-2,
  .hsc-3 {
    display: none;
  }

  /* Dietician Section */
  .diet-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .diet-portrait-wrap {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Foundation Pillars */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pillar-card {
    padding: 36px;
  }

  .pillar-icon-wrap {
    height: 200px;
  }

  /* Approach Section */
  .approach-step {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 18px;
  }

  .approach-dot {
    width: 50px;
    height: 50px;
    font-size: 0.85rem;
  }

  .approach-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .approach-step:nth-child(even) .approach-card {
    grid-template-columns: 1fr;
  }

  .approach-step:nth-child(even) .approach-copy,
  .approach-step:nth-child(even) .approach-visual {
    order: initial;
  }

  .approach-visual {
    min-height: 160px;
    margin-top: 16px;
  }

  /* Root Cause Icons */
  .rc-topbar {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rc-icons-grid {
    gap: 20px 16px;
  }

  .rc-item {
    width: 120px;
  }

  .rc-circle {
    width: 80px;
    height: 80px;
  }

  .rc-circle svg,
  .rc-circle img {
    width: 26px;
    height: 26px;
  }

  .rc-label {
    font-size: 0.78rem;
  }

  /* Root Cause Modal */
  .rc-modal {
    padding: 36px 28px;
    max-width: 90%;
  }

  /* Functional Fitness Grid */
  .ff-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ff-card:nth-child(n) {
    grid-column: span 1;
  }

  .ff-card:nth-child(5) {
    grid-column: span 2;
  }

  .ff-card {
    height: 340px;
    padding: 24px;
  }

  .ff-card-emoji {
    font-size: 3.5rem;
    top: 20px;
    right: 20px;
  }

  /* Aesthetic Section */
  .aes-shell {
    grid-template-columns: 1fr;
  }

  .aes-img-panel {
    height: 360px;
    order: 1;
  }

  .aes-content {
    padding: 50px 24px;
    order: 2;
  }

  .aes-img-overlay {
    background: linear-gradient(to top, #fff 10%, transparent 100%);
  }

  .aes-journey-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .aes-step {
    padding: 16px;
  }

  /* Visceral Fat Section */
  .vf-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vf-strategy {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .vf-strategy-item {
    padding: 24px;
  }

  .vf-results-strip {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 24px;
  }

  /* CTA Final */
  .cta-stats {
    flex-direction: column;
    gap: 20px;
  }

  .cta-stat {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    padding: 16px 0;
    width: 100%;
  }

  .cta-stat:last-child {
    border-bottom: none;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
}

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE (max-width: 640px)
═══════════════════════════════════════ */
@media(max-width:640px) {
  /* General sections */
  section {
    padding: 56px 18px;
  }

  /* Typography scaling */
  .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .section-intro {
    font-size: 0.92rem;
  }

  /* Navigation */
  nav {
    padding: 10px 18px;
  }

  .nav-logo {
    font-size: 1.4rem;
  }

  /* Buttons */
  .btn {
    padding: 11px 22px;
    font-size: 0.85rem;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 0.92rem;
  }

  /* Hero Section - Full mobile optimization */
  #hero {
    min-height: auto;
  }

  #hero .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 100px 18px 40px !important;
  }

  #hero .hero-badge {
    font-size: 0.65rem;
    padding: 7px 14px;
    margin-bottom: 20px;
  }

  #hero .hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.12;
    margin-bottom: 14px;
  }

  #hero .hero-sub {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  #hero .hero-actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
  }

  #hero .hero-btn-main,
  #hero .hero-btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: 0.9rem;
  }

  #hero .hero-trust {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  #hero .trust-pill {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  #hero .hero-right {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin-top: 10px;
  }

  #hero .hero-img-frame {
    width: 100%;
    max-width: 320px;
  }

  #hero .hero-img-frame img {
    max-width: 100%;
    width: 300px;
    margin-bottom: -40px;
  }

  /* Dietician Section */
  #dietician {
    padding: 70px 18px;
  }

  .diet-portrait-wrap {
    max-width: 100%;
  }

  .diet-portrait {
    border-radius: 20px;
  }

  .diet-chips {
    gap: 6px;
  }

  .d-chip {
    font-size: 0.72rem;
    padding: 5px 11px;
  }

  .diet-points {
    gap: 14px;
  }

  .diet-points li {
    font-size: 0.88rem;
    gap: 12px;
  }

  .dp-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  /* Foundation Section */
  #foundation {
    padding: 70px 18px;
  }

  .pillars-grid {
    gap: 20px;
  }

  .pillar-card {
    padding: 28px;
    border-radius: 20px;
  }

  .pillar-number {
    font-size: 4.5rem;
    right: 24px;
  }

  .pillar-icon-wrap {
    height: 180px;
    border-radius: 18px;
    margin-bottom: 20px;
  }

  .pillar-card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .pillar-card-text {
    font-size: 0.92rem;
  }

  /* Approach Section */
  #approach {
    padding: 70px 18px 50px;
  }

  .approach-intro {
    margin-bottom: 36px;
  }

  .approach-step {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 28px;
  }

  .approach-dot {
    width: 44px;
    height: 44px;
    font-size: 0.8rem;
  }

  .approach-curve {
    top: 42px;
    width: 120px;
  }

  .approach-card {
    padding: 20px;
    border-radius: 18px;
  }

  .approach-kicker {
    font-size: 0.65rem;
    margin-bottom: 8px;
  }

  .approach-title {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 8px;
  }

  .approach-text {
    font-size: 0.88rem;
    line-height: 1.65;
  }

  .approach-visual {
    min-height: 140px;
    padding: 12px;
    border-radius: 16px;
  }

  .approach-visual img {
    max-height: 180px;
  }

  .approach-cta-wrap {
    margin-top: 32px;
  }

  /* Root Cause Section */
  #root-cause {
    padding: 70px 18px;
  }

  .rc-headline {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
  }

  .rc-icons-grid {
    gap: 16px 12px;
    max-width: 100%;
  }

  .rc-item {
    width: 100px;
  }

  .rc-circle {
    width: 68px;
    height: 68px;
  }

  .rc-circle svg,
  .rc-circle img {
    width: 22px;
    height: 22px;
  }

  .rc-label {
    font-size: 0.74rem;
    line-height: 1.3;
  }

  .rc-know-more {
    font-size: 0.65rem;
  }

  /* Root Cause Modal */
  .rc-modal {
    padding: 28px 20px;
    max-width: 95%;
    border-radius: 20px;
<<<<<<< HEAD
    max-height: 85vh;
    overflow-y: auto;
=======
>>>>>>> f6eaf51eccd339216e24d52a90ba4d77b32ca6d9
  }

  .rc-modal-head {
    gap: 12px;
    margin-bottom: 20px;
  }

  .rc-modal-icon {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .rc-modal-title {
    font-size: 1.3rem;
  }

  .rc-modal-subtitle {
    font-size: 0.8rem;
  }

  .rc-modal-sections {
    gap: 18px;
  }

  .rc-modal-section-title {
    font-size: 0.75rem;
    margin-bottom: 8px;
  }

  .rc-modal-list li {
    font-size: 0.85rem;
  }

  .rc-modal-cta {
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
    padding-top: 18px;
  }

  .rc-modal-cta-text {
    font-size: 0.8rem;
    text-align: center;
  }

  .rc-modal-cta-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Functional Fitness */
  #functional-fitness {
    padding: 70px 18px;
  }

  .ff-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ff-card:nth-child(n) {
    grid-column: span 1;
  }

  .ff-card {
    height: 300px;
    padding: 20px;
    border-radius: 20px;
  }

  .ff-card-emoji {
    font-size: 3rem;
    top: 16px;
    right: 16px;
  }

  .ff-card-tag {
    font-size: 0.6rem;
    margin-bottom: 8px;
  }

  .ff-card-name {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .ff-card-desc {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  /* Aesthetic Section */
  #aesthetic {
    padding: 0;
  }

  .aes-img-panel {
<<<<<<< HEAD
    height: auto;
=======
    height: 320px;
>>>>>>> f6eaf51eccd339216e24d52a90ba4d77b32ca6d9
  }

  .aes-content {
    padding: 40px 18px;
  }

  .aes-label {
    font-size: 0.68rem;
    margin-bottom: 10px;
  }

  .aes-title {
    font-size: clamp(2.4rem, 8vw, 3.2rem) !important;
    margin-bottom: 14px;
  }

  .aes-lead {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .aes-journey-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  .aes-step {
    padding: 14px;
  }

  .aes-step-icon {
    width: 34px;
    height: 34px;
  }

  .aes-step-icon svg {
    width: 16px;
    height: 16px;
  }

  .aes-step-title {
    font-size: 0.88rem;
    margin-bottom: 3px;
  }

  .aes-step-desc {
    font-size: 0.78rem;
  }

  .aes-btn-main {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.88rem;
  }

  .aes-chip {
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  .aes-chip strong {
    font-size: 1.1rem;
  }

  /* Visceral Fat Section */
  #visceral {
    padding: 70px 18px;
  }

  .vf-badge {
    font-size: 0.65rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  .vf-headline {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    margin-bottom: 12px;
  }

  .vf-tagline {
    font-size: 0.95rem;
  }

  .vf-stats-card {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .vf-stats-top {
    gap: 18px;
    margin-bottom: 24px;
  }

  .vf-danger-ring {
    width: 76px;
    height: 76px;
  }

  .vf-danger-value {
    font-size: 1.5rem;
  }

  .vf-danger-text {
    font-size: 0.88rem;
  }

  .vf-risk-list {
    gap: 8px;
  }

  .vf-risk-pill {
    padding: 7px 12px;
    font-size: 0.72rem;
  }

  .vf-benefit-item {
    gap: 14px;
  }

  .vf-icon-box {
    width: 38px;
    height: 38px;
  }

  .vf-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .vf-b-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .vf-b-content p {
    font-size: 0.85rem;
  }

  .vf-strategy {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }

  .vf-strategy-item {
    padding: 20px;
  }

  .vf-s-num {
    font-size: 1.6rem;
    margin-bottom: 8px;
  }

  .vf-strategy-item h5 {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }

  .vf-strategy-item p {
    font-size: 0.84rem;
  }

  .vf-results-strip {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .vf-r-text {
    font-size: 1.05rem;
    max-width: 100%;
  }

  .vf-action-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.85rem;
  }

  /* CTA Final */
  #cta-final {
    padding: 80px 18px;
  }

  .cta-eyebrow {
    font-size: 0.65rem;
    margin-bottom: 16px;
  }

  .cta-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 14px;
  }

  .cta-sub {
    font-size: 0.92rem;
    margin-bottom: 32px;
  }

  .cta-btn-wrap {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
  }

  .cta-main-btn,
  .cta-ghost-btn {
    width: 100%;
    justify-content: center;
    padding: 15px 32px;
    font-size: 0.92rem;
  }

  .cta-stats {
    flex-direction: column;
    gap: 0;
  }

  .cta-stat {
    padding: 18px 0;
    width: 100%;
  }

  .cta-stat-num {
    font-size: 2rem;
  }

  .cta-stat-label {
    font-size: 0.7rem;
  }

  /* Footer */
  footer {
    padding: 50px 18px 30px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
    padding-bottom: 36px;
  }

  .footer-logo {
    font-size: 1.3rem;
  }

  .footer-tagline {
    font-size: 0.82rem;
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-copy {
    font-size: 0.75rem;
  }

  .footer-socials {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════
   EXTRA SMALL MOBILE (max-width: 380px)
═══════════════════════════════════════ */
@media(max-width:380px) {
  section {
    padding: 50px 14px;
  }

  #hero .hero-inner {
    padding: 90px 14px 36px !important;
  }

  #hero .hero-title {
    font-size: 1.7rem;
  }

  #hero .hero-img-frame img {
    width: 260px;
  }

  .rc-item {
    width: 90px;
  }

  .rc-circle {
    width: 60px;
    height: 60px;
  }

  .rc-circle svg,
  .rc-circle img {
    width: 20px;
    height: 20px;
  }

  .rc-label {
    font-size: 0.7rem;
  }

  .pillar-card {
    padding: 24px;
  }

  .approach-step {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }

  .approach-dot {
    width: 40px;
    height: 40px;
    font-size: 0.75rem;
  }
}