@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Olive Gold Spectrum */
  --color-primary: #5C4A00;
  --color-secondary: #7F6600;
  --color-tertiary: #6B5500;
  --color-accent: #927800;
  --color-dark: #4F3A00;
  
  /* Neutral Tones */
  --color-light: #FDFCF8;
  --color-white: #FFFFFF;
  --color-cream: #F9F7F0;
  --color-grey-light: #E8E6E0;
  --color-grey: #B8B5AA;
  --color-grey-dark: #6B6960;
  --color-black: #2A2620;
  
  /* Semantic Colors */
  --color-success: #4A7C59;
  --color-error: #B85C50;
  --color-warning: #C88B3A;
  --color-info: #5B7C99;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;
  
  /* Fluid Typography */
  --font-size-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --font-size-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --font-size-md: clamp(1.125rem, 1rem + 0.625vw, 1.25rem);
  --font-size-lg: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --font-size-xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --font-size-2xl: clamp(2rem, 1.7rem + 1.5vw, 2.5rem);
  --font-size-3xl: clamp(2.5rem, 2rem + 2.5vw, 3.5rem);
  --font-size-4xl: clamp(3rem, 2.5rem + 2.5vw, 4.5rem);
  
  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --line-height-loose: 1.8;
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing System (8px base) */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-5xl: 8rem;      /* 128px */
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 50rem;
  
  /* Shadows - Enhanced with multiple layers */
  --shadow-sm: 0 1px 2px rgba(95, 74, 0, 0.06), 0 1px 3px rgba(95, 74, 0, 0.08);
  --shadow-md: 0 2px 4px rgba(95, 74, 0, 0.08), 0 4px 12px rgba(95, 74, 0, 0.12);
  --shadow-lg: 0 4px 6px rgba(95, 74, 0, 0.1), 0 8px 24px rgba(95, 74, 0, 0.16);
  --shadow-xl: 0 8px 16px rgba(95, 74, 0, 0.12), 0 16px 48px rgba(95, 74, 0, 0.2);
  --shadow-2xl: 0 12px 24px rgba(95, 74, 0, 0.15), 0 24px 64px rgba(95, 74, 0, 0.25);
  --shadow-inner: inset 0 2px 4px rgba(95, 74, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Layout */
  --container-max: 75rem;
  --container-narrow: 50rem;
  --container-wide: 90rem;
  --header-height: 5rem;
  
  /* Z-Index Scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 500;
  --z-header: 1000;
  --z-overlay: 1500;
  --z-modal: 2000;
  --z-toast: 3000;
}

/* === PERFORMANCE OPTIMIZATIONS === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === MODERN RESET === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-black);
  background: var(--color-light);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Improve text rendering */
h1, h2, h3, h4, h5, h6, p {
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Remove default list styles */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Remove built-in form typography */
input,
button,
textarea,
select {
  font: inherit;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  color: var(--color-primary);
  margin-bottom: var(--space-lg);
  text-wrap: balance;
}

h1 { font-size: var(--font-size-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--font-size-3xl); letter-spacing: -0.01em; }
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-bottom: var(--space-md);
  color: var(--color-grey-dark);
  text-wrap: pretty;
}

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

strong, b { font-weight: var(--font-weight-semibold); }
em, i { font-style: italic; }

small { font-size: var(--font-size-sm); }

/* === SITE HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  padding: var(--space-lg) 0;
  background: rgba(253, 252, 248, 0.95);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(92, 74, 0, 0.08);
  transition: transform var(--transition-base), 
              background var(--transition-base),
              box-shadow var(--transition-base);
  will-change: transform;
}

.site-header.scrolled {
  background: rgba(253, 252, 248, 0.98);
  box-shadow: var(--shadow-md);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-xl);
}

.site-logo {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.site-logo:hover {
  color: var(--color-accent);
}

/* === NAVIGATION === */
.main-nav ul {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  align-items: center;
}

.main-nav a {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-dark);
  position: relative;
  padding: var(--space-sm) 0;
  display: inline-block;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a:focus-visible {
  outline-offset: 4px;
}

/* === BURGER MENU === */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
  padding: var(--space-sm);
  background: none;
  border: none;
  z-index: calc(var(--z-header) + 1);
  transition: transform var(--transition-fast);
}

.burger-menu:hover {
  transform: scale(1.05);
}

.burger-menu:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.burger-line {
  width: 1.75rem;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-base);
  border-radius: var(--radius-full);
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(0.6rem) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-0.6rem) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 38, 32, 0.6);
  backdrop-filter: blur(4px);
  z-index: calc(var(--z-header) - 1);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.nav-overlay.active {
  opacity: 1;
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-height) + var(--space-5xl)) var(--space-lg) var(--space-4xl);
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-light) 50%, var(--color-cream) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(circle at center, rgba(127, 102, 0, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(92, 74, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
  animation: float 25s ease-in-out infinite reverse;
}

.hero-content {
  max-width: var(--container-narrow);
  position: relative;
  z-index: var(--z-base);
  animation: fadeInUp 0.8s var(--transition-base) backwards;
}

.hero-title {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
  font-weight: var(--font-weight-bold);
  animation: fadeInUp 0.8s var(--transition-base) 0.1s backwards;
}

.hero-subtitle {
  font-size: var(--font-size-md);
  color: var(--color-grey-dark);
  margin-bottom: var(--space-2xl);
  font-weight: var(--font-weight-normal);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s var(--transition-base) 0.2s backwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s var(--transition-base) 0.3s backwards;
}

/* === BUTTON SYSTEM === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
}

.btn-ghost:hover {
  background: rgba(92, 74, 0, 0.08);
}

.btn-sm {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--font-size-md);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* === SECTION LAYOUT === */
.section {
  padding: var(--space-4xl) var(--space-lg);
  position: relative;
}

.section-alt {
  background: var(--color-white);
}

.section-dark {
  background: var(--color-primary);
  color: var(--color-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
  color: var(--color-white);
}

.section-dark p {
  color: var(--color-cream);
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.container-wide {
  max-width: var(--container-wide);
}

.section-header {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-3xl);
}

.section-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--font-size-md);
  color: var(--color-grey-dark);
  line-height: var(--line-height-loose);
}

/* === GRID SYSTEM === */
.grid {
  display: grid;
  gap: var(--space-2xl);
}

.grid-2 { 
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr)); 
}

.grid-3 { 
  grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); 
}

.grid-4 { 
  grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); 
}

/* === CARD COMPONENTS === */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-grey-light);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--color-primary);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base);
}

.card:hover .card-icon {
  transform: scale(1.05) rotate(5deg);
}

.card-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.card-description {
  font-size: var(--font-size-sm);
  color: var(--color-grey-dark);
  line-height: var(--line-height-loose);
}

/* === PRODUCT CARDS === */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--color-grey-light);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--color-cream);
  aspect-ratio: 4 / 3;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-md);
}

.product-content {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.product-description {
  font-size: var(--font-size-sm);
  color: var(--color-grey-dark);
  margin-bottom: var(--space-lg);
  line-height: var(--line-height-loose);
  flex: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  margin-top: auto;
}

.product-price {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-accent);
}

.product-price-old {
  font-size: var(--font-size-md);
  color: var(--color-grey);
  text-decoration: line-through;
  margin-left: var(--space-sm);
}

/* === CONTACT SECTION === */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.contact-info {
  position: sticky;
  top: calc(var(--header-height) + var(--space-2xl));
}

.contact-item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  padding: var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  border: 1px solid var(--color-grey-light);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
  border-color: var(--color-primary);
}

.contact-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: var(--color-white);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xl);
  box-shadow: var(--shadow-sm);
}

.contact-details h4 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-xs);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.contact-details p {
  font-size: var(--font-size-sm);
  color: var(--color-grey-dark);
  margin: 0;
}

.contact-details a {
  color: var(--color-secondary);
  transition: color var(--transition-fast);
}

.contact-details a:hover {
  color: var(--color-accent);
}

/* === FORM STYLING === */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-dark);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-required {
  color: var(--color-error);
  margin-left: var(--space-xs);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  color: var(--color-black);
  background: var(--color-white);
  border: 2px solid var(--color-grey-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--color-grey);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(92, 74, 0, 0.1);
}

.form-input.error,
.form-textarea.error,
.form-select.error {
  border-color: var(--color-error);
}

.form-input.error:focus,
.form-textarea.error:focus,
.form-select.error:focus {
  box-shadow: 0 0 0 3px rgba(184, 92, 80, 0.1);
}

.form-textarea {
  min-height: 10rem;
  resize: vertical;
}

.form-error {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--font-size-xs);
  color: var(--color-error);
}

.form-checkbox-wrapper {
  display: flex;
  align-items: start;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.form-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  cursor: pointer;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.form-checkbox-label {
  font-size: var(--font-size-sm);
  color: var(--color-grey-dark);
  line-height: var(--line-height-base);
  cursor: pointer;
}

/* === MAP EMBED === */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 25rem;
  margin-top: var(--space-2xl);
  border: 1px solid var(--color-grey-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* === SITE FOOTER === */
.site-footer {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-light);
  padding: var(--space-3xl) var(--space-lg) var(--space-lg);
}

.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-section h4 {
  color: var(--color-white);
  font-size: var(--font-size-md);
  margin-bottom: var(--space-lg);
  font-weight: var(--font-weight-semibold);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-md);
  display: block;
}

.footer-description {
  color: var(--color-cream);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-loose);
  margin-bottom: var(--space-lg);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
}

.footer-nav a {
  font-size: var(--font-size-sm);
  color: var(--color-cream);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
}

.footer-nav a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: var(--font-size-xs);
  color: var(--color-cream);
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.footer-links a {
  font-size: var(--font-size-xs);
  color: var(--color-cream);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

/* === PRIVACY POPUP === */
.privacy-popup {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  max-width: 42rem;
  background: var(--color-white);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  z-index: var(--z-modal);
  transform: translateY(150%);
  transition: transform var(--transition-slow);
  border: 1px solid var(--color-grey-light);
}

.privacy-popup.show {
  transform: translateY(0);
}

.privacy-popup h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.privacy-popup p {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-lg);
  color: var(--color-grey-dark);
  line-height: var(--line-height-loose);
}

.privacy-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* === 404 PAGE === */
.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--space-lg);
}

.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: var(--font-weight-bold);
  color: var(--color-grey-light);
  line-height: 1;
  margin-bottom: var(--space-lg);
  background: linear-gradient(135deg, var(--color-grey-light), var(--color-grey));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-title {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.error-message {
  font-size: var(--font-size-md);
  color: var(--color-grey-dark);
  margin-bottom: var(--space-2xl);
  max-width: 32rem;
  line-height: var(--line-height-loose);
}

/* === LOADING STATES === */
.loading {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--color-grey-light);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--color-grey-light) 0%,
    var(--color-grey) 50%,
    var(--color-grey-light) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(2rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Animation utilities */
.fade-in { animation: fadeIn 0.5s var(--transition-base); }
.fade-in-up { animation: fadeInUp 0.6s var(--transition-base); }
.slide-in-left { animation: slideInLeft 0.6s var(--transition-base); }
.slide-in-right { animation: slideInRight 0.6s var(--transition-base); }

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-info {
    position: static;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: var(--space-md) 0;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 20rem;
    height: 100vh;
    background: var(--color-white);
    box-shadow: var(--shadow-2xl);
    padding: var(--space-4xl) var(--space-xl);
    transition: right var(--transition-base);
    z-index: calc(var(--z-header) - 1);
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .nav-overlay {
    display: block;
  }

  .burger-menu {
    display: flex;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .privacy-popup {
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    max-width: none;
  }

  .map-container {
    height: 18rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-actions {
    flex-direction: column;
  }
}

/* === UTILITY CLASSES === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.p-0 { padding: 0 !important; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.hidden { display: none !important; }
.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 improvements */
.focus-ring:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Container queries support */
@supports (container-type: inline-size) {
  .card-container {
    container-type: inline-size;
  }
  
  @container (min-width: 400px) {
    .card-responsive {
      display: flex;
      gap: var(--space-lg);
    }
  }
}

/* ============================================
   OPTIMAL 320px RESPONSIVE CSS
   (Small devices — iPhone SE, old Android)
   ============================================ */
@media (max-width: 320px) {

  /* GLOBAL FIXES */
  body {
    font-size: 0.95rem;
    padding: 0;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; }
  p  { font-size: 0.9rem; }

  .container,
  .container-narrow,
  .container-wide {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* HEADER */
  .header-container {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .site-logo {
    font-size: 1.2rem;
  }

  /* NAVIGATION MOBILE */
  .main-nav {
    position: fixed;
    inset: 0;
    background: var(--color-light);
    padding: 5rem 2rem 2rem;
    flex-direction: column;
    text-align: center;
    transform: translateX(100%);
    transition: transform var(--transition-base);
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
  }

  .burger-menu {
    display: flex;
  }

  /* HERO SECTION */
  .hero-section {
    padding: calc(var(--header-height) + 3rem) 1rem 3rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  /* GRID FIXES */
  .grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  /* CARD */
  .card {
    padding: 1.25rem;
  }

  .card-icon {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.4rem;
  }

  /* PRODUCT CARDS */
  .product-card {
    border-radius: var(--radius-md);
  }

  .product-content {
    padding: 1.25rem;
  }

  .product-title {
    font-size: 1.1rem;
  }

  .product-price {
    font-size: 1.4rem;
  }

  /* CONTACT SECTION (STACK COLUMNS) */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-item {
    flex-direction: column;
    text-align: left;
    gap: 1rem;
    padding: 1.25rem;
  }

  .contact-icon {
    margin-bottom: 0.5rem;
  }

  /* FORM */
  .form-group {
    margin-bottom: 1rem;
  }

  .form-input,
  .form-textarea,
  .form-select {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .form-textarea {
    min-height: 7rem;
  }

  .btn {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 0.75rem;
  }
}

/* Print styles */
@media print {
  .site-header,
  .burger-menu,
  .privacy-popup,
  .btn,
  .footer-social {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    page-break-inside: avoid;
  }
}