:root {
  /* Primitive Color Tokens */
  --color-white: rgba(255, 255, 255, 1);
  --color-black: rgba(0, 0, 0, 1);
  --color-cream-50: rgba(252, 252, 249, 1);
  --color-cream-100: rgba(255, 255, 253, 1);
  --color-gray-200: rgba(245, 245, 245, 1);
  --color-gray-300: rgba(167, 169, 169, 1);
  --color-gray-400: rgba(119, 124, 124, 1);
  --color-slate-500: rgba(98, 108, 113, 1);
  --color-brown-600: rgba(94, 82, 64, 1);
  --color-charcoal-700: rgba(31, 33, 33, 1);
  --color-charcoal-800: rgba(38, 40, 40, 1);
  --color-slate-900: rgba(19, 52, 59, 1);
  --color-teal-300: rgba(50, 184, 198, 1);
  --color-teal-400: rgba(45, 166, 178, 1);
  --color-teal-500: rgba(33, 128, 141, 1);
  --color-teal-600: rgba(29, 116, 128, 1);
  --color-teal-700: rgba(26, 104, 115, 1);
  --color-teal-800: rgba(41, 150, 161, 1);
  --color-red-400: rgba(255, 84, 89, 1);
  --color-red-500: rgba(192, 21, 47, 1);
  --color-orange-400: rgba(230, 129, 97, 1);
  --color-orange-500: rgba(168, 75, 47, 1);

  /* RGB versions for opacity control */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  --color-slate-500-rgb: 98, 108, 113;
  --color-red-500-rgb: 192, 21, 47;
  --color-red-400-rgb: 255, 84, 89;
  --color-orange-500-rgb: 168, 75, 47;
  --color-orange-400-rgb: 230, 129, 97;

  /* Background color tokens (Light Mode) */
  --color-bg-1: rgba(59, 130, 246, 0.08); /* Light blue */
  --color-bg-2: rgba(245, 158, 11, 0.08); /* Light yellow */
  --color-bg-3: rgba(34, 197, 94, 0.08); /* Light green */
  --color-bg-4: rgba(239, 68, 68, 0.08); /* Light red */
  --color-bg-5: rgba(147, 51, 234, 0.08); /* Light purple */
  --color-bg-6: rgba(249, 115, 22, 0.08); /* Light orange */
  --color-bg-7: rgba(236, 72, 153, 0.08); /* Light pink */
  --color-bg-8: rgba(6, 182, 212, 0.08); /* Light cyan */

  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);
  --color-select-caret: rgba(var(--color-slate-900-rgb), 0.8);

  /* Common style patterns */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for opacity control */
  --color-success-rgb: 33, 128, 141;
  --color-error-rgb: 192, 21, 47;
  --color-warning-rgb: 168, 75, 47;
  --color-info-rgb: 98, 108, 113;

  /* Typography */
  --font-family-base: "FKGroteskNeue", "Geist", "Inter", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-mono: "Berkeley Mono", ui-monospace, SFMono-Regular, Menlo,
    Monaco, Consolas, monospace;
  --font-size-xs: 11px;
  --font-size-sm: 12px;
  --font-size-base: 14px;
  --font-size-md: 14px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 24px;
  --font-size-4xl: 30px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --letter-spacing-tight: -0.01em;

  /* Spacing */
  --space-0: 0;
  --space-1: 1px;
  --space-2: 2px;
  --space-4: 4px;
  --space-6: 6px;
  --space-8: 8px;
  --space-10: 10px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-base: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.03);

  /* Animation */
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
}

/* Dark mode colors */
@media (prefers-color-scheme: dark) {
  :root {
    /* RGB versions for opacity control (Dark Mode) */
    --color-gray-400-rgb: 119, 124, 124;
    --color-teal-300-rgb: 50, 184, 198;
    --color-gray-300-rgb: 167, 169, 169;
    --color-gray-200-rgb: 245, 245, 245;

    /* Background color tokens (Dark Mode) */
    --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
    --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
    --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
    --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
    --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
    --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
    --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
    --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
    
    /* Semantic Color Tokens (Dark Mode) */
    --color-background: var(--color-charcoal-700);
    --color-surface: var(--color-charcoal-800);
    --color-text: var(--color-gray-200);
    --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
    --color-primary: var(--color-teal-300);
    --color-primary-hover: var(--color-teal-400);
    --color-primary-active: var(--color-teal-800);
    --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
    --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
    --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
    --color-border: rgba(var(--color-gray-400-rgb), 0.3);
    --color-error: var(--color-red-400);
    --color-success: var(--color-teal-300);
    --color-warning: var(--color-orange-400);
    --color-info: var(--color-gray-300);
    --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
    --color-btn-primary-text: var(--color-slate-900);
    --color-card-border: rgba(var(--color-gray-400-rgb), 0.2);
    --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
    --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    --button-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
    --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

    /* Common style patterns - updated for dark mode */
    --focus-ring: 0 0 0 3px var(--color-focus-ring);
    --focus-outline: 2px solid var(--color-primary);
    --status-bg-opacity: 0.15;
    --status-border-opacity: 0.25;
    --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    /* RGB versions for dark mode */
    --color-success-rgb: var(--color-teal-300-rgb);
    --color-error-rgb: var(--color-red-400-rgb);
    --color-warning-rgb: var(--color-orange-400-rgb);
    --color-info-rgb: var(--color-gray-300-rgb);
  }
}

/* Data attribute for manual theme switching */
[data-color-scheme="dark"] {
  /* RGB versions for opacity control (dark mode) */
  --color-gray-400-rgb: 119, 124, 124;
  --color-teal-300-rgb: 50, 184, 198;
  --color-gray-300-rgb: 167, 169, 169;
  --color-gray-200-rgb: 245, 245, 245;

  /* Colorful background palette - Dark Mode */
  --color-bg-1: rgba(29, 78, 216, 0.15); /* Dark blue */
  --color-bg-2: rgba(180, 83, 9, 0.15); /* Dark yellow */
  --color-bg-3: rgba(21, 128, 61, 0.15); /* Dark green */
  --color-bg-4: rgba(185, 28, 28, 0.15); /* Dark red */
  --color-bg-5: rgba(107, 33, 168, 0.15); /* Dark purple */
  --color-bg-6: rgba(194, 65, 12, 0.15); /* Dark orange */
  --color-bg-7: rgba(190, 24, 93, 0.15); /* Dark pink */
  --color-bg-8: rgba(8, 145, 178, 0.15); /* Dark cyan */
  
  /* Semantic Color Tokens (Dark Mode) */
  --color-background: var(--color-charcoal-700);
  --color-surface: var(--color-charcoal-800);
  --color-text: var(--color-gray-200);
  --color-text-secondary: rgba(var(--color-gray-300-rgb), 0.7);
  --color-primary: var(--color-teal-300);
  --color-primary-hover: var(--color-teal-400);
  --color-primary-active: var(--color-teal-800);
  --color-secondary: rgba(var(--color-gray-400-rgb), 0.15);
  --color-secondary-hover: rgba(var(--color-gray-400-rgb), 0.25);
  --color-secondary-active: rgba(var(--color-gray-400-rgb), 0.3);
  --color-border: rgba(var(--color-gray-400-rgb), 0.3);
  --color-error: var(--color-red-400);
  --color-success: var(--color-teal-300);
  --color-warning: var(--color-orange-400);
  --color-info: var(--color-gray-300);
  --color-focus-ring: rgba(var(--color-teal-300-rgb), 0.4);
  --color-btn-primary-text: var(--color-slate-900);
  --color-card-border: rgba(var(--color-gray-400-rgb), 0.15);
  --color-card-border-inner: rgba(var(--color-gray-400-rgb), 0.15);
  --shadow-inset-sm: inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  --color-border-secondary: rgba(var(--color-gray-400-rgb), 0.2);
  --color-select-caret: rgba(var(--color-gray-200-rgb), 0.8);

  /* Common style patterns - updated for dark mode */
  --focus-ring: 0 0 0 3px var(--color-focus-ring);
  --focus-outline: 2px solid var(--color-primary);
  --status-bg-opacity: 0.15;
  --status-border-opacity: 0.25;
  --select-caret-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23134252' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --select-caret-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

  /* RGB versions for dark mode */
  --color-success-rgb: var(--color-teal-300-rgb);
  --color-error-rgb: var(--color-red-400-rgb);
  --color-warning-rgb: var(--color-orange-400-rgb);
  --color-info-rgb: var(--color-gray-300-rgb);
}

[data-color-scheme="light"] {
  /* RGB versions for opacity control (light mode) */
  --color-brown-600-rgb: 94, 82, 64;
  --color-teal-500-rgb: 33, 128, 141;
  --color-slate-900-rgb: 19, 52, 59;
  
  /* Semantic Color Tokens (Light Mode) */
  --color-background: var(--color-cream-50);
  --color-surface: var(--color-cream-100);
  --color-text: var(--color-slate-900);
  --color-text-secondary: var(--color-slate-500);
  --color-primary: var(--color-teal-500);
  --color-primary-hover: var(--color-teal-600);
  --color-primary-active: var(--color-teal-700);
  --color-secondary: rgba(var(--color-brown-600-rgb), 0.12);
  --color-secondary-hover: rgba(var(--color-brown-600-rgb), 0.2);
  --color-secondary-active: rgba(var(--color-brown-600-rgb), 0.25);
  --color-border: rgba(var(--color-brown-600-rgb), 0.2);
  --color-btn-primary-text: var(--color-cream-50);
  --color-card-border: rgba(var(--color-brown-600-rgb), 0.12);
  --color-card-border-inner: rgba(var(--color-brown-600-rgb), 0.12);
  --color-error: var(--color-red-500);
  --color-success: var(--color-teal-500);
  --color-warning: var(--color-orange-500);
  --color-info: var(--color-slate-500);
  --color-focus-ring: rgba(var(--color-teal-500-rgb), 0.4);

  /* RGB versions for light mode */
  --color-success-rgb: var(--color-teal-500-rgb);
  --color-error-rgb: var(--color-red-500-rgb);
  --color-warning-rgb: var(--color-orange-500-rgb);
  --color-info-rgb: var(--color-slate-500-rgb);
}

/* Base styles */
html {
  font-size: var(--font-size-base);
  font-family: var(--font-family-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-4xl);
}
h2 {
  font-size: var(--font-size-3xl);
}
h3 {
  font-size: var(--font-size-2xl);
}
h4 {
  font-size: var(--font-size-xl);
}
h5 {
  font-size: var(--font-size-lg);
}
h6 {
  font-size: var(--font-size-md);
}

p {
  margin: 0 0 var(--space-16) 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard);
}

a:hover {
  color: var(--color-primary-hover);
}

code,
pre {
  font-family: var(--font-family-mono);
  font-size: calc(var(--font-size-base) * 0.95);
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
}

code {
  padding: var(--space-1) var(--space-4);
}

pre {
  padding: var(--space-16);
  margin: var(--space-16) 0;
  overflow: auto;
  border: 1px solid var(--color-border);
}

pre code {
  background: none;
  padding: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8) var(--space-16);
  border-radius: var(--radius-base);
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-standard);
  border: none;
  text-decoration: none;
  position: relative;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-btn-primary-text);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
}

.btn--primary:active {
  background: var(--color-primary-active);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-text);
}

.btn--secondary:hover {
  background: var(--color-secondary-hover);
}

.btn--secondary:active {
  background: var(--color-secondary-active);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-black);
}

.btn--outline:hover {
  background: var(--color-secondary);
}

.btn--sm {
  padding: var(--space-4) var(--space-12);
  font-size: var(--font-size-sm);
  border-radius: var(--radius-sm);
}

.btn--lg {
  padding: var(--space-10) var(--space-20);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-md);
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Form elements */
.form-control {
  display: block;
  width: 100%;
  padding: var(--space-8) var(--space-12);
  font-size: var(--font-size-md);
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-base);
  transition: border-color var(--duration-fast) var(--ease-standard),
    box-shadow var(--duration-fast) var(--ease-standard);
}

textarea.form-control {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
}

select.form-control {
  padding: var(--space-8) var(--space-12);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: var(--select-caret-light);
  background-repeat: no-repeat;
  background-position: right var(--space-12) center;
  background-size: 16px;
  padding-right: var(--space-32);
}

/* Add a dark mode specific caret */
@media (prefers-color-scheme: dark) {
  select.form-control {
    background-image: var(--select-caret-dark);
  }
}

/* Also handle data-color-scheme */
[data-color-scheme="dark"] select.form-control {
  background-image: var(--select-caret-dark);
}

[data-color-scheme="light"] select.form-control {
  background-image: var(--select-caret-light);
}

.form-control:focus {
  border-color: var(--color-primary);
  outline: var(--focus-outline);
}

.form-label {
  display: block;
  margin-bottom: var(--space-8);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.form-group {
  margin-bottom: var(--space-16);
}

/* Card component */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-card-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--duration-normal) var(--ease-standard);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card__body {
  padding: var(--space-16);
}

.card__header,
.card__footer {
  padding: var(--space-16);
  border-bottom: 1px solid var(--color-card-border-inner);
}

/* Status indicators - simplified with CSS variables */
.status {
  display: inline-flex;
  align-items: center;
  padding: var(--space-6) var(--space-12);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
}

.status--success {
  background-color: rgba(
    var(--color-success-rgb, 33, 128, 141),
    var(--status-bg-opacity)
  );
  color: var(--color-success);
  border: 1px solid
    rgba(var(--color-success-rgb, 33, 128, 141), var(--status-border-opacity));
}

.status--error {
  background-color: rgba(
    var(--color-error-rgb, 192, 21, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-error);
  border: 1px solid
    rgba(var(--color-error-rgb, 192, 21, 47), var(--status-border-opacity));
}

.status--warning {
  background-color: rgba(
    var(--color-warning-rgb, 168, 75, 47),
    var(--status-bg-opacity)
  );
  color: var(--color-warning);
  border: 1px solid
    rgba(var(--color-warning-rgb, 168, 75, 47), var(--status-border-opacity));
}

.status--info {
  background-color: rgba(
    var(--color-info-rgb, 98, 108, 113),
    var(--status-bg-opacity)
  );
  color: var(--color-info);
  border: 1px solid
    rgba(var(--color-info-rgb, 98, 108, 113), var(--status-border-opacity));
}

/* Container layout */
.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-16);
  padding-left: var(--space-16);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
  }
}
@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
  }
}
@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}
@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

/* Utility classes */
.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-4 {
  gap: var(--space-4);
}
.gap-8 {
  gap: var(--space-8);
}
.gap-16 {
  gap: var(--space-16);
}

.m-0 {
  margin: 0;
}
.mt-8 {
  margin-top: var(--space-8);
}
.mb-8 {
  margin-bottom: var(--space-8);
}
.mx-8 {
  margin-left: var(--space-8);
  margin-right: var(--space-8);
}
.my-8 {
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.p-0 {
  padding: 0;
}
.py-8 {
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}
.px-8 {
  padding-left: var(--space-8);
  padding-right: var(--space-8);
}
.py-16 {
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}
.px-16 {
  padding-left: var(--space-16);
  padding-right: var(--space-16);
}

.block {
  display: block;
}
.hidden {
  display: none;
}

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

:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 2px;
}

/* Dark mode specifics */
[data-color-scheme="dark"] .btn--outline {
  border: 1px solid var(--color-border-secondary);
}

@font-face {
  font-family: 'FKGroteskNeue';
  src: url('https://r2cdn.perplexity.ai/fonts/FKGroteskNeue.woff2')
    format('woff2');
}

/* END PERPLEXITY DESIGN SYSTEM */
/* Containers.bg inspired design for Parquet website with rich backgrounds */

/* Custom CSS variables matching containers.bg design */
:root {
  /* Primary colors matching containers.bg */
  --color-navy: #2c5530;
  --color-navy-light: #34495e;
  --color-orange: #f9c23c;
  --color-orange-hover: #e5af2a;
  --color-orange-light: rgba(249, 194, 60, 0.1);
  
  /* Background colors */
  --color-white: #ffffff;
  --color-gray-light: #f8f9fa;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  --font-size-5xl: 48px;
  
  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hero: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  /* Removed scroll-behavior: smooth - using JS smooth scrolling instead */
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Header - matching containers.bg style */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--color-navy);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  min-height: 70px;
  gap: var(--space-2);
  flex-wrap: nowrap;
}

.header__logo h1 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  letter-spacing: -0.025em;
}

.header__nav {
  display: flex;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-4);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav__list a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-size: 0.9rem;
  white-space: nowrap;
}

.nav__list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-orange);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.header__phone {
  color: var(--color-white);
  font-weight: 600;
  text-decoration: none;
  font-size: var(--font-size-base);
}

.header__phone:hover {
  color: var(--color-orange);
}

.header__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  gap: 4px;
}

.header__toggle span {
  width: 25px;
  height: 3px;
  background: var(--color-white);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* Buttons - containers.bg style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-navy);
}

.btn--primary:hover {
  background: var(--color-orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--orange {
  background: var(--color-orange);
  color: var(--color-navy);
  font-weight: 700;
}

.btn--orange:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

/* Hero Section - containers.bg inspired with parquet background */
.hero {
  padding-top: 140px;
  padding-bottom: var(--space-20);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: transparent !important;
  background-color: transparent !important;
}

.hero__background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('gallery_images/back1.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  z-index: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* More specific rule to override any conflicts */
section.hero .hero__background {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('gallery_images/back1.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.hero__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: -2;
}

.hero__content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: var(--space-6);
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.8),
    0 0 20px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-12);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 
    1px 1px 3px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.hero__services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

/* Service Cards - exact containers.bg style with enhanced hover effects and fixed border issue */
.service-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(249, 194, 60, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(44, 85, 48, 0.03) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
  z-index: 0;
}

/* Fix: Reset any potential stuck border states */
.service-card {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-orange);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-hero);
  background: rgba(255, 255, 255, 1);
  border-color: var(--color-orange) !important;
}

.service-card:hover::after {
  opacity: 1;
}

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

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

.service-card:hover h3 {
  color: var(--color-orange);
}

.service-card:hover .btn--orange {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.service-card__icon {
  font-size: 4rem;
  margin-bottom: var(--space-6);
  display: block;
  transition: transform var(--transition-normal);
}

.service-card h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-navy);
  transition: color var(--transition-fast);
}

.service-card p {
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--color-navy);
  letter-spacing: -0.025em;
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Why Choose Us Section */
.why-choose {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.why-choose__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(249, 194, 60, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(44, 85, 48, 0.12) 0%, transparent 50%),
    linear-gradient(135deg, #f1f3f4 0%, #e8eaed 30%, #f1f3f4 70%, #e8eaed 100%);
  z-index: -1;
}

.why-choose__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 98px,
      rgba(44, 85, 48, 0.04) 98px,
      rgba(44, 85, 48, 0.04) 100px
    );
  z-index: -2;
}

.why-choose__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 250, 0.95);
  z-index: -2;
}

.why-choose .section-header h2 {
  color: var(--color-navy);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 1);
  border-color: var(--color-orange);
}

.feature__icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  margin-top: var(--space-1);
  transition: transform var(--transition-normal);
}

.feature:hover .feature__icon {
  transform: scale(1.1);
}

.feature__content h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-navy);
  line-height: 1.4;
}

.feature__content p {
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Services Section */
.services {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.services__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(249, 194, 60, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(44, 85, 48, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #fafbfc 0%, #f1f3f4 30%, #fafbfc 70%, #f1f3f4 100%);
  z-index: -1;
}

.services__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-conic-gradient(
      from 0deg at 50% 50%,
      transparent 0deg,
      transparent 10deg,
      rgba(44, 85, 48, 0.01) 10deg,
      rgba(44, 85, 48, 0.01) 20deg
    );
  z-index: -2;
}

.services__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: -2;
}

.services .section-header h2,
.services .section-header p {
  color: var(--color-navy);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
}

.service {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  background: rgba(255, 255, 255, 1);
  border-color: var(--color-orange);
}

/* Hexagonal icons for services */
.service__icon.hexagon {
  width: 80px;
  height: 80px;
  background: var(--color-orange);
  margin: 0 auto var(--space-4) auto;
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
}

.service__icon.hexagon::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, var(--color-orange), var(--color-navy));
  border-radius: 50%;
  z-index: -2;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service:hover .service__icon.hexagon::before {
  opacity: 1;
}

.service:hover .service__icon.hexagon {
  transform: scale(1.1) rotate(5deg);
  background: var(--color-navy);
}

.service__icon.hexagon span {
  font-size: 2rem;
  color: var(--color-navy);
  transition: color var(--transition-normal);
}

.service:hover .service__icon.hexagon span {
  color: var(--color-white);
}

.service h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}

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

.service__image-placeholder {
  width: 100%;
  height: 150px;
  background: linear-gradient(45deg, var(--color-orange-light), rgba(44, 85, 48, 0.1));
  border-radius: var(--radius-lg);
  margin-top: var(--space-4);
  position: relative;
  overflow: hidden;
}

.service__image-placeholder::before {
  content: '🏠';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  opacity: 0.3;
}

/* Pricing Section */
.pricing {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.pricing__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(249, 194, 60, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, #2c5530 0%, #34495e 50%, #2c5530 100%);
  z-index: -1;
}

.pricing__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      30deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.02) 20px,
      rgba(255, 255, 255, 0.02) 21px
    );
  z-index: -2;
}

.pricing__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(249, 194, 60, 0.1));
  z-index: -2;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.pricing-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hero);
  background: rgba(255, 255, 255, 1);
}

.pricing-card__illustration {
  font-size: 4rem;
  margin-bottom: var(--space-4);
  display: block;
  transition: transform var(--transition-normal);
}

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

.pricing-card h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-navy);
}

.pricing-card__price {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--space-4);
}

.pricing-card p {
  color: var(--color-gray-600);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-6);
}

.pricing-card li {
  padding: var(--space-2) 0;
  color: var(--color-gray-600);
  position: relative;
  padding-left: var(--space-6);
}

.pricing-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-orange);
  font-weight: bold;
}

/* Process Section */
.process {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.process__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 15% 85%, rgba(249, 194, 60, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(44, 85, 48, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  z-index: -1;
}

.process__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 40px,
      rgba(44, 85, 48, 0.015) 40px,
      rgba(44, 85, 48, 0.015) 42px
    );
  z-index: -2;
}

.process__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 250, 0.95);
  z-index: -2;
}

.process .section-header h2,
.process .section-header p {
  color: var(--color-navy);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-8);
}

.step {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 1);
}

.step__number {
  width: 60px;
  height: 60px;
  background: var(--color-orange);
  color: var(--color-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0 auto var(--space-4) auto;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.step:hover .step__number {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.step__illustration {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
  transition: transform var(--transition-normal);
}

.step:hover .step__illustration {
  transform: scale(1.1);
}

.step h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-navy);
  line-height: 1.4;
}

.step p {
  color: var(--color-gray-600);
  margin: 0;
}

/* Statistics Section - containers.bg style with enhanced animations */
.stats {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.stats__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 40% 60%, rgba(249, 194, 60, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
    linear-gradient(135deg, #2c5530 0%, #34495e 50%, #2c5530 100%);
  z-index: -1;
}

.stats__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 15px,
      rgba(255, 255, 255, 0.03) 15px,
      rgba(255, 255, 255, 0.03) 16px
    );
  z-index: -2;
}

.stats__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 85, 48, 0.9), rgba(31, 33, 33, 0.8));
  z-index: -2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  text-align: center;
}

.stat {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat__diamond {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--space-4);
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.stat__diamond-full {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop white margins from source images */
  object-position: center;
  display: block;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,0.12));
}

.stat__number {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  font-weight: 800;
  margin-bottom: var(--space-2);
  color: #f2b34a;
  display: block;
  line-height: 1;
  transition: transform 0.3s ease;
}

.stat__number.pulse {
  animation: statsPulse 0.8s ease-in-out;
}

.stat__label {
  font-size: 1rem;
  font-weight: 700;
  color: #2c5530; /* ensure visible on light backgrounds */
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: var(--space-2);
}

@keyframes statsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* FAQ Section */
.faq {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.faq__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(249, 194, 60, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(44, 85, 48, 0.06) 0%, transparent 60%),
    linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
  z-index: -1;
}

.faq__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      75deg,
      transparent,
      transparent 25px,
      rgba(44, 85, 48, 0.01) 25px,
      rgba(44, 85, 48, 0.01) 26px
    );
  z-index: -2;
}

.faq__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  z-index: -2;
}

.faq .section-header h2,
.faq .section-header p {
  color: var(--color-navy);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 1);
  border-color: var(--color-orange);
}

.faq-question {
  width: 100%;
  padding: var(--space-6);
  background: none;
  border: none;
  text-align: left;
  font-size: var(--font-size-lg);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-navy);
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background: rgba(249, 194, 60, 0.1);
}

.faq-icon {
  font-size: var(--font-size-2xl);
  font-weight: 300;
  transition: transform var(--transition-normal);
  color: var(--color-orange);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background: rgba(249, 194, 60, 0.05);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

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

/* Contact Section */
.contact {
  padding: var(--space-20) 0;
  position: relative;
  overflow: hidden;
}

.contact__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 90%, rgba(249, 194, 60, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(44, 85, 48, 0.07) 0%, transparent 50%),
    linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
  z-index: -1;
}

.contact__background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(
      120deg,
      transparent,
      transparent 30px,
      rgba(44, 85, 48, 0.02) 30px,
      rgba(44, 85, 48, 0.02) 32px
    );
  z-index: -2;
}

.contact__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(248, 249, 250, 0.95);
  z-index: -2;
}

.contact .section-header h2,
.contact .section-header p {
  color: var(--color-navy);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  max-width: 1000px;
  margin: 0 auto;
}

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

.contact-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 1);
}

.contact-item h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--color-navy);
}

.contact-item p {
  margin: 0;
  color: var(--color-gray-600);
  line-height: 1.5;
}

.contact-item a {
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--color-orange-hover);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-group {
  margin-bottom: var(--space-6);
}

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

.form-control {
  width: 100%;
  padding: var(--space-3);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-gray-900);
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--color-gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--color-orange);
  outline: none;
  box-shadow: 0 0 0 3px rgba(249, 194, 60, 0.2);
  background-color: rgba(255, 255, 255, 1);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: var(--space-10);
  appearance: none;
}

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

/* Footer */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-16) 0 var(--space-6);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

.footer__section h3,
.footer__section h4 {
  color: var(--color-orange);
  margin-bottom: var(--space-3);
  font-weight: 600;
}

.footer__section p {
  margin-bottom: var(--space-2);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__section a {
  color: var(--color-orange);
  text-decoration: none;
}

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

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-6);
  text-align: center;
}

.footer__bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
  }

  .header__nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__list {
    flex-direction: column;
    padding: var(--space-4);
    gap: 0;
  }

  .nav__list a {
    padding: var(--space-3);
    border-radius: var(--radius-md);
    display: block;
  }

  .header__toggle {
    display: flex;
  }

  .header__cta .btn {
    display: none;
  }

  .hero {
    padding-top: 120px;
    min-height: 80vh;
  }

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

  .service-card:hover {
    transform: translateY(-6px) scale(1.01);
  }

  .features-grid,
  .services-grid,
  .process-steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat__diamond { width: 130px; height: 130px; }
  .stat__number { font-size: 2.4rem; }
  .stat__label { font-size: 0.95rem; }

  .footer__content {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service,
  .step,
  .pricing-card {
    padding: var(--space-6);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat__diamond { width: 110px; height: 110px; }
  .stat__number { font-size: 2.2rem; }
  .stat__label { font-size: 0.9rem; }

  .hero__title {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .service-card,
  .contact-form,
  .pricing-card {
    padding: var(--space-5);
  }
}

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

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn.loading {
  position: relative;
}

.btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form validation styles */
.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
  color: #ef4444;
  font-size: var(--font-size-sm);
  margin-top: var(--space-1);
  display: block;
}

/* Parallax effect for backgrounds */
@media (prefers-reduced-motion: no-preference) {
  .hero__background,
  .services__background,
  .stats__background {
    transform: translateZ(0);
    will-change: transform;
  }
}

/* Enhanced hover effects */
.service:hover .service__image-placeholder {
  background: linear-gradient(45deg, var(--color-orange), rgba(44, 85, 48, 0.2));
}

.service:hover .service__image-placeholder::before {
  opacity: 0.6;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Additional visual enhancements */
.feature:hover,
.contact-item:hover,
.pricing-card:hover {
  border-color: var(--color-orange);
}

.step:hover {
  border: 1px solid var(--color-orange);
}

/* Floating decorative elements */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(249, 194, 60, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 5%;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(44, 85, 48, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
  z-index: 0;
}

/* Add subtle geometric patterns to sections */
.services::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 80px;
  height: 80px;
  background: 
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 10px,
      rgba(249, 194, 60, 0.05) 10px,
      rgba(249, 194, 60, 0.05) 20px
    );
  animation: rotate 20s linear infinite;
  z-index: 0;
}

.process::before {
  content: '';
  position: absolute;
  bottom: 20%;
  left: 8%;
  width: 120px;
  height: 120px;
  background: 
    repeating-conic-gradient(
      from 0deg,
      transparent 0deg,
      transparent 20deg,
      rgba(44, 85, 48, 0.03) 20deg,
      rgba(44, 85, 48, 0.03) 40deg
    );
  border-radius: 50%;
  animation: rotate 25s linear infinite reverse;
  z-index: 0;
}

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

/* Gallery Section */
.gallery {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.95));
    overflow: hidden;
}

.gallery__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.95));
    z-index: -1;
}

.gallery__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.95));
    z-index: -2;
}



.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    background: var(--color-white);
}

.gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
    background: var(--color-gray-200);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-normal);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.4));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    text-align: center;
    color: var(--color-white);
    padding: var(--space-4);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-icon {
    font-size: 3rem;
    margin-bottom: var(--space-3);
    display: block;
    transition: transform var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.2) rotate(10deg);
}

.gallery-overlay p {
    font-weight: 700;
    color: var(--color-white);
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.4;
}

/* Before/After Slider Styles */
.before-after-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: var(--color-white);
}

.before-after-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: default;
    user-select: none;
}

.before-after-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: none;
}

.before-after-slide.active {
    display: block;
}

.before-after-slide__container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: default !important;
}

.before-after-slide__before,
.before-after-slide__after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: clip-path 0.3s ease;
}

.before-after-slide__before {
    clip-path: inset(0 50% 0 0);
}

.before-after-slide__after {
    clip-path: inset(0 0 0 50%);
}

.before-after-slide__handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--color-white);
    cursor: default;
    z-index: 10;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.before-after-slide__handle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: 3px solid var(--color-teal-500);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.before-after-slide__handle::after {
    content: '⟷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-teal-500);
    font-size: 16px;
    font-weight: bold;
}

.before-after-slide__labels {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
}

.before-after-slide__label {
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

.before-after-slide__label--before {
    background: rgba(220, 38, 38, 0.8);
}

.before-after-slide__label--after {
    background: rgba(34, 197, 94, 0.8);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.slider-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav--prev {
    left: 20px;
}

.slider-nav--next {
    right: 20px;
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 15;
}

.slider-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.slider-indicator.active {
    background: var(--color-teal-500);
    border-color: var(--color-white);
    transform: scale(1.2);
}

.slider-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .before-after-slider {
        height: 350px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .slider-nav--prev {
        left: 10px;
    }
    
    .slider-nav--next {
        right: 10px;
    }
    
    .before-after-slide__labels {
        bottom: 10px;
        padding: 0 10px;
    }
    
    .before-after-slide__label {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .before-after-slide__handle::before {
        width: 35px;
        height: 35px;
    }
    
    .before-after-slide__handle::after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .before-after-slider {
        height: 280px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .before-after-slide__handle::before {
        width: 30px;
        height: 30px;
    }
    
    .before-after-slide__handle::after {
        font-size: 12px;
    }
}

/* Before/After Comparison Styles with Animation - OLD GALLERY STYLE - DISABLED */
.before-after-container.old-gallery-style {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    cursor: default;
    transition: all 0.3s ease;
}

.before-after-container.old-gallery-style:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.before-after-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.before-after-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.before-after-image:hover::before {
    opacity: 1;
}

.before-after-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: brightness(1);
}

.before-after-image:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.before-after-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: var(--space-4) var(--space-3);
    font-weight: 600;
    text-align: center;
    font-size: 1.1rem;
    z-index: 3;
    transition: all 0.3s ease;
    transform: translateY(10px);
    opacity: 0.9;
}

.before-after-container:hover .before-after-label {
    transform: translateY(0);
    opacity: 1;
}

.before-after-image:first-child .before-after-label {
    background: linear-gradient(transparent, rgba(220, 38, 38, 0.9));
}

.before-after-image:last-child .before-after-label {
    background: linear-gradient(transparent, rgba(34, 197, 94, 0.9));
}

/* Slider Animation Effect - Removed finger emoji - OLD GALLERY STYLE */
.before-after-container.old-gallery-style::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 4;
    pointer-events: none;
    animation: pulse 2s infinite;
}

.before-after-container.old-gallery-style:hover::after {
    opacity: 0;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Staggered Animation for Gallery Items */
.gallery-item {
    animation: slideInUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gallery Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        padding: 0 var(--space-2);
    }
    
    .gallery-image {
        height: 300px;
    }
    
    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }
    
    .gallery-tab {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
    
    /* Mobile responsive for before/after - OLD GALLERY STYLE */
    .before-after-container.old-gallery-style {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .before-after-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-image {
        height: 250px;
    }
    
    .gallery-overlay p {
        font-size: 1rem;
    }
    
    .gallery-icon {
        font-size: 2.5rem;
    }
}

/* Desktop/Mobile visibility */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}


/* Gallery Modal Styles */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
}

.gallery-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.gallery-modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-modal.active .gallery-modal__content {
    transform: scale(1);
}

.gallery-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal__close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.gallery-modal__image-container {
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.gallery-modal__image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.gallery-modal__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: var(--space-6) var(--space-4) var(--space-4);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

/* Update mobile responsive to show carousel */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-btn--prev {
        left: 5px;
    }
    
    .carousel-btn--next {
        right: 5px;
    }
    
    .gallery-modal__content {
        max-width: 95vw;
        max-height: 95vh;
        margin: var(--space-2);
    }
    
    .gallery-modal__image {
        max-height: 70vh;
    }
    
    .gallery-modal__caption {
        font-size: 1rem;
        padding: var(--space-4) var(--space-3) var(--space-3);
    }
}

/* Contact Form Select Styling */
.form-control select {
    height: auto;
    min-height: 48px;
    max-height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: 1rem;
    line-height: 1.5;
}

select.form-control {
    height: 48px;
    padding: var(--space-3) var(--space-4);
    font-size: 1rem;
    line-height: 1.5;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select.form-control:focus {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23007bff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

/* Social Links */
.social-links {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-3);
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-link img {
    border-radius: 50%;
    transition: box-shadow 0.3s ease;
}

.social-link:hover img {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Hero Features */
.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin: var(--space-6) 0;
    justify-content: center;
}

.hero__feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-2) var(--space-4);
    border-radius: 25px;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Testimonials Section */
.testimonials {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.95), rgba(233, 236, 239, 0.95));
    overflow: hidden;
}

.testimonials__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(circle at 80% 70%, rgba(44, 85, 48, 0.1) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.testimonials__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.testimonials .container {
    position: relative;
    z-index: 3;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: var(--space-6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #22c55e, #16a34a);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

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

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

.testimonial__quote p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    font-style: italic;
    position: relative;
    padding-left: var(--space-6);
    font-weight: 500;
}

.testimonial__quote p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: #22c55e;
    font-family: serif;
    line-height: 1;
}

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

.testimonial__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.testimonial__info h4 {
    margin: 0;
    color: #1f2937;
    font-size: 1.1rem;
    font-weight: 600;
}

.testimonial__info span {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial__rating {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Blog Section */
.blog {
    position: relative;
    padding: var(--space-16) 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.blog__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(249, 194, 60, 0.05) 0%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(circle at 70% 80%, rgba(44, 85, 48, 0.05) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.blog__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2;
}

.blog .container {
    position: relative;
    z-index: 3;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

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

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__category {
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    background: var(--color-primary);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card__content {
    padding: var(--space-6);
}

.blog-card__meta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-3);
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.blog-card__date {
    position: relative;
}

.blog-card__date::before {
    content: '📅';
    margin-right: var(--space-1);
}

.blog-card__read-time {
    position: relative;
}

.blog-card__read-time::before {
    content: '⏱️';
    margin-right: var(--space-1);
}

.blog-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--space-3);
    line-height: 1.4;
}

.blog-card__excerpt {
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tag {
    background: rgba(44, 85, 48, 0.1);
    color: var(--color-primary);
    padding: var(--space-1) var(--space-2);
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog__cta {
    text-align: center;
    margin-top: var(--space-12);
    padding: var(--space-8);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 16px;
    color: white;
}

.blog__cta p {
    font-size: 1.2rem;
    margin-bottom: var(--space-4);
    opacity: 0.9;
}

/* Blog Modal */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-modal.active {
    display: flex;
    opacity: 1;
}

.blog-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.blog-modal__content {
    position: relative;
    background: #ffffff;
    margin: 2rem auto;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    opacity: 1 !important;
}

.blog-modal.active .blog-modal__content {
    transform: translateY(0);
}

.blog-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.blog-modal__close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.blog-modal__header {
    padding: var(--space-8) var(--space-8) var(--space-6);
    background: linear-gradient(135deg, #2c5530, #22c55e);
    color: white;
    position: relative;
    opacity: 1 !important;
}

.blog-modal__category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.3);
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-3);
    color: white;
}

.blog-modal__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-4);
    line-height: 1.3;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.blog-modal__meta {
    display: flex;
    gap: var(--space-4);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.blog-modal__body {
    padding: var(--space-8);
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.8;
    background: #ffffff;
    color: var(--color-text);
}

.blog-modal__body p,
.blog-modal__body li,
.blog-modal__body h3,
.blog-modal__body h4 {
    opacity: 1 !important;
}

.blog-modal__body h3 {
    color: var(--color-primary);
    font-size: 1.4rem;
    margin: var(--space-6) 0 var(--space-3);
    font-weight: 600;
}

.blog-modal__body h4 {
    color: #1f2937 !important;
    font-size: 1.2rem;
    margin: var(--space-4) 0 var(--space-2);
    font-weight: 600;
}

.blog-modal__body p {
    margin-bottom: var(--space-4);
    color: #1f2937 !important;
    opacity: 1 !important;
}

.blog-modal__body ul {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.blog-modal__body li {
    margin-bottom: var(--space-2);
    color: #1f2937 !important;
    opacity: 1 !important;
}

.blog-modal__body strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* Make blog cards clickable */
.blog-card {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .hero__features {
        flex-direction: column;
        align-items: center;
    }
    
    .hero__feature {
        text-align: center;
        min-width: 200px;
    }
    
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }
    
    .testimonial-card,
    .blog-card {
        margin: 0 var(--space-4);
    }
    
    .blog-card__content {
        padding: var(--space-4);
    }
    
    .blog-card__title {
        font-size: 1.1rem;
    }
    
    .blog-modal__content {
        width: 95%;
        margin: 1rem auto;
        max-height: 95vh;
    }
    
    .blog-modal__header {
        padding: var(--space-6) var(--space-4) var(--space-4);
    }
    
    .blog-modal__title {
        font-size: 1.5rem;
    }
    
    .blog-modal__body {
        padding: var(--space-4);
        max-height: 70vh;
    }
}

/* Sticky Contact Button - Clean CSS-only approach */
.sticky-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    opacity: 1;
    display: block;
    visibility: visible;
    transition: all 0.3s ease;
}

.sticky-contact.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: block !important;
    visibility: visible !important;
}

.sticky-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: white;
    padding: 16px;
    border-radius: 50%;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    transition: all 0.3s ease;
    width: 60px;
    height: 60px;
}

.sticky-phone:hover {
    background: #16a34a;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
    color: white;
    text-decoration: none;
}

.sticky-phone__icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Mobile responsive for sticky contact */
@media (max-width: 480px) {
    .sticky-contact {
        bottom: 15px;
        right: 15px;
    }
    
    .sticky-phone {
        width: 50px;
        height: 50px;
        padding: 12px;
    }
    
    .sticky-phone__icon {
        font-size: 1.3rem;
    }
}

/* Smooth transitions for all interactive elements */
* {
  transition: border-color var(--transition-fast);
}

/* ==========================================================================
   COOKIE CONSENT POPUP
   ========================================================================== */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    padding: var(--space-4);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.cookie-consent__text {
    flex: 1;
}

.cookie-consent__text h3 {
    text-align: center;
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: var(--space-2);
}

.cookie-consent__text p {
    color: var(--color-black);
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin: 0;
}

.cookie-consent__buttons {
    display: flex;
    gap: var(--space-3);
    flex-shrink: 0;
}

/* Cookie Settings Modal */
.cookie-settings {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
}

.cookie-settings.show {
    display: flex;
}

.cookie-settings__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.cookie-settings__modal {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1;
}

.cookie-settings__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-6);
    border-bottom: 1px solid var(--color-border-light);
}

.cookie-settings__header h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
}

.cookie-settings__close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: var(--space-2);
    line-height: 1;
    transition: color var(--transition-normal);
}

.cookie-settings__close:hover {
    color: var(--color-text);
}

.cookie-settings__content {
    padding: var(--space-6);
}

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

.cookie-settings__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.cookie-settings__info {
    flex: 1;
}

.cookie-settings__info h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--space-2) 0;
}

.cookie-settings__info p {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-settings__toggle {
    flex-shrink: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-gray-300);
    transition: var(--transition-normal);
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--color-white);
    transition: var(--transition-normal);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .toggle-switch .toggle-slider {
    background-color: var(--color-teal-500);
}

input:checked + .toggle-switch .toggle-slider:before {
    transform: translateX(26px);
}

input:disabled + .toggle-switch .toggle-slider {
    background-color: var(--color-teal-500);
    opacity: 0.6;
}

.cookie-settings__footer {
    padding: var(--space-6);
    border-top: 1px solid var(--color-border-light);
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent__content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
    
    .cookie-consent__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-consent__buttons .btn {
        width: 100%;
    }
    
    .cookie-settings__item {
        flex-direction: column;
        gap: var(--space-3);
    }
    
    .cookie-settings__toggle {
        align-self: flex-start;
    }
}



