: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-text);
}

.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 */
/* Custom vintage sepia color palette */
:root {
  --sepia-dark: #8B4513;
  --sepia-medium: #A0522D;
  --sepia-light: #DEB887;
  --cream: #F5F5DC;
  --aged-paper: #FDF5E6;
  --vintage-brown: #654321;
  --deep-green: #1a291c;
  --warm-gold: #DAA520;
  --copper: #B87333;
  --restaurant-green: #011809;
  --restaurant-green-light: #022a0f;
  --restaurant-green-dark: #000f05;
  --accent-gold: #D4AF37;
  --warm-cream: #F8F6F0;
}

/* Base styling with vintage aesthetic */
html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, var(--warm-cream) 0%, var(--restaurant-green-light) 50%, var(--warm-cream) 100%);
  font-family: 'Crimson Text', serif;
  color: var(--vintage-brown);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header styling */
.header {
  background: rgba(1, 24, 9, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(1, 24, 9, 0.3);
  border-bottom: 3px solid var(--accent-gold);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-16) var(--space-24);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  text-align: center;
}

.logo-image {
  height: 80px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  filter: drop-shadow(2px 2px 6px rgba(0,0,0,0.4));
  transition: all 0.3s ease;
  margin-bottom: var(--space-8);
}

.logo-image:hover {
  transform: scale(1.05);
  filter: drop-shadow(2px 2px 8px rgba(0,0,0,0.4));
}

.tagline {
  font-size: 1rem;
  color: var(--accent-gold);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  text-shadow: 
    0 0 6px rgba(212, 175, 55, 0.8),
    0 0 12px rgba(212, 175, 55, 0.6),
    0 0 18px rgba(212, 175, 55, 0.4),
    0 0 24px rgba(212, 175, 55, 0.2);
  filter: brightness(1.2) contrast(1.1);
  position: relative;
  display: inline-block;
  margin-top: var(--space-4);
}

.tagline::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -8px;
  right: -8px;
  bottom: -4px;
  background: linear-gradient(45deg, 
    rgba(212, 175, 55, 0.1) 0%, 
    rgba(244, 208, 63, 0.3) 50%,
    rgba(212, 175, 55, 0.1) 100%);
  border-radius: 6px;
  z-index: -1;
  filter: blur(4px);
  animation: subtle-gold-glow 3s ease-in-out infinite;
}

@keyframes subtle-gold-glow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.nav {
  display: flex;
  gap: var(--space-32);
}

.nav a {
  color: var(--warm-cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav a:hover {
  color: var(--accent-gold);
  transform: translateY(-2px);
}

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

.nav a:hover::after {
  width: 100%;
}

/* Hero section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.2) contrast(1.2) brightness(1.1);
  transition: transform 0.8s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 69, 19, 0.3) 0%,
    rgba(245, 245, 220, 0.4) 30%,
    rgba(47, 79, 47, 0.2) 70%,
    rgba(139, 69, 19, 0.4) 100%
  );
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  padding: var(--space-32);
  background: linear-gradient(135deg, #5b6335 0%, #6b7440 50%, #5b6335 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px rgba(0,0,0,0.3);
  border: 3px solid var(--warm-gold);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 3;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--warm-cream);
  margin-bottom: var(--space-16);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  line-height: 1.1;
}

.hero-subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: var(--space-16);
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-description {
  font-size: 1.2rem;
  color: var(--warm-cream);
  margin-bottom: var(--space-32);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

.hero-cta {
  font-size: 1.3rem;
  padding: var(--space-20) var(--space-32);
  background: linear-gradient(135deg, var(--warm-cream), #f0f0a0);
  border: 2px solid var(--accent-gold);
  border-radius: var(--radius-full);
  color: #5b6335;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, var(--accent-gold), #f0f0a0);
  color: #5b6335;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.3), transparent);
  transition: left 0.5s;
}

.hero-cta:hover::before {
  left: 100%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align: center;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  border: 2px solid var(--accent-gold);
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
  animation: bounce 2s infinite;
  margin: 0 auto;
}

.scroll-indicator p {
  color: var(--accent-gold);
  font-size: 0.9rem;
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) rotate(-45deg) translateY(0);
  }
  40% {
    transform: translateX(-50%) rotate(-45deg) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) rotate(-45deg) translateY(-5px);
  }
}

/* Story section */
.story-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--aged-paper) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23A0522D" opacity="0.05"/></svg>') repeat;
  pointer-events: none;
}

.story-header {
  text-align: center;
  margin-bottom: 100px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--deep-green);
  margin-bottom: var(--space-16);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.menu-section .section-title {
  color: var(--warm-cream);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.contact-section .section-title {
  color: var(--warm-cream);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.story-intro {
  font-size: 1.3rem;
  color: var(--vintage-brown);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-style: italic;
}

.decorative-line {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, var(--warm-gold), var(--copper));
  margin: var(--space-24) auto;
  border-radius: var(--radius-full);
  position: relative;
  overflow: hidden;
}

/* Efeito verde apenas no primeiro traço (hero section) */
.hero-section .decorative-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(34, 139, 34, 0.8) 25%,
    rgba(50, 205, 50, 1) 50%,
    rgba(34, 139, 34, 0.8) 75%,
    transparent 100%);
  border-radius: var(--radius-full);
  animation: green-sweep 3s ease-in-out infinite;
}

@keyframes green-sweep {
  0% {
    left: -100%;
  }
  50% {
    left: 0%;
  }
  100% {
    left: 100%;
  }
}

.menu-section .decorative-line {
  background: linear-gradient(90deg, var(--warm-cream), #f0f0a0);
}

.contact-section .decorative-line {
  background: linear-gradient(90deg, var(--warm-cream), #f0f0a0);
}

/* Story chapters */
.story-chapter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
  position: relative;
}

.story-chapter.animate {
  opacity: 1;
  transform: translateY(0);
}

.story-chapter:nth-child(even) {
  grid-template-columns: 1fr 1fr;
}

.story-chapter:nth-child(even) .story-content {
  order: 2;
}

.story-chapter:nth-child(even) .story-image-container {
  order: 1;
}

.story-image-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  transition: transform 0.6s ease;
  height: 400px;
  background: var(--vintage-brown);
  display: flex;
  align-items: center;
  justify-content: center;
}


.story-image-container:hover {
  transform: scale(1.02);
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: sepia(0.1) contrast(1.1);
  transition: transform 0.6s ease;
  display: block;
  border-radius: var(--radius-lg);
}

.story-image-container:hover .story-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(139, 69, 19, 0.1) 0%,
    rgba(245, 245, 220, 0.2) 50%,
    rgba(47, 79, 47, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.6s ease;
}

.story-image-container:hover .image-overlay {
  opacity: 1;
}

.story-content {
  padding: var(--space-32);
  background: linear-gradient(135deg, #2C3522 0%, #3a4530 50%, #2C3522 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  border-left: 5px solid var(--warm-gold);
  position: relative;
  backdrop-filter: blur(10px);
}

.chapter-number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  opacity: 0.3;
  position: absolute;
  top: 5px;
  right: 20px;
  line-height: 1;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  transform: translateY(0);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 1;
}

.chapter-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--warm-cream);
  margin-bottom: var(--space-20);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
  padding-right: 60px;
  line-height: 1.3;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0) scale(1);
}

.chapter-title.title-hidden {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.chapter-title.animate-in {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.chapter-title::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent-gold), transparent);
  border-radius: 2px;
  opacity: 0;
  transform: scaleY(0);
  transition: all 0.6s ease;
  transform-origin: top;
}

.chapter-title.animate-in::before {
  opacity: 1;
  transform: scaleY(1);
}


.chapter-text {
  font-size: 1.2rem;
  color: var(--warm-cream);
  line-height: 1.8;
  position: relative;
  z-index: 2;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Timeline */
.story-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--warm-gold), var(--copper));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 20px;
  height: 20px;
  background: var(--warm-gold);
  border-radius: 50%;
  border: 4px solid var(--cream);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.timeline-content {
  flex: 1;
  background: rgba(245, 245, 220, 0.9);
  padding: var(--space-24);
  margin: 0 var(--space-32);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-left: 4px solid var(--copper);
}

.timeline-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--deep-green);
  margin-bottom: var(--space-12);
}

.timeline-content p {
  color: var(--vintage-brown);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Menu section */
.menu-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #5b6335 0%, #6b7440 50%, #5b6335 100%);
}

.menu-categories {
  display: flex;
  justify-content: center;
  gap: var(--space-16);
  margin: 60px 0;
  flex-wrap: wrap;
}

.category-btn {
  padding: var(--space-12) var(--space-24);
  background: transparent;
  border: 2px solid var(--deep-green);
  border-radius: var(--radius-full);
  color: var(--deep-green);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Crimson Text', serif;
}

.menu-section .category-btn {
  border: 2px solid var(--warm-cream);
  color: var(--warm-cream);
}

.category-btn:hover,
.category-btn.active {
  background: var(--deep-green);
  color: var(--warm-cream);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(1, 24, 9, 0.3);
}

.menu-section .category-btn:hover,
.menu-section .category-btn.active {
  background: var(--warm-cream);
  color: #5b6335;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Menu grid */
.menu-grid {
  position: relative;
  min-height: 500px;
  overflow: visible;
  padding: 40px 0;
  margin: 20px 0;
}

.menu-items {
  display: flex;
  gap: var(--space-32);
  transition: all 0.5s ease;
  padding: 50px 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu-items::-webkit-scrollbar {
  display: none;
}

.menu-items.hidden {
  display: none !important;
}

.menu-items:not(.hidden) {
  display: flex !important;
}

/* 3D Menu cards - Carousel Style */
.menu-card {
  height: 400px;
  width: 350px;
  flex-shrink: 0;
  perspective: 1000px;
  cursor: pointer;
  margin: 20px var(--space-8);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
}

.menu-card:hover .card-inner {
  transform: rotateY(180deg);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  overflow: hidden;
}

.card-front {
  background: linear-gradient(135deg, var(--warm-cream), var(--aged-paper));
  border: 3px solid var(--accent-gold);
}

.card-back {
  background: linear-gradient(135deg, var(--deep-green), var(--restaurant-green-dark));
  color: var(--warm-cream);
  transform: rotateY(180deg);
  padding: var(--space-24);
  justify-content: center;
  align-items: center;
}

.card-front img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin-bottom: 0;
}

.card-front h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--deep-green);
  margin: var(--space-16) var(--space-16) var(--space-8) var(--space-16);
  text-align: center;
  line-height: 1.3;
  font-weight: 700;
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin: 0 var(--space-16) var(--space-16) var(--space-16);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.card-back p {
  font-size: 1.2rem;
  line-height: 1.7;
  text-align: center;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
  padding: var(--space-16);
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-24);
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(26, 41, 28, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: var(--deep-green);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: var(--accent-gold);
}

/* Scroll indicators */
.menu-items::before,
.menu-items::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.6;
}

.menu-items::before {
  left: 0;
  background: linear-gradient(to right, rgba(91, 99, 53, 0.3), transparent);
}

.menu-items::after {
  right: 0;
  background: linear-gradient(to left, rgba(91, 99, 53, 0.3), transparent);
}

/* Carousel Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.carousel-arrow:hover {
  background: var(--accent-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.3);
}

.carousel-arrow-left {
  left: 20px;
}

.carousel-arrow-right {
  right: 20px;
}

.carousel-arrow svg {
  width: 20px;
  height: 20px;
  fill: var(--deep-green);
  transition: fill 0.3s ease;
}

.carousel-arrow:hover svg {
  fill: var(--warm-cream);
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
  .carousel-arrow {
    display: none;
  }
  
  .logo-image {
    height: 60px;
    max-width: 220px;
  }
  
  .tagline {
    font-size: 0.85rem;
    letter-spacing: 2px;
  }
  
  .button-group {
    gap: var(--space-6);
    max-width: 360px;
  }
  
  .button-group a {
    max-width: 340px;
  }
  
  .reservation-btn,
  .buffet-btn,
  .location-btn,
  .whatsapp-btn,
  .instagram-btn {
    font-size: 1rem;
    padding: var(--space-14) var(--space-24);
    max-width: 340px;
  }
  
  .buffet-btn {
    margin-bottom: calc(var(--space-6) * -1.5) !important;
  }
}

/* Contact section */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #2C3522 0%, #3a4530 50%, #2C3522 100%);
  text-align: center;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-32);
  margin: 60px 0;
}

.contact-card {
  background: rgba(245, 245, 220, 0.95);
  padding: var(--space-32);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 20px rgba(44, 53, 34, 0.2);
  border-top: 4px solid var(--accent-gold);
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(44, 53, 34, 0.3);
}

.contact-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--deep-green);
  margin-bottom: var(--space-16);
  font-size: 1.3rem;
}

.contact-card p {
  color: var(--vintage-brown);
  font-size: 1.1rem;
  line-height: 1.6;
}

.reservation-btn {
  font-size: 1.2rem;
  padding: var(--space-16) var(--space-32);
  background: linear-gradient(135deg, var(--warm-gold), var(--copper)) !important;
  border: 2px solid var(--warm-gold) !important;
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 20px rgba(218, 165, 32, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  margin-top: var(--space-24);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
}

.reservation-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.6s ease;
}

.reservation-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f4d03f, #d4af37) !important;
  box-shadow: 
    0 12px 30px rgba(218, 165, 32, 0.3),
    0 0 20px rgba(218, 165, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: #f4d03f !important;
  color: white !important;
}

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

.reservation-btn:active {
  transform: translateY(0);
  background: linear-gradient(135deg, #d4af37, #b8860b) !important;
  box-shadow: 
    0 6px 15px rgba(218, 165, 32, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: #d4af37 !important;
  color: white !important;
}

.reservation-btn:focus {
  outline: none !important;
  background: linear-gradient(135deg, var(--warm-gold), var(--copper)) !important;
  border-color: var(--warm-gold) !important;
  color: white !important;
}

.reservation-btn:focus:hover {
  background: linear-gradient(135deg, #f4d03f, #d4af37) !important;
  border-color: #f4d03f !important;
  color: white !important;
}

.reservation-btn:visited {
  color: white !important;
  text-decoration: none !important;
}

.reservation-btn:link {
  color: white !important;
  text-decoration: none !important;
}

/* Buffet Button - Same as Reservation Button */
.buffet-btn {
  font-size: 1.2rem;
  padding: var(--space-16) var(--space-32);
  background: linear-gradient(135deg, var(--warm-gold), var(--copper)) !important;
  border: 2px solid var(--warm-gold) !important;
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 20px rgba(218, 165, 32, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
  margin-top: var(--space-24);
}

.buffet-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.6s ease;
}

.buffet-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f4d03f, #d4af37) !important;
  box-shadow: 
    0 12px 30px rgba(218, 165, 32, 0.3),
    0 0 20px rgba(218, 165, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: #f4d03f !important;
  color: white !important;
}

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

.buffet-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 6px 15px rgba(218, 165, 32, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.buffet-btn:focus {
  outline: none !important;
  background: linear-gradient(135deg, var(--warm-gold), var(--copper)) !important;
  border-color: var(--warm-gold) !important;
  color: white !important;
}

.buffet-btn:focus:hover {
  background: linear-gradient(135deg, #f4d03f, #d4af37) !important;
  border-color: #f4d03f !important;
  color: white !important;
}

.buffet-btn:visited {
  color: white !important;
  text-decoration: none !important;
}

.buffet-btn:link {
  color: white !important;
  text-decoration: none !important;
}

/* Buffet Button Spacing Adjustment */
.buffet-btn {
  margin-bottom: calc(var(--space-8) * -1.5) !important;
}

/* Button Group */
.button-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  justify-content: center;
  align-items: center;
  margin-top: var(--space-24);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.button-group a {
  width: 100%;
  max-width: 350px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Location Button */
.location-btn {
  font-size: 1.1rem;
  padding: var(--space-14) var(--space-24);
  background: linear-gradient(135deg, #2C3522, #3a4530) !important;
  border: 2px solid #2C3522 !important;
  border-radius: var(--radius-full);
  color: var(--warm-cream) !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 6px 16px rgba(44, 53, 34, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

.location-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.location-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1), 
    transparent);
  transition: left 0.6s ease;
}

.location-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #3a4530, #4a5538) !important;
  box-shadow: 
    0 10px 25px rgba(44, 53, 34, 0.3),
    0 0 15px rgba(44, 53, 34, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #4a5538 !important;
  color: var(--warm-cream) !important;
}

.location-btn:hover .location-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

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

.location-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 12px rgba(44, 53, 34, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.location-btn:focus {
  outline: none !important;
  background: linear-gradient(135deg, #2C3522, #3a4530) !important;
  border-color: #2C3522 !important;
  color: var(--warm-cream) !important;
}

.location-btn:focus:hover {
  background: linear-gradient(135deg, #3a4530, #4a5538) !important;
  border-color: #4a5538 !important;
  color: var(--warm-cream) !important;
}

.location-btn:visited {
  color: var(--warm-cream) !important;
  text-decoration: none !important;
}

.location-btn:link {
  color: var(--warm-cream) !important;
  text-decoration: none !important;
}

/* Location Button in Card */
.location-btn--card {
  font-size: 0.9rem !important;
  padding: var(--space-8) var(--space-16) !important;
  margin-top: var(--space-12) !important;
  width: 100% !important;
  max-width: 200px !important;
  justify-content: center !important;
}

.location-btn--card .location-icon {
  width: 16px !important;
  height: 16px !important;
}

/* WhatsApp Button in Card */
.whatsapp-btn--card {
  font-size: 0.9rem !important;
  padding: var(--space-8) var(--space-16) !important;
  margin-top: var(--space-12) !important;
  width: 100% !important;
  max-width: 200px !important;
  justify-content: center !important;
}

.whatsapp-btn--card .whatsapp-icon {
  width: 16px !important;
  height: 16px !important;
}

/* Instagram Button */
.instagram-btn {
  font-size: 1.1rem;
  padding: var(--space-14) var(--space-24);
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4) !important;
  border: 2px solid #E4405F !important;
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 6px 16px rgba(228, 64, 95, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

.instagram-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.instagram-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.instagram-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #F56040, #E1306C, #9B59B6) !important;
  box-shadow: 
    0 10px 25px rgba(228, 64, 95, 0.3),
    0 0 15px rgba(228, 64, 95, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #F56040 !important;
  color: white !important;
}

.instagram-btn:hover .instagram-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

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

.instagram-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 12px rgba(228, 64, 95, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.instagram-btn:focus {
  outline: none !important;
  background: linear-gradient(135deg, #E4405F, #C13584, #833AB4) !important;
  border-color: #E4405F !important;
  color: white !important;
}

.instagram-btn:focus:hover {
  background: linear-gradient(135deg, #F56040, #E1306C, #9B59B6) !important;
  border-color: #F56040 !important;
  color: white !important;
}

.instagram-btn:visited {
  color: white !important;
  text-decoration: none !important;
}

.instagram-btn:link {
  color: white !important;
  text-decoration: none !important;
}

/* WhatsApp Button */
.whatsapp-btn {
  font-size: 1.1rem;
  padding: var(--space-14) var(--space-24);
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  border: 2px solid #25D366 !important;
  border-radius: var(--radius-full);
  color: white !important;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 6px 16px rgba(37, 211, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  text-align: center;
}

.whatsapp-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: all 0.3s ease;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.6s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #2EE76A, #1A9B8A) !important;
  box-shadow: 
    0 10px 25px rgba(37, 211, 102, 0.3),
    0 0 15px rgba(37, 211, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: #2EE76A !important;
  color: white !important;
}

.whatsapp-btn:hover .whatsapp-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

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

.whatsapp-btn:active {
  transform: translateY(0);
  box-shadow: 
    0 4px 12px rgba(37, 211, 102, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.whatsapp-btn:focus {
  outline: none !important;
  background: linear-gradient(135deg, #25D366, #128C7E) !important;
  border-color: #25D366 !important;
  color: white !important;
}

.whatsapp-btn:focus:hover {
  background: linear-gradient(135deg, #2EE76A, #1A9B8A) !important;
  border-color: #2EE76A !important;
  color: white !important;
}

.whatsapp-btn:visited {
  color: white !important;
  text-decoration: none !important;
}

.whatsapp-btn:link {
  color: white !important;
  text-decoration: none !important;
}

/* Footer */
.footer {
  background: var(--deep-green);
  color: var(--warm-cream);
  padding: var(--space-32) 0;
  text-align: center;
  border-top: 3px solid var(--accent-gold);
}

.footer p {
  margin: var(--space-8) 0;
  opacity: 0.9;
  color: var(--warm-cream);
}

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

@keyframes flipUp {
  from {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  to {
    opacity: 1;
    transform: rotateX(0);
  }
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

[data-aos="fade-up"].animate {
  animation: fadeInUp 0.6s ease forwards;
}

[data-aos="flip-up"] {
  opacity: 0;
  transform: rotateX(-90deg);
  transform-origin: center bottom;
  transition: all 0.6s ease;
}

[data-aos="flip-up"].animate {
  animation: flipUp 0.6s ease forwards;
}


/* Responsive design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: var(--space-8);
  }
  
  .hero-content {
    padding: var(--space-20);
    margin: var(--space-12);
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: var(--space-12);
  }
  
  .hero-description {
    font-size: 1rem;
    margin-bottom: var(--space-20);
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .story-intro {
    font-size: 1.1rem;
  }
  
  .story-chapter {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }
  
  .story-image-container {
    height: 300px;
    overflow: hidden;
  }
  
  .story-chapter:nth-child(even) .story-content {
    order: 1;
  }
  
  .story-chapter:nth-child(even) .story-image-container {
    order: 2;
  }
  
  .story-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .story-content {
    padding: var(--space-24);
  }
  
  .chapter-title {
    font-size: 1.8rem;
    padding-right: 50px;
    line-height: 1.3;
  }
  
  .chapter-text {
    font-size: 1.1rem;
  }
  
  .chapter-number {
    font-size: 2.5rem;
    top: 8px;
    right: 15px;
    transform: translateY(0);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 40px;
    height: 40px;
    overflow: hidden;
    z-index: 1;
  }
  
  .story-timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: row !important;
    padding-left: 50px;
  }
  
  .timeline-item:nth-child(even) {
    flex-direction: row !important;
  }
  
  .timeline-content {
    margin-left: var(--space-24);
    margin-right: 0;
  }
  
  .menu-items {
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--space-20);
    overflow-x: auto;
    padding: 40px 25px;
  }
  
  .menu-card {
    width: 300px;
    height: 350px;
    flex-shrink: 0;
    margin: 0 var(--space-8);
  }
  
  .card-front img {
    height: 200px;
  }
  
  .menu-categories {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-12);
  }
  
  .category-btn {
    font-size: 0.9rem;
    padding: var(--space-8) var(--space-16);
  }
  
  .nav {
    flex-direction: row;
    gap: var(--space-16);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-16);
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: var(--space-16);
    margin: var(--space-8);
  }
  
  .logo-image {
    height: 50px;
    max-width: 180px;
  }
  
  .tagline {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }
  
  .button-group {
    flex-direction: column;
    gap: var(--space-6);
    max-width: 320px;
  }
  
  .button-group a {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .reservation-btn,
  .buffet-btn,
  .whatsapp-btn,
  .instagram-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
  
  .location-btn--card,
  .whatsapp-btn--card {
    max-width: 180px !important;
    font-size: 0.8rem !important;
    padding: var(--space-6) var(--space-12) !important;
  }
  
  .buffet-btn {
    margin-bottom: calc(var(--space-6) * -1.5) !important;
  }
  
  .location-btn {
    font-size: 1rem;
    padding: var(--space-12) var(--space-20);
  }
  
  .hero-title {
    font-size: 1.5rem;
    line-height: 1.0;
    margin-bottom: var(--space-6);
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-8);
  }
  
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: var(--space-16);
  }
  
  .logo-text {
    font-size: 2rem;
  }
  
  .nav {
    gap: var(--space-12);
  }
  
  .nav a {
    font-size: 0.9rem;
    padding: var(--space-8) var(--space-12);
  }
  
  .menu-items {
    flex-direction: row;
    align-items: flex-start;
    overflow-x: auto;
    padding: 35px 20px;
  }
  
  .menu-card {
    width: 280px;
    height: 320px;
    flex-shrink: 0;
    margin: 0 var(--space-8);
  }
  
  .card-front img {
    height: 180px;
  }
  
  .menu-categories {
    gap: var(--space-8);
  }
  
  .category-btn {
    font-size: 0.8rem;
    padding: var(--space-6) var(--space-12);
  }
  
  .story-chapter {
    margin-bottom: 60px;
  }
  
  .story-image {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  .story-image-container {
    height: 250px;
    overflow: hidden;
  }
  
  .story-content {
    padding: var(--space-20);
  }
  
  .chapter-title {
    font-size: 1.6rem;
    padding-right: 45px;
    line-height: 1.3;
  }
  
  .chapter-text {
    font-size: 1rem;
  }
  
  .chapter-number {
    font-size: 2rem;
    top: 10px;
    right: 12px;
    transform: translateY(0);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    width: 35px;
    height: 35px;
    overflow: hidden;
    z-index: 1;
  }
}

/* ========================================
   REVIEWS INTEGRADOS - MAGIC UI MARQUEE
   ======================================== */

.reviews-integrated {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 2px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.reviews-integrated::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.reviews-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--warm-cream);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

/* Subtitle Google Reviews */
.reviews-subtitle {
  font-family: 'Crimson Text', serif;
  font-size: 0.9rem;
  color: var(--accent-gold);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.85;
  text-shadow: 
    0 0 10px rgba(212, 175, 55, 0.5),
    0 1px 3px rgba(0, 0, 0, 0.3);
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.6));
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Scroll Wrapper - Magic UI Marquee Container */
.reviews-scroll-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 30px 0;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

/* Marquee - Infinite Scroll Animation */
.reviews-marquee {
  display: flex;
  gap: 24px;
  animation: marquee 40s linear infinite;
  width: max-content;
}

/* Magic UI Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 3));
  }
}

/* Pause on Hover - Magic UI Feature (Desktop Only) */
@media (hover: hover) and (pointer: fine) {
  .reviews-marquee:hover {
    animation-play-state: paused;
  }
}

/* Review Card - Glassmorphism Design */
.review-card {
  min-width: 320px;
  max-width: 320px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

/* Glassmorphism Hover Effect */
.review-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.5),
    rgba(184, 115, 51, 0.3),
    rgba(212, 175, 55, 0.5)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 40px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

.review-card:hover::before {
  opacity: 1;
}

/* Mobile: Desabilitar hover effects que podem ficar presos em touch devices */
@media (hover: none) and (pointer: coarse) {
  .review-card:hover {
    transform: none;
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
  }
  
  .review-card:hover::before {
    opacity: 0;
  }
  
  .review-card:hover .review-avatar {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 
      0 4px 12px rgba(212, 175, 55, 0.3),
      0 0 0 4px rgba(212, 175, 55, 0.1);
    transform: none;
  }
}

/* Review Header com Avatar */
.review-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.6);
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.3),
    0 0 0 4px rgba(212, 175, 55, 0.1);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.review-card:hover .review-avatar {
  border-color: var(--accent-gold);
  box-shadow: 
    0 6px 16px rgba(212, 175, 55, 0.4),
    0 0 0 4px rgba(212, 175, 55, 0.2);
  transform: scale(1.05);
}

.review-name-stars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.review-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--warm-cream);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Estrelas */
.review-stars {
  font-size: 16px;
  color: var(--accent-gold);
  letter-spacing: 2px;
  text-shadow: 
    0 0 10px rgba(212, 175, 55, 0.5),
    0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1;
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.8));
}

/* Texto do Review */
.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 16px;
  font-style: italic;
  position: relative;
  padding-left: 18px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.review-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -8px;
  font-size: 32px;
  font-family: 'Playfair Display', serif;
  color: var(--accent-gold);
  opacity: 0.4;
  line-height: 1;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Badge Google Reviews - Link Clicável */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* Google Icon */
.google-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: all 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Hover Effect no Badge */
.review-badge:hover {
  background: rgba(212, 175, 55, 0.3);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 
    0 6px 16px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-2px) scale(1.05);
  color: var(--accent-gold);
}

.review-badge:hover .google-icon {
  transform: rotate(360deg) scale(1.1);
  filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.5));
}

/* Active State */
.review-badge:active {
  transform: translateY(0) scale(1);
  box-shadow: 
    0 2px 6px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Shine Effect on Hover */
.review-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.review-badge:hover::before {
  left: 100%;
}

/* Hover do Card também afeta o Badge */
.review-card:hover .review-badge {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 
    0 4px 12px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Mobile: Desabilitar hover effects dos badges em touch devices */
@media (hover: none) and (pointer: coarse) {
  .review-badge:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: none;
    color: var(--accent-gold);
  }
  
  .review-badge:hover .google-icon {
    transform: none;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
  }
  
  .review-badge:hover::before {
    animation: none;
  }
  
  .review-card:hover .review-badge {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
      0 2px 8px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }
  
  .review-cta-btn:hover {
    background: linear-gradient(
      135deg,
      rgba(212, 175, 55, 0.2) 0%,
      rgba(212, 175, 55, 0.15) 100%
    );
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 
      0 8px 24px rgba(0, 0, 0, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transform: none;
    color: var(--warm-cream);
  }
  
  .review-cta-btn:hover .star-icon {
    transform: none;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
  }
  
  .review-cta-btn:hover::before {
    animation: none;
  }
}

/* Botão Deixe sua Avaliação */
.review-cta-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.review-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--warm-cream);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 40px;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.2) 0%,
    rgba(212, 175, 55, 0.15) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Star Icons no Botão */
.star-icon {
  width: 20px;
  height: 20px;
  fill: var(--accent-gold);
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
  transition: all 0.4s ease;
}

/* Hover no Botão CTA */
.review-cta-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.35) 0%,
    rgba(212, 175, 55, 0.25) 100%
  );
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 
    0 12px 32px rgba(212, 175, 55, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-3px) scale(1.02);
  color: var(--warm-cream);
}

.review-cta-btn:hover .star-icon {
  transform: scale(1.15) rotate(72deg);
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.9));
}

/* Active State do Botão */
.review-cta-btn:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 
    0 6px 16px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* Shine Effect no Botão */
.review-cta-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

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

/* Animações Mobile - Sempre Visíveis */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(212, 175, 55, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(212, 175, 55, 0.4);
  }
  50% {
    box-shadow: 
      0 6px 20px rgba(212, 175, 55, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(212, 175, 55, 0.6);
  }
}

@keyframes star-twinkle {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.6));
  }
  50% {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.9));
  }
}

@keyframes badge-pulse {
  0%, 100% {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.4);
  }
  50% {
    background: rgba(212, 175, 55, 0.22);
    border-color: rgba(212, 175, 55, 0.5);
  }
}

@keyframes shine-sweep {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Responsive - Reviews Integrados */
@media (max-width: 768px) {
  .reviews-integrated {
    margin-top: 50px;
    padding-top: 40px;
  }
  
  .reviews-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    gap: 6px;
  }
  
  .reviews-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.8px;
  }
  
  .reviews-scroll-wrapper {
    padding: 25px 0;
  }
  
  .reviews-marquee {
    gap: 20px;
    animation-duration: 35s;
  }
  
  .review-card {
    min-width: 280px;
    max-width: 280px;
    padding: 20px;
    border-radius: 14px;
    /* Mobile: Visual mais evidente por padrão */
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  
  .review-avatar {
    width: 40px;
    height: 40px;
    /* Mobile: Glow mais evidente */
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 
      0 4px 12px rgba(212, 175, 55, 0.35),
      0 0 0 4px rgba(212, 175, 55, 0.15);
  }
  
  .review-name {
    font-size: 14px;
  }
  
  .review-text {
    font-size: 14px;
  }
  
  .review-stars {
    font-size: 15px;
    /* Mobile: Glow mais evidente */
    text-shadow: 
      0 0 12px rgba(212, 175, 55, 0.6),
      0 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.9));
  }
  
  /* Mobile: Animações Contínuas nos Badges */
  .review-badge {
    animation: badge-pulse 3s ease-in-out infinite;
  }
  
  .review-badge::before {
    animation: shine-sweep 4s ease-in-out infinite;
  }
  
  .google-icon {
    animation: star-twinkle 2.5s ease-in-out infinite;
  }
}

@media (max-width: 480px) {
  .reviews-integrated {
    margin-top: 40px;
    padding-top: 35px;
  }
  
  .reviews-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    gap: 5px;
  }
  
  .reviews-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.6px;
  }
  
  .reviews-scroll-wrapper {
    padding: 20px 0;
  }
  
  .reviews-marquee {
    gap: 16px;
    animation-duration: 30s;
  }
  
  .review-card {
    min-width: 260px;
    max-width: 260px;
    padding: 18px;
    border-radius: 12px;
    /* Mobile: Visual mais evidente por padrão */
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  
  .review-avatar {
    width: 36px;
    height: 36px;
    /* Mobile: Glow mais evidente */
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 
      0 4px 12px rgba(212, 175, 55, 0.35),
      0 0 0 4px rgba(212, 175, 55, 0.15);
  }
  
  .review-name {
    font-size: 13px;
  }
  
  .review-stars {
    font-size: 14px;
    /* Mobile: Glow mais evidente */
    text-shadow: 
      0 0 12px rgba(212, 175, 55, 0.6),
      0 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 3px rgba(212, 175, 55, 0.9));
  }
  
  .review-text {
    font-size: 13px;
    padding-left: 14px;
  }
  
  .review-badge {
    font-size: 10px;
    padding: 5px 12px;
    gap: 5px;
    /* Mobile: Visual mais chamativo por padrão */
    background: rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 
      0 3px 10px rgba(212, 175, 55, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  
  .google-icon {
    width: 12px;
    height: 12px;
  }
  
  .review-cta-container {
    margin-top: 30px;
    padding-top: 25px;
  }
  
  .review-cta-btn {
    font-size: 14px;
    padding: 14px 32px;
    gap: 10px;
    letter-spacing: 1px;
    /* Mobile: Visual mais chamativo por padrão */
    background: linear-gradient(
      135deg,
      rgba(212, 175, 55, 0.25) 0%,
      rgba(212, 175, 55, 0.18) 100%
    );
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 
      0 10px 28px rgba(212, 175, 55, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  }
  
  .star-icon {
    width: 18px;
    height: 18px;
  }
  
  /* Mobile: Animações Contínuas no Botão CTA */
  .review-cta-btn {
    animation: pulse-glow 3.5s ease-in-out infinite;
  }
  
  .review-cta-btn::before {
    animation: shine-sweep 5s ease-in-out infinite;
  }
  
  .review-cta-btn .star-icon {
    animation: star-twinkle 3s ease-in-out infinite;
  }
  
  /* Delay alternado nas estrelas para efeito mais dinâmico */
  .review-cta-btn .star-icon:first-child {
    animation-delay: 0s;
  }
  
  .review-cta-btn .star-icon:last-child {
    animation-delay: 1.5s;
  }
  
  /* Mobile: Animações nos Badges também */
  .review-badge {
    animation: badge-pulse 3s ease-in-out infinite;
  }
  
  .review-badge::before {
    animation: shine-sweep 4s ease-in-out infinite;
  }
  
  .google-icon {
    animation: star-twinkle 2.5s ease-in-out infinite;
  }
}
