/* ═══════════════════════════════════════════════════════════════
   Beyond Kilo's — Design System
   Premium nutritionist platform styling
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts Import ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────────── */
:root {
  /* Primary - Deep Emerald */
  --primary: #064e3b;
  --primary-light: #0d7a5f;
  --primary-lighter: #10b981;
  --primary-dim: #95d3ba;
  --primary-surface: #ecfdf5;
  --primary-glow: rgba(6, 78, 59, 0.15);

  /* Accent - Warm Gold */
  --accent: #d4a853;
  --accent-light: #f0d68a;
  --accent-dim: #92722e;
  --accent-surface: #fef9ee;
  --accent-glow: rgba(212, 168, 83, 0.2);

  /* Surfaces */
  --bg: #faf9f8;
  --bg-alt: #f4f3f2;
  --surface: #ffffff;
  --surface-high: #f0efee;
  --surface-dim: #eaeaea;
  --surface-glass: rgba(255, 255, 255, 0.75);

  /* Text */
  --text: #1a1c1c;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-on-primary: #ffffff;
  --text-on-accent: #1a1c1c;

  /* Feedback */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Borders */
  --border: rgba(0, 0, 0, 0.08);
  --border-light: rgba(0, 0, 0, 0.04);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.06), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(6, 78, 59, 0.12);

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ──────────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

::selection {
  background: var(--primary-dim);
  color: var(--primary);
}

/* ── Typography ────────────────────────────────────────────────── */
.font-display { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'Inter', sans-serif; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

.text-display {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.text-headline {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.text-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.text-body {
  font-size: 1rem;
  line-height: 1.6;
}

.text-body-lg {
  font-size: 1.125rem;
  line-height: 1.7;
}

.text-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.text-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Layout ────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.text-center { text-align: center; }

.grid {
  display: grid;
  gap: var(--space-lg);
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ── Glass Panel ───────────────────────────────────────────────── */
.glass {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

/* ── Cards ─────────────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.card-flat {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border);
}

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.3);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 78, 59, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-accent {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 4px 14px rgba(212, 168, 83, 0.3);
}
.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--text-on-primary);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 10px 20px;
}
.btn-ghost:hover {
  background: var(--surface-high);
  color: var(--primary);
}

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* ── Badges ────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.badge-primary {
  background: var(--primary-surface);
  color: var(--primary);
}
.badge-accent {
  background: var(--accent-surface);
  color: var(--accent-dim);
}
.badge-success {
  background: #ecfdf5;
  color: #059669;
}
.badge-warning {
  background: #fffbeb;
  color: #d97706;
}
.badge-error {
  background: #fef2f2;
  color: #dc2626;
}

/* ── Form Elements ─────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--surface-dim);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  outline: none;
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-input::placeholder {
  color: var(--text-muted);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ── WhatsApp Floating Button ──────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s var(--ease);
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6); }
}

/* ── Animations ────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delay { animation: float 6s ease-in-out 1.5s infinite; }

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
}

.navbar.scrolled {
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.navbar-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}
.navbar-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s var(--ease);
}
.navbar-link:hover { color: var(--primary); }
.navbar-link:hover::after { width: 100%; }

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: var(--space-md);
  }
  .navbar-toggle { display: flex; }
}

/* ── Hero Section ──────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px 0;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--accent-surface);
  color: var(--accent-dim);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
  border: 1px solid var(--accent-glow);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--primary-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: var(--space-xl);
}

@media (max-width: 968px) {
  .hero-subtitle { margin: 0 auto var(--space-xl); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

@media (max-width: 968px) {
  .hero-actions { justify-content: center; }
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: var(--surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
}

/* ── Specialization Cards ──────────────────────────────────────── */
.spec-card {
  flex: 1 1 250px;
  max-width: 350px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}

.spec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.spec-card:hover::before {
  transform: scaleX(1);
}

.spec-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: transform 0.3s var(--ease-bounce);
}

.spec-card:hover .spec-icon {
  transform: scale(1.1) rotate(-5deg);
}

/* ── Stats Section ─────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .stats-grid { 
    grid-template-columns: repeat(2, 1fr); 
    gap: var(--space-sm);
  }
  .stat-card {
    padding: var(--space-md);
  }
  .stat-number {
    font-size: 1.8rem;
  }
}

.stat-card {
  text-align: center;
  padding: var(--space-xl);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--primary-dim);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  padding-top: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary-dim), var(--accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

/* ── Footer ────────────────────────────────────────────────────── */
.footer {
  background: var(--primary);
  color: white;
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer a {
  color: var(--primary-dim);
  transition: color 0.3s;
}
.footer a:hover {
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.15);
  margin-bottom: var(--space-lg);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--primary-dim);
}

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: var(--space-md); }
}

/* ── Modal / Overlay ───────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg);
}
.modal-overlay.active { display: flex; }

.modal {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.3s var(--ease);
}

/* ── Toast Notifications ───────────────────────────────────────── */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  animation: slideInRight 0.3s var(--ease);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.toast-success { background: #059669; color: white; }
.toast-error { background: #dc2626; color: white; }
.toast-info { background: var(--primary); color: white; }

/* ── Loading Spinner ───────────────────────────────────────────── */
.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--surface-dim);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Utility ───────────────────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.pt-sm { padding-top: var(--space-sm); }
.pt-lg { padding-top: var(--space-lg); }

/* Scrollbar Styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--surface-dim);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ── Before/After Slider ───────────────────────────────────────── */
.ba-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: var(--space-3xl) auto 0;
  aspect-ratio: 4/5;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  --position: 50%;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after {
  clip-path: polygon(0 0, var(--position) 0, var(--position) 100%, 0 100%);
  z-index: 2;
}

.ba-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}

.ba-line {
  position: absolute;
  top: 0;
  left: var(--position);
  width: 4px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 4;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.ba-handle svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
}

.ba-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: white;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 3;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ba-label.before { right: 20px; }
.ba-label.after { left: 20px; }

/* ── Workflow Timeline ─────────────────────────────────────────── */
.workflow-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  max-width: 1100px;
  margin: 0 auto;
}

.workflow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 260px;
  position: relative;
}

.workflow-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--surface-dim);
  width: 100%;
  position: relative;
  transition: all 0.3s ease;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.workflow-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.workflow-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 10px rgba(30,111,92,0.3);
  z-index: 3;
}

.workflow-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.workflow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  opacity: 0.3;
}

.workflow-arrow svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 1024px) {
  .workflow-arrow {
    display: none;
  }
}

/* ── Mobile Layout Fixes ───────────────────────────────────────── */
@media (max-width: 768px) {
  .transformation-showcase {
    flex-direction: column;
    gap: var(--space-md) !important;
  }
  .transform-arrow {
    transform: rotate(90deg);
    margin: -15px auto !important;
  }
  .transform-img-wrapper {
    height: auto !important;
    aspect-ratio: 4/5;
  }
  .book-glass {
    padding: var(--space-lg) !important;
    border-radius: var(--radius-xl) !important;
  }
}

/* Mobile Hero Spacing Fix */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 40px 0 !important;
  }
}

/* Global Mobile/Desktop Visibility Utility Classes */
.desktop-only { display: block !important; }
.mobile-only { display: none !important; }

@media (max-width: 968px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

/* Booking Form Specific Overrides */
.booking-actions {
  margin-top: var(--space-xl);
  flex-wrap: nowrap;
}

@media (max-width: 480px) {
  .booking-actions {
    flex-wrap: wrap;
  }
  .booking-submit-btn {
    white-space: normal !important;
    padding: 12px !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;
  }
  .stats-grid {
    gap: 8px !important;
  }
  .stat-card {
    padding: 12px 8px !important;
  }
  .stat-number {
    font-size: 1.4rem !important;
  }
  .stat-label {
    font-size: 0.75rem !important;
  }
}
