/* ==========================================================================
   Budget Family Table — Landing Page Styles
   ========================================================================== */

:root {
  --cream: #FBF4E8;
  --cream-soft: #F5EADA;
  --green: #2E5339;
  --green-dark: #1E3B27;
  --green-light: #4C7A5B;
  --orange: #E58A3C;
  --orange-dark: #CC6F24;
  --text-dark: #2B2621;
  --text-muted: #5C564D;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(43, 38, 33, 0.08);
  --shadow-strong: 0 14px 40px rgba(43, 38, 33, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
  body { padding-bottom: 82px; /* space for sticky mobile cta so it never covers the footer */ }
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--green-dark);
  line-height: 1.25;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-strong);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-large {
  padding: 18px 34px;
  font-size: 1.15rem;
  width: 100%;
  max-width: 460px;
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-full { width: 100%; padding: 16px 20px; font-size: 1.05rem; }

/* Ensure every download CTA is a comfortable, full-width tap target on mobile/tablet,
   matching the sticky footer button's size exactly (not larger). */
@media (max-width: 768px) {
  .btn-large,
  .btn-full {
    width: 100%;
    min-height: 50px;
    height: 50px;
    padding: 0 16px;
    font-size: 0.92rem;
    gap: 8px;
    white-space: nowrap;
  }

  .btn-large i,
  .btn-full i {
    font-size: 0.9rem;
  }
}

/* On very narrow screens, shrink the label a touch more so it never wraps */
@media (max-width: 360px) {
  .btn-large,
  .btn-full {
    font-size: 0.82rem;
    padding: 0 10px;
  }
}

/* ---------------- Eyebrow / labels ---------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.eyebrow.center { display: flex; width: fit-content; margin-left: auto; margin-right: auto; }

/* ---------------- Section generic ---------------- */
.section { padding: 64px 0; }
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 14px;
}
.section-title.left { text-align: left; }
.section-sub {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.section-sub.left { text-align: left; margin-left: 0; margin-right: 0; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 244, 232, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(46, 83, 57, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-dark);
}
.logo i { color: var(--orange); }

.main-nav {
  display: none;
  gap: 28px;
}
.main-nav a {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.97rem;
  transition: color 0.15s;
}
.main-nav a:hover { color: var(--orange-dark); }

.header-cta { display: none; }

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--green-dark);
  cursor: pointer;
  padding: 6px;
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 16px 20px 24px;
  box-shadow: var(--shadow);
  gap: 16px;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .main-nav.open { position: static; box-shadow: none; padding: 0; flex-direction: row; background: none; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  padding: 44px 0 56px;
  background: linear-gradient(180deg, #FDF8EF 0%, var(--cream) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.hero-copy { text-align: center; }

.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.trust-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 28px auto;
  text-align: left;
}
.trust-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--green-dark);
  box-shadow: var(--shadow);
}
.trust-points i { color: var(--orange); }

#hero-cta { margin: 0 auto; }

.honest-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 14px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.honest-note.light { color: rgba(255,255,255,0.85); }

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  max-height: 480px;
  object-fit: cover;
  width: 100%;
}

/* Shrink the hero image on mobile only — it was rendering too tall on narrow screens */
@media (max-width: 768px) {
  .hero-media img {
    max-height: 260px;
  }
}
.hero-badge {
  position: absolute;
  bottom: -14px;
  right: 14px;
  background: var(--green);
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: var(--shadow-strong);
}
.hero-badge i { font-size: 1.4rem; color: var(--orange); }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; text-align: left; }
  .hero-copy { text-align: left; }
  .hero h1 { font-size: 3rem; }
  .trust-points { margin-left: 0; }
  #hero-cta { margin: 0; }
  .honest-note { margin-left: 0; }
}

/* ==========================================================================
   CARD GRIDS / PAIN POINTS
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .card-grid.four-up { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three-up { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .card-grid.four-up { grid-template-columns: repeat(4, 1fr); }
  .card-grid.three-up { grid-template-columns: repeat(3, 1fr); }
}

.pain-points { background: var(--cream-soft); }

.pain-card {
  background: var(--white);
  padding: 26px 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.pain-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pain-card p { color: var(--text-muted); font-size: 0.95rem; }

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 14px;
}
.icon-circle.orange { background: var(--orange); }
.icon-circle.green { background: var(--green); }

/* ==========================================================================
   WHAT'S INSIDE
   ========================================================================== */
.inside-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}
@media (min-width: 900px) {
  .inside-layout { grid-template-columns: 0.85fr 1.15fr; align-items: stretch; }
}

.inside-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}

.inside-ready-card {
  display: none;
}
.inside-ready-card p {
  font-weight: 600;
  line-height: 1.5;
}
.inside-ready-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 50px;
  box-shadow: var(--shadow-strong);
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.inside-ready-btn:hover { background: var(--orange-dark); transform: translateY(-2px); }

.checklist { display: flex; flex-direction: column; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--white);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}
.checklist i { color: var(--green); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.checklist strong { color: var(--green-dark); }

/* Desktop-only: photo fills the full column height (no sticky/empty space below it),
   plus an optional "Ready when you are" card beneath it if space remains, and the
   checklist flows in two equal columns instead of one tall column. */
@media (min-width: 900px) {
  .inside-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
  }
  .inside-image img {
    position: static;
    top: auto;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
  .inside-ready-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: var(--green-dark);
    color: var(--white);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow);
    flex-shrink: 0;
  }
  .checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: row;
    gap: 14px 18px;
    align-content: start;
  }
}

.dinner-cards-strip {
  background: var(--green);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 36px;
}
.dinner-cards-strip h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tag {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tag i { color: var(--orange); }

.center-cta { display: flex; justify-content: center; }

/* ==========================================================================
   SAMPLE DAY
   ========================================================================== */
.sample-day { background: var(--cream-soft); }
.sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .sample-grid { grid-template-columns: 0.9fr 1.1fr; }
}
.sample-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 380px;
}

.sample-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.sample-table th, .sample-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--cream-soft);
}
.sample-table tr:last-child th, .sample-table tr:last-child td { border-bottom: none; }
.sample-table th {
  color: var(--green-dark);
  font-weight: 700;
  width: 40%;
  background: var(--cream);
}
.sample-table th i { color: var(--orange); margin-right: 8px; }
.sample-footnote { color: var(--text-muted); font-style: italic; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 860px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-head);
  box-shadow: var(--shadow);
}
.step-icon {
  font-size: 2rem;
  color: var(--green);
  margin: 14px 0 14px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   COUNTRIES
   ========================================================================== */
.countries { background: var(--cream-soft); }
.country-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.flag-badge { font-size: 2.6rem; margin-bottom: 10px; }
.country-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.country-price {
  color: var(--orange-dark);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 16px;
  font-family: var(--font-head);
}
.mini-list { text-align: left; display: flex; flex-direction: column; gap: 8px; }
.mini-list li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.95rem; }
.mini-list i { color: var(--green); flex-shrink: 0; }

/* ==========================================================================
   WHO FOR
   ========================================================================== */
.for-not-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 760px) {
  .for-not-grid { grid-template-columns: repeat(2, 1fr); }
}
.for-card {
  padding: 28px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.for-card.yes { background: #EAF2EC; border: 2px solid var(--green-light); }
.for-card.no { background: #FBEFE6; border: 2px solid var(--orange); }
.for-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.15rem;
}
.for-card.yes h3 i { color: var(--green); }
.for-card.no h3 i { color: var(--orange-dark); }
.for-card.no .mini-list i { color: var(--orange-dark); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--orange); transition: transform 0.2s; font-size: 0.9rem; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { margin-top: 12px; color: var(--text-muted); }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: var(--white);
  text-align: center;
  border-radius: 0;
}
.final-cta-image {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 28px auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
  max-height: 260px;
  object-fit: cover;
}
.final-cta h2 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 14px;
}
.final-cta p {
  color: rgba(255,255,255,0.9);
  max-width: 540px;
  margin: 0 auto 28px auto;
  font-size: 1.05rem;
}
.final-cta .btn-large { margin: 0 auto; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 44px 0 28px;
}
.footer-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 24px;
}
.footer-logo { color: var(--white); }
.footer-logo i { color: var(--orange); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.footer-nav a { font-weight: 600; font-size: 0.92rem; color: rgba(255,255,255,0.85); }
.footer-nav a:hover { color: var(--orange); }

.disclosure {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 820px;
  margin: 0 auto 18px auto;
  text-align: center;
}
.copyright {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

@media (min-width: 760px) {
  .footer-top { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ==========================================================================
   STICKY MOBILE CTA
   ========================================================================== */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 10px 16px;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.12);
    z-index: 200;
  }
}
