/*
Theme Name: FitMost
Theme URI: https://fm.aromanish.com
Author: FitMost Team
Description: A fully customizable fitness & wellness WordPress theme with services, pricing, about, blog, and more.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fitmost
Tags: fitness, gym, health, wellness, blog, customizer, full-site
*/

/* =============================================
   CSS VARIABLES
============================================= */
:root {
  --fm-primary: #00C896;
  --fm-primary-dark: #009e78;
  --fm-accent: #FF5722;
  --fm-dark: #0a0f1e;
  --fm-dark-2: #111827;
  --fm-dark-3: #1a2235;
  --fm-card: rgba(255,255,255,0.04);
  --fm-border: rgba(255,255,255,0.08);
  --fm-text: #e2e8f0;
  --fm-muted: #94a3b8;
  --fm-white: #ffffff;
  --fm-font-heading: 'Montserrat', sans-serif;
  --fm-font-body: 'Inter', sans-serif;
  --fm-radius: 12px;
  --fm-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fm-font-body);
  background: var(--fm-dark);
  color: var(--fm-text);
  line-height: 1.7;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fm-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--fm-primary-dark); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--fm-font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fm-white);
}

/* =============================================
   UTILITIES
============================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.text-center { text-align: center; }
.text-primary { color: var(--fm-primary); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--fm-font-heading);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all .25s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--fm-primary), var(--fm-primary-dark));
  color: var(--fm-white);
  box-shadow: 0 4px 20px rgba(0,200,150,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,200,150,0.5);
  color: var(--fm-white);
}
.btn-outline {
  background: transparent;
  color: var(--fm-white);
  border: 2px solid var(--fm-border);
}
.btn-outline:hover {
  border-color: var(--fm-primary);
  color: var(--fm-primary);
}

.section-label {
  display: inline-block;
  background: rgba(0,200,150,0.12);
  color: var(--fm-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}
.section-sub {
  color: var(--fm-muted);
  max-width: 580px;
  font-size: 17px;
}

.card {
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 32px;
  transition: border-color .25s, transform .25s;
}
.card:hover {
  border-color: var(--fm-primary);
  transform: translateY(-4px);
}

/* =============================================
   HEADER / NAV
============================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--fm-border);
  transition: background .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo {
  font-family: var(--fm-font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--fm-white);
  text-decoration: none;
}
.site-logo span { color: var(--fm-primary); }

#primary-nav ul {
  display: flex;
  gap: 8px;
}
#primary-nav ul li a {
  color: var(--fm-text);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .2s;
}
#primary-nav ul li a:hover,
#primary-nav ul li.current-menu-item > a {
  color: var(--fm-primary);
  background: rgba(0,200,150,0.08);
}
#primary-nav ul li ul {
  display: none;
  position: absolute;
  background: var(--fm-dark-2);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 8px;
  min-width: 180px;
  flex-direction: column;
}
#primary-nav ul li:hover > ul { display: flex; }
#primary-nav ul li { position: relative; }

.header-cta .btn { padding: 10px 22px; font-size: 14px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fm-white);
  border-radius: 2px;
  transition: all .3s;
}

/* =============================================
   HERO
============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0f1e 0%, #0d1f15 50%, #0a0f1e 100%);
  z-index: 0;
}
.hero-bg::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,150,0.15), transparent 70%);
  top: -100px; right: -100px;
  border-radius: 50%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,87,34,0.08), transparent 70%);
  bottom: 50px; left: 10%;
  border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; max-width: 650px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,150,0.1);
  border: 1px solid rgba(0,200,150,0.25);
  color: var(--fm-primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge::before { content: '⚡'; }
.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  margin-bottom: 20px;
  line-height: 1.05;
}
.hero h1 em {
  font-style: normal;
  color: var(--fm-primary);
}
.hero p {
  font-size: 18px;
  color: var(--fm-muted);
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--fm-border);
}
.hero-stat span {
  display: block;
  font-size: 32px;
  font-weight: 800;
  font-family: var(--fm-font-heading);
  color: var(--fm-white);
}
.hero-stat small {
  font-size: 13px;
  color: var(--fm-muted);
  font-weight: 500;
}

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--fm-dark-2), var(--fm-dark));
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,150,0.1), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 16px; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fm-muted);
  margin-top: 12px;
}
.breadcrumb a { color: var(--fm-primary); }
.breadcrumb span { opacity: 0.4; }

/* =============================================
   SERVICES
============================================= */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 36px 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fm-primary), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover { border-color: var(--fm-primary); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 60px; height: 60px;
  background: rgba(0,200,150,0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--fm-muted); font-size: 15px; }

/* =============================================
   PRICING
============================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }
.pricing-card {
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 36px 28px;
  transition: all .3s;
  position: relative;
}
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(0,200,150,0.12), rgba(0,200,150,0.04));
  border-color: var(--fm-primary);
  transform: scale(1.04);
}
.pricing-badge {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--fm-primary);
  color: var(--fm-dark);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 50px;
}
.pricing-name { font-size: 14px; font-weight: 600; color: var(--fm-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.pricing-price {
  font-size: 52px;
  font-weight: 800;
  font-family: var(--fm-font-heading);
  color: var(--fm-white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-price sup { font-size: 22px; vertical-align: top; margin-top: 12px; }
.pricing-period { font-size: 14px; color: var(--fm-muted); margin-bottom: 28px; }
.pricing-features { margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--fm-text);
}
.pricing-features li::before {
  content: '✓';
  width: 20px; height: 20px;
  background: rgba(0,200,150,0.15);
  color: var(--fm-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  flex-shrink: 0;
}
.pricing-features li.no::before { content: '✕'; background: rgba(255,255,255,0.05); color: var(--fm-muted); }
.pricing-features li.no { color: var(--fm-muted); }

/* =============================================
   ABOUT
============================================= */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--fm-radius); width: 100%; }
.about-badge {
  position: absolute;
  bottom: 28px; left: -24px;
  background: var(--fm-dark-2);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--fm-shadow);
}
.about-badge strong { display: block; font-size: 24px; color: var(--fm-primary); font-family: var(--fm-font-heading); }
.about-badge span { font-size: 12px; color: var(--fm-muted); }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-feature {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500;
}
.about-feature::before { content: '⚡'; color: var(--fm-primary); }

/* =============================================
   WHAT WE DO / PROCESS
============================================= */
.process-step {
  display: flex; gap: 24px;
  padding: 28px;
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  transition: border-color .25s;
}
.process-step:hover { border-color: var(--fm-primary); }
.step-num {
  width: 52px; height: 52px;
  background: rgba(0,200,150,0.12);
  color: var(--fm-primary);
  font-family: var(--fm-font-heading);
  font-size: 20px; font-weight: 800;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-content h3 { font-size: 18px; margin-bottom: 8px; }
.step-content p { color: var(--fm-muted); font-size: 15px; }

/* =============================================
   TEAM
============================================= */
.team-card { text-align: center; }
.team-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--fm-primary);
  overflow: hidden;
  background: var(--fm-dark-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card span { font-size: 13px; color: var(--fm-primary); font-weight: 600; }
.team-card p { font-size: 14px; color: var(--fm-muted); margin-top: 8px; }

/* =============================================
   TESTIMONIALS
============================================= */
.testimonial-card { position: relative; }
.testimonial-card::before { content: '"'; font-size: 80px; color: var(--fm-primary); opacity: 0.2; position: absolute; top: -10px; left: 20px; font-family: serif; line-height: 1; }
.testimonial-text { font-size: 16px; color: var(--fm-text); margin-bottom: 20px; font-style: italic; padding-top: 30px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--fm-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.testimonial-name { font-size: 15px; font-weight: 600; color: var(--fm-white); }
.testimonial-role { font-size: 13px; color: var(--fm-muted); }
.stars { color: #FFD700; margin-bottom: 8px; font-size: 14px; }

/* =============================================
   BLOG
============================================= */
.post-card { overflow: hidden; }
.post-thumb {
  height: 200px;
  background: var(--fm-dark-3);
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  margin: -32px -32px 24px;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-thumb img { transform: scale(1.05); }
.post-meta { font-size: 12px; color: var(--fm-muted); margin-bottom: 10px; display: flex; gap: 12px; align-items: center; }
.post-cat {
  background: rgba(0,200,150,0.12);
  color: var(--fm-primary);
  padding: 2px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
}
.post-card h3 { font-size: 18px; margin-bottom: 8px; }
.post-card h3 a { color: var(--fm-white); }
.post-card h3 a:hover { color: var(--fm-primary); }
.post-card p { font-size: 14px; color: var(--fm-muted); margin-bottom: 16px; }
.post-link { font-size: 14px; font-weight: 600; color: var(--fm-primary); display: flex; align-items: center; gap: 4px; }
.post-link::after { content: '→'; }

/* Full blog page */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.blog-posts .post-card { margin-bottom: 32px; }
.sidebar-widget {
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.sidebar-widget h4 { font-size: 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--fm-border); }
.sidebar-widget ul li { padding: 8px 0; border-bottom: 1px solid var(--fm-border); font-size: 14px; }
.sidebar-widget ul li:last-child { border: none; }

/* =============================================
   CTA SECTION
============================================= */
.cta-section {
  background: linear-gradient(135deg, rgba(0,200,150,0.12), rgba(0,200,150,0.04));
  border: 1px solid rgba(0,200,150,0.2);
  border-radius: 20px;
  padding: 80px 60px;
  text-align: center;
  margin: 0 24px;
}
.cta-section h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 16px; }
.cta-section p { color: var(--fm-muted); font-size: 17px; margin-bottom: 32px; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* =============================================
   FOOTER
============================================= */
#site-footer {
  background: var(--fm-dark-2);
  border-top: 1px solid var(--fm-border);
  padding: 80px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand .site-logo { font-size: 28px; margin-bottom: 16px; display: inline-block; }
.footer-brand p { font-size: 15px; color: var(--fm-muted); margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all .2s;
  text-decoration: none;
  color: var(--fm-muted);
}
.social-link:hover { border-color: var(--fm-primary); color: var(--fm-primary); background: rgba(0,200,150,0.08); }
.footer-col h5 { font-size: 15px; margin-bottom: 20px; color: var(--fm-white); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: var(--fm-muted); transition: color .2s; }
.footer-col ul li a:hover { color: var(--fm-primary); }
.footer-bottom {
  border-top: 1px solid var(--fm-border);
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--fm-muted);
}
.footer-bottom a { color: var(--fm-muted); }
.footer-bottom a:hover { color: var(--fm-primary); }

/* =============================================
   CONTACT / FORMS
============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.contact-info-card {
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 16px;
}
.contact-icon {
  width: 46px; height: 46px;
  background: rgba(0,200,150,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; color: var(--fm-muted); }

.fm-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fm-form .form-group { margin-bottom: 20px; }
.fm-form label { display: block; font-size: 13px; font-weight: 600; color: var(--fm-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px; }
.fm-form input,
.fm-form textarea,
.fm-form select {
  width: 100%;
  background: var(--fm-card);
  border: 1px solid var(--fm-border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--fm-white);
  font-family: var(--fm-font-body);
  font-size: 15px;
  transition: border-color .2s;
}
.fm-form input:focus,
.fm-form textarea:focus,
.fm-form select:focus {
  outline: none;
  border-color: var(--fm-primary);
}
.fm-form textarea { resize: vertical; min-height: 120px; }

/* =============================================
   PRIVACY / LEGAL
============================================= */
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h2 { font-size: 24px; margin: 40px 0 12px; color: var(--fm-primary); }
.legal-content h3 { font-size: 18px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: var(--fm-muted); font-size: 16px; line-height: 1.8; margin-bottom: 12px; }
.legal-content ul { list-style: disc; padding-left: 24px; }
.legal-last-updated { font-size: 13px; color: var(--fm-muted); margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--fm-border); }

/* =============================================
   404
============================================= */
.error-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 0; }
.error-404 .err-code { font-size: 140px; font-weight: 900; color: var(--fm-primary); opacity: 0.15; line-height: 1; margin-bottom: -60px; display: block; font-family: var(--fm-font-heading); }
.error-404 h1 { font-size: 36px; margin-bottom: 16px; }
.error-404 p { color: var(--fm-muted); font-size: 17px; margin-bottom: 32px; }

/* =============================================
   SINGLE POST
============================================= */
.single-post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.post-content h1 { font-size: clamp(26px, 3.5vw, 42px); margin-bottom: 16px; }
.post-content .entry-content { color: var(--fm-text); line-height: 1.9; }
.post-content .entry-content h2, .post-content .entry-content h3 { margin: 32px 0 12px; }
.post-content .entry-content p { margin-bottom: 20px; }
.post-content .entry-content img { border-radius: 8px; margin: 24px 0; }

/* =============================================
   WIDGETS / MISC
============================================= */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 0;
  background: var(--fm-dark-2);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  overflow: hidden;
}
.stat-item {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--fm-border);
}
.stat-item:last-child { border-right: none; }
.stat-num { display: block; font-size: 42px; font-weight: 800; font-family: var(--fm-font-heading); color: var(--fm-primary); line-height: 1; }
.stat-label { font-size: 13px; color: var(--fm-muted); margin-top: 4px; font-weight: 500; }

.faq-item {
  border-bottom: 1px solid var(--fm-border);
  padding: 20px 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 600; cursor: pointer;
  color: var(--fm-white);
}
.faq-question::after { content: '+'; color: var(--fm-primary); font-size: 22px; font-weight: 300; }
.faq-answer { font-size: 15px; color: var(--fm-muted); margin-top: 12px; display: none; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-item.open .faq-answer { display: block; }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-grid, .pricing-grid { grid-template-columns: repeat(2,1fr); }
  .blog-layout { grid-template-columns: 1fr; }
  .single-post-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
}
@media (max-width: 768px) {
  .section-pad { padding: 60px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 50px 28px; margin: 0 12px; }
  #primary-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--fm-dark-2); border-bottom: 1px solid var(--fm-border); padding: 16px 24px; }
  #primary-nav.open { display: block; }
  #primary-nav ul { flex-direction: column; gap: 0; }
  #primary-nav ul li a { display: block; padding: 12px 0; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .about-badge { left: 8px; }
  .fm-form .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
