/*
Theme Name: FitFuelGuide
Author: FitFuelGuide Team
Version: 3.0
Text Domain: fitfuelguide
Description: Fitness blog — pixel-matched to design, fully responsive.
*/

/* ===========================
   1. VARIABLES & RESET
   =========================== */
:root {
  --green: #4faa26;
  --green-500: #57b82c;
  --green-600: #459320;
  --green-700: #3a7d1a;
  --green-800: #2e6414;
  --ink: #161a15;
  --ink-2: #1b1f1a;
  --ink-3: #222721;
  --bg: #e8e8e5;
  --bg-2: #ececea;
  --bg-3: #f2f2f0;
  --card: #ffffff;
  --line: #e2e2dd;
  --text: #1a1d18;
  --muted: #6b7068;
  --radius: 18px;
  --radius-lg: 22px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.1);
  --shadow-xl: 0 32px 80px rgba(0,0,0,0.14);
  --max-w: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  animation: pageIn 0.6s ease forwards;
  width: 100%;
  max-width: 100vw;
}

h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans','Inter',sans-serif;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a { text-decoration: none; color: inherit; transition: color 0.3s ease; }
img { max-width: 100%; display: block; height: auto; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
::selection { background: rgba(79,170,38,0.2); }

/* ===========================
   2. LAYOUT
   =========================== */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}
.container { padding: 96px 0; }
.muted { color: var(--muted); }
.green { color: var(--green); }
.center { text-align: center; }

/* ===========================
   3. GRID SYSTEM
   =========================== */
.grid-4col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4prod { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 44px; }
.grid-foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }

/* ===========================
   4. BADGES & TAGS
   =========================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-700);
  background: #e3f0d8;
  padding: 7px 14px;
  border-radius: 999px;
  transition: transform 0.3s var(--ease), background 0.3s ease;
}
.badge:hover { transform: scale(1.05); background: #d8ecd0; }

.tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--green-700);
  background: #e3f0d8;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* ===========================
   5. BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14.5px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(79,170,38,0.25);
}
.btn-green:hover {
  background: var(--green-600);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(79,170,38,0.35);
}

.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  background: #f7f7f5;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

/* ===========================
   6. LINKS
   =========================== */
.link {
  color: var(--green-700);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition: color 0.3s ease;
}
.link .arr { display: inline-block; transition: transform 0.35s var(--ease); }
.link:hover { color: var(--green); }
.link:hover .arr { transform: translateX(5px); }

/* ===========================
   7. CARDS
   =========================== */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(79,170,38,0.15);
}

/* ===========================
   8. SCROLL PROGRESS
   =========================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-500));
  z-index: 99999;
  pointer-events: none;
}

/* ===========================
   9. PRELOADER
   =========================== */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  z-index: 999999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
  animation: preloaderPulse 1.2s ease-in-out infinite;
}
.preloader-mark img { height: 36px; width: auto; }
.preloader-text {
  font-family: 'Plus Jakarta Sans';
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.5s 0.3s ease forwards;
}

/* ===========================
   10. TOP BAR
   =========================== */
.topbar {
    position: relative;
  z-index: 10000;	
  background: var(--ink);
  color: #d0d8ca;
  text-align: center;
  font-size: 12.5px;
  padding: 10px 16px;
  animation: slideDown 0.5s ease forwards;
}
.topbar span { color: #9fd17a; margin-right: 4px; }

/* ===========================
   11. HEADER
   =========================== */

.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(232, 232, 229, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 18px rgba(0,0,0,0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled{
  background: rgba(232, 232, 229, 0.98);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}
.brand .logo-img {
  height: 50px;
  width: auto;
  transition: transform 0.3s var(--ease);
}
.brand:hover .logo-img { transform: scale(1.05); }

/* Nav menu */
.menu {
  display: flex;
  gap: 2px;
  font-size: 14.5px;
  font-weight: 500;
}
.menu li a {
  display: block;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  position: relative;
  transition: color 0.3s ease, background 0.3s ease;
}
.menu li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 16px; right: 16px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.menu li a:hover { color: var(--green-700); background: rgba(79,170,38,0.05); }
.menu li a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Burger */
.burger {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: var(--radius-xs);
  width: 42px; height: 42px;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
}
.burger:hover { border-color: var(--green); background: rgba(79,170,38,0.05); }
.burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  transition: all 0.3s ease;
}
.burger span:nth-child(1) { top: 12px; transform: translateX(-50%); }
.burger span:nth-child(2) { top: 50%; transform: translate(-50%, -50%); }
.burger span:nth-child(3) { bottom: 12px; transform: translateX(-50%); }
.burger.active span:nth-child(1) { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; transform: translateX(-50%) scaleX(0); }
.burger.active span:nth-child(3) { bottom: 50%; transform: translate(-50%, 50%) rotate(-45deg); }

/* ===========================
   12. HERO
   =========================== */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  right: -5%; top: -25%;
  width: 50%; height: 150%;
  background: radial-gradient(ellipse at 60% 40%, rgba(79,170,33,0.20), transparent 60%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding: 76px 0 100px;
  position: relative;
  z-index: 1;
}

/* Hero text stagger */
.hero-text > * {
  opacity: 0;
  transform: translateY(30px);
}
.hero-text > *:nth-child(1) { animation: fadeUp 0.7s 0.2s var(--ease) forwards; }
.hero-text > *:nth-child(2) { animation: fadeUp 0.7s 0.35s var(--ease) forwards; }
.hero-text > *:nth-child(3) { animation: fadeUp 0.7s 0.5s var(--ease) forwards; }
.hero-text > *:nth-child(4) { animation: fadeUp 0.7s 0.65s var(--ease) forwards; }
.hero-text > *:nth-child(5) { animation: fadeUp 0.7s 0.8s var(--ease) forwards; }

.hero h1 { font-size: 56px; margin: 16px 0 20px; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 500px; margin-bottom: 28px; line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stats .n { font-size: 26px; font-weight: 800; font-family: 'Plus Jakarta Sans'; display: block; line-height: 1.2; }
.stats .l { font-size: 13px; color: var(--muted); display: block; margin-top: 2px; }

/* ---- HERO CARD (matches design exactly) ---- */
.hero-card {
  background: linear-gradient(145deg, #f7f7f5 0%, #e8e7e3 100%);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.14), 0 0 0 1px rgba(0,0,0,0.04);
  padding: 26px 24px 22px;
  position: relative;
  width: min(100%, 400px);
  margin: 0 auto;
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.9s 0.5s var(--ease) forwards;
}

/* Floating badges */
.float {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
  padding: 10px 14px;
  font-size: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 2;
  transition: transform 0.3s var(--ease);
}

.float:hover { transform: scale(1.05); }

.float-ico {
  font-size: 14px;
  line-height: 1;
  flex: none;
}

.float b {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.2;
}

.float span {
  display: block;
  font-size: 10.5px;
  color: var(--muted);
  line-height: 1.2;
}

.float.fast {
  top: -16px;
  left: -16px;
  animation: float 4s ease-in-out infinite;
}

.float.acc {
  bottom: -16px;
  right: -16px;
  animation: float 4s 2s ease-in-out infinite;
}

.hc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.hc-top .lbl {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

.hc-top .val {
  font-size: 38px;
  font-weight: 800;
  font-family: 'Plus Jakarta Sans';
  line-height: 1.05;
}

.hc-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--green);
  display: grid;
  place-items: center;
  font-size: 20px;
  animation: iconPulse 3s ease-in-out infinite;
  flex-shrink: 0;
}

.hc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 14px;
  padding: 13px 14px;
  margin-top: 11px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.3s ease, transform 0.3s var(--ease);
}

.hc-row:hover {
  background: rgba(255,255,255,0.95);
  transform: translateX(4px);
}

.hc-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.hc-row .emo {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #e8e6e1;
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: transform 0.3s var(--ease-bounce);
  flex: none;
}

.hc-row:hover .emo {
  transform: scale(1.15) rotate(-5deg);
}

.hc-value {
  margin-left: auto;
  font-weight: 700;
  color: var(--ink);
}

.hc-foot {
  margin-top: 18px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

.bar {
  height: 7px;
  border-radius: 99px;
  background: #e0deda;
  margin-top: 8px;
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--green);
  border-radius: 99px;
  animation: barFill 1.5s 1.2s var(--ease) forwards;
}


/* ===========================
   13. SECTION HEADS
   =========================== */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}
.section-head h2 { font-size: 36px; margin-top: 14px; }

/* ===========================
   14. ICONS (rounded square style)
   =========================== */
.ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-bounce);
}
.ico.g  { background: var(--green); }
.ico.g2 { background: #27b56a; }
.ico.o  { background: #f08a24; }
.ico.y  { background: #f2b705; }
.ico.p  { background: #d363c8; }

/* ===========================
   15. TOOLS
   =========================== */
.tool { padding: 34px; }
.tool .ico { margin-bottom: 18px; }
.tool:hover .ico { transform: scale(1.1) rotate(-5deg); }
.tool h3 { font-size: 22px; margin-bottom: 10px; }
.tool p { color: var(--muted); margin-bottom: 20px; font-size: 15px; line-height: 1.7; }

/* ===========================
   16. CATEGORIES
   =========================== */
.cats { background: var(--bg-2); }
.cat { padding: 28px; text-align: left; }
.cat:hover .ico { transform: scale(1.15) rotate(8deg); }
.cat h3 { font-size: 19px; margin: 10px 0 10px; }
.cat p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }

/* ===========================
   17. GUIDES
   =========================== */
.guide { overflow: hidden; }
.guide .thumb {
  height: 180px;
  background: linear-gradient(135deg, #eef0ea, #e3e5de);
  display: grid; place-items: center;
  font-size: 44px;
  transition: transform 0.5s var(--ease);
  overflow: hidden;
}
.guide:hover .thumb { transform: scale(1.05); }
.guide .body { padding: 24px; }
.guide h3 { font-size: 18px; margin-bottom: 14px; line-height: 1.35; }

/* ===========================
   18. WHY US
   =========================== */
.why { background: var(--ink-2); color: #e0e5d9; }
.why h2 { color: #fff; }
.why .badge { background: rgba(255,255,255,0.08); color: #9fd17a; }
.why .grid-why { margin-top: 44px; text-align: left; }

.feat {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: background 0.3s ease;
}
.feat:hover { background: rgba(255,255,255,0.04); }
.feat .fi {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-bounce);
}
.feat:hover .fi { transform: scale(1.15) rotate(-5deg); }
.feat h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.feat p { font-size: 13.5px; color: #9da595; line-height: 1.6; }

/* ===========================
   19. GEAR
   =========================== */
.prod { padding: 18px; text-align: left; }
.prod .thumb {
  height: 155px;
  background: #eceae6;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 44px;
  margin-bottom: 16px;
  transition: transform 0.5s var(--ease), background 0.3s ease;
  overflow: hidden;
}
.prod:hover .thumb { transform: scale(1.04); background: #e5e3df; }
.prod h3 { font-size: 16px; margin-bottom: 5px; }
.prod .price { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; }

/* ===========================
   20. NEWSLETTER
   =========================== */
.news {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-700) 100%);
  border-radius: 28px;
  color: #fff;
  text-align: center;
  padding: 64px 32px;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}
.news::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -180px; right: -100px;
  animation: newsOrb 8s ease-in-out infinite alternate;
}
.news::after {
  content: '';
  position: absolute;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  bottom: -120px; left: -60px;
  animation: newsOrb 10s 3s ease-in-out infinite alternate;
}
.news > * { position: relative; z-index: 1; }
.news .emo { font-size: 36px; margin-bottom: 8px; }
.news h2 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.news p { max-width: 480px; margin: 0 auto 28px; opacity: 0.92; font-size: 15px; line-height: 1.7; }
.news .btn { animation: btnPulse 3s ease-in-out infinite; }

/* ===========================
   21. DISCLAIMER
   =========================== */
.disclaimer {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  max-width: 760px;
  margin: 40px auto 0;
  line-height: 1.7;
}

/* ===========================
   22. FOOTER (matches design exactly)
   =========================== */
.site-footer {
  background: var(--ink);
  color: #c8cec2;
  padding: 72px 0 30px;
}
.foot-brand .logo-footer {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.foot-brand:hover .logo-footer { opacity: 1; }
.foot-brand p {
  font-size: 14px;
  color: #8e958a;
  max-width: 280px;
  margin: 16px 0 20px;
  line-height: 1.7;
}
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a {
  background: rgba(255,255,255,0.08);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-2px);
}
.foot-col h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 18px;
  font-weight: 700;
}
.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.foot-col a {
  transition: color 0.3s ease, padding-left 0.3s var(--ease);
  display: inline-block;
  color: #9da595;
}
.foot-col a:hover { color: #fff; padding-left: 6px; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  margin-top: 50px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6a7168;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===========================
   23. BACK TO TOP
   =========================== */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 50px; height: 50px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  display: grid; place-items: center;
  z-index: 400;
  opacity: 0;
  transform: translateY(24px) scale(0.8);
  transition: all 0.4s var(--ease);
  box-shadow: 0 6px 20px rgba(79,170,38,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0) scale(1); }
.back-to-top:hover { background: var(--green-600); transform: translateY(-4px) scale(1.05); }

/* ===========================
   24. ANIMATIONS
   =========================== */
@keyframes pageIn { from { opacity:0; } to { opacity:1; } }
@keyframes fadeUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes slideDown { from { transform:translateY(-100%); opacity:0; } to { transform:translateY(0); opacity:1; } }
@keyframes slideInRight { from { opacity:0; transform:translateX(50px); } to { opacity:1; transform:translateX(0); } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-10px); } }
@keyframes iconPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.08); } }
@keyframes barFill { from { width:0%; } to { width:80%; } }
@keyframes heroGlow { from { opacity:0.7; transform:scale(1); } to { opacity:1; transform:scale(1.05); } }
@keyframes newsOrb { from { transform:translate(0,0); } to { transform:translate(20px,-20px); } }
@keyframes btnPulse { 0%,100% { box-shadow:0 0 0 0 rgba(255,255,255,0.3); } 50% { box-shadow:0 0 0 14px rgba(255,255,255,0); } }
@keyframes preloaderPulse { 0%,100% { transform:scale(1); } 50% { transform:scale(1.12); } }

/* ===========================
   25. SCROLL REVEAL
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }
.reveal-delay-6 { transition-delay: 0.48s; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* ===========================
   26. RESPONSIVE — 1024px
   =========================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 56px 0 80px;
  }
  .hero h1 { font-size: 44px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .stats { justify-content: center; }
  .section-head h2 { font-size: 30px; }
  .grid-4col { grid-template-columns: repeat(2, 1fr); }
  .grid-4prod { grid-template-columns: repeat(2, 1fr); }
}

/* ===========================
   27. RESPONSIVE — 768px
   =========================== */
@media (max-width: 768px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .container { padding: 72px 0; }

  .menu {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.4s ease;
  }
  .menu.open {
    max-height: 600px;
    padding: 12px 24px 20px;
    border-bottom-color: var(--line);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  }
  .menu li a { padding: 12px 0; font-size: 16px; }
  .menu li a::after { display: none; }
  .burger { display: block; }
  .nav-right .btn-green { display: none; }

  .hero h1 { font-size: 38px; }
  .hero-card { max-width: 360px; padding: 22px; }
  .hc-top .val { font-size: 30px; }

  .grid-2col { grid-template-columns: 1fr; }
  .grid-3col { grid-template-columns: 1fr 1fr; }
  .grid-4col { grid-template-columns: 1fr 1fr; }
  .grid-4prod { grid-template-columns: 1fr 1fr; }
  .grid-why { grid-template-columns: 1fr 1fr; }
  .grid-foot { grid-template-columns: 1fr 1fr; gap: 28px; }

  .news { padding: 48px 24px; }
  .news h2 { font-size: 28px; }
  .back-to-top { width: 44px; height: 44px; bottom: 20px; right: 20px; font-size: 18px; }
}

/* ===========================
   28. RESPONSIVE — 480px
   =========================== */
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .container { padding: 56px 0; }
  .topbar { font-size: 11px; padding: 8px 12px; }

  .nav { height: 64px; }
  .menu { top: 64px; }
  .brand .logo-img { height: 36px; }

  .hero-grid { padding: 36px 0 60px; gap: 36px; }
  .hero h1 { font-size: 30px; margin: 12px 0 16px; }
  .hero p.lead { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .stats .n { font-size: 22px; }

  .hero-card {
    width: min(100%, 320px);
    padding: 20px 18px 18px;
    border-radius: 20px;
  }
  .hc-top .val { font-size: 28px; }
  .float { padding: 8px 10px; border-radius: 12px; }
  .float b { font-size: 11px; }
  .float span { font-size: 9.5px; }
  .float.fast { top: -12px; left: -8px; }
  .float.acc { bottom: -12px; right: -8px; }
  .hc-top .val {
    font-size: 30px;
  }

  .hc-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 18px;
  }
  
  .hc-value {
    font-size: 13px;
  }

  .hc-row {
    padding: 11px 12px;
    font-size: 13px;
  }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 26px; }

  .grid-4col, .grid-3col, .grid-2col, .grid-4prod, .grid-why {
    grid-template-columns: 1fr !important;
  }
  .grid-foot { grid-template-columns: 1fr !important; }

  .guide .thumb { height: 160px; }
  .prod .thumb { height: 130px; }
  .news { padding: 36px 18px; border-radius: 18px; }
  .news h2 { font-size: 24px; }
  .news p { font-size: 14px; }

  .feat { flex-direction: column; gap: 12px; padding: 14px 12px; }
  .feat .fi { width: 36px; height: 36px; }
  .foot-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 26px; }
  .hero-card {
    width: min(100%, 290px);
  }

  .hc-top .val {
    font-size: 28px;
  }
  .hero p.lead { font-size: 14px; }
  .stats .n { font-size: 20px; }
  .btn { padding: 12px 18px; font-size: 13px; }
  .news h2 { font-size: 22px; }
  .section-head h2 { font-size: 22px; }
}


/* ===========================
   WORKOUTS / INNER PAGE STYLES
   =========================== */

/* Page hero */
.page-hero{ position:relative; overflow:hidden; padding:64px 0 76px; }
.page-hero::before{
  content:''; position:absolute; right:-5%; top:-40%;
  width:45%; height:180%;
  background:radial-gradient(ellipse at 60% 40%, rgba(79,170,33,0.22), transparent 60%);
  pointer-events:none;
  animation:heroGlow 6s ease-in-out infinite alternate;
}
.page-hero .wrap{ position:relative; z-index:1; }
.page-hero h1{ font-size:52px; margin:18px 0 16px; }
.page-hero p{ font-size:17px; color:var(--muted); max-width:560px; line-height:1.7; }

/* Filter pills */
.filter-row{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:44px; }
.filter-pill{
  background:#fff; border:1px solid var(--line); border-radius:999px;
  padding:10px 20px; font-size:14px; font-weight:600; color:var(--text);
  cursor:pointer; box-shadow:var(--shadow-sm);
  transition:all .3s var(--ease);
}
.filter-pill:hover{ border-color:var(--green); color:var(--green-700); transform:translateY(-2px); box-shadow:var(--shadow); }
.filter-pill.active{ background:var(--green); border-color:var(--green); color:#fff; box-shadow:0 6px 18px rgba(79,170,38,.25); }

/* Featured program */
.featured-program{
  display:grid; grid-template-columns:1.4fr 1fr; gap:36px; align-items:center;
  background:linear-gradient(135deg,#f3f3f0,#e9e9e5);
  border:1px solid var(--line); border-radius:24px;
  padding:42px; margin-bottom:60px; box-shadow:var(--shadow);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.featured-program:hover{ transform:translateY(-6px); box-shadow:var(--shadow-xl); }
.featured-program h2{ font-size:34px; margin:16px 0 14px; }
.featured-program p{ color:var(--muted); font-size:16px; line-height:1.7; margin-bottom:22px; max-width:520px; }
.featured-thumb{
  background:linear-gradient(135deg,#eef0ea,#e1e3dc);
  border-radius:18px; height:200px;
  display:grid; place-items:center; font-size:64px;
  transition:transform .5s var(--ease);
}
.featured-program:hover .featured-thumb{ transform:scale(1.05) rotate(-2deg); }

/* Sub heading */
.subhead{ font-size:22px; font-weight:800; margin-bottom:28px; }

/* Equipment banner */
.equip-banner{
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
  background:linear-gradient(135deg,#f3f3f0,#e9e9e5);
  border:1px solid var(--line); border-radius:20px;
  padding:28px 32px; margin-top:52px; box-shadow:var(--shadow);
  transition:transform .4s var(--ease), box-shadow .4s var(--ease);
}
.equip-banner:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.equip-left{ display:flex; align-items:center; gap:18px; }
.equip-ico{ font-size:34px; transition:transform .4s var(--ease-bounce); }
.equip-banner:hover .equip-ico{ transform:scale(1.15) rotate(-6deg); }
.equip-left h3{ font-size:19px; margin-bottom:4px; }
.equip-left p{ color:var(--muted); font-size:14px; }
.equip-actions{ display:flex; gap:12px; flex-wrap:wrap; }

/* Dark button variant */
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; transform:translateY(-3px); box-shadow:var(--shadow-lg); }

/* ---- Responsive ---- */
@media (max-width:900px){
  .featured-program{ grid-template-columns:1fr; gap:28px; }
  .featured-thumb{ height:180px; }
}
@media (max-width:768px){
  .page-hero h1{ font-size:40px; }
  .featured-program h2{ font-size:28px; }
}
@media (max-width:600px){
  .page-hero{ padding:44px 0 52px; }
  .page-hero h1{ font-size:32px; }
  .page-hero p{ font-size:15px; }
  .filter-row{ gap:10px; }
  .filter-pill{ padding:9px 16px; font-size:13px; }
  .featured-program{ padding:28px 22px; border-radius:20px; }
  .featured-program h2{ font-size:25px; }
  .featured-thumb{ height:150px; font-size:52px; }
  .equip-banner{ flex-direction:column; align-items:flex-start; padding:24px 20px; }
  .equip-actions{ width:100%; }
  .equip-actions .btn{ flex:1; justify-content:center; }
}
@media (max-width:380px){
  .page-hero h1{ font-size:28px; }
  .featured-program h2{ font-size:22px; }
}

/* Diet & Nutrition Specific Styles */
.tools-cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background: #1b1f1a; /* Dark background matching footer style */
    border-radius: 20px;
    padding: 32px 40px;
    margin-top: 60px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-ico {
    font-size: 38px;
    background: rgba(255,255,255,0.08);
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 16px;
}

.cta-left h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 4px;
}

.cta-left p {
    color: #a9b0a3;
    font-size: 14.5px;
}

.cta-actions {
    display: flex;
    gap: 12px;
}

/* Featured Content Adjustments */
.featured-content {
    flex: 1;
}

@media (max-width: 800px) {
    .tools-cta-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }
    .cta-actions {
        width: 100%;
    }
    .cta-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ===== REVIEWS PAGE ===== */
.featured-review{
  background:linear-gradient(135deg,#f6f6f3,#efefe9);
  border:1px solid var(--line);
  border-radius:20px;
  padding:36px 40px;
  margin-bottom:48px;
  box-shadow:var(--shadow);
  transition:transform .45s var(--ease), box-shadow .45s var(--ease);
}
.featured-review:hover{ transform:translateY(-6px); box-shadow:var(--shadow-xl); }
.featured-review h2{ font-size:32px; margin:16px 0 14px; }
.featured-review p{ color:var(--muted); max-width:560px; margin-bottom:18px; line-height:1.7; }

.trust-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:52px;
}
.trust-card{ padding:26px; text-align:left; }
.trust-card .ico{ margin-bottom:14px; }
.trust-card h4{ font-size:16px; margin-bottom:10px; }
.trust-card p{ font-size:14px; color:var(--muted); line-height:1.7; }

@media(max-width:768px){
  .featured-review{ padding:28px 24px; }
  .featured-review h2{ font-size:26px; }
  .trust-grid{ grid-template-columns:1fr; }
}
@media(max-width:480px){
  .featured-review h2{ font-size:22px; }
}

/* ===========================
   TOOLS PAGE STYLES
   =========================== */

/* Centered hero variant */
.page-hero-center {
    text-align: center;
}
.page-hero-center p {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* Featured tool cards */
.tool-card {
    padding: 32px;
    position: relative;
}
.tool-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
}
.tool-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.tool-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}
.tool-card:hover .ico {
    transform: scale(1.1) rotate(-5deg);
}

/* FREE tag */
.free-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-700);
    background: #e3f0d8;
    padding: 5px 12px;
    border-radius: 999px;
}

/* Coming soon cards */
.soon-card {
    padding: 24px;
    text-align: left;
    opacity: 1;
    position: relative;
}
.soon-ico {
    font-size: 28px;
    margin-bottom: 14px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #f0eeea;
    border-radius: 14px;
    transition: transform 0.4s var(--ease-bounce);
}
.soon-card:hover .soon-ico {
    transform: scale(1.1) rotate(5deg);
}
.soon-card h4 {
    font-size: 16px;
    margin-bottom: 6px;
}
.soon-card p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
    margin-bottom: 14px;
}
.soon-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    opacity: 0.7;
}

/* Steps list */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
}
.step-num {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-bounce);
}
.step-item:hover .step-num {
    transform: scale(1.12) rotate(-5deg);
}
.step-item p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    margin: 0;
}

/* Tools disclaimer note */
.tools-note {
    max-width: 520px;
    margin-top: 40px;
    padding: 20px 24px;
    background: #f4f4f1;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.7;
}
.tools-note strong {
    color: var(--text);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .tool-card {
        padding: 26px;
    }
    .tool-card h3 {
        font-size: 20px;
    }
    .steps-list {
        max-width: 100%;
    }
}
@media (max-width: 480px) {
    .tool-card {
        padding: 22px;
    }
    .tool-card h3 {
        font-size: 18px;
    }
    .step-item {
        padding: 14px 16px;
        gap: 14px;
    }
    .step-num {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-radius: 10px;
    }
    .step-item p {
        font-size: 14px;
    }
    .tools-note {
        padding: 16px 18px;
        font-size: 13px;
    }
}

/* ===========================
   ABOUT US PAGE STYLES
   =========================== */

/* Mission */
.about-mission-section {
  padding: 80px 0 92px;
  background: var(--bg);
}

.about-text-block {
  max-width: 760px;
  margin: 0 auto;
}

.about-text-block h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.about-text-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 22px;
}

/* What you'll find */
.about-find-section {
  background: #e7ebe3;
  padding: 82px 0 88px;
}

.about-find-section .subhead,
.about-approach-section .subhead {
  font-size: 30px;
  margin-bottom: 36px;
}

.about-find-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.about-find-card {
  padding: 24px;
  min-height: 170px;
}

.about-find-card:hover {
  transform: translateY(-8px);
}

.about-find-ico {
  font-size: 28px;
  margin-bottom: 20px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f1f1ee;
  transition: transform 0.4s var(--ease-bounce);
}

.about-find-card:hover .about-find-ico {
  transform: scale(1.12) rotate(-6deg);
}

.about-find-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.about-find-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

/* Approach */
.about-approach-section {
  padding: 86px 0 96px;
  background: var(--bg);
}

.about-approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 70px;
}

.approach-card {
  padding: 28px;
  min-height: 180px;
}

.approach-card:hover {
  transform: translateY(-8px);
}

.approach-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  margin-bottom: 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 8px 18px rgba(79,170,38,0.25);
  transition: transform 0.4s var(--ease-bounce);
}

.approach-card:hover .approach-num {
  transform: scale(1.12) rotate(-5deg);
}

.approach-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.approach-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* Notes */
.about-note-card {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.about-note-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.health-note {
  display: flex;
  gap: 20px;
  background: #e0e3dd;
  padding: 32px 40px;
  margin-bottom: 72px;
}

.note-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 16px;
  background: #d4e7c9;
  font-size: 28px;
}

.about-note-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.about-note-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text);
}

.affiliate-note {
  background: #f3f3f0;
  padding: 34px 40px;
  margin-bottom: 36px;
}

/* CTA buttons */
.about-cta {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-find-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-mission-section {
    padding: 64px 0 72px;
  }

  .about-find-section,
  .about-approach-section {
    padding: 64px 0;
  }

  .about-find-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-approach-grid {
    grid-template-columns: 1fr;
    margin-bottom: 52px;
  }

  .health-note {
    padding: 28px 24px;
    flex-direction: column;
  }

  .affiliate-note {
    padding: 28px 24px;
  }

  .about-text-block h2,
  .about-find-section .subhead,
  .about-approach-section .subhead {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .about-find-grid {
    grid-template-columns: 1fr;
  }

  .about-find-card,
  .approach-card {
    padding: 22px;
  }

  .about-text-block p {
    font-size: 15px;
  }

  .about-note-card h3 {
    font-size: 19px;
  }

  .about-note-card p {
    font-size: 14px;
  }

  .about-cta {
    flex-direction: column;
  }

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


/* ===========================
   CONTACT PAGE STYLES
   =========================== */

.contact-section {
  padding-bottom: 90px;
}

.contact-wrap {
  max-width: 760px;
}

/* Form card */
.contact-form-card {
  padding: 36px 40px;
  margin: 0 auto 28px;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  font-size: 28px;
  margin-bottom: 28px;
}

.form-alert {
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.6;
}

.form-alert-success {
  background: #e8f6df;
  color: #2f6b14;
  border: 1px solid #cfe9bd;
}

.form-alert-error {
  background: #fdecec;
  color: #9b1c1c;
  border: 1px solid #f5c2c2;
}

.ffg-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #f6f6f3;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(79,170,38,0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px 24px;
  font-size: 16px;
  margin-top: 6px;
}

/* Info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}

.contact-info-card {
  padding: 26px;
}

.contact-info-card .ico {
  margin-bottom: 16px;
}

.contact-info-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.contact-email {
  display: inline-block;
  color: var(--green-700);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-email:hover {
  color: var(--green);
}

/* Follow section */
.contact-follow {
  padding-top: 8px;
}

.contact-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 28px;
}

.contact-follow h3 {
  font-size: 18px;
  margin-bottom: 16px;
}

.follow-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.follow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.follow-pill:hover {
  border-color: var(--green);
  color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-card {
    padding: 28px 22px;
  }

  .contact-form-card h2 {
    font-size: 24px;
  }

  .form-row-2,
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 24px 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 13px 14px;
    font-size: 14px;
  }

  .btn-full {
    font-size: 15px;
  }
}

/* ===========================
   TDEE CALCULATOR STYLES
   =========================== */

.tdee-section {
  padding-bottom: 90px;
}

.tdee-main-card {
  padding: 40px;
  margin: 0 auto 50px;
  max-width: 800px;
  box-shadow: var(--shadow-lg);
}

.tdee-view {
  display: none;
}

.tdee-view.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

/* Form Grid */
.tdee-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.tdee-form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.full-width {
  margin-bottom: 25px;
}

/* Result UI */
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.btn-outline {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover { background: #f9f9f9; }

.result-main-score {
  text-align: center;
  margin-bottom: 40px;
}

.result-label {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1px;
}

.score-number {
  font-size: 60px;
  font-weight: 900;
  color: var(--green-700);
  margin: 10px 0;
}

.score-number small { font-size: 20px; color: var(--muted); }

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.result-card {
  padding: 25px 15px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--line);
}

.result-card h3 { font-size: 16px; margin-bottom: 10px; }
.result-card .res-val { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.result-card p { font-size: 13px; color: var(--muted); }

.cut { background: #fff5f5; color: #c53030; }
.maintain { background: #f0fff4; color: #2f855a; }
.bulk { background: #fffaf0; color: #c05621; }

.bmr-note {
  text-align: center;
  padding: 15px;
  background: #f6f6f3;
  border-radius: 12px;
  font-size: 14px;
}

/* Info & CTAs */
.tdee-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.info-block h3 { font-size: 18px; margin-bottom: 12px; color: var(--ink); }
.info-block p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.tdee-list {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}

.tdee-list li { padding: 6px 0; border-bottom: 1px solid var(--line); }

.tdee-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.cta-card {
  padding: 30px;
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
}

.cta-card h3 { margin-bottom: 5px; font-size: 18px; }
.cta-card p { color: var(--green); font-weight: 700; }
.cta-card:hover { transform: translateY(-5px); border-color: var(--green); }

/* FAQ */
.tdee-faq h2 { text-align: center; margin-bottom: 30px; }
.faq-item {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 15px;
  border: 1px solid var(--line);
}

.faq-question { font-weight: 800; margin-bottom: 8px; }
.faq-answer { color: var(--muted); font-size: 14px; }

.tdee-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .tdee-form-grid, .result-grid, .tdee-info-grid, .tdee-cta-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   MACRO SPLIT CALCULATOR STYLES
   =========================== */

.macro-section {
  padding-bottom: 90px;
}

.macro-main-card {
  padding: 40px;
  margin: 0 auto 50px;
  max-width: 800px;
  box-shadow: var(--shadow-lg);
}

.macro-view {
  display: none;
}

.macro-view.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.macro-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.macro-form-grid .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.btn-outline {
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #f9f9f9;
}

.result-main-score {
  text-align: center;
  margin-bottom: 40px;
}

.result-label {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 1px;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.result-card {
  padding: 25px 15px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid var(--line);
}

.macro-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.result-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.result-card .res-val {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.result-card .res-val small {
  font-size: 1.2rem;
  color: var(--muted);
}

.result-card p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

.protein { background: #e8f5e8; color: #2f855a; }
.carbs { background: #fff0f0; color: #c53030; }
.fats { background: #fff8e1; color: #d69e2e; }

.macro-note {
  text-align: center;
  padding: 15px;
  background: #f6f6f3;
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* Info & CTAs */
.macro-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.info-block h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: var(--ink);
}

.info-block p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.macro-list {
  list-style: none;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}

.macro-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.macro-cta-section {
  margin-bottom: 40px;
}

.macro-cta-section h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--ink);
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-link:hover {
  border-color: var(--green);
  color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.affiliate-disclosure {
  background: #f0f0f0;
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--muted);
}

.affiliate-disclosure p {
  margin: 0;
}

.macro-disclaimer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  .macro-form-grid,
  .result-grid,
  .macro-info-grid {
    grid-template-columns: 1fr;
  }

  .cta-links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}