/* YOUR.Life — 1:1 Functional Medicine Programs page styles */

/* GeneratePress full-width override */
.page-template-functional-medicine-programs .site-content,
.page-template-functional-medicine-programs .content-area,
.page-template-functional-medicine-programs .inside-article,
.page-template-functional-medicine-programs .entry-content,
.page-template-functional-medicine-programs .page-content { padding: 0 !important; margin: 0 !important; width: 100% !important; max-width: 100% !important; }

/* #omega-functional-medicine-programs content corrections (beat GP class-scoped defaults) */
#omega-functional-medicine-programs h1, #omega-functional-medicine-programs h2, #omega-functional-medicine-programs h3, #omega-functional-medicine-programs h4 { font-family: var(--serif); font-weight: 400; }
#omega-functional-medicine-programs em, #omega-functional-medicine-programs i, #omega-functional-medicine-programs blockquote, #omega-functional-medicine-programs .eyebrow { font-style: normal; }
#omega-functional-medicine-programs a, #omega-functional-medicine-programs a:hover { text-decoration: none; }

:root {
      --navy:      #1F3A4D;
      --cream:     #F5EFE6;
      --sand:      #E0D3BD;
      --brass:     #8B6E55;
      --mist:      #C9D4DC;
      --body-text: rgba(31, 58, 77, 0.76);
      --serif:     'Playfair Display', Georgia, serif;
      --sans:      'DM Sans', -apple-system, sans-serif;
    }
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--cream); font-family: var(--sans); color: var(--navy); overflow-x: hidden; -webkit-font-smoothing: antialiased; }

nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 200;
      height: 60px;
      padding: 0 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(245, 239, 230, 0.97);
      backdrop-filter: blur(8px);
      box-shadow: 0 1px 0 rgba(31, 58, 77, 0.09);
    }

.band-cream { background: var(--cream); }
.band-sand  { background: var(--sand); }
.band-navy  { background: var(--navy); }
.section-pad { padding: 56px 24px; }
.max-w { max-width: 760px; }

/* ─── TYPOGRAPHY ─── */
.eyebrow { display: block; font-family: var(--sans); font-size: 10px; font-style: normal; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }
.eyebrow--on-dark { color: var(--brass); }
h1.page-headline { font-family: var(--serif); font-weight: 400; font-size: 36px; color: var(--cream); line-height: 1.12; letter-spacing: -0.015em; margin-bottom: 20px; }
h2.headline { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
h2.headline-light { color: var(--cream); }
.lead { font-family: var(--serif); font-size: 16px; font-style: normal; color: rgba(31,58,77,0.62); line-height: 1.72; margin-bottom: 24px; }
.body-copy { font-size: 15px; color: var(--body-text); line-height: 1.85; margin-bottom: 16px; }
.body-copy-light { color: rgba(245,239,230,0.6); }
.text-link { display: inline-block; font-family: var(--sans); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--navy); border-bottom: 0.5px solid var(--brass); padding-bottom: 3px; text-decoration: none; transition: color 0.3s; min-height: 24px; }
.text-link:hover { color: var(--brass); }

/* ─── PAGE HERO (theme offsets content below the fixed nav, so no padding-top here) ─── */
.page-hero { padding-top: 0; background: var(--navy); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 80% 30%, rgba(201,212,220,0.05) 0%, transparent 60%), radial-gradient(ellipse 50% 50% at 10% 80%, rgba(139,110,85,0.04) 0%, transparent 55%); pointer-events: none; }
.page-hero-inner { padding: 36px 24px 36px; position: relative; z-index: 2; }
.hero-badge { display: inline-block; font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); border: 0.5px solid rgba(139,110,85,0.4); padding: 6px 14px; border-radius: 40px; margin-bottom: 22px; }
.hero-sub { font-family: var(--serif); font-size: 17px; font-style: normal; color: rgba(245,239,230,0.6); line-height: 1.68; margin-bottom: 32px; }
.btn-hero { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); border: 0.5px solid rgba(245,239,230,0.34); padding: 16px 28px; text-align: center; text-decoration: none; transition: border-color 0.3s, color 0.3s; min-height: 48px; }
.btn-hero:hover { border-color: var(--brass); color: var(--brass); }

/* ─── IMAGE PLACEHOLDERS (spot-savers until real URLs provided) ─── */
.img-ph { background: linear-gradient(135deg, rgba(31,58,77,0.07) 0%, rgba(224,211,189,0.5) 55%, rgba(201,212,220,0.26) 100%); border: 0.5px dashed rgba(139,110,85,0.24); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px 24px; position: relative; width: 100%; min-height: 280px; border-radius: 3px; }
.img-ph::before { content: ''; position: absolute; inset: 8px; border: 0.5px dashed rgba(139,110,85,0.11); }
.img-ph-tag { font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin-bottom: 8px; }
.img-ph-title { font-family: var(--serif); font-size: 13px; color: rgba(31,58,77,0.42); line-height: 1.48; max-width: 220px; margin-bottom: 6px; }
.img-ph-note { font-size: 10.5px; color: rgba(31,58,77,0.26); line-height: 1.55; max-width: 240px; }
.img-ph-dims { margin-top: 14px; display: inline-block; font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); border: 0.5px solid rgba(139,110,85,0.4); border-radius: 40px; padding: 6px 13px; }
.img-ph-dims-note { margin-top: 7px; font-size: 9px; letter-spacing: 0.05em; color: rgba(31,58,77,0.3); }
.hero-ph { background: linear-gradient(160deg, rgba(201,212,220,0.16) 0%, rgba(31,58,77,0) 55%, rgba(139,110,85,0.16) 100%); border-color: rgba(245,239,230,0.22); }
.hero-ph .img-ph-tag, .hero-ph .img-ph-dims { color: rgba(224,211,189,0.92); }
.hero-ph .img-ph-dims { border-color: rgba(245,239,230,0.32); }
.hero-ph .img-ph-title { color: rgba(245,239,230,0.62); }
.hero-ph .img-ph-note, .hero-ph .img-ph-dims-note { color: rgba(245,239,230,0.4); }
.hero-ph::before { border-color: rgba(245,239,230,0.13); }
/* Real images replace the placeholders */
#omega-functional-medicine-programs .fmp-img { width: 100%; height: auto; display: block; border-radius: 3px; }

/* ─── INTRO (approach) ─── */
.intro-grid { display: grid; gap: 36px; align-items: center; }
.approach-emphasis { font-family: var(--serif); font-size: 18px; color: rgba(31,58,77,0.72); line-height: 1.62; border-left: 1.5px solid var(--brass); padding-left: 22px; margin-top: 26px; }

/* ─── PROGRAM TIERS ─── */
.tiers { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
.tier-card { background: var(--cream); border: 0.5px solid rgba(31,58,77,0.12); padding: 30px 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s; }
.tier-card:hover { border-color: rgba(139,110,85,0.4); transform: translateY(-4px); box-shadow: 0 20px 44px rgba(31,58,77,0.12); }
.tier-card::before { content: ''; position: absolute; top: 0; left: 0; width: 2px; height: 0; background: var(--brass); transition: height 0.45s ease; }
.tier-card:hover::before { height: 100%; }
.tier-months { display: flex; align-items: baseline; gap: 9px; margin-bottom: 16px; }
.tier-num { font-family: var(--serif); font-size: 46px; line-height: 0.9; color: var(--navy); }
.tier-months-label { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); }
.tier-name { font-family: var(--serif); font-size: 23px; font-weight: 500; color: var(--navy); line-height: 1.2; margin-bottom: 8px; }
.tier-tagline { font-family: var(--serif); font-size: 15.5px; color: var(--brass); line-height: 1.4; margin-bottom: 16px; }
.tier-hook { font-size: 14.5px; color: rgba(31,58,77,0.72); line-height: 1.7; margin-bottom: 14px; }
.tier-desc { font-size: 13.5px; color: rgba(31,58,77,0.55); line-height: 1.65; margin-bottom: 22px; }
.tier-link { margin-top: auto; }

/* ─── COMPARISON ─── */
.compare-wrap { margin-top: 32px; }
.compare-table { display: none; }
.compare-cards { display: flex; flex-direction: column; gap: 16px; }
.compare-card { background: var(--cream); border: 0.5px solid rgba(31,58,77,0.12); padding: 24px 22px; }
.compare-card-name { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--navy); line-height: 1.25; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 0.5px solid rgba(31,58,77,0.12); }
.cc-row { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 11px 0; border-bottom: 0.5px solid rgba(31,58,77,0.07); }
.cc-row:last-child { border-bottom: 0; }
.cc-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(31,58,77,0.45); }
.cc-value { font-size: 14px; color: var(--navy); line-height: 1.5; }

/* ─── CTA CLOSING ─── */
.cta-section { background: var(--navy); padding: 64px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,212,220,0.06) 0%, transparent 60%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; }
.cta-headline { font-family: var(--serif); font-weight: 400; font-size: 32px; color: var(--cream); line-height: 1.2; margin-bottom: 18px; }
.cta-body { font-family: var(--serif); font-size: 16px; color: rgba(245,239,230,0.55); line-height: 1.7; margin-bottom: 32px; }
.cta-section .btn-hero { display: inline-block; }
.cta-note { margin-top: 18px; font-size: 11.5px; color: rgba(245,239,230,0.28); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* ════════ TABLET ≥ 768px ════════ */
@media (min-width: 768px) {
  nav { height: 76px; padding: 0 48px; }

  .section-pad { padding: 96px 48px; }
  .eyebrow { font-size: 10.5px; margin-bottom: 18px; }
  h1.page-headline { font-size: clamp(42px, 5vw, 60px); margin-bottom: 26px; }
  h2.headline { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
  .lead { font-size: 18px; margin-bottom: 28px; }
  .body-copy { font-size: 16px; }

  .page-hero-inner { max-width: 1260px; margin: 0 auto; padding: 56px 48px 56px; }
  .hero-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
  .hero-sub { font-size: 19px; max-width: 460px; }
  .btn-hero { display: inline-block; }

  .intro-grid { grid-template-columns: 1.05fr 0.85fr; gap: 72px; }
  .approach-emphasis { font-size: 20px; padding-left: 26px; margin-top: 30px; }

  .tiers { grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
  .tier-card { padding: 38px 32px; }
  .tier-num { font-size: 54px; }

  .compare-cards { display: none; }
  .compare-table { display: table; width: 100%; border-collapse: collapse; margin-top: 8px; }
  .compare-table th, .compare-table td { text-align: left; padding: 18px 20px; vertical-align: top; border-bottom: 0.5px solid rgba(31,58,77,0.12); }
  .compare-table thead th { font-family: var(--serif); font-weight: 500; font-size: 17px; color: var(--navy); line-height: 1.25; border-bottom: 1px solid rgba(31,58,77,0.25); vertical-align: bottom; }
  .compare-table thead th:first-child { font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-weight: 500; }
  .compare-table tbody th { font-family: var(--sans); font-weight: 400; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(31,58,77,0.5); width: 19%; }
  .compare-table td { font-size: 14px; color: rgba(31,58,77,0.78); line-height: 1.55; width: 27%; }
  .compare-table tbody tr:nth-child(odd) { background: rgba(31,58,77,0.025); }

  .cta-section { padding: 100px 48px; }
  .cta-headline { font-size: clamp(34px, 4vw, 46px); }
  .cta-body { font-size: 17.5px; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ════════ DESKTOP ≥ 1024px ════════ */
@media (min-width: 1024px) {
  .section-pad { padding: 104px 64px; }
  .page-hero-inner { padding: 56px 64px 56px; }
  nav { padding: 0 64px; }
}
