/*
Theme Name: GetFitPlans
Theme URI: https://getfitplans.com
Author: GetFitPlans
Author URI: https://getfitplans.com
Description: Premium protocol-builder theme for fitness & supplement brands. Personalised calories, macros, Indian meals, training splits, PDF export and WooCommerce supplement stack.
Version: 9.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: getfitplans
Tags: woocommerce, custom-logo, custom-menu, featured-images, full-width-template, e-commerce
*/

/* ===========================================================
   GetFitPlans — site chrome
   =========================================================== */
:root {
  /* Warm charcoal + orange + royal blue */
  --gfp-slate: #14100f;
  --gfp-slate-2: #292524;
  --gfp-slate-mid: #1c1917;
  --gfp-primary: #f97316;
  --gfp-primary-dark: #ea580c;
  --gfp-primary-light: #fb923c;
  --gfp-secondary: #3b82f6;
  --gfp-secondary-light: #60a5fa;
  --gfp-teal: var(--gfp-primary-light);
  --gfp-teal-dark: var(--gfp-primary-dark);
  --gfp-teal-deep: var(--gfp-primary);
  --gfp-gold: var(--gfp-secondary-light);
  --gfp-coral: #ef4444;
  --gfp-amber: var(--gfp-primary-light);
  --gfp-violet: var(--gfp-secondary);
  --gfp-surface: #f5f5f4;
  --gfp-paper: #ffffff;
  --gfp-ink: #1c1917;
  --gfp-ink-soft: #292524;
  --gfp-muted: #78716c;
  --gfp-line: #e7e5e4;
  --gfp-line-soft: rgba(28, 25, 23, 0.06);
  --gfp-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gfp-display: 'Outfit', 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
  --gfp-radius-sm: 12px;
  --gfp-radius-md: 18px;
  --gfp-radius-lg: 24px;
  --gfp-shadow-sm: 0 8px 24px -12px rgba(28, 25, 23, 0.1);
  --gfp-shadow-md: 0 20px 48px -24px rgba(28, 25, 23, 0.14);
  --gfp-shadow-lg: 0 32px 64px -28px rgba(28, 25, 23, 0.18);
  --gfp-gradient-brand: linear-gradient(135deg, #fb923c 0%, #f97316 46%, #3b82f6 100%);
  --gfp-gradient-dark: linear-gradient(165deg, #14100f 0%, #1c1917 48%, #292524 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--gfp-font);
  font-size: 16px;
  color: var(--gfp-ink-soft);
  background: var(--gfp-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection {
  background: rgba(249, 115, 22, 0.25);
  color: var(--gfp-ink);
}
a { color: var(--gfp-teal-deep); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gfp-teal-dark); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--gfp-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--gfp-ink);
  margin: 0 0 0.45em;
}

.gfp-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gfp-skip { position: absolute; left: -9999px; }
.gfp-skip:focus {
  left: 12px; top: 12px; z-index: 200;
  background: #fff; padding: 10px 16px; border-radius: 8px;
}

/* Buttons */
.gfp-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--gfp-font); font-weight: 700; font-size: 15px;
  border: 0; cursor: pointer; padding: 13px 22px; border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-decoration: none; line-height: 1;
}
.gfp-cta--primary {
  background: var(--gfp-gradient-brand);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 32px -12px rgba(249, 115, 22, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.gfp-cta--primary:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 20px 40px -10px rgba(249, 115, 22, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.gfp-cta--light { background: #fff; color: var(--gfp-slate); box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.2); }
.gfp-cta--light:hover { transform: translateY(-2px); text-decoration: none; }
.gfp-cta--ghost {
  background: transparent; color: #f8fafc;
  box-shadow: inset 0 0 0 1.5px rgba(248, 250, 252, 0.35);
}
.gfp-cta--ghost:hover { text-decoration: none; box-shadow: inset 0 0 0 1.5px rgba(248, 250, 252, 0.7); }
.gfp-cta--ghost-dark {
  background: transparent; color: var(--gfp-slate);
  box-shadow: inset 0 0 0 1.5px var(--gfp-line);
}
.gfp-cta--ghost-dark:hover { text-decoration: none; background: #fff; }

/* Logo */
.gfp-logo {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--gfp-font); color: var(--gfp-slate);
  text-decoration: none;
}
.gfp-logo:hover { text-decoration: none; }
.gfp-logo__text { display: flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.gfp-logo__name { font-family: var(--gfp-display); font-weight: 800; font-size: 18px; letter-spacing: -0.04em; }
.gfp-logo__tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gfp-muted);
}
.gfp-logo__svg { flex: 0 0 auto; display: block; }
.gfp-site-footer .gfp-logo { color: #f8fafc; }
.gfp-site-footer .gfp-logo__tag { color: rgba(248, 250, 252, 0.55); }

/* Header */
.gfp-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--gfp-line-soft);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 8px 32px -20px rgba(28, 25, 23, 0.1);
}
.gfp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; height: 78px;
}
.gfp-nav { display: flex; align-items: center; gap: 26px; }
.gfp-nav ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.gfp-nav a {
  color: var(--gfp-ink-soft);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}
.gfp-nav a:hover {
  color: var(--gfp-teal-deep);
  background: rgba(249, 115, 22, 0.08);
  text-decoration: none;
}
.gfp-header-actions { display: flex; align-items: center; gap: 14px; }
.gfp-cart {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; color: var(--gfp-ink);
}
.gfp-cart:hover { background: rgba(28, 25, 23, 0.05); text-decoration: none; }
.gfp-cart__count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px;
  padding: 0 4px; border-radius: 999px; background: var(--gfp-coral);
  color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.gfp-burger {
  display: none; width: 44px; height: 44px; border: 0;
  background: transparent; cursor: pointer; color: var(--gfp-ink);
}

/* Home sections */
.gfp-section { padding: clamp(56px, 8vw, 96px) 0; }
.gfp-section--tint { background: var(--gfp-paper); }
.gfp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gfp-teal-deep); margin: 0 0 14px;
}
.gfp-eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--gfp-gradient-brand);
  border-radius: 2px;
}
.gfp-eyebrow--light { color: var(--gfp-teal); }
.gfp-section h2 { font-size: clamp(28px, 4vw, 42px); }
.gfp-section__lead { color: var(--gfp-muted); font-size: 18px; max-width: 60ch; margin: 0 auto; }
.gfp-center { text-align: center; }

.gfp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.gfp-step {
  background: var(--gfp-surface); border: 1px solid var(--gfp-line);
  border-radius: 20px; padding: 30px 26px; text-align: left;
}
.gfp-step__n {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gfp-slate), var(--gfp-slate-2));
  color: var(--gfp-teal); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.gfp-step h3 { font-size: 20px; margin-bottom: 6px; }
.gfp-step p { color: var(--gfp-muted); font-size: 15px; margin: 0; }

.gfp-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 46px; }
.gfp-feature {
  display: flex; gap: 16px; background: var(--gfp-paper);
  border: 1px solid var(--gfp-line); border-radius: 18px; padding: 24px; text-align: left;
}
.gfp-feature__ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(249, 115, 22, 0.12); display: flex; align-items: center;
  justify-content: center; font-size: 22px;
}
.gfp-feature h3 { font-size: 17px; margin: 2px 0 5px; }
.gfp-feature p { color: var(--gfp-muted); font-size: 14.5px; margin: 0; }

.gfp-band {
  background: var(--gfp-gradient-dark);
  color: #f8fafc; text-align: center;
}
.gfp-band h2 { color: #f8fafc; }
.gfp-band p { color: rgba(248, 250, 252, 0.75); max-width: 54ch; margin: 0 auto 26px; font-size: 17px; }

/* Content pages */
.gfp-page { padding: clamp(48px, 7vw, 84px) 0; }
.gfp-page__inner { max-width: 760px; margin: 0 auto; }
.gfp-page h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 0.35em; }
.gfp-page h2 { font-size: 22px; margin-top: 1.6em; }
.gfp-page p, .gfp-page li { color: #334155; }
.gfp-page ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.gfp-page__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.gfp-page--thankyou .gfp-page__inner { max-width: 560px; }
.gfp-entry { margin: 0 0 40px; padding-bottom: 30px; border-bottom: 1px solid var(--gfp-line); }

.gfp-contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0; }
.gfp-contact-card {
  background: var(--gfp-paper); border: 1px solid var(--gfp-line);
  border-radius: 16px; padding: 22px;
}
.gfp-contact-card h3 { font-size: 15px; margin: 0 0 6px; color: var(--gfp-teal-dark); }

/* Footer */
.gfp-site-footer {
  background: var(--gfp-gradient-dark);
  color: rgba(248, 250, 252, 0.72);
  padding: 64px 0 32px; margin-top: 0;
  border-top: 1px solid rgba(248, 250, 252, 0.06);
}
.gfp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.gfp-site-footer h4 {
  color: #f8fafc; font-weight: 700; font-size: 14px;
  margin: 0 0 14px; letter-spacing: 0.04em; text-transform: uppercase;
}
.gfp-site-footer a { color: rgba(248, 250, 252, 0.72); display: block; padding: 5px 0; font-size: 14.5px; }
.gfp-site-footer a:hover { color: var(--gfp-teal); text-decoration: none; }
.gfp-footer-about { max-width: 38ch; font-size: 14.5px; line-height: 1.6; margin-top: 14px; }
.gfp-footer-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.gfp-footer-badges span {
  background: rgba(248, 250, 252, 0.08); border-radius: 999px;
  padding: 5px 12px; font-size: 12px;
}
.gfp-footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 46px; padding-top: 22px;
  border-top: 1px solid rgba(248, 250, 252, 0.12);
  font-size: 13px; color: rgba(248, 250, 252, 0.55);
}

/* Responsive */
@media (max-width: 880px) {
  .gfp-nav { display: none; }
  .gfp-hide-sm { display: none; }
  .gfp-burger { display: flex; align-items: center; justify-content: center; }
  .gfp-steps, .gfp-features, .gfp-contact-cards { grid-template-columns: 1fr; }
  .gfp-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .gfp-nav.is-open {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding: 8px 24px 16px;
  }
  .gfp-nav.is-open ul { flex-direction: column; gap: 0; width: 100%; }
  .gfp-nav.is-open a { display: block; padding: 12px 0; width: 100%; }
  .gfp-logo__tag { display: none; }
}