/* ==========================================================================
   Fitness Milestones — Luxury Athletic Coaching Design System
   Palette derived from final_logo.png: Obsidian Navy + Kinetic Orange
   ========================================================================== */

:root {
  --fm-bg-dark: #06111D;
  --fm-bg-darker: #040B14;
  --fm-surface: #0D1F33;
  --fm-surface-elevated: #122842;
  --fm-border: rgba(255, 255, 255, 0.09);
  --fm-border-accent: rgba(249, 115, 22, 0.5);
  --fm-accent: #EA580C;
  --fm-accent-bright: #FF7A1A;
  --fm-accent-hover: #FB923C;
  --fm-accent-glow: rgba(249, 115, 22, 0.28);
  --fm-text: #F8FAFC;
  --fm-text-muted: #94A3B8;
  --fm-light-bg: #F4F7FA;
  --fm-light-card: #FFFFFF;
  --fm-light-text: #0A1929;
  --fm-light-muted: #475569;
  --fm-wa: #25D366;
  --fm-wa-dark: #128C7E;
  --fm-font-display: 'Barlow Condensed', sans-serif;
  --fm-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --fm-radius: 12px;
  --fm-radius-lg: 18px;
  --fm-transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

@keyframes fmPageFade {
  from { opacity: 0.85; }
  to { opacity: 1; }
}

body.fm-body {
  margin: 0;
  background-color: var(--fm-bg-dark);
  color: var(--fm-text);
  font-family: var(--fm-font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: fmPageFade 0.35s ease-out;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--fm-transition), background-color var(--fm-transition), border-color var(--fm-transition), transform var(--fm-transition);
}

.fm-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Reveal & Directional Animations */
.fm-reveal,
.fm-reveal-left,
.fm-reveal-right,
.fm-reveal-scale {
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fm-reveal {
  transform: translateY(24px);
}

.fm-reveal-left {
  transform: translateX(-28px);
}

.fm-reveal-right {
  transform: translateX(28px);
}

.fm-reveal-scale {
  transform: scale(0.95);
}

.fm-reveal.is-visible,
.fm-reveal-left.is-visible,
.fm-reveal-right.is-visible,
.fm-reveal-scale.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.fm-stagger-1 { transition-delay: 0.06s; }
.fm-stagger-2 { transition-delay: 0.14s; }
.fm-stagger-3 { transition-delay: 0.22s; }
.fm-stagger-4 { transition-delay: 0.30s; }

/* Top Reading Scroll Progress Bar */
.fm-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--fm-accent) 0%, #FDBA74 100%);
  z-index: 950;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Inner Page Hero Entrance */
@keyframes fmHeroSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fm-page-hero .fm-eyebrow {
  animation: fmHeroSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fm-page-hero .fm-h1 {
  animation: fmHeroSlideIn 0.55s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.fm-page-hero .fm-lead {
  animation: fmHeroSlideIn 0.6s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Typography */
.fm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fm-font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fm-accent-bright);
  margin-bottom: 12px;
}

.fm-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--fm-accent-bright);
  display: inline-block;
}

.fm-eyebrow-dark {
  color: #C2410C;
}
.fm-eyebrow-dark::before {
  background: #C2410C;
}

.fm-h1, .fm-h2, .fm-h3 {
  font-family: var(--fm-font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.fm-h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.fm-h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.fm-h3 {
  font-size: 1.55rem;
}

.fm-lead {
  font-size: 1.125rem;
  color: var(--fm-text-muted);
  max-width: 640px;
}

.fm-text-accent {
  color: var(--fm-accent-bright);
}

/* Buttons */
.fm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--fm-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--fm-transition), background-color var(--fm-transition), box-shadow var(--fm-transition), border-color var(--fm-transition), color var(--fm-transition);
}

.fm-btn-sm {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.fm-btn-block {
  width: 100%;
}

.fm-btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--fm-accent-bright);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--fm-accent-glow);
}

.fm-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.fm-btn-primary:hover::before {
  left: 140%;
}

.fm-btn-primary:hover {
  background: var(--fm-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.42);
}

.fm-btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fm-text);
  border-color: rgba(255, 255, 255, 0.28);
}

.fm-btn-outline:hover {
  border-color: var(--fm-accent-bright);
  color: var(--fm-accent-bright);
  transform: translateY(-2px);
}

.fm-btn-dark {
  background: var(--fm-bg-dark);
  color: #FFFFFF;
}

.fm-btn-dark:hover {
  background: #122842;
}

/* Top Announcement Bar */
.fm-topbar {
  background: linear-gradient(90deg, var(--fm-accent) 0%, var(--fm-accent-bright) 100%);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 0;
}

.fm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fm-topbar-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fm-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFFFFF;
  animation: fmPulse 2s infinite;
}

@keyframes fmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.3); }
}

.fm-topbar-cta {
  font-weight: 800;
  text-decoration: underline;
  white-space: nowrap;
}

/* Sticky Header with Scroll Transition */
.fm-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(6, 17, 29, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--fm-border);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.fm-header.is-scrolled {
  background: rgba(4, 11, 20, 0.97);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.fm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
  transition: height 0.3s ease;
}

.fm-header.is-scrolled .fm-header-inner {
  height: 66px;
}

.fm-logo-wrap {
  display: inline-flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.fm-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.fm-header.is-scrolled .fm-logo-img {
  height: 44px;
}

.fm-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fm-nav-list a {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #E2E8F0;
  position: relative;
  padding: 4px 0;
}

.fm-nav-list a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--fm-accent-bright);
  transition: width 0.25s ease;
}

.fm-nav-list a:hover::after,
.fm-nav-list .current-menu-item a::after {
  width: 100%;
}

.fm-nav-list a:hover,
.fm-nav-list .current-menu-item a {
  color: var(--fm-accent-bright);
}

.fm-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fm-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: 8px;
  cursor: pointer;
  padding: 0 9px;
}

.fm-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.fm-mobile-drawer {
  display: grid;
  grid-template-rows: 0fr;
  background: var(--fm-bg-darker);
  border-top: 1px solid transparent;
  transition: grid-template-rows 0.3s ease, border-color 0.3s ease;
}

.fm-mobile-drawer-inner {
  overflow: hidden;
  padding: 0 24px;
  transition: padding 0.3s ease;
}

.fm-mobile-drawer.is-open {
  grid-template-rows: 1fr;
  border-top-color: var(--fm-border);
}

.fm-mobile-drawer.is-open .fm-mobile-drawer-inner {
  padding: 20px 24px 28px;
}

.fm-mobile-nav-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.fm-mobile-nav-list li {
  border-bottom: 1px solid var(--fm-border);
}

.fm-mobile-nav-list a {
  display: block;
  padding: 13px 0;
  font-weight: 600;
  font-size: 1.05rem;
}

.fm-mobile-drawer-cta {
  display: grid;
  gap: 10px;
}

/* Sections */
.fm-section {
  padding: 92px 0;
}

.fm-section-dark {
  background: var(--fm-bg-dark);
  color: var(--fm-text);
}

.fm-section-darker {
  background: var(--fm-bg-darker);
  color: var(--fm-text);
}

.fm-section-light {
  background: var(--fm-light-bg);
  color: var(--fm-light-text);
}

.fm-section-light .fm-lead {
  color: var(--fm-light-muted);
}

.fm-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.fm-section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.fm-section-header-center .fm-lead {
  margin: 0 auto;
}

/* Hero with Subtle Background Drift */
.fm-hero {
  position: relative;
  min-height: calc(100vh - 114px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
  background: var(--fm-bg-darker);
}

@keyframes fmHeroDrift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.06) translate3d(-1%, -0.5%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}

.fm-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0.42;
  filter: contrast(1.08) saturate(0.9);
  animation: fmHeroDrift 22s ease-in-out infinite;
  will-change: transform;
}

.fm-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(4, 11, 20, 0.96) 0%, rgba(6, 17, 29, 0.84) 55%, rgba(6, 17, 29, 0.45) 100%);
}

.fm-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.fm-hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 36px;
}

.fm-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding-top: 24px;
  border-top: 1px solid var(--fm-border);
  font-size: 0.92rem;
  color: #CBD5E1;
}

.fm-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.fm-hero-trust strong {
  color: var(--fm-accent-bright);
}

.fm-hero-card {
  background: rgba(13, 31, 51, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--fm-border-accent);
  border-radius: var(--fm-radius-lg);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  transition: transform var(--fm-transition), box-shadow var(--fm-transition);
}

.fm-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(249, 115, 22, 0.16);
}

.fm-hero-card-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  border-radius: 10px;
  margin-bottom: 18px;
}

.fm-hero-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* Metrics Proof Strip */
.fm-metrics-strip {
  background: var(--fm-surface);
  border-top: 1px solid var(--fm-border);
  border-bottom: 1px solid var(--fm-border);
  padding: 36px 0;
}

.fm-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.fm-metric-num {
  font-family: var(--fm-font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--fm-accent-bright);
  line-height: 1;
  margin-bottom: 6px;
}

.fm-metric-label {
  font-size: 0.92rem;
  color: #CBD5E1;
  font-weight: 500;
}

/* Cards & Grids */
.fm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.fm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}

.fm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.fm-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--fm-transition), border-color var(--fm-transition), box-shadow var(--fm-transition);
}

.fm-card:hover {
  transform: translateY(-6px);
  border-color: var(--fm-border-accent);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.38);
}

.fm-card-media {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #040B14;
}

.fm-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.fm-card:hover .fm-card-media img {
  transform: scale(1.06);
  filter: contrast(1.04);
}

.fm-card-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(6, 17, 29, 0.88);
  color: var(--fm-accent-bright);
  font-family: var(--fm-font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid var(--fm-border-accent);
}

.fm-card-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fm-card-body p {
  color: var(--fm-text-muted);
  margin: 0 0 18px;
  flex: 1;
}

.fm-card-link {
  font-family: var(--fm-font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fm-accent-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fm-card-link:hover {
  gap: 10px;
}

/* Coach Split Section */
.fm-coach-media {
  position: relative;
}

.fm-coach-photo {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--fm-radius-lg);
  border: 1px solid var(--fm-border);
  transition: transform 0.45s ease;
}

.fm-service-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1px solid var(--fm-border);
  display: block;
}

.fm-coach-float-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(6, 17, 29, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--fm-border-accent);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.fm-checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
}

.fm-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
}

.fm-check-icon {
  color: var(--fm-accent-bright);
  font-weight: 800;
  flex-shrink: 0;
}

/* How It Works */
.fm-step-card {
  background: var(--fm-light-card);
  border: 1px solid #E2E8F0;
  border-radius: var(--fm-radius-lg);
  padding: 32px 26px;
  transition: transform var(--fm-transition), box-shadow var(--fm-transition), border-color var(--fm-transition);
}

.fm-step-card:hover {
  transform: translateY(-5px);
  border-color: var(--fm-accent-bright);
  box-shadow: 0 18px 40px rgba(6, 17, 29, 0.08);
}

.fm-step-num {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--fm-bg-dark);
  color: var(--fm-accent-bright);
  font-family: var(--fm-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

/* Progress Benchmarks */
.fm-progress-list {
  display: grid;
  gap: 20px;
}

.fm-progress-head {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 8px;
}

.fm-progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.fm-progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--fm-accent) 0%, var(--fm-accent-hover) 100%);
  border-radius: 999px;
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Justdial Partnership & Official Recognition Section */
.fm-partnership-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.fm-cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fm-cert-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border-accent);
  border-radius: var(--fm-radius-lg);
  padding: 12px;
  transition: transform var(--fm-transition), box-shadow var(--fm-transition);
  cursor: pointer;
}

.fm-cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.2);
}

.fm-cert-card img {
  width: 100%;
  aspect-ratio: 983 / 708;
  object-fit: contain;
  border-radius: 10px;
  background: #040B14;
}

.fm-cert-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 4px 2px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #E2E8F0;
}

.fm-reviews-plugin-wrap {
  width: 100%;
}

/* Interactive Training Gallery & Lightbox */
.fm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.fm-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--fm-border);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: #040B14;
  padding: 0;
}

.fm-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.fm-gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.06);
}

.fm-gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(4, 11, 20, 0.92) 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

.fm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 11, 20, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.fm-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.fm-lightbox-inner {
  position: relative;
  max-width: 860px;
  width: 100%;
  text-align: center;
}

.fm-lightbox-img {
  max-height: 80vh;
  margin: 0 auto;
  border-radius: 14px;
  border: 1px solid var(--fm-border-accent);
}

.fm-lightbox-cap {
  color: #E2E8F0;
  margin-top: 12px;
  font-weight: 600;
}

.fm-lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--fm-border-accent);
  background: var(--fm-bg-dark);
  color: #FFFFFF;
  font-size: 1.4rem;
  cursor: pointer;
}

/* Pricing / Packages */
.fm-pricing-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--fm-transition), border-color var(--fm-transition), box-shadow var(--fm-transition);
}

.fm-pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--fm-border-accent);
}

.fm-pricing-featured {
  background: linear-gradient(180deg, #102A45 0%, #091726 100%);
  border: 2px solid var(--fm-accent-bright);
  box-shadow: 0 24px 50px rgba(249, 115, 22, 0.16);
}

.fm-popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fm-accent-bright);
  color: #FFFFFF;
  font-family: var(--fm-font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.fm-pricing-tier {
  font-family: var(--fm-font-display);
  font-size: 1.65rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.fm-pricing-sub {
  color: var(--fm-accent-hover);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.fm-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 10px;
  flex: 1;
  font-size: 0.93rem;
  color: #CBD5E1;
}

.fm-pricing-features li::before {
  content: '✓ ';
  color: var(--fm-accent-bright);
  font-weight: 800;
}

/* Modern Testimonial Carousel */
.fm-carousel {
  position: relative;
  overflow: hidden;
}

.fm-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  gap: 24px;
}

.fm-carousel-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.fm-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  gap: 16px;
}

.fm-carousel-dots {
  display: flex;
  gap: 8px;
}

.fm-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.22);
  cursor: pointer;
  padding: 0;
  transition: width 0.25s ease, background-color 0.25s ease;
}

.fm-carousel-dot.is-active {
  width: 28px;
  background: var(--fm-accent-bright);
}

.fm-carousel-btns {
  display: flex;
  gap: 10px;
}

.fm-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--fm-border);
  background: var(--fm-surface);
  color: #FFFFFF;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.fm-carousel-btn:hover {
  border-color: var(--fm-accent-bright);
  background: var(--fm-accent-bright);
}

.fm-review-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color var(--fm-transition), transform var(--fm-transition);
}

.fm-review-card:hover {
  border-color: var(--fm-border-accent);
}

.fm-stars {
  color: #FBBF24;
  letter-spacing: 2px;
  font-size: 1rem;
}

.fm-review-quote {
  color: #E2E8F0;
  font-size: 0.97rem;
  margin: 0;
  flex: 1;
}

.fm-review-author {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fm-accent-hover);
}

/* Smooth FAQ Accordion */
.fm-faq-list {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin: 0 auto;
}

.fm-faq-item {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.fm-faq-item.is-open {
  border-color: var(--fm-border-accent);
}

.fm-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: var(--fm-text);
  font-family: var(--fm-font-body);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.fm-faq-icon {
  color: var(--fm-accent-bright);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 0.28s ease;
}

.fm-faq-item.is-open .fm-faq-icon {
  transform: rotate(45deg);
}

.fm-faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.fm-faq-item.is-open .fm-faq-a-wrap {
  grid-template-rows: 1fr;
}

.fm-faq-a {
  overflow: hidden;
  padding: 0 24px;
  color: var(--fm-text-muted);
  opacity: 0;
  transition: opacity 0.25s ease, padding 0.3s ease;
}

.fm-faq-item.is-open .fm-faq-a {
  padding: 0 24px 20px;
  opacity: 1;
}

/* Forms & Validation */
.fm-form-card {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-lg);
  padding: 34px;
}

.fm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.fm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.fm-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: #CBD5E1;
}

.fm-field input,
.fm-field select,
.fm-field textarea {
  width: 100%;
  background: rgba(4, 11, 20, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 12px 14px;
  color: #FFFFFF;
  font-family: var(--fm-font-body);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fm-field input:focus,
.fm-field select:focus,
.fm-field textarea:focus {
  outline: none;
  border-color: var(--fm-accent-bright);
  box-shadow: 0 0 0 3px var(--fm-accent-glow);
}

.fm-field.has-error input,
.fm-field.has-error textarea {
  border-color: #EF4444;
}

.fm-field-error {
  color: #FCA5A5;
  font-size: 0.78rem;
  display: none;
}

.fm-field.has-error .fm-field-error {
  display: block;
}

.fm-alert-success {
  background: rgba(249, 115, 22, 0.16);
  border: 1px solid var(--fm-accent-bright);
  color: #FFEDD5;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 600;
}

/* Page Banner */
.fm-page-hero {
  background: linear-gradient(135deg, var(--fm-bg-darker) 0%, var(--fm-surface) 100%);
  border-bottom: 1px solid var(--fm-border);
  padding: 72px 0 60px;
}

/* Footer */
.fm-footer {
  background: var(--fm-bg-darker);
  border-top: 1px solid var(--fm-border);
  padding-top: 68px;
}

.fm-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.fm-footer-desc {
  color: var(--fm-text-muted);
  font-size: 0.93rem;
  margin: 16px 0 20px;
}

.fm-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fm-badge {
  background: var(--fm-surface);
  border: 1px solid var(--fm-border-accent);
  color: var(--fm-accent-hover);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
}

.fm-footer-heading {
  font-family: var(--fm-font-display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.fm-footer-links,
.fm-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--fm-text-muted);
}

.fm-footer-links a:hover,
.fm-footer-contact a:hover {
  color: var(--fm-accent-bright);
}

.fm-footer-bottom {
  border-top: 1px solid var(--fm-border);
  padding: 20px 0;
  font-size: 0.85rem;
  color: var(--fm-text-muted);
}

.fm-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Back To Top Button */
.fm-back-to-top {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 850;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border-accent);
  color: var(--fm-accent-bright);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.fm-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fm-back-to-top:hover {
  background: var(--fm-accent-bright);
  color: #FFFFFF;
}

/* Interactive WhatsApp Chatbox Widget */
.fm-wa-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  font-family: var(--fm-font-body);
}

.fm-wa-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--fm-wa);
  color: #FFFFFF;
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.38);
  transition: transform var(--fm-transition), box-shadow var(--fm-transition);
}

.fm-wa-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.5);
}

.fm-wa-drawer {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 350px;
  max-width: calc(100vw - 32px);
  background: #FFFFFF;
  color: #0F172A;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: none;
  flex-direction: column;
}

.fm-wa-drawer.is-open {
  display: flex;
  animation: fmSlideUp 0.24s ease-out;
}

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

.fm-wa-head {
  background: #075E54;
  color: #FFFFFF;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fm-wa-head-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.fm-wa-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--fm-accent-bright);
}

.fm-wa-title {
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.2;
}

.fm-wa-status {
  font-size: 0.78rem;
  color: #D1FAE5;
}

.fm-wa-close {
  background: rgba(255, 255, 255, 0.14);
  border: 0;
  color: #FFFFFF;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.15rem;
  cursor: pointer;
  line-height: 1;
}

.fm-wa-body {
  background: #ECE5DD;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fm-wa-bubble {
  background: #FFFFFF;
  padding: 12px 14px;
  border-radius: 0 12px 12px 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.fm-wa-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.fm-wa-chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.fm-wa-chip:hover,
.fm-wa-chip.is-selected {
  background: #06111D;
  color: var(--fm-accent-bright);
  border-color: #06111D;
}

.fm-wa-foot {
  background: #F8FAFC;
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #E2E8F0;
}

.fm-wa-input {
  flex: 1;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-family: var(--fm-font-body);
}

.fm-wa-send {
  background: var(--fm-wa);
  color: #FFFFFF;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1024px) {
  .fm-nav, .fm-header-actions .fm-btn {
    display: none;
  }
  .fm-menu-toggle {
    display: flex;
  }
  .fm-hero-inner,
  .fm-grid-2,
  .fm-partnership-wrap,
  .fm-footer-grid {
    grid-template-columns: 1fr;
  }
  .fm-grid-4,
  .fm-grid-3,
  .fm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fm-carousel-slide {
    flex: 0 0 calc((100% - 24px) / 2);
  }
}

@media (max-width: 640px) {
  .fm-topbar-text {
    font-size: 0.72rem;
  }
  .fm-topbar-cta {
    display: none;
  }
  .fm-metrics-grid,
  .fm-grid-4,
  .fm-grid-3,
  .fm-gallery-grid,
  .fm-cert-grid,
  .fm-checklist,
  .fm-form-grid {
    grid-template-columns: 1fr;
  }
  .fm-carousel-slide {
    flex: 0 0 100%;
  }
  .fm-section {
    padding: 64px 0;
  }
  .fm-wa-trigger-label {
    display: none;
  }
  .fm-wa-trigger {
    padding: 14px;
  }
}

/* Respect Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body.fm-body,
  .fm-hero-bg,
  .fm-pulse-dot,
  .fm-wa-drawer.is-open {
    animation: none !important;
  }
  .fm-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}
