:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fff7ed;
  --green: #16a34a;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg: #f9fafb;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);

  --hero-height: 190px;        /* height of your hero banner */
  --tabs-height: 56px;
  --bottom-nav-height: 45px;
}

/* Body padding for bottom nav */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: calc(var(--bottom-nav-height) + 16px);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* ===== Fun scattered food images ===== */
.mp-bg-foods {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.mp-food {
  position: absolute;
  opacity: 0.95;
  border-radius: 16px;
  object-fit: cover;
  filter: saturate(0.7) brightness(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  user-select: none;
}

/* Different sizes & positions */
.mp-food:nth-child(1) {
  width: 140px;
  height: 140px;
  top: 12%;
  left: 3%;
  transform: rotate(-8deg);
}
.mp-food:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 28%;
  right: 4%;
  transform: rotate(12deg);
}
.mp-food:nth-child(3) {
  width: 160px;
  height: 110px;
  top: 48%;
  left: 2%;
  transform: rotate(-14deg);
}
.mp-food:nth-child(4) {
  width: 130px;
  height: 130px;
  top: 62%;
  right: 3%;
  transform: rotate(9deg);
}
.mp-food:nth-child(5) {
  width: 110px;
  height: 110px;
  top: 78%;
  left: 6%;
  transform: rotate(-6deg);
}
.mp-food:nth-child(6) {
  width: 100px;
  height: 100px;
  top: 18%;
  left: 42%;
  transform: rotate(15deg);
}
.mp-food:nth-child(7) {
  width: 125px;
  height: 90px;
  top: 55%;
  right: 18%;
  transform: rotate(-11deg);
}
.mp-food:nth-child(8) {
  width: 115px;
  height: 115px;
  top: 85%;
  right: 28%;
  transform: rotate(7deg);
}

/* Gentle floating animation */
@keyframes mpFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

.mp-food {
  --r: 0deg;
  animation: mpFloat 10s ease-in-out infinite;
}
.mp-food:nth-child(1) { --r: -8deg;  animation-delay: 0s; }
.mp-food:nth-child(2) { --r: 12deg;  animation-delay: 1.2s; }
.mp-food:nth-child(3) { --r: -14deg; animation-delay: 0.6s; }
.mp-food:nth-child(4) { --r: 9deg;   animation-delay: 2s; }
.mp-food:nth-child(5) { --r: -6deg;  animation-delay: 1.5s; }
.mp-food:nth-child(6) { --r: 15deg;  animation-delay: 0.9s; }
.mp-food:nth-child(7) { --r: -11deg; animation-delay: 2.4s; }
.mp-food:nth-child(8) { --r: 7deg;   animation-delay: 1.8s; }

/* Keep page content above the decorations */
.mp-topbar,
.mp-hero,
.mp-section,
.mp-cta {
  position: relative;
  z-index: 1;
}

/* Hide some images on very small screens so it doesn’t feel crowded */
@media (max-width: 480px) {
  .mp-food:nth-child(n+5) {
    display: none;
  }
  .mp-food {
    opacity: 0.08;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .mp-food {
    animation: none;
  }
}

/* ===== Meal Programs Page ===== */
.mp-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 12px 16px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f97316;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== Bold Hero with side food images ===== */
/* ===== Bold Hero with side food images ===== */
.mp-hero {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 55%, #f97316 100%);
  color: #fff;
  padding: 36px 16px 44px;
  overflow: hidden;
  position: relative;
}

.mp-hero-inner {
  max-width: 1100px;
  /* max-height: auto; */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

/* Center text */
.hero-content {
  text-align: center;
  z-index: 2;
  padding: 8px 12px;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 8px;
}

.mp-hero h1 {
  font-size: clamp(1.55rem, 5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.hero-text {
  font-size: 0.98rem;
  line-height: 1.5;
  opacity: 0.95;
  max-width: 420px;
  margin: 0 auto 22px;
}

.mp-hero .cta-btn {
  display: inline-block;
  background: #ffc600;
  color: #111;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform 0.2s, background 0.2s;
}
.mp-hero .cta-btn:hover {
  background: #ffb700;
  transform: scale(1.04);
}

/* Food image groups */
.hero-foods {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-food {
  width: 190px;
  height: 190px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid rgba(255,255,255,0.85);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.25s ease;
}
.hero-food:hover {
  transform: scale(1.06) rotate(2deg);
}

/* Slight rotation for a fun look */
.hero-food-1 { transform: rotate(-6deg); }
.hero-food-2 { transform: rotate(5deg); }
.hero-food-3 { transform: rotate(7deg); }
.hero-food-4 { transform: rotate(-4deg); }

/* ===== Tablet & Desktop: real side layout ===== */
@media (min-width: 768px) {
  .mp-hero {
    padding: 48px 24px 56px;
  }

  .mp-hero-inner {
    grid-template-columns: 180px 1fr 180px;
    gap: 20px;
  }

  .hero-foods {
    flex-direction: column;
    gap: 16px;
  }

  .hero-food {
    width: 150px;
    height: 150px;
  }

  .hero-foods-left {
    align-items: flex-end;
  }
  .hero-foods-right {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .mp-hero-inner {
    grid-template-columns: 200px 1fr 200px;
    gap: 28px;
  }

  .hero-food {
    width: 170px;
    height: 170px;
  }
}

/* @media (min-width: 480px) {
  .mp-hero-inner {
    grid-template-columns: 1fr 1fr;
    height: 100vh;
  }

  .hero-foods-left {
    justify-content: flex-end;
  }
  .hero-foods-right {
    justify-content: flex-start;
  }
} */

/* Sections */
.mp-section {
  padding: 40px 20px;
  max-width: 960px;
  margin: 0 auto;
}
.mp-section.mp-alt {
  background: #f9fafb;
  max-width: none;
}
.mp-section.mp-alt > * {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.mp-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.mp-section .subtitle {
  color: #6b7280;
  margin-bottom: 28px;
  font-size: 0.95rem;
}

/* ===== Programs section layout ===== */
/* =====================================================
   PROGRAMS SECTION – Clean (No Side Images)
   ===================================================== */

#programs.mp-section {
  padding: 48px 20px 56px;
  background: #ffffff;
}

#programs h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  margin: 0 0 8px;
  text-align: center;
}

#programs .subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 460px;
  margin: 0 auto 28px;
}

/* ----- Billing Tabs ----- */
.billing-tabs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  justify-content: flex-start;
  max-width: 560px;
  margin: 0 auto 10px;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.billing-tabs::-webkit-scrollbar {
  display: none;
}

.billing-tab {
  flex-shrink: 0;
  border: none;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.billing-tab:hover {
  background: #ffedd5;
  color: #c2410c;
}

.billing-tab.active {
  background: #f97316;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.cycle-note {
  text-align: center;
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 0 0 28px;
}

/* ----- Cards Grid ----- */
.program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .program-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
  }
}

/* ----- Card ----- */
.program-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 18px;
  padding: 28px 22px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.program-card:hover {
  border-color: #fdba74;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.1);
  transform: translateY(-3px);
}

.program-card.popular {
  border-color: #f97316;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 45%);
}

.program-card .badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #f97316;
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.program-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin: 4px 0 12px;
}

.program-card .price {
  text-align: center;
  margin-bottom: 18px;
}

.program-card .price-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ea580c;
}

.program-card .price-cycle {
  font-size: 0.88rem;
  font-weight: 500;
  color: #9ca3af;
  margin-left: 3px;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  flex: 1;
}

.program-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #374151;
  padding: 6px 0;
  line-height: 1.4;
}

.program-card li i {
  color: #16a34a;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.program-card .select-btn {
  display: block;
  text-align: center;
  background: #f97316;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.program-card .select-btn:hover {
  background: #ea580c;
  transform: scale(1.02);
}

.program-card.popular .select-btn {
  background: #ea580c;
}

.program-card.popular .select-btn:hover {
  background: #c2410c;
}

/* Hide any leftover image layout wrappers */
.programs-layout {
  display: block;
  max-width: 960px;
  margin: 0 auto;
}

.section-foods {
  display: none !important;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */

#how-it-works.mp-section,
.mp-section.mp-alt {
  background: #f9fafb;
  padding: 48px 20px 56px;
}


.mp-alt h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1f2937;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px;
}

#how-it-works .subtitle,
.mp-alt .subtitle {
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
  max-width: 420px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

/* Steps grid */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Individual step card */
.step-card {
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 18px 22px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: #fdba74;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
  transform: translateY(-2px);
}

.step-num {
  width: 42px;
  height: 42px;
  background: #f97316;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.step-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px;
}

.step-card p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.45;
  margin: 0;
}

/* Benefits */
.benefits {
  display: grid;
  gap: 14px;
}
@media (min-width: 600px) {
  .benefits { grid-template-columns: 1fr 1fr; }
}
.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff7ed;
  padding: 16px;
  border-radius: 12px;
}
.benefit-item i {
  font-size: 1.3rem;
  color: #f97316;
  margin-top: 2px;
}
.benefit-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.benefit-item span {
  font-size: 0.82rem;
  color: #6b7280;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 0;
}
.faq-item h4 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.faq-item p {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.5;
}

/* Other Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}
.service-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.service-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  display: block;
}
.service-card span {
  display: block;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* =====================================================
   FINAL CTA WITH SIDE IMAGES
   ===================================================== */

.mp-cta {
  background: #1f2937;
  color: #ffffff;
  padding: 48px 20px;
  overflow: hidden;
}

.mp-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

/* Center text + button */
.cta-content {
  text-align: center;
  z-index: 2;
}

.mp-cta h2 {
  color: #ffffff;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.25;
}

.mp-cta p {
  color: rgba(255,255,255,0.88);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 400px;
  margin: 0 auto 24px;
}

.mp-cta .whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s, background 0.2s;
}

.mp-cta .whatsapp-btn:hover {
  background: #1ebe57;
  transform: scale(1.03);
}

/* Food images */
.cta-foods {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-food {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.cta-foods-left .cta-food:nth-child(1) { transform: rotate(-6deg); }
.cta-foods-left .cta-food:nth-child(2) { transform: rotate(5deg); }
.cta-foods-right .cta-food:nth-child(1) { transform: rotate(7deg); }
.cta-foods-right .cta-food:nth-child(2) { transform: rotate(-4deg); }

/* Desktop: real side layout */
@media (min-width: 800px) {
  .mp-cta {
    padding: 56px 24px;
  }

  .mp-cta-inner {
    grid-template-columns: 160px 1fr 160px;
    gap: 24px;
  }

  .cta-foods {
    flex-direction: column;
    gap: 16px;
  }

  .cta-food {
    width: 140px;
    height: 140px;
  }

  .cta-foods-left {
    align-items: flex-end;
  }

  .cta-foods-right {
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .mp-cta-inner {
    grid-template-columns: 180px 1fr 180px;
  }

  .cta-food {
    width: 155px;
    height: 155px;
  }
}

/* ==================== Bottom Navigation ==================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 50px;
  background-color: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex !important;          /* force visible on all screens */
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  padding-bottom: env(safe-area-inset-bottom); /* iPhone safe area */
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #eb8a51;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 4px;
  transition: color 0.2s ease;
  height: 100%;
}

.nav-item i {
  display: block;
  font-size: 20px;
  margin-bottom: 3px;
}

.nav-item.active,
.nav-item:hover {
  color: #c74d06;
}

/* Desktop / large screens */
@media (min-width: 768px) {
  .bottom-nav {
    height: 50px;
  }
  .nav-item {
    font-size: 12px;
  }
  .nav-item i {
    font-size: 22px;
  }
  /* Prevent content from being hidden behind the nav */
  body {
    padding-bottom: 110px !important;
  }
}

@media (min-width: 480px) {
    .bottom-nav {
        height: 50px;
    }
    .nav-item {
        font-size: 11px;
    }
    .nav-item i {
        font-size: 20px;
    }
    body {
        padding-bottom: 90px !important;
    }
}
