/**
 * Elevated Med Spa - Custom Theme Styles
 * Inspired by TIA Medical Spa, Me.LosAngeles, and Vitra Aesthetics
 * Nature-inspired, sophisticated, and distinctly unique design
 * Version: 1.0
 * Last Updated: January 2026
 */

/* ========================================
   1. CSS VARIABLES & COLOR PALETTE
   ======================================== */
:root {
  /* Primary Colors - Soft Sage/Eucalyptus (Nature-inspired) */
  --ems-primary-soft: #B5C4B1;
  --ems-primary-main: #8B9D83;
  --ems-primary-dark: #5F7059;
  --ems-primary-darker: #4A5846;
  
  /* Secondary Colors - Warm Beige/Sand */
  --ems-secondary-light: #F5F1ED;
  --ems-secondary-main: #E8DED2;
  --ems-secondary-dark: #C9B8A3;
  
  /* Accent Colors - Soft Rose/Blush */
  --ems-accent-light: #F4E8E6;
  --ems-accent-main: #D4B5B0;
  --ems-accent-dark: #B89489;
  
  /* Neutrals - Warm Grays */
  --ems-text-primary: #4A4540;
  --ems-text-secondary: #7D7871;
  --ems-text-tertiary: #A39F99;
  --ems-background: #FDFCFB;
  --ems-white: #FFFFFF;
  --ems-off-white: #FAFAF8;
  
  /* Enhanced Gradients */
  --ems-gradient-primary: linear-gradient(135deg, var(--ems-primary-soft) 0%, var(--ems-primary-main) 100%);
  --ems-gradient-soft: linear-gradient(135deg, var(--ems-secondary-light) 0%, var(--ems-accent-light) 100%);
  --ems-gradient-elegant: linear-gradient(135deg, var(--ems-primary-main) 0%, var(--ems-accent-main) 100%);
  --ems-gradient-overlay: linear-gradient(135deg, rgba(139, 157, 131, 0.95) 0%, rgba(212, 181, 176, 0.85) 100%);
  
  /* Sophisticated Shadows */
  --ems-shadow-xs: 0 1px 3px rgba(74, 69, 64, 0.04);
  --ems-shadow-sm: 0 2px 8px rgba(74, 69, 64, 0.06);
  --ems-shadow-md: 0 4px 16px rgba(74, 69, 64, 0.08);
  --ems-shadow-lg: 0 8px 32px rgba(74, 69, 64, 0.12);
  --ems-shadow-xl: 0 12px 48px rgba(74, 69, 64, 0.16);
  --ems-shadow-2xl: 0 20px 60px rgba(74, 69, 64, 0.20);
  --ems-shadow-inner: inset 0 2px 4px rgba(74, 69, 64, 0.06);
  --ems-shadow-glow: 0 0 20px rgba(139, 157, 131, 0.15);
  
  /* Border Radius */
  --ems-radius-sm: 8px;
  --ems-radius-md: 12px;
  --ems-radius-lg: 16px;
  --ems-radius-xl: 24px;
  --ems-radius-2xl: 32px;
  --ems-radius-full: 50px;
  
  /* Spacing */
  --ems-space-xs: 8px;
  --ems-space-sm: 16px;
  --ems-space-md: 24px;
  --ems-space-lg: 32px;
  --ems-space-xl: 48px;
  --ems-space-2xl: 64px;
  --ems-space-3xl: 96px;
  --ems-space-4xl: 128px;
  
  /* Typography */
  --ems-font-heading: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --ems-font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;
  --ems-font-accent: 'Playfair Display', Georgia, serif;
  
  /* Refined Transitions */
  --ems-transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --ems-transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ems-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --ems-transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ems-transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   2. GLOBAL RESETS & BASE STYLES
   ======================================== */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--ems-background);
  color: var(--ems-text-primary);
  font-family: var(--ems-font-body);
  line-height: 1.7;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection colors */
::selection {
  background-color: var(--ems-primary-soft);
  color: var(--ems-text-primary);
}

::-moz-selection {
  background-color: var(--ems-primary-soft);
  color: var(--ems-text-primary);
}

/* ========================================
   3. TYPOGRAPHY ENHANCEMENTS
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ems-font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ems-text-primary);
  margin-bottom: var(--ems-space-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--ems-space-sm);
}

.ems-subtitle {
  font-family: var(--ems-font-accent);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ems-primary-main);
  margin-bottom: var(--ems-space-xs);
}

/* ========================================
   4. UNIQUE HERO SECTION (NO WAVE!)
   ======================================== */

/* Diagonal Cut Hero - Distinctly Different */
.ems-hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ems-secondary-light) 0%, var(--ems-off-white) 100%);
}

/* Diagonal organic shape overlay - NOT a wave */
.ems-hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(181, 196, 177, 0.15) 0%, 
    rgba(139, 157, 131, 0.08) 100%
  );
  clip-path: polygon(30% 0, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* Botanical abstract shapes - organic but not wave */
.ems-hero-section::after {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 50%;
  height: 120%;
  background: radial-gradient(ellipse at center, 
    rgba(139, 157, 131, 0.06) 0%, 
    transparent 70%
  );
  border-radius: 50% 40% 60% 50%;
  transform: rotate(-15deg);
  z-index: 0;
}

.ems-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--ems-space-xl) var(--ems-space-md);
}

.ems-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--ems-text-primary);
  margin-bottom: var(--ems-space-md);
  line-height: 1.1;
}

.ems-hero-description {
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: var(--ems-text-secondary);
  margin-bottom: var(--ems-space-xl);
  max-width: 600px;
  line-height: 1.6;
}

.ems-hero-cta {
  display: flex;
  gap: var(--ems-space-sm);
  flex-wrap: wrap;
}

/* ========================================
   5. BUTTON STYLES - Elegant & Modern
   ======================================== */
.ems-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--ems-font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--ems-radius-full);
  transition: all var(--ems-transition-smooth);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

/* Ripple effect for buttons */
.ems-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ems-btn:hover::before {
  width: 300px;
  height: 300px;
}

/* Primary Button - Enhanced */
.ems-btn-primary {
  background: var(--ems-gradient-primary);
  color: var(--ems-white);
  box-shadow: var(--ems-shadow-md), 0 0 0 rgba(139, 157, 131, 0.4);
}

.ems-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--ems-shadow-xl), 0 0 20px rgba(139, 157, 131, 0.25);
}

.ems-btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--ems-shadow-sm);
}

/* Secondary Button - Refined */
.ems-btn-secondary {
  background: var(--ems-white);
  color: var(--ems-primary-main);
  border-color: var(--ems-primary-main);
  box-shadow: var(--ems-shadow-sm);
}

.ems-btn-secondary:hover {
  background: var(--ems-primary-main);
  color: var(--ems-white);
  transform: translateY(-2px);
  box-shadow: var(--ems-shadow-lg);
}

/* Outline Button */
.ems-btn-outline {
  background: transparent;
  color: var(--ems-primary-main);
  border-color: var(--ems-primary-main);
}

.ems-btn-outline:hover {
  background: var(--ems-primary-main);
  color: var(--ems-white);
  box-shadow: var(--ems-shadow-md);
}

/* Ghost Button */
.ems-btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--ems-text-primary);
  border: 1px solid rgba(139, 157, 131, 0.2);
}

.ems-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--ems-primary-main);
}

/* Button sizes */
.ems-btn-sm {
  padding: 12px 24px;
  font-size: 0.875rem;
}

.ems-btn-lg {
  padding: 20px 48px;
  font-size: 1.125rem;
}

/* Button with icon */
.ems-btn-icon {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.ems-btn-icon svg,
.ems-btn-icon i {
  transition: transform var(--ems-transition-fast);
}

.ems-btn:hover .ems-btn-icon svg,
.ems-btn:hover .ems-btn-icon i {
  transform: translateX(4px);
}

/* Primary Button */
.ems-btn-primary {
  background-color: var(--ems-primary-main);
  color: var(--ems-white);
  box-shadow: var(--ems-shadow-sm);
}

.ems-btn-primary:hover {
  background-color: var(--ems-primary-dark);
  box-shadow: var(--ems-shadow-md);
  transform: translateY(-2px);
}

/* Secondary Button */
.ems-btn-secondary {
  background-color: transparent;
  color: var(--ems-primary-main);
  border-color: var(--ems-primary-main);
}

.ems-btn-secondary:hover {
  background-color: var(--ems-primary-main);
  color: var(--ems-white);
}

/* Ripple Effect on Click */
.ems-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ems-btn:active::before {
  width: 300px;
  height: 300px;
}

/* ========================================
   6. FLOATING BOOK NOW BUTTON - Enhanced
   ======================================== */
.ems-floating-cta {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
}

.ems-floating-btn {
  background: var(--ems-gradient-elegant);
  color: var(--ems-white);
  padding: 20px 40px;
  border-radius: var(--ems-radius-full);
  box-shadow: var(--ems-shadow-2xl), 0 0 0 rgba(139, 157, 131, 0.4);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all var(--ems-transition-smooth);
  position: relative;
  overflow: visible;
}

/* Pulsing ring effect */
.ems-floating-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--ems-radius-full);
  background: var(--ems-gradient-primary);
  opacity: 0;
  z-index: -1;
  animation: ems-pulse-ring 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes ems-pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.ems-floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--ems-shadow-2xl), 0 0 30px rgba(139, 157, 131, 0.5);
}

.ems-floating-btn:active {
  transform: translateY(-2px) scale(1.02);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .ems-floating-cta {
    bottom: 20px;
    right: 20px;
  }
  
  .ems-floating-btn {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

/* ========================================
   7. SERVICES SECTION - Me.LosAngeles Style
   ======================================== */
.ems-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--ems-space-lg);
  padding: var(--ems-space-2xl) var(--ems-space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.ems-service-card {
  background: var(--ems-white);
  border-radius: var(--ems-radius-lg);
  padding: var(--ems-space-xl);
  box-shadow: var(--ems-shadow-sm);
  transition: all var(--ems-transition-base);
  position: relative;
  overflow: hidden;
}

.ems-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--ems-primary-main), var(--ems-accent-main));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ems-transition-slow);
}

.ems-service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--ems-shadow-2xl);
}

.ems-service-card:hover::before {
  transform: scaleX(1);
}

/* Enhanced icon with glow effect */
.ems-service-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ems-gradient-soft);
  border-radius: var(--ems-radius-lg);
  margin-bottom: var(--ems-space-md);
  font-size: 2rem;
  position: relative;
  transition: all var(--ems-transition-smooth);
}

.ems-service-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--ems-gradient-primary);
  border-radius: var(--ems-radius-lg);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--ems-transition-base);
}

.ems-service-card:hover .ems-service-icon {
  transform: scale(1.1) rotate(5deg);
}

.ems-service-card:hover .ems-service-icon::after {
  opacity: 0.15;
  animation: ems-glow-pulse 2s infinite;
}

@keyframes ems-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.1); opacity: 0.25; }
}

.ems-service-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--ems-space-sm);
  color: var(--ems-text-primary);
}

.ems-service-description {
  color: var(--ems-text-secondary);
  margin-bottom: var(--ems-space-md);
  line-height: 1.6;
}

.ems-service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--ems-space-md) 0;
}

.ems-service-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--ems-text-secondary);
  font-size: 0.9375rem;
}

.ems-service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--ems-primary-main);
  font-weight: 700;
}

.ems-service-link {
  color: var(--ems-primary-main);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--ems-transition-base);
}

.ems-service-link:hover {
  gap: 12px;
}

/* ========================================
   8. TRUST INDICATORS & STATS
   ======================================== */
.ems-trust-section {
  background: linear-gradient(180deg, var(--ems-off-white) 0%, var(--ems-white) 100%);
  padding: var(--ems-space-3xl) var(--ems-space-md);
  text-align: center;
}

.ems-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--ems-space-xl);
  max-width: 1000px;
  margin: 0 auto var(--ems-space-2xl);
}

.ems-stat {
  text-align: center;
}

.ems-stat-number {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--ems-primary-main);
  line-height: 1;
  margin-bottom: var(--ems-space-xs);
}

.ems-stat-label {
  display: block;
  font-size: 1rem;
  color: var(--ems-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Certifications/Badges */
.ems-certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--ems-space-lg);
  flex-wrap: wrap;
  margin-top: var(--ems-space-2xl);
}

.ems-certifications img {
  height: 60px;
  width: auto;
  opacity: 0.7;
  transition: opacity var(--ems-transition-base);
  filter: grayscale(100%);
}

.ems-certifications img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ========================================
   9. TESTIMONIALS SECTION
   ======================================== */
.ems-testimonials {
  padding: var(--ems-space-3xl) var(--ems-space-md);
  max-width: 1200px;
  margin: 0 auto;
}

.ems-testimonial-card {
  background: var(--ems-white);
  border-radius: var(--ems-radius-lg);
  padding: var(--ems-space-xl);
  box-shadow: var(--ems-shadow-md);
  position: relative;
  margin-bottom: var(--ems-space-lg);
}

.ems-testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ems-text-primary);
  margin-bottom: var(--ems-space-md);
  font-style: italic;
}

.ems-testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--ems-space-sm);
}

.ems-testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.ems-testimonial-name {
  font-weight: 600;
  color: var(--ems-text-primary);
  margin-bottom: 4px;
}

.ems-testimonial-location {
  font-size: 0.875rem;
  color: var(--ems-text-secondary);
}

.ems-testimonial-stars {
  color: #FFB800;
  font-size: 1.125rem;
  margin-top: var(--ems-space-xs);
}

/* ========================================
   10. BOOKING SECTION - Integrated & Accessible
   ======================================== */
.ems-booking-section {
  background: linear-gradient(135deg, 
    var(--ems-primary-soft) 0%, 
    var(--ems-secondary-main) 100%
  );
  padding: var(--ems-space-3xl) var(--ems-space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Botanical texture overlay */
.ems-booking-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M30 30c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10-10-4.5-10-10zm0 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z" fill="%23ffffff" fill-opacity="0.03" fill-rule="evenodd"/%3E%3C/svg%3E');
  opacity: 0.5;
  z-index: 0;
}

.ems-booking-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.ems-booking-section h2 {
  color: var(--ems-text-primary);
  margin-bottom: var(--ems-space-sm);
}

.ems-booking-section p {
  font-size: 1.25rem;
  color: var(--ems-text-secondary);
  margin-bottom: var(--ems-space-xl);
}

.ems-booking-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--ems-space-md);
  margin-top: var(--ems-space-xl);
}

.ems-contact-method {
  background: var(--ems-white);
  border-radius: var(--ems-radius-xl);
  padding: var(--ems-space-xl) var(--ems-space-lg);
  text-decoration: none;
  color: var(--ems-text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--ems-space-sm);
  transition: all var(--ems-transition-smooth);
  box-shadow: var(--ems-shadow-md);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.ems-contact-method::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--ems-gradient-soft);
  transition: left var(--ems-transition-smooth);
  z-index: 0;
}

.ems-contact-method:hover::before {
  left: 0;
}

.ems-contact-method:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--ems-shadow-xl);
  color: var(--ems-primary-dark);
  border-color: var(--ems-primary-soft);
}

.ems-contact-method .icon {
  font-size: 2.5rem;
  position: relative;
  z-index: 1;
  transition: transform var(--ems-transition-smooth);
}

.ems-contact-method:hover .icon {
  transform: scale(1.1) rotate(5deg);
}

.ems-contact-method > span:last-child {
  position: relative;
  z-index: 1;
}

/* ========================================
   11. NATURE ELEMENTS & TEXTURES
   ======================================== */

/* Botanical decorative elements */
.ems-botanical-accent {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.ems-botanical-accent.top-left {
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--ems-primary-main) 0%, transparent 70%);
  border-radius: 50%;
}

.ems-botanical-accent.bottom-right {
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--ems-accent-main) 0%, transparent 70%);
  border-radius: 50%;
}

/* Leaf pattern background (subtle) */
.ems-leaf-pattern {
  background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M20 50 Q 30 30, 40 50 T 60 50" stroke="%23B5C4B1" stroke-width="0.5" fill="none" opacity="0.15"/%3E%3C/svg%3E');
  background-size: 200px 200px;
}

/* Section dividers with organic shapes */
.ems-section-divider {
  width: 100%;
  height: 80px;
  background: linear-gradient(180deg, var(--ems-white) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
  margin: -1px 0;
}

/* ========================================
   12. NAVIGATION ENHANCEMENTS
   ======================================== */

/* Sticky header with blur effect */
.ems-sticky-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--ems-shadow-sm);
  z-index: 1000;
  transition: all var(--ems-transition-base);
}

.ems-sticky-header.scrolled {
  box-shadow: var(--ems-shadow-md);
}

/* Navigation links */
.ems-nav-link {
  color: var(--ems-text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--ems-radius-sm);
  transition: all var(--ems-transition-fast);
  position: relative;
}

.ems-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--ems-primary-main);
  transform: scaleX(0);
  transition: transform var(--ems-transition-base);
}

.ems-nav-link:hover,
.ems-nav-link.active {
  color: var(--ems-primary-main);
}

.ems-nav-link:hover::after,
.ems-nav-link.active::after {
  transform: scaleX(1);
}

/* ========================================
   13. FORM STYLES - Clean & Modern
   ======================================== */
.ems-form {
  max-width: 600px;
  margin: 0 auto;
}

.ems-form-group {
  margin-bottom: var(--ems-space-md);
}

.ems-form-label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--ems-space-xs);
  color: var(--ems-text-primary);
  font-size: 0.9375rem;
}

.ems-form-input,
.ems-form-textarea,
.ems-form-select {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--ems-secondary-main);
  border-radius: var(--ems-radius-md);
  font-family: var(--ems-font-body);
  font-size: 1rem;
  color: var(--ems-text-primary);
  background: var(--ems-white);
  transition: all var(--ems-transition-smooth);
  box-shadow: var(--ems-shadow-xs), inset 0 1px 2px rgba(74, 69, 64, 0.03);
}

.ems-form-input:hover,
.ems-form-textarea:hover,
.ems-form-select:hover {
  border-color: var(--ems-primary-soft);
  box-shadow: var(--ems-shadow-sm), inset 0 1px 2px rgba(74, 69, 64, 0.03);
}

.ems-form-input:focus,
.ems-form-textarea:focus,
.ems-form-select:focus {
  outline: none;
  border-color: var(--ems-primary-main);
  box-shadow: var(--ems-shadow-md), 0 0 0 4px rgba(139, 157, 131, 0.1);
  transform: translateY(-1px);
}

.ems-form-textarea {
  min-height: 120px;
  resize: vertical;
}

.ems-form-helper {
  font-size: 0.875rem;
  color: var(--ems-text-tertiary);
  margin-top: 4px;
}

/* ========================================
   14. MOBILE RESPONSIVE OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
  :root {
    --ems-space-xl: 32px;
    --ems-space-2xl: 48px;
    --ems-space-3xl: 64px;
  }
  
  .ems-hero-section {
    min-height: 60vh;
  }
  
  .ems-hero-section::before {
    width: 80%;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
  }
  
  .ems-hero-cta {
    flex-direction: column;
  }
  
  .ems-btn {
    width: 100%;
    justify-content: center;
  }
  
  .ems-services-grid {
    grid-template-columns: 1fr;
  }
  
  .ems-stats-row {
    grid-template-columns: 1fr;
    gap: var(--ems-space-md);
  }
  
  .ems-booking-methods {
    grid-template-columns: 1fr;
  }
}

/* Touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
  .ems-btn,
  .ems-nav-link,
  .ems-contact-method {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ========================================
   15. ANIMATION UTILITIES
   ======================================== */

/* Fade-in on scroll */
.ems-fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ems-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Slide-in from left */
.ems-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ems-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide-in from right */
.ems-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ems-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Scale-in effect */
.ems-scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ems-scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   16. ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus styles */
*:focus-visible {
  outline: 3px solid var(--ems-primary-main);
  outline-offset: 2px;
}

/* Skip to main content link */
.ems-skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ems-primary-main);
  color: var(--ems-white);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 9999;
}

.ems-skip-link:focus {
  top: 0;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   17. PRINT STYLES
   ======================================== */
@media print {
  .ems-floating-cta,
  .ems-sticky-header,
  .ems-nav-link {
    display: none !important;
  }
  
  .ems-hero-section,
  .ems-service-card,
  .ems-testimonial-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ========================================
   18. UTILITY CLASSES
   ======================================== */
.ems-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ems-space-md);
}

.ems-section {
  padding: var(--ems-space-3xl) 0;
}

.ems-text-center {
  text-align: center;
}

.ems-text-primary {
  color: var(--ems-text-primary);
}

.ems-text-secondary {
  color: var(--ems-text-secondary);
}

.ems-bg-light {
  background-color: var(--ems-off-white);
}

.ems-bg-white {
  background-color: var(--ems-white);
}

.ems-mb-sm { margin-bottom: var(--ems-space-sm); }
.ems-mb-md { margin-bottom: var(--ems-space-md); }
.ems-mb-lg { margin-bottom: var(--ems-space-lg); }
.ems-mb-xl { margin-bottom: var(--ems-space-xl); }

.ems-mt-sm { margin-top: var(--ems-space-sm); }
.ems-mt-md { margin-top: var(--ems-space-md); }
.ems-mt-lg { margin-top: var(--ems-space-lg); }
.ems-mt-xl { margin-top: var(--ems-space-xl); }

/* ========================================
   END OF CUSTOM STYLES
   ======================================== */
