/* DEPRECATED - All styles consolidated into main.css for better performance and maintainability */

/* ====================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ==================================== */
:root {
  /* Brand Colors */
  --ffm-primary-blue: #1766bf;
  --ffm-primary-blue-dark: #124a8f;
  --ffm-primary-blue-light: #2973cc;
  --ffm-secondary-gold: #ffd700;
  --ffm-secondary-gold-dark: #e6c200;
  --ffm-secondary-gold-light: #fff347;
  
  /* Neutral Colors */
  --ffm-white: #ffffff;
  --ffm-gray-50: #f8fafc;
  --ffm-gray-100: #f1f5f9;
  --ffm-gray-200: #e2e8f0;
  --ffm-gray-300: #cbd5e1;
  --ffm-gray-400: #94a3b8;
  --ffm-gray-500: #64748b;
  --ffm-gray-600: #475569;
  --ffm-gray-700: #334155;
  --ffm-gray-800: #1e293b;
  --ffm-gray-900: #0f172a;
  
  /* Status Colors */
  --ffm-success: #10b981;
  --ffm-warning: #f59e0b;
  --ffm-error: #ef4444;
  --ffm-info: #3b82f6;
  
  /* Typography */
  --ffm-font-family-primary: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --ffm-font-family-heading: 'Poppins', 'Inter', sans-serif;
  
  /* Font Sizes - Fluid Typography */
  --ffm-text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --ffm-text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --ffm-text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --ffm-text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --ffm-text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --ffm-text-2xl: clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --ffm-text-3xl: clamp(1.875rem, 1.6rem + 1.375vw, 2.25rem);
  --ffm-text-4xl: clamp(2.25rem, 1.9rem + 1.75vw, 3rem);
  --ffm-text-5xl: clamp(3rem, 2.5rem + 2.5vw, 3.75rem);
  
  /* Spacing Scale (8px base) */
  --ffm-space-1: 0.25rem;  /* 4px */
  --ffm-space-2: 0.5rem;   /* 8px */
  --ffm-space-3: 0.75rem;  /* 12px */
  --ffm-space-4: 1rem;     /* 16px */
  --ffm-space-5: 1.25rem;  /* 20px */
  --ffm-space-6: 1.5rem;   /* 24px */
  --ffm-space-8: 2rem;     /* 32px */
  --ffm-space-10: 2.5rem;  /* 40px */
  --ffm-space-12: 3rem;    /* 48px */
  --ffm-space-16: 4rem;    /* 64px */
  --ffm-space-20: 5rem;    /* 80px */
  --ffm-space-24: 6rem;    /* 96px */
  --ffm-space-32: 8rem;    /* 128px */
  
  /* Border Radius */
  --ffm-radius-sm: 0.25rem;   /* 4px */
  --ffm-radius-base: 0.5rem;  /* 8px */
  --ffm-radius-lg: 0.75rem;   /* 12px */
  --ffm-radius-xl: 1rem;      /* 16px */
  --ffm-radius-2xl: 1.5rem;   /* 24px */
  --ffm-radius-full: 9999px;  /* Fully rounded */
  
  /* Shadows */
  --ffm-shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --ffm-shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --ffm-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --ffm-shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --ffm-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  
  /* Transitions */
  --ffm-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --ffm-transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --ffm-transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-Index Scale */
  --ffm-z-dropdown: 10;
  --ffm-z-sticky: 20;
  --ffm-z-overlay: 30;
  --ffm-z-modal: 40;
  --ffm-z-toast: 50;
  
  /* Container Sizes */
  --ffm-container-xs: 20rem;    /* 320px */
  --ffm-container-sm: 24rem;    /* 384px */
  --ffm-container-md: 28rem;    /* 448px */
  --ffm-container-lg: 32rem;    /* 512px */
  --ffm-container-xl: 36rem;    /* 576px */
  --ffm-container-2xl: 42rem;   /* 672px */
  --ffm-container-3xl: 48rem;   /* 768px */
  --ffm-container-4xl: 56rem;   /* 896px */
  --ffm-container-5xl: 64rem;   /* 1024px */
  --ffm-container-6xl: 72rem;   /* 1152px */
  --ffm-container-7xl: 80rem;   /* 1280px */
  --ffm-container-full: 90rem;  /* 1440px */
}

/* ====================================
   RESET AND BASE STYLES
   ==================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ffm-font-family-primary);
  font-size: var(--ffm-text-base);
  line-height: 1.6;
  color: var(--ffm-gray-800);
  background-color: var(--ffm-white);
  overflow-x: hidden;
}

/* ====================================
   TYPOGRAPHY SYSTEM
   ==================================== */
.ffm-heading-1,
.ffm-heading-2,
.ffm-heading-3,
.ffm-heading-4,
.ffm-heading-5,
.ffm-heading-6,
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ffm-font-family-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-4);
}

.ffm-heading-1, h1 { font-size: var(--ffm-text-5xl); }
.ffm-heading-2, h2 { font-size: var(--ffm-text-4xl); }
.ffm-heading-3, h3 { font-size: var(--ffm-text-3xl); }
.ffm-heading-4, h4 { font-size: var(--ffm-text-2xl); }
.ffm-heading-5, h5 { font-size: var(--ffm-text-xl); }
.ffm-heading-6, h6 { font-size: var(--ffm-text-lg); }

.ffm-text-lead {
  font-size: var(--ffm-text-xl);
  font-weight: 400;
  color: var(--ffm-gray-600);
  line-height: 1.7;
}

p {
  margin-bottom: var(--ffm-space-4);
  color: var(--ffm-gray-700);
  line-height: 1.7;
}

/* ====================================
   CONTAINER SYSTEM
   ==================================== */
.ffm-container {
  width: 100%;
  max-width: var(--ffm-container-7xl);
  margin: 0 auto;
  padding: 0 var(--ffm-space-4);
}

.ffm-container--sm { max-width: var(--ffm-container-sm); }
.ffm-container--md { max-width: var(--ffm-container-md); }
.ffm-container--lg { max-width: var(--ffm-container-lg); }
.ffm-container--xl { max-width: var(--ffm-container-xl); }
.ffm-container--2xl { max-width: var(--ffm-container-2xl); }
.ffm-container--3xl { max-width: var(--ffm-container-3xl); }
.ffm-container--4xl { max-width: var(--ffm-container-4xl); }
.ffm-container--5xl { max-width: var(--ffm-container-5xl); }
.ffm-container--6xl { max-width: var(--ffm-container-6xl); }
.ffm-container--full { max-width: var(--ffm-container-full); }

@media (min-width: 768px) {
  .ffm-container { padding: 0 var(--ffm-space-6); }
}

@media (min-width: 1024px) {
  .ffm-container { padding: 0 var(--ffm-space-8); }
}

/* ====================================
   BUTTON SYSTEM
   ==================================== */
.ffm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ffm-space-2);
  padding: var(--ffm-space-3) var(--ffm-space-6);
  font-family: var(--ffm-font-family-primary);
  font-size: var(--ffm-text-base);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--ffm-radius-lg);
  cursor: pointer;
  transition: all var(--ffm-transition-base);
  white-space: nowrap;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.ffm-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left var(--ffm-transition-slow);
}

.ffm-btn:hover::before {
  left: 100%;
}

.ffm-btn:focus {
  outline: 2px solid var(--ffm-primary-blue);
  outline-offset: 2px;
}

.ffm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Button Variants */
.ffm-btn--primary {
  background: linear-gradient(135deg, var(--ffm-primary-blue), var(--ffm-primary-blue-dark));
  color: var(--ffm-white);
  box-shadow: var(--ffm-shadow-lg);
}

.ffm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ffm-shadow-xl);
  background: linear-gradient(135deg, var(--ffm-primary-blue-light), var(--ffm-primary-blue));
}

.ffm-btn--secondary {
  background: linear-gradient(135deg, var(--ffm-secondary-gold), var(--ffm-secondary-gold-dark));
  color: var(--ffm-gray-900);
  box-shadow: var(--ffm-shadow-lg);
}

.ffm-btn--secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ffm-shadow-xl);
  background: linear-gradient(135deg, var(--ffm-secondary-gold-light), var(--ffm-secondary-gold));
}

.ffm-btn--outline {
  background: transparent;
  border-color: var(--ffm-primary-blue);
  color: var(--ffm-primary-blue);
}

.ffm-btn--outline:hover {
  background: var(--ffm-primary-blue);
  color: var(--ffm-white);
  transform: translateY(-2px);
}

.ffm-btn--ghost {
  background: transparent;
  color: var(--ffm-gray-700);
}

.ffm-btn--ghost:hover {
  background: var(--ffm-gray-100);
  color: var(--ffm-gray-900);
}

/* Button Sizes */
.ffm-btn--sm {
  padding: var(--ffm-space-2) var(--ffm-space-4);
  font-size: var(--ffm-text-sm);
}

.ffm-btn--lg {
  padding: var(--ffm-space-4) var(--ffm-space-8);
  font-size: var(--ffm-text-lg);
}

.ffm-btn--xl {
  padding: var(--ffm-space-5) var(--ffm-space-10);
  font-size: var(--ffm-text-xl);
}

.ffm-btn--full {
  width: 100%;
}

/* Special CTA Button */
.ffm-btn--cta {
  background: linear-gradient(135deg, var(--ffm-error), #dc2626);
  color: var(--ffm-white);
  box-shadow: var(--ffm-shadow-xl);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--ffm-shadow-xl); }
  50% { box-shadow: var(--ffm-shadow-2xl), 0 0 20px rgba(239, 68, 68, 0.4); }
}

.ffm-btn--cta:hover {
  transform: translateY(-3px) scale(1.05);
  animation: none;
}

/* ====================================
   STICKY HEADER SYSTEM
   ==================================== */
.ffm-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--ffm-z-sticky);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ffm-gray-200);
  transition: all var(--ffm-transition-base);
  box-shadow: var(--ffm-shadow-base);
}

/* Navigation Dropdown Styles */
.ffm-nav {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-6);
}

.ffm-nav-list {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ffm-nav-link {
  color: var(--ffm-gray-800);
  text-decoration: none;
  font-weight: 500;
  padding: var(--ffm-space-2) 0;
  transition: color var(--ffm-transition-base);
}

.ffm-nav-link:hover {
  color: var(--ffm-primary-blue);
}

.ffm-nav-dropdown {
  position: relative;
}

.ffm-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-1);
  cursor: pointer;
}

.ffm-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ffm-white);
  box-shadow: var(--ffm-shadow-xl);
  border-radius: var(--ffm-radius-lg);
  padding: var(--ffm-space-2) 0;
  min-width: 240px;
  margin-top: var(--ffm-space-2);
  z-index: calc(var(--ffm-z-sticky) + 10);
  display: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: all var(--ffm-transition-base);
}

.ffm-nav-dropdown:hover .ffm-dropdown-menu,
.ffm-nav-dropdown.active .ffm-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.ffm-dropdown-menu a {
  display: block;
  padding: var(--ffm-space-3) var(--ffm-space-4);
  color: var(--ffm-gray-700);
  text-decoration: none;
  transition: all var(--ffm-transition-base);
  border-left: 3px solid transparent;
}

.ffm-dropdown-menu a:hover {
  background: var(--ffm-gray-50);
  color: var(--ffm-primary-blue);
  border-left-color: var(--ffm-primary-blue);
}

.ffm-header--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--ffm-shadow-lg);
}

.ffm-header__content,
.ffm-header .ffm-container > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ffm-space-3) 0;
  min-height: 70px;
}

.ffm-header__logo,
.ffm-logo {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-3);
}

.ffm-header__logo img,
.ffm-logo img {
  height: 50px;
  width: auto;
}

.ffm-header__nav {
  display: none;
}

.ffm-header__actions {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-3);
}

.ffm-header__phone {
  display: none;
  align-items: center;
  gap: var(--ffm-space-2);
  color: var(--ffm-primary-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--ffm-text-lg);
  transition: color var(--ffm-transition-base);
}

.ffm-header__phone:hover {
  color: var(--ffm-primary-blue-dark);
}

.ffm-header__phone-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Mobile Menu Toggle */
.ffm-menu-toggle,
.ffm-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--ffm-space-2);
  z-index: calc(var(--ffm-z-sticky) + 1);
}

.ffm-menu-toggle {
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.ffm-menu-toggle__line {
  width: 100%;
  height: 2px;
  background: var(--ffm-gray-800);
  transition: all var(--ffm-transition-base);
}

.ffm-menu-toggle--open .ffm-menu-toggle__line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.ffm-menu-toggle--open .ffm-menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.ffm-menu-toggle--open .ffm-menu-toggle__line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* CTA Button Styles */
.ffm-cta-btn,
.ffm-button,
.ffm-button-primary {
  background: var(--ffm-secondary-gold);
  color: var(--ffm-gray-900);
  border: none;
  padding: var(--ffm-space-3) var(--ffm-space-6);
  border-radius: var(--ffm-radius-lg);
  font-weight: 600;
  font-size: var(--ffm-text-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: all var(--ffm-transition-base);
  box-shadow: var(--ffm-shadow-sm);
}

.ffm-cta-btn:hover,
.ffm-button:hover,
.ffm-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ffm-shadow-lg);
  background: var(--ffm-secondary-gold-light);
}

.ffm-button-secondary {
  background: transparent;
  color: var(--ffm-primary-blue);
  border: 2px solid var(--ffm-primary-blue);
}

.ffm-button-secondary:hover {
  background: var(--ffm-primary-blue);
  color: var(--ffm-white);
}

/* Mobile Navigation Responsive Styles - Enhanced */
@media (max-width: 1023px) {
  .ffm-mobile-toggle {
    display: block !important;
    min-height: 44px;
    min-width: 44px;
    padding: var(--ffm-space-2);
    border-radius: var(--ffm-radius-base);
    background: transparent;
    border: 1px solid var(--ffm-gray-300);
    cursor: pointer;
    transition: all var(--ffm-transition-base);
  }
  
  .ffm-mobile-toggle:hover {
    background: var(--ffm-gray-50);
    border-color: var(--ffm-primary-blue);
  }
  
  .ffm-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ffm-white);
    box-shadow: var(--ffm-shadow-xl);
    padding: var(--ffm-space-4);
    margin: 0;
    border-radius: 0 0 var(--ffm-radius-lg) var(--ffm-radius-lg);
    max-height: 70vh;
    overflow-y: auto;
    z-index: calc(var(--ffm-z-sticky) + 5);
  }
  
  .ffm-nav.active {
    display: block;
  }
  
  .ffm-nav-list {
    flex-direction: column;
    gap: var(--ffm-space-2);
    align-items: stretch;
  }
  
  .ffm-nav-link {
    padding: var(--ffm-space-3) var(--ffm-space-4);
    border-radius: var(--ffm-radius-base);
    display: block;
    border: 1px solid transparent;
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: var(--ffm-text-base);
    font-weight: 500;
    transition: all var(--ffm-transition-base);
  }
  
  .ffm-nav-link:hover {
    background: var(--ffm-gray-50);
    border-color: var(--ffm-primary-blue);
    color: var(--ffm-primary-blue);
  }
  
  .ffm-nav-dropdown {
    position: static;
  }
  
  .ffm-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }
  
  .ffm-dropdown-toggle span {
    transition: transform var(--ffm-transition-base);
    font-size: var(--ffm-text-sm);
  }
  
  .ffm-nav-dropdown.active .ffm-dropdown-toggle span {
    transform: rotate(180deg);
  }
  
  .ffm-dropdown-menu {
    position: static;
    display: none !important;
    box-shadow: none;
    background: var(--ffm-gray-50);
    margin: var(--ffm-space-2) 0 0 var(--ffm-space-4);
    border-radius: var(--ffm-radius-base);
    opacity: 1;
    transform: none;
    border: 1px solid var(--ffm-gray-200);
  }
  
  .ffm-nav-dropdown.active .ffm-dropdown-menu {
    display: block !important;
  }
  
  .ffm-dropdown-menu li {
    list-style: none;
  }
  
  .ffm-dropdown-menu a {
    padding: var(--ffm-space-2) var(--ffm-space-3);
    font-size: var(--ffm-text-sm);
    border-left: none;
    min-height: 40px;
    display: flex;
    align-items: center;
  }
  
  .ffm-cta-btn {
    margin-top: var(--ffm-space-4);
    width: 100%;
    justify-content: center;
    text-align: center;
    display: flex;
    min-height: 48px;
    font-size: var(--ffm-text-base);
    font-weight: 600;
  }
  
  /* Improved header layout on tablets */
  .ffm-header__content {
    padding: var(--ffm-space-3) 0;
  }
  
  .ffm-header__logo img {
    height: 45px;
  }
}

@media (min-width: 768px) {
  .ffm-header__phone {
    display: flex;
  }
  
  .ffm-menu-toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .ffm-header__nav,
  .ffm-nav {
    display: flex;
  }
  
  .ffm-mobile-toggle {
    display: none !important;
  }
  
  .ffm-header__content {
    padding: var(--ffm-space-4) 0;
  }
}

/* ====================================
   FLOATING CTA BUTTON
   ==================================== */
.ffm-floating-cta {
  position: fixed;
  bottom: var(--ffm-space-6);
  right: var(--ffm-space-4);
  z-index: var(--ffm-z-overlay);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.ffm-floating-cta__button {
  width: 60px;
  height: 60px;
  border-radius: var(--ffm-radius-full);
  background: linear-gradient(135deg, var(--ffm-error), #dc2626);
  color: var(--ffm-white);
  border: none;
  box-shadow: var(--ffm-shadow-xl);
  cursor: pointer;
  transition: all var(--ffm-transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ffm-floating-cta__button:hover {
  transform: scale(1.1);
  box-shadow: var(--ffm-shadow-2xl);
}

@media (min-width: 768px) {
  .ffm-floating-cta {
    bottom: var(--ffm-space-8);
    right: var(--ffm-space-8);
  }
  
  .ffm-floating-cta__button {
    width: 70px;
    height: 70px;
  }
}

/* ====================================
   SERVICE GRID SYSTEM
   ==================================== */
.ffm-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ffm-space-6);
}

.ffm-service-card {
  background: var(--ffm-white);
  border-radius: var(--ffm-radius-xl);
  padding: var(--ffm-space-8);
  box-shadow: var(--ffm-shadow-base);
  transition: all var(--ffm-transition-base);
  border: 1px solid var(--ffm-gray-200);
  position: relative;
  overflow: hidden;
}

.ffm-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ffm-primary-blue), var(--ffm-secondary-gold));
}

.ffm-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--ffm-shadow-xl);
  border-color: var(--ffm-primary-blue);
}

.ffm-service-card__icon {
  width: 80px;
  height: 80px;
  margin-bottom: var(--ffm-space-4);
  border-radius: var(--ffm-radius-lg);
  overflow: hidden;
}

.ffm-service-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ffm-service-card__title {
  font-size: var(--ffm-text-xl);
  font-weight: 600;
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-3);
}

.ffm-service-card__description {
  color: var(--ffm-gray-600);
  margin-bottom: var(--ffm-space-4);
  line-height: 1.6;
}

.ffm-service-card__features {
  display: flex;
  flex-direction: column;
  gap: var(--ffm-space-2);
  margin-bottom: var(--ffm-space-6);
}

.ffm-service-card__feature {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-2);
  font-size: var(--ffm-text-sm);
  color: var(--ffm-gray-700);
}

.ffm-service-card__feature::before {
  content: '✓';
  color: var(--ffm-success);
  font-weight: 600;
}

@media (min-width: 768px) {
  .ffm-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .ffm-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ====================================
   TRUST BADGES SECTION
   ==================================== */
.ffm-trust-badges {
  padding: var(--ffm-space-16) 0;
  background: var(--ffm-gray-50);
}

.ffm-trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ffm-space-8);
  align-items: center;
  justify-items: center;
}

.ffm-trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--ffm-space-6);
  background: var(--ffm-white);
  border-radius: var(--ffm-radius-lg);
  box-shadow: var(--ffm-shadow-sm);
  transition: all var(--ffm-transition-base);
}

.ffm-trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--ffm-shadow-lg);
}

.ffm-trust-badge__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--ffm-space-3);
  color: var(--ffm-primary-blue);
}

.ffm-trust-badge__title {
  font-size: var(--ffm-text-sm);
  font-weight: 600;
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-1);
}

.ffm-trust-badge__description {
  font-size: var(--ffm-text-xs);
  color: var(--ffm-gray-600);
}

/* ====================================
   LOCATION SELECTOR
   ==================================== */
.ffm-location-selector {
  padding: var(--ffm-space-20) 0;
  background: linear-gradient(135deg, var(--ffm-primary-blue), var(--ffm-primary-blue-dark));
}

.ffm-location-selector__header {
  text-align: center;
  color: var(--ffm-white);
  margin-bottom: var(--ffm-space-12);
}

.ffm-location-selector__title {
  color: var(--ffm-white);
  margin-bottom: var(--ffm-space-4);
}

.ffm-location-selector__subtitle {
  font-size: var(--ffm-text-lg);
  color: rgba(255, 255, 255, 0.9);
}

.ffm-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ffm-space-8);
}

.ffm-location-card {
  background: var(--ffm-white);
  border-radius: var(--ffm-radius-xl);
  overflow: hidden;
  box-shadow: var(--ffm-shadow-xl);
  transition: all var(--ffm-transition-base);
}

.ffm-location-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--ffm-shadow-2xl);
}

.ffm-location-card__image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.ffm-location-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ffm-transition-slow);
}

.ffm-location-card:hover .ffm-location-card__image img {
  transform: scale(1.1);
}

.ffm-location-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.ffm-location-card__content {
  padding: var(--ffm-space-8);
}

.ffm-location-card__title {
  font-size: var(--ffm-text-2xl);
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-3);
}

.ffm-location-card__address {
  color: var(--ffm-gray-600);
  margin-bottom: var(--ffm-space-4);
  font-weight: 500;
}

.ffm-location-card__phone {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-2);
  color: var(--ffm-primary-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--ffm-text-lg);
  margin-bottom: var(--ffm-space-6);
  transition: color var(--ffm-transition-base);
}

.ffm-location-card__phone:hover {
  color: var(--ffm-primary-blue-dark);
}

@media (min-width: 768px) {
  .ffm-locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================================
   VIDEO EMBED CONTAINERS
   ==================================== */
.ffm-video-section {
  padding: var(--ffm-space-20) 0;
  background: var(--ffm-gray-50);
}

.ffm-video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--ffm-radius-xl);
  overflow: hidden;
  box-shadow: var(--ffm-shadow-xl);
}

.ffm-video-container::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.ffm-video-container iframe,
.ffm-video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.ffm-video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ffm-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--ffm-space-4);
  cursor: pointer;
  transition: all var(--ffm-transition-base);
}

.ffm-video-placeholder:hover {
  background: var(--ffm-gray-300);
}

.ffm-video-placeholder__icon {
  width: 80px;
  height: 80px;
  color: var(--ffm-primary-blue);
}

.ffm-video-placeholder__text {
  font-size: var(--ffm-text-lg);
  font-weight: 600;
  color: var(--ffm-gray-700);
}

/* ====================================
   MOVING COST CALCULATOR UI
   ==================================== */
.ffm-calculator {
  background: var(--ffm-white);
  border-radius: var(--ffm-radius-xl);
  padding: var(--ffm-space-8);
  box-shadow: var(--ffm-shadow-xl);
  border: 1px solid var(--ffm-gray-200);
}

.ffm-calculator__header {
  text-align: center;
  margin-bottom: var(--ffm-space-8);
}

.ffm-calculator__title {
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-3);
}

.ffm-calculator__subtitle {
  color: var(--ffm-gray-600);
  font-size: var(--ffm-text-lg);
}

.ffm-calculator__form {
  display: flex;
  flex-direction: column;
  gap: var(--ffm-space-6);
}

.ffm-calculator__step {
  opacity: 0.6;
  transition: opacity var(--ffm-transition-base);
}

.ffm-calculator__step--active {
  opacity: 1;
}

.ffm-calculator__step-header {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-3);
  margin-bottom: var(--ffm-space-4);
}

.ffm-calculator__step-number {
  width: 32px;
  height: 32px;
  border-radius: var(--ffm-radius-full);
  background: var(--ffm-primary-blue);
  color: var(--ffm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--ffm-text-sm);
}

.ffm-calculator__step-title {
  font-size: var(--ffm-text-lg);
  font-weight: 600;
  color: var(--ffm-gray-900);
}

.ffm-calculator__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ffm-space-3);
}

.ffm-calculator__option {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-3);
  padding: var(--ffm-space-4);
  border: 2px solid var(--ffm-gray-200);
  border-radius: var(--ffm-radius-lg);
  cursor: pointer;
  transition: all var(--ffm-transition-base);
}

.ffm-calculator__option:hover {
  border-color: var(--ffm-primary-blue);
  background: var(--ffm-gray-50);
}

.ffm-calculator__option--selected {
  border-color: var(--ffm-primary-blue);
  background: rgba(23, 102, 191, 0.1);
}

.ffm-calculator__option input[type="radio"] {
  margin: 0;
}

.ffm-calculator__result {
  background: linear-gradient(135deg, var(--ffm-primary-blue), var(--ffm-primary-blue-dark));
  color: var(--ffm-white);
  padding: var(--ffm-space-8);
  border-radius: var(--ffm-radius-lg);
  text-align: center;
  margin-top: var(--ffm-space-6);
}

.ffm-calculator__result-title {
  color: var(--ffm-white);
  margin-bottom: var(--ffm-space-2);
}

.ffm-calculator__result-price {
  font-size: var(--ffm-text-4xl);
  font-weight: 700;
  color: var(--ffm-secondary-gold);
  margin-bottom: var(--ffm-space-4);
}

.ffm-calculator__result-note {
  font-size: var(--ffm-text-sm);
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .ffm-calculator__options {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====================================
   TESTIMONIAL CAROUSEL
   ==================================== */
.ffm-testimonials {
  padding: var(--ffm-space-20) 0;
  background: var(--ffm-gray-50);
}

.ffm-testimonials__header {
  text-align: center;
  margin-bottom: var(--ffm-space-12);
}

.ffm-testimonials__carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--ffm-radius-xl);
}

.ffm-testimonials__track {
  display: flex;
  transition: transform var(--ffm-transition-slow);
}

.ffm-testimonial {
  flex: 0 0 100%;
  padding: 0 var(--ffm-space-4);
}

.ffm-testimonial__card {
  background: var(--ffm-white);
  padding: var(--ffm-space-8);
  border-radius: var(--ffm-radius-lg);
  box-shadow: var(--ffm-shadow-lg);
  text-align: center;
  position: relative;
}

.ffm-testimonial__card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  color: var(--ffm-primary-blue);
  font-family: serif;
  line-height: 1;
}

.ffm-testimonial__content {
  font-size: var(--ffm-text-lg);
  color: var(--ffm-gray-700);
  margin-bottom: var(--ffm-space-6);
  font-style: italic;
  line-height: 1.7;
}

.ffm-testimonial__rating {
  display: flex;
  justify-content: center;
  gap: var(--ffm-space-1);
  margin-bottom: var(--ffm-space-4);
}

.ffm-testimonial__star {
  color: var(--ffm-secondary-gold);
  font-size: var(--ffm-text-lg);
}

.ffm-testimonial__author {
  font-weight: 600;
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-1);
}

.ffm-testimonial__location {
  color: var(--ffm-gray-600);
  font-size: var(--ffm-text-sm);
}

.ffm-testimonials__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--ffm-space-4);
  margin-top: var(--ffm-space-8);
}

.ffm-testimonials__nav {
  background: var(--ffm-white);
  border: 1px solid var(--ffm-gray-300);
  width: 48px;
  height: 48px;
  border-radius: var(--ffm-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--ffm-transition-base);
}

.ffm-testimonials__nav:hover {
  background: var(--ffm-primary-blue);
  color: var(--ffm-white);
  border-color: var(--ffm-primary-blue);
}

.ffm-testimonials__dots {
  display: flex;
  gap: var(--ffm-space-2);
}

.ffm-testimonials__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--ffm-radius-full);
  background: var(--ffm-gray-300);
  cursor: pointer;
  transition: background var(--ffm-transition-base);
}

.ffm-testimonials__dot--active {
  background: var(--ffm-primary-blue);
}

@media (min-width: 768px) {
  .ffm-testimonial {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .ffm-testimonial {
    flex: 0 0 33.333%;
  }
}

/* ====================================
   FOOTER WITH DUAL LOCATION INFO
   ==================================== */
.ffm-footer {
  background: var(--ffm-gray-900);
  color: var(--ffm-white);
  padding: var(--ffm-space-20) 0 var(--ffm-space-8);
}

.ffm-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ffm-space-8);
  margin-bottom: var(--ffm-space-12);
}

.ffm-footer__section {
  text-align: center;
}

.ffm-footer__section--locations {
  text-align: left;
}

.ffm-footer__title {
  font-size: var(--ffm-text-xl);
  font-weight: 600;
  color: var(--ffm-white);
  margin-bottom: var(--ffm-space-4);
  border-bottom: 2px solid var(--ffm-primary-blue);
  padding-bottom: var(--ffm-space-2);
}

.ffm-footer__locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ffm-space-6);
}

.ffm-footer__location {
  padding: var(--ffm-space-6);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--ffm-radius-lg);
  border-left: 4px solid var(--ffm-primary-blue);
}

.ffm-footer__location-title {
  font-size: var(--ffm-text-lg);
  font-weight: 600;
  color: var(--ffm-secondary-gold);
  margin-bottom: var(--ffm-space-3);
}

.ffm-footer__location-address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: var(--ffm-space-3);
}

.ffm-footer__location-phone {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-2);
  color: var(--ffm-white);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--ffm-transition-base);
}

.ffm-footer__location-phone:hover {
  color: var(--ffm-secondary-gold);
}

.ffm-footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--ffm-space-3);
}

.ffm-footer__nav a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--ffm-transition-base);
}

.ffm-footer__nav a:hover {
  color: var(--ffm-white);
}

.ffm-footer__social {
  display: flex;
  justify-content: center;
  gap: var(--ffm-space-4);
  margin-top: var(--ffm-space-6);
}

.ffm-footer__social a {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--ffm-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ffm-white);
  transition: all var(--ffm-transition-base);
}

.ffm-footer__social a:hover {
  background: var(--ffm-primary-blue);
  transform: translateY(-2px);
}

.ffm-footer__bottom {
  text-align: center;
  padding-top: var(--ffm-space-8);
  border-top: 1px solid var(--ffm-gray-700);
  color: rgba(255, 255, 255, 0.7);
}

.ffm-footer__logo {
  margin-bottom: var(--ffm-space-4);
}

.ffm-footer__logo img {
  height: 60px;
  width: auto;
}

@media (min-width: 768px) {
  .ffm-footer__main {
    grid-template-columns: 2fr 1fr 1fr;
    text-align: left;
  }
  
  .ffm-footer__locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ffm-footer__section {
    text-align: left;
  }
  
  .ffm-footer__social {
    justify-content: flex-start;
  }
}

@media (min-width: 1024px) {
  .ffm-footer__main {
    grid-template-columns: 3fr 1fr 1fr 1fr;
  }
}

/* ====================================
   MOBILE-FIRST IMPROVEMENTS
   ==================================== */

/* Touch-friendly button sizing */
@media (max-width: 768px) {
  .ffm-btn {
    min-height: 44px;
    padding: var(--ffm-space-3) var(--ffm-space-6);
    font-size: var(--ffm-text-base);
  }
  
  .ffm-btn--lg {
    min-height: 48px;
    padding: var(--ffm-space-4) var(--ffm-space-8);
  }
  
  .ffm-btn--xl {
    min-height: 52px;
    padding: var(--ffm-space-5) var(--ffm-space-10);
  }
  
  /* Form improvements */
  .ffm-form-input,
  .ffm-form-select,
  .ffm-form-textarea {
    font-size: 16px; /* Prevent zoom on iOS */
    min-height: 44px;
    padding: var(--ffm-space-3) var(--ffm-space-4);
  }
  
  /* Hero section mobile optimization */
  .ffm-hero {
    padding: var(--ffm-space-16) 0;
  }
  
  .ffm-hero h1 {
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.2;
  }
  
  .ffm-hero .ffm-lead {
    font-size: var(--ffm-text-lg);
    margin-bottom: var(--ffm-space-6);
  }
  
  .ffm-hero-cta {
    flex-direction: column;
    gap: var(--ffm-space-3);
  }
  
  .ffm-hero-cta .ffm-btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Service grid improvements */
  .ffm-services-grid {
    gap: var(--ffm-space-4);
  }
  
  .ffm-service-card {
    padding: var(--ffm-space-6);
  }
  
  .ffm-service-card__icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--ffm-space-3);
  }
  
  /* Location selector improvements */
  .ffm-location-selector {
    padding: var(--ffm-space-16) 0;
  }
  
  .ffm-location-card__image {
    height: 180px;
  }
  
  .ffm-location-card__content {
    padding: var(--ffm-space-6);
  }
  
  /* Trust badges mobile layout */
  .ffm-trust-badges__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--ffm-space-4);
  }
  
  .ffm-trust-badge {
    padding: var(--ffm-space-4);
  }
  
  .ffm-trust-badge__icon {
    width: 48px;
    height: 48px;
  }
  
  /* Testimonials mobile improvements */
  .ffm-testimonial__card {
    padding: var(--ffm-space-6);
  }
  
  /* Footer mobile improvements */
  .ffm-footer {
    padding: var(--ffm-space-16) 0 var(--ffm-space-8);
  }
  
  .ffm-footer__main {
    gap: var(--ffm-space-6);
    text-align: center;
  }
  
  .ffm-footer__locations-grid {
    gap: var(--ffm-space-4);
  }
  
  .ffm-footer__location {
    padding: var(--ffm-space-4);
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .ffm-container {
    padding: 0 var(--ffm-space-3);
  }
  
  .ffm-hero {
    padding: var(--ffm-space-12) 0;
  }
  
  .ffm-hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  
  .ffm-section {
    padding: var(--ffm-space-12) 0;
  }
  
  .ffm-trust-badges__grid {
    grid-template-columns: 1fr;
  }
  
  .ffm-service-card {
    padding: var(--ffm-space-5);
  }
  
  .ffm-footer__main {
    gap: var(--ffm-space-4);
  }
}

/* ====================================
   MOBILE STICKY FOOTER
   ==================================== */
.ffm-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--ffm-z-sticky);
  background: var(--ffm-white);
  border-top: 1px solid var(--ffm-gray-200);
  box-shadow: var(--ffm-shadow-xl);
  display: flex;
  gap: var(--ffm-space-1);
  padding: var(--ffm-space-3);
}

.ffm-mobile-cta__button {
  flex: 1;
  padding: var(--ffm-space-3) var(--ffm-space-2);
  border: none;
  border-radius: var(--ffm-radius-lg);
  font-weight: 600;
  font-size: var(--ffm-text-sm);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ffm-space-1);
  transition: all var(--ffm-transition-base);
}

.ffm-mobile-cta__button--call {
  background: var(--ffm-success);
  color: var(--ffm-white);
}

.ffm-mobile-cta__button--quote {
  background: var(--ffm-primary-blue);
  color: var(--ffm-white);
}

.ffm-mobile-cta__button--chat {
  background: var(--ffm-warning);
  color: var(--ffm-white);
}

.ffm-mobile-cta__button:hover {
  transform: translateY(-2px);
}

/* Hide mobile sticky footer on larger screens */
@media (min-width: 768px) {
  .ffm-mobile-cta {
    display: none;
  }
}

/* Ensure mobile CTA is accessible and visible */
@media (max-width: 767px) {
  .ffm-mobile-cta {
    padding: var(--ffm-space-3) var(--ffm-space-4);
    gap: var(--ffm-space-2);
  }
  
  .ffm-mobile-cta__button {
    min-height: 44px;
    font-size: var(--ffm-text-sm);
    font-weight: 600;
    border-radius: var(--ffm-radius-base);
    transition: all var(--ffm-transition-base);
  }
  
  .ffm-mobile-cta__button:active {
    transform: scale(0.98);
  }
  
  /* Add space at bottom of content to prevent overlap */
  .ffm-footer {
    margin-bottom: 80px;
  }
}

/* ====================================
   UTILITY CLASSES
   ==================================== */
.ffm-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ffm-text-center { text-align: center; }
.ffm-text-left { text-align: left; }
.ffm-text-right { text-align: right; }

.ffm-font-bold { font-weight: 700; }
.ffm-font-semibold { font-weight: 600; }
.ffm-font-medium { font-weight: 500; }

.ffm-text-primary { color: var(--ffm-primary-blue); }
.ffm-text-secondary { color: var(--ffm-secondary-gold); }
.ffm-text-success { color: var(--ffm-success); }
.ffm-text-warning { color: var(--ffm-warning); }
.ffm-text-error { color: var(--ffm-error); }

.ffm-bg-primary { background-color: var(--ffm-primary-blue); }
.ffm-bg-secondary { background-color: var(--ffm-secondary-gold); }
.ffm-bg-gray-50 { background-color: var(--ffm-gray-50); }
.ffm-bg-gray-100 { background-color: var(--ffm-gray-100); }

.ffm-rounded { border-radius: var(--ffm-radius-base); }
.ffm-rounded-lg { border-radius: var(--ffm-radius-lg); }
.ffm-rounded-xl { border-radius: var(--ffm-radius-xl); }
.ffm-rounded-full { border-radius: var(--ffm-radius-full); }

.ffm-shadow { box-shadow: var(--ffm-shadow-base); }
.ffm-shadow-lg { box-shadow: var(--ffm-shadow-lg); }
.ffm-shadow-xl { box-shadow: var(--ffm-shadow-xl); }

/* Margin/Padding Utilities */
.ffm-m-0 { margin: 0; }
.ffm-m-1 { margin: var(--ffm-space-1); }
.ffm-m-2 { margin: var(--ffm-space-2); }
.ffm-m-4 { margin: var(--ffm-space-4); }
.ffm-m-6 { margin: var(--ffm-space-6); }
.ffm-m-8 { margin: var(--ffm-space-8); }

.ffm-p-0 { padding: 0; }
.ffm-p-1 { padding: var(--ffm-space-1); }
.ffm-p-2 { padding: var(--ffm-space-2); }
.ffm-p-4 { padding: var(--ffm-space-4); }
.ffm-p-6 { padding: var(--ffm-space-6); }
.ffm-p-8 { padding: var(--ffm-space-8); }

.ffm-mb-4 { margin-bottom: var(--ffm-space-4); }
.ffm-mb-6 { margin-bottom: var(--ffm-space-6); }
.ffm-mb-8 { margin-bottom: var(--ffm-space-8); }

/* ====================================
   FORM COMPONENTS
   ==================================== */
.ffm-form-group {
  margin-bottom: var(--ffm-space-4);
}

.ffm-form-label {
  display: block;
  font-weight: 600;
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-2);
  font-size: var(--ffm-text-sm);
}

.ffm-form-input,
.ffm-form-select,
.ffm-form-textarea {
  width: 100%;
  padding: var(--ffm-space-3) var(--ffm-space-4);
  border: 1px solid var(--ffm-gray-300);
  border-radius: var(--ffm-radius-lg);
  font-size: var(--ffm-text-base);
  font-family: var(--ffm-font-family-primary);
  transition: all var(--ffm-transition-base);
}

.ffm-form-input:focus,
.ffm-form-select:focus,
.ffm-form-textarea:focus {
  outline: none;
  border-color: var(--ffm-primary-blue);
  box-shadow: 0 0 0 3px rgba(23, 102, 191, 0.1);
}

.ffm-form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ====================================
   PAGE LAYOUT COMPONENTS
   ==================================== */

/* Trust Bar */
.ffm-trust-bar {
  background: var(--ffm-gray-50);
  border-bottom: 1px solid var(--ffm-gray-200);
  padding: var(--ffm-space-2) 0;
  font-size: var(--ffm-text-sm);
  text-align: center;
}

.ffm-trust-bar > .ffm-container > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--ffm-space-4);
}

.ffm-trust-bar a {
  color: var(--ffm-primary-blue);
  text-decoration: none;
  font-weight: 600;
}

/* Hero Section */
.ffm-hero {
  background: linear-gradient(135deg, var(--ffm-primary-blue), var(--ffm-primary-blue-dark));
  color: var(--ffm-white);
  padding: var(--ffm-space-20) 0;
  text-align: center;
  position: relative;
}

.ffm-hero h1 {
  color: var(--ffm-white);
  font-size: var(--ffm-text-5xl);
  margin-bottom: var(--ffm-space-6);
}

.ffm-hero .ffm-lead {
  font-size: var(--ffm-text-xl);
  margin-bottom: var(--ffm-space-8);
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ffm-hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--ffm-space-4);
  margin: var(--ffm-space-8) 0;
  flex-wrap: wrap;
}

.ffm-trust-badges {
  display: flex;
  justify-content: center;
  gap: var(--ffm-space-6);
  margin-top: var(--ffm-space-8);
  flex-wrap: wrap;
}

.ffm-trust-badges span {
  font-size: var(--ffm-text-sm);
  opacity: 0.9;
}

/* Section Layouts */
.ffm-section {
  padding: var(--ffm-space-20) 0;
}

.ffm-section-alt {
  background: var(--ffm-gray-50);
}

.ffm-section h2 {
  text-align: center;
  margin-bottom: var(--ffm-space-12);
  font-size: var(--ffm-text-4xl);
}

/* Grid System */
.ffm-grid {
  display: grid;
  gap: var(--ffm-space-8);
}

.ffm-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ffm-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ffm-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Feature Cards */
.ffm-feature-card {
  background: var(--ffm-white);
  padding: var(--ffm-space-8);
  border-radius: var(--ffm-radius-xl);
  box-shadow: var(--ffm-shadow-base);
  text-align: center;
  transition: all var(--ffm-transition-base);
  border: 1px solid var(--ffm-gray-200);
}

.ffm-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ffm-shadow-xl);
  border-color: var(--ffm-primary-blue);
}

.ffm-feature-icon {
  width: 60px;
  height: 60px;
  background: var(--ffm-primary-blue);
  color: var(--ffm-white);
  border-radius: var(--ffm-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--ffm-space-4);
  font-size: var(--ffm-text-xl);
  font-weight: 600;
}

.ffm-feature-card h3 {
  color: var(--ffm-gray-900);
  margin-bottom: var(--ffm-space-3);
  font-size: var(--ffm-text-xl);
}

.ffm-feature-card p {
  color: var(--ffm-gray-600);
  line-height: 1.7;
}

/* Pricing Cards */
.ffm-pricing-card {
  background: var(--ffm-white);
  padding: var(--ffm-space-12);
  border-radius: var(--ffm-radius-xl);
  box-shadow: var(--ffm-shadow-xl);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  border: 2px solid var(--ffm-secondary-gold);
  position: relative;
}

.ffm-pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ffm-primary-blue), var(--ffm-secondary-gold));
}

.ffm-price-range {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--ffm-space-4);
  margin-bottom: var(--ffm-space-6);
  flex-wrap: wrap;
}

.ffm-price-from {
  font-size: var(--ffm-text-4xl);
  font-weight: 700;
  color: var(--ffm-primary-blue);
}

.ffm-price-to {
  font-size: var(--ffm-text-2xl);
  font-weight: 600;
  color: var(--ffm-gray-600);
}

.ffm-price-includes {
  list-style: none;
  padding: 0;
  margin-bottom: var(--ffm-space-8);
  text-align: left;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.ffm-price-includes li {
  padding: var(--ffm-space-2) 0;
  color: var(--ffm-gray-700);
  font-weight: 500;
}

/* Area Cards */
.ffm-area-card {
  background: var(--ffm-white);
  padding: var(--ffm-space-6);
  border-radius: var(--ffm-radius-lg);
  box-shadow: var(--ffm-shadow-base);
  text-align: center;
  transition: all var(--ffm-transition-base);
}

.ffm-area-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ffm-shadow-lg);
}

.ffm-area-card h3 {
  color: var(--ffm-primary-blue);
  margin-bottom: var(--ffm-space-3);
}

/* FAQ Section */
.ffm-faq {
  max-width: 800px;
  margin: 0 auto;
}

.ffm-faq-item {
  background: var(--ffm-white);
  border-radius: var(--ffm-radius-lg);
  margin-bottom: var(--ffm-space-4);
  box-shadow: var(--ffm-shadow-base);
  overflow: hidden;
}

.ffm-faq-item summary {
  padding: var(--ffm-space-6);
  cursor: pointer;
  font-weight: 600;
  color: var(--ffm-gray-900);
  font-size: var(--ffm-text-lg);
  border-bottom: 1px solid var(--ffm-gray-200);
  transition: background var(--ffm-transition-base);
}

.ffm-faq-item summary:hover {
  background: var(--ffm-gray-50);
}

.ffm-faq-item p {
  padding: var(--ffm-space-6);
  margin: 0;
  color: var(--ffm-gray-700);
  line-height: 1.7;
}

/* CTA Section */
.ffm-cta-section {
  background: linear-gradient(135deg, var(--ffm-primary-blue), var(--ffm-primary-blue-dark));
  color: var(--ffm-white);
  text-align: center;
}

.ffm-cta-section h2 {
  color: var(--ffm-white);
}

.ffm-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--ffm-text-lg);
  margin-bottom: var(--ffm-space-8);
}

.ffm-cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--ffm-space-4);
  flex-wrap: wrap;
}

.ffm-button-large {
  padding: var(--ffm-space-4) var(--ffm-space-8);
  font-size: var(--ffm-text-lg);
}

/* Sticky CTA */
.ffm-sticky-cta {
  position: fixed;
  bottom: var(--ffm-space-4);
  right: var(--ffm-space-4);
  z-index: var(--ffm-z-overlay);
}

.ffm-sticky-button {
  display: flex;
  align-items: center;
  gap: var(--ffm-space-2);
  background: var(--ffm-error);
  color: var(--ffm-white);
  padding: var(--ffm-space-3) var(--ffm-space-6);
  border-radius: var(--ffm-radius-full);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--ffm-shadow-xl);
  transition: all var(--ffm-transition-base);
}

.ffm-sticky-button:hover {
  transform: scale(1.05);
  box-shadow: var(--ffm-shadow-2xl);
}

.ffm-sticky-icon {
  font-size: var(--ffm-text-lg);
}

/* ====================================
   MODAL SYSTEM
   ==================================== */
.ffm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--ffm-z-modal);
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--ffm-space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--ffm-transition-base);
}

.ffm-modal--open {
  opacity: 1;
  visibility: visible;
}

.ffm-modal__content {
  background: var(--ffm-white);
  border-radius: var(--ffm-radius-xl);
  padding: var(--ffm-space-8);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--ffm-transition-base);
}

.ffm-modal--open .ffm-modal__content {
  transform: scale(1);
}

.ffm-modal__close {
  position: absolute;
  top: var(--ffm-space-4);
  right: var(--ffm-space-4);
  width: 32px;
  height: 32px;
  border: none;
  background: var(--ffm-gray-100);
  border-radius: var(--ffm-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ffm-transition-base);
}

.ffm-modal__close:hover {
  background: var(--ffm-gray-200);
}

/* ====================================
   ANIMATIONS & MICRO-INTERACTIONS
   ==================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-30px); }
  70% { transform: translateY(-15px); }
  90% { transform: translateY(-4px); }
}

.ffm-animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.ffm-animate-slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

.ffm-animate-bounce {
  animation: bounce 2s infinite;
}

/* Scroll-triggered animations */
.ffm-scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.ffm-scroll-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====================================
   ACCESSIBILITY ENHANCEMENTS
   ==================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .ffm-floating-cta {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --ffm-primary-blue: #0066cc;
    --ffm-secondary-gold: #cc9900;
  }
  
  .ffm-btn--primary {
    border: 2px solid var(--ffm-white);
  }
  
  .ffm-service-card {
    border: 2px solid var(--ffm-gray-800);
  }
}

/* Focus-visible support */
.ffm-btn:focus-visible,
.ffm-form-input:focus-visible,
.ffm-form-select:focus-visible,
.ffm-form-textarea:focus-visible {
  outline: 2px solid var(--ffm-primary-blue);
  outline-offset: 2px;
}

/* ====================================
   PRINT STYLES
   ==================================== */
@media print {
  .ffm-header,
  .ffm-floating-cta,
  .ffm-mobile-cta,
  .ffm-btn--cta,
  .ffm-modal {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000 !important;
    background: #fff !important;
  }
  
  .ffm-container {
    padding: 0 !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
    page-break-after: avoid;
  }
  
  .ffm-service-card,
  .ffm-testimonial__card,
  .ffm-location-card {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}